Skip to content
Snippets Groups Projects
Commit b397c751 authored by David Trattnig's avatar David Trattnig
Browse files

Configuration for Engine API.

parent 9c5d27ad
No related branches found
No related tags found
No related merge requests found
...@@ -61,6 +61,15 @@ api_tank_status = "http://localhost:8040/healthz/" ...@@ -61,6 +61,15 @@ api_tank_status = "http://localhost:8040/healthz/"
# The URL to get playlist details via Tank # The URL to get playlist details via Tank
api_tank_playlist="http://localhost:8040/api/v1/playlists/${ID}" api_tank_playlist="http://localhost:8040/api/v1/playlists/${ID}"
## ENGINE-API ##
# Engine ID (1 or 2)
api_engine_number = 1
# Engine API endpoint to store playlogs
api_engine_store_playlog = "http://localhost:8008/api/v1/playlog/store"
# Engine API endpoint to store clock information
api_engine_store_clock = "http://localhost:8008/api/v1/clock"
# URL and Port of the API endpoints exposed by engine # URL and Port of the API endpoints exposed by engine
exposed_api_url="http://localhost:3333/api/v1/" exposed_api_url="http://localhost:3333/api/v1/"
api_port=3333 api_port=3333
......
...@@ -61,6 +61,14 @@ api_tank_status = "http://127.0.0.1:8040/healthz/" ...@@ -61,6 +61,14 @@ api_tank_status = "http://127.0.0.1:8040/healthz/"
# The URL to get playlist details via Tank # The URL to get playlist details via Tank
api_tank_playlist="http://127.0.0.1:8040/api/v1/playlists/${ID}" api_tank_playlist="http://127.0.0.1:8040/api/v1/playlists/${ID}"
## ENGINE-API ##
# Engine ID (1 or 2)
api_engine_number = 1
# Engine API endpoint to store playlogs
api_engine_store_playlog = "http://localhost:8008/api/v1/playlog/store"
# Engine API endpoint to store clock information
api_engine_store_clock = "http://localhost:8008/api/v1/clock"
# URL and Port of the API endpoints exposed by engine # URL and Port of the API endpoints exposed by engine
exposed_api_url="http://172.17.0.1:3333/api/v1/" exposed_api_url="http://172.17.0.1:3333/api/v1/"
......
...@@ -59,6 +59,15 @@ api_tank_status = "http://aura.local:8040/healthz/" ...@@ -59,6 +59,15 @@ api_tank_status = "http://aura.local:8040/healthz/"
# The URL to get playlist details via Tank # The URL to get playlist details via Tank
api_tank_playlist="http://aura.local:8040/api/v1/playlists/${ID}" api_tank_playlist="http://aura.local:8040/api/v1/playlists/${ID}"
## ENGINE-API ##
# Engine ID (1 or 2)
api_engine_number = 1
# Engine API endpoint to store playlogs
api_engine_store_playlog = "http://localhost:8008/api/v1/playlog/store"
# Engine API endpoint to store clock information
api_engine_store_clock = "http://localhost:8008/api/v1/clock"
# URL and Port of the API endpoints exposed by engine # URL and Port of the API endpoints exposed by engine
exposed_api_url="http://localhost:3333/api/v1/" exposed_api_url="http://localhost:3333/api/v1/"
api_port=3333 api_port=3333
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment