21 lines
1006 B
Python
21 lines
1006 B
Python
import os
|
|
|
|
TEST_TARGET = os.getenv("TEST_TARGET")
|
|
|
|
if TEST_TARGET == "INTEGRATION":
|
|
API_USERS = "http://fids-auth-dev_auth-api:5000/users"
|
|
API_FLIGHTS = "http://fids-flights-dev_flights-api:5000/flights"
|
|
API_AUTH = "http://fids-auth-dev_auth-api:5000/auth"
|
|
LOGS_UPD = "udp://fids_logstash:12201"
|
|
API_SUBSCRIPTIONS = "http://fids-subs-dev_subscriptions-api:5000/subscriptions"
|
|
API_NOTIFICATIONS = "http://fids-subs-dev_subscriptions-api:5000/notifications"
|
|
API_MESSAGES = "http://fids-subs-dev_subscriptions-api:5000/messages"
|
|
else:
|
|
API_USERS = "http://fids-auth_auth-api:5000/users"
|
|
API_FLIGHTS = "http://fids-flights_flights-api:5000/flights"
|
|
API_AUTH = "http://fids-auth_auth-api:5000/auth"
|
|
LOGS_UPD = "udp://fids_logstash:12201"
|
|
API_SUBSCRIPTIONS = "http://fids-subs_subscriptions-api:5000/subscriptions"
|
|
API_NOTIFICATIONS = "http://fids-subs_subscriptions-api:5000/notifications"
|
|
API_MESSAGES = "http://fids-subs_subscriptions-api:5000/messages"
|