From 5630a11ebea95ada39c59f68c282d220074f99a7 Mon Sep 17 00:00:00 2001
From: David Trattnig <david.trattnig@o94.at>
Date: Mon, 14 Sep 2020 18:22:19 +0200
Subject: [PATCH] Remove old API URL. #27

---
 configuration/sample-development.engine.ini | 5 ++---
 configuration/sample-docker.engine.ini      | 5 ++---
 configuration/sample-production.engine.ini  | 5 ++---
 3 files changed, 6 insertions(+), 9 deletions(-)

diff --git a/configuration/sample-development.engine.ini b/configuration/sample-development.engine.ini
index e662f108..fef3d30d 100644
--- a/configuration/sample-development.engine.ini
+++ b/configuration/sample-development.engine.ini
@@ -65,6 +65,8 @@ api_tank_playlist="http://localhost:8040/api/v1/playlists/${ID}"
 
 # Engine ID (1 or 2)
 api_engine_number = 1
+# Engine API availability check
+api_engine_status="http://localhost:8008/api/v1/ui/"
 # Engine API endpoint to store playlogs
 api_engine_store_playlog = "http://localhost:8008/api/v1/playlog/store"
 # Engine API endpoint to store clock information
@@ -72,9 +74,6 @@ api_engine_store_clock = "http://localhost:8008/api/v1/clock"
 # Engine API endpoint to store health information
 api_engine_store_health = "http://localhost:8008/api/v1/source/health/${ENGINE_NUMBER}"
 
-# URL and Port of the API endpoints exposed by engine
-exposed_api_url="http://localhost:3333/api/v1/"
-api_port=3333
 
 [scheduling]
 # How often should the calendar be fetched in seconds. This determines the time of the last changes applied, before a specific show aired
diff --git a/configuration/sample-docker.engine.ini b/configuration/sample-docker.engine.ini
index 341a3435..1d3b96f0 100644
--- a/configuration/sample-docker.engine.ini
+++ b/configuration/sample-docker.engine.ini
@@ -65,6 +65,8 @@ api_tank_playlist="http://127.0.0.1:8040/api/v1/playlists/${ID}"
 
 # Engine ID (1 or 2)
 api_engine_number = 1
+# Engine API availability check
+api_engine_status="http://localhost:8008/api/v1/ui/"
 # Engine API endpoint to store playlogs
 api_engine_store_playlog = "http://localhost:8008/api/v1/playlog/store"
 # Engine API endpoint to store clock information
@@ -72,9 +74,6 @@ api_engine_store_clock = "http://localhost:8008/api/v1/clock"
 # Engine API endpoint to store health information
 api_engine_store_health = "http://localhost:8008/api/v1/source/health/${ENGINE_NUMBER}"
 
-# URL and Port of the API endpoints exposed by engine
-exposed_api_url="http://172.17.0.1:3333/api/v1/"
-api_port=3333
 
 [scheduling]
 # How often should the calendar be fetched in seconds. This determines the time of the last changes applied, before a specific show aired
diff --git a/configuration/sample-production.engine.ini b/configuration/sample-production.engine.ini
index 6fc4890e..9dc1c4bd 100644
--- a/configuration/sample-production.engine.ini
+++ b/configuration/sample-production.engine.ini
@@ -63,6 +63,8 @@ api_tank_playlist="http://aura.local:8040/api/v1/playlists/${ID}"
 
 # Engine ID (1 or 2)
 api_engine_number = 1
+# Engine API availability check
+api_engine_status="http://localhost:8008/api/v1/ui/"
 # Engine API endpoint to store playlogs
 api_engine_store_playlog = "http://localhost:8008/api/v1/playlog/store"
 # Engine API endpoint to store clock information
@@ -70,9 +72,6 @@ api_engine_store_clock = "http://localhost:8008/api/v1/clock"
 # Engine API endpoint to store health information
 api_engine_store_health = "http://localhost:8008/api/v1/source/health/${ENGINE_NUMBER}"
 
-# URL and Port of the API endpoints exposed by engine
-exposed_api_url="http://localhost:3333/api/v1/"
-api_port=3333
 
 [scheduling]
 # How often should the calendar be fetched in seconds. This determines the time of the last changes applied, before a specific show aired
-- 
GitLab