Commit 002559bf authored by Robin Knapp's avatar Robin Knapp

Added config for LD

parent bb0b44e5
......@@ -23,33 +23,43 @@ ENV SPECS_BASE_PATH=https://gitlab.distantaccess.com/naiades/dmv_public/-/raw/ma
#________________________________________
ENV ALERT_SPECS_URL=$SPECS_BASE_PATH/Specs_Alert.json
ENV V2_ALERT_BLUEPRINT_URL=$SPECS_BASE_PATH/V2_Blueprint_Alert.json
ENV LD_ALERT_BLUEPRINT_URL=$SPECS_BASE_PATH/LD_Blueprint_Alert.json
ENV DEVICE_SPECS_URL=$SPECS_BASE_PATH/Specs_Device.json
ENV V2_DEVICE_BLUEPRINT_URL=$SPECS_BASE_PATH/V2_Blueprint_Device.json
ENV LD_DEVICE_BLUEPRINT_URL=$SPECS_BASE_PATH/LD_Blueprint_Device.json
ENV FLOWERBED_SPECS_URL=$SPECS_BASE_PATH/Specs_FlowerBed.json
ENV V2_FLOWERBED_BLUEPRINT_URL=$SPECS_BASE_PATH/V2_Blueprint_FlowerBed.json
ENV LD_FLOWERBED_BLUEPRINT_URL=$SPECS_BASE_PATH/LD_Blueprint_FlowerBed.json
ENV FOUNTAINUSAGEOBSERVED_SPECS_URL=$SPECS_BASE_PATH/Specs_FountainUsageObserved.json
ENV V2_FOUNTAINUSAGEOBSERVED_BLUEPRINT_URL=$SPECS_BASE_PATH/V2_Blueprint_FountainUsageObserved.json
ENV LD_FOUNTAINUSAGEOBSERVED_BLUEPRINT_URL=$SPECS_BASE_PATH/LD_Blueprint_FountainUsageObserved.json
ENV NOISE_SPECS_URL=$SPECS_BASE_PATH/Specs_Noise.json
ENV V2_NOISE_BLUEPRINT_URL=$SPECS_BASE_PATH/V2_Blueprint_Noise.json
ENV LD_NOISE_BLUEPRINT_URL=$SPECS_BASE_PATH/LD_Blueprint_Noise.json
ENV WATERCONSUMPTIONOBSERVED_SPECS_URL=$SPECS_BASE_PATH/Specs_WaterConsumptionObserved.json
ENV V2_WATERCONSUMPTIONOBSERVED_BLUEPRINT_URL=$SPECS_BASE_PATH/V2_Blueprint_WaterConsumptionObserved.json
ENV LD_WATERCONSUMPTIONOBSERVED_BLUEPRINT_URL=$SPECS_BASE_PATH/LD_Blueprint_WaterConsumptionObserved.json
ENV WATERQUALITYFORECAST_SPECS_URL=$SPECS_BASE_PATH/Specs_WaterQualityForecast.json
ENV WATERQUALITYFORECAST_BLUEPRINT_URL=$SPECS_BASE_PATH/V2_Blueprint_WaterQualityForecast.json
ENV V2_WATERQUALITYFORECAST_BLUEPRINT_URL=$SPECS_BASE_PATH/V2_Blueprint_WaterQualityForecast.json
ENV LD_WATERQUALITYFORECAST_BLUEPRINT_URL=$SPECS_BASE_PATH/LD_Blueprint_WaterQualityForecast.json
ENV WATERQUALITYOBSERVED_SPECS_URL=$SPECS_BASE_PATH/Specs_WaterQualityObserved.json
ENV WATERQUALITYOBSERVED_BLUEPRINT_URL=$SPECS_BASE_PATH/V2_Blueprint_WaterQualityObserved.json
ENV V2_WATERQUALITYOBSERVED_BLUEPRINT_URL=$SPECS_BASE_PATH/V2_Blueprint_WaterQualityObserved.json
ENV LD_WATERQUALITYOBSERVED_BLUEPRINT_URL=$SPECS_BASE_PATH/LD_Blueprint_WaterQualityObserved.json
ENV WEATHERFORECAST_SPECS_URL=$SPECS_BASE_PATH/Specs_WeatherForecast.json
ENV WEATHERFORECAST_BLUEPRINT_URL=$SPECS_BASE_PATH/V2_Blueprint_WeatherForecast.json
ENV V2_WEATHERFORECAST_BLUEPRINT_URL=$SPECS_BASE_PATH/V2_Blueprint_WeatherForecast.json
ENV LD_WEATHERFORECAST_BLUEPRINT_URL=$SPECS_BASE_PATH/LD_Blueprint_WeatherForecast.json
ENV WEATHEROBSERVED_SPECS_URL=$SPECS_BASE_PATH/Specs_WeatherObserved.json
ENV WEATHEROBSERVED_BLUEPRINT_URL=$SPECS_BASE_PATH/V2_Blueprint_WeatherObserved.json
ENV V2_WEATHEROBSERVED_BLUEPRINT_URL=$SPECS_BASE_PATH/V2_Blueprint_WeatherObserved.json
ENV LD_WEATHEROBSERVED_BLUEPRINT_URL=$SPECS_BASE_PATH/LD_Blueprint_WeatherObserved.json
#________________________________________
RUN useradd -ms /bin/bash naiades
......
......@@ -2,7 +2,7 @@
import os
DEPLOYMENT_ENV = 'DEV' # PROD or DEV
DEPLOYMENT_ENV = 'PROD' # PROD or DEV
APP_CONFIG = {
'SPECS_TIMEOUT_SEC': os.environ.get('SPECS_TIMEOUT_SEC', 10),
......@@ -23,24 +23,34 @@ URL_RESOURCES = {
},
"ALERT_SPECS_URL": os.environ.get("ALERT_SPECS_URL"),
"V2_ALERT_BLUEPRINT_URL": os.environ.get("V2_ALERT_BLUEPRINT_URL"),
"LD_ALERT_BLUEPRINT_URL": os.environ.get("LD_ALERT_BLUEPRINT_URL"),
"DEVICE_SPECS_URL": os.environ.get("DEVICE_SPECS_URL"),
"V2_DEVICE_BLUEPRINT_URL": os.environ.get("V2_DEVICE_BLUEPRINT_URL"),
"LD_DEVICE_BLUEPRINT_URL": os.environ.get("LD_DEVICE_BLUEPRINT_URL"),
"FLOWERBED_SPECS_URL": os.environ.get("FLOWERBED_SPECS_URL"),
"V2_FLOWERBED_BLUEPRINT_URL": os.environ.get("V2_FLOWERBED_BLUEPRINT_URL"),
"LD_FLOWERBED_BLUEPRINT_URL": os.environ.get("LD_FLOWERBED_BLUEPRINT_URL"),
"FOUNTAINUSAGEOBSERVED_SPECS_URL": os.environ.get("FOUNTAINUSAGEOBSERVED_SPECS_URL"),
"V2_FOUNTAINUSAGEOBSERVED_BLUEPRINT_URL": os.environ.get("V2_FOUNTAINUSAGEOBSERVED_BLUEPRINT_URL"),
"LD_FOUNTAINUSAGEOBSERVED_BLUEPRINT_URL": os.environ.get("LD_FOUNTAINUSAGEOBSERVED_BLUEPRINT_URL"),
"NOISE_SPECS_URL": os.environ.get("NOISE_SPECS_URL"),
"V2_NOISE_BLUEPRINT_URL": os.environ.get("V2_NOISE_BLUEPRINT_URL"),
"LD_NOISE_BLUEPRINT_URL": os.environ.get("LD_NOISE_BLUEPRINT_URL"),
"WATERCONSUMPTIONOBSERVED_SPECS_URL": os.environ.get("WATERCONSUMPTIONOBSERVED_SPECS_URL"),
"V2_WATERCONSUMPTIONOBSERVED_BLUEPRINT_URL": os.environ.get("V2_FLOWERBED_BLUEPRINT_URL"),
"LD_WATERCONSUMPTIONOBSERVED_BLUEPRINT_URL": os.environ.get("LD_FLOWERBED_BLUEPRINT_URL"),
"WATERQUALITYFORECAST_SPECS_URL": os.environ.get("WATERQUALITYFORECAST_SPECS_URL"),
"V2_WATERQUALITYFORECAST_BLUEPRINT_URL": os.environ.get("WATERQUALITYFORECAST_BLUEPRINT_URL"),
"V2_WATERQUALITYFORECAST_BLUEPRINT_URL": os.environ.get("V2_WATERQUALITYFORECAST_BLUEPRINT_URL"),
"LD_WATERQUALITYFORECAST_BLUEPRINT_URL": os.environ.get("LD_WATERQUALITYFORECAST_BLUEPRINT_URL"),
"WATERQUALITYOBSERVED_SPECS_URL": os.environ.get("WATERQUALITYOBSERVED_SPECS_URL"),
"V2_WATERQUALITYOBSERVED_BLUEPRINT_URL": os.environ.get("WATERQUALITYOBSERVED_BLUEPRINT_URL"),
"V2_WATERQUALITYOBSERVED_BLUEPRINT_URL": os.environ.get("V2_WATERQUALITYOBSERVED_BLUEPRINT_URL"),
"LD_WATERQUALITYOBSERVED_BLUEPRINT_URL": os.environ.get("LD_WATERQUALITYOBSERVED_BLUEPRINT_URL"),
"WEATHERFORECAST_SPECS_URL": os.environ.get("WEATHERFORECAST_SPECS_URL"),
"V2_WEATHERFORECAST_BLUEPRINT_URL": os.environ.get("WEATHERFORECAST_BLUEPRINT_URL"),
"V2_WEATHERFORECAST_BLUEPRINT_URL": os.environ.get("V2_WEATHERFORECAST_BLUEPRINT_URL"),
"LD_WEATHERFORECAST_BLUEPRINT_URL": os.environ.get("LD_WEATHERFORECAST_BLUEPRINT_URL"),
"WEATHEROBSERVED_SPECS_URL": os.environ.get("WEATHEROBSERVED_SPECS_URL"),
"V2_WEATHEROBSERVED_BLUEPRINT_URL": os.environ.get("WEATHEROBSERVED_BLUEPRINT_URL")
"V2_WEATHEROBSERVED_BLUEPRINT_URL": os.environ.get("V2_WEATHEROBSERVED_BLUEPRINT_URL"),
"LD_WEATHEROBSERVED_BLUEPRINT_URL": os.environ.get("LD_WEATHEROBSERVED_BLUEPRINT_URL")
}
LOG_CONFIG = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment