example_config_for_tests.py 691 B

1234567891011121314151617181920212223
  1. # Copyright 2016 by MPI-SWS and Data-Ken Research.
  2. # Licensed under the Apache 2.0 License.
  3. """
  4. System-specific configuration variables for tests
  5. Copy this file to config_for_tests.py and make the
  6. changes in your local environment.
  7. """
  8. import getpass
  9. POSTGRES_DBNAME='iot'
  10. POSTGRES_USER=getpass.getuser()
  11. INFLUXDB_USER='root'
  12. INFLUXDB_PASSWORD=None
  13. #
  14. # Configuration for GE Predix Timeseries API
  15. #
  16. PREDIX_TOKEN=None
  17. PREDIX_ZONE_ID=None
  18. # These URLS are for the west coast data center
  19. PREDIX_INGEST_URL = 'wss://gateway-predix-data-services.run.aws-usw02-pr.ice.predix.io/v1/stream/messages'
  20. PREDIX_QUERY_URL='https://time-series-store-predix.run.aws-usw02-pr.ice.predix.io/v1/datapoints'