From 8e1ac27dd1d20278bf5edd74277625abab13e795 Mon Sep 17 00:00:00 2001 From: David Trattnig <david@subsquare.at> Date: Fri, 13 Jan 2023 10:11:52 +0100 Subject: [PATCH] chore: remove obsolete sample configs --- .../sample/sample-development.engine-api.ini | 65 ----------------- config/sample/sample-docker.engine-api.ini | 69 ------------------- .../sample/sample-production.engine-api.ini | 65 ----------------- 3 files changed, 199 deletions(-) delete mode 100644 config/sample/sample-development.engine-api.ini delete mode 100644 config/sample/sample-docker.engine-api.ini delete mode 100644 config/sample/sample-production.engine-api.ini diff --git a/config/sample/sample-development.engine-api.ini b/config/sample/sample-development.engine-api.ini deleted file mode 100644 index d06a5aa..0000000 --- a/config/sample/sample-development.engine-api.ini +++ /dev/null @@ -1,65 +0,0 @@ - -####################### -# Engine API Settings # -####################### - - -[database] -# Use 'postgresql', 'sqlite' or 'mysql'. In case of SQLite the "db_name" is the name of the file. -db_type="postgresql" -db_name="aura_engine_api" -db_user="aura_engine_api" -db_pass="---SECRET--PASSWORD---" -db_host="localhost" -db_charset="utf8" - -[monitoring] -logdir="./logs" -# possible values: debug, info, warning, error, critical -loglevel="info" -debug_flask="false" - -[api] -api_port=8008 -api_cors="*" - -[federation] - -enable_federation="false" - -# Defines the engine number id for identification of record sources. Default values are: -# -# 1 ... Engine 1 (main node) -# 2 ... Engine 2 (main node, not needed for single deployment) -# 0 ... Sync Host (sync node, not needed for single engine deployment) -# -# Engine API supports two deployment models: -# -# - "main": Deployed together with some `engine` (Single instance or for redundant engines) -# - "sync": Independent deployment, in charge of syncing data of two main-nodes -# -# The `synch_host` identifies the host where data is gathered from/synced to, depended on the -# chosen `node_type`. - -# NODE 1 -host_id=1 -sync_host="http://localhost:8010" - -# NODE 2 -; host_id=2 -; sync_host="http://localhost:8010" - -# NODE SYNC -; host_id=0 -; main_host_1="http://localhost:8008" -; main_host_2="http://localhost:8009" -; default_source=1 -; sync_interval=3600 -; sync_batch_size=100 -; sync_step_sleep=0.23 - -# API endpoints to sync data from main to child nodes -sync_api_get_playlog="/api/v1/playlog" -sync_api_store_playlog="/api/v1/playlog" -sync_api_store_healthlog="/api/v1/source/health" -sync_api_store_clockinfo="/api/v1/clock" \ No newline at end of file diff --git a/config/sample/sample-docker.engine-api.ini b/config/sample/sample-docker.engine-api.ini deleted file mode 100644 index e92074c..0000000 --- a/config/sample/sample-docker.engine-api.ini +++ /dev/null @@ -1,69 +0,0 @@ - -####################### -# Engine API Settings # -####################### - - -[database] -# Use 'postgresql' or 'mysql' -db_type="postgresql" -db_name="${ENGINE_API_DB_NAME}" -db_user="${ENGINE_API_DB_USER}" -db_pass="${ENGINE_API_DB_PASS}" -db_host="engine-api-postgres" -db_charset="utf8" - -[monitoring] -logdir="./logs" -# possible values: debug, info, warning, error, critical -# default is info -loglevel="${ENGINE_API_LOG_LEVEL}" -# default is false -debug_flask="${ENGINE_API_DEBUG_FLASK}" - -[api] -api_port=8008 -api_cors="*" - -[federation] - -#default is false -enable_federation="${ENGINE_API_ENABLE_FEDERATION}" - -# Defines the engine number id for identification of record sources. Default values are: -# -# 1 ... Engine 1 (main node) -# 2 ... Engine 2 (main node, not needed for single deployment) -# 0 ... Sync Host (sync node, not needed for single engine deployment) -# -# Engine API supports two deployment models: -# -# - "main": Deployed together with some `engine` (Single instance or for redundant engines) -# - "sync": Independent deployment, in charge of syncing data of two main-nodes -# -# The `synch_host` identifies the host where data is gathered from/synced to, depended on the -# chosen `node_type`. - -# NODE 1 -host_id=1 -#default is http://localhost:8010 -sync_host="${ENGINE_API_SYNC_HOST}" - -# NODE 2 -; host_id=2 -; sync_host="http://engine.sync.local:8008" - -# NODE SYNC -; host_id=0 -; main_host_1="http://engine1.local:8008" -; main_host_2="http://engine2.local:8008" -; default_source=1 -; sync_interval=3600 -; sync_batch_size=100 -; sync_step_sleep=2 - -# API endpoints to sync data from main to child nodes -sync_api_get_playlog="/api/v1/playlog" -sync_api_store_playlog="/api/v1/playlog/store" -sync_api_store_healthlog="/api/v1/source/health" -sync_api_store_clockinfo="/api/v1/clock" diff --git a/config/sample/sample-production.engine-api.ini b/config/sample/sample-production.engine-api.ini deleted file mode 100644 index 9810dc4..0000000 --- a/config/sample/sample-production.engine-api.ini +++ /dev/null @@ -1,65 +0,0 @@ - -####################### -# Engine API Settings # -####################### - - -[database] -# Use 'postgresql', 'sqlite' or 'mysql'. In case of SQLite the "db_name" is the name of the file. -db_type="postgresql" -db_name="aura_engine_api" -db_user="aura_engine_api" -db_pass="---SECRET--PASSWORD---" -db_host="localhost" -db_charset="utf8" - -[monitoring] -logdir="./logs" -# possible values: debug, info, warning, error, critical -loglevel="info" -debug_flask="false" - -[api] -api_port=8008 -api_cors="*" - -[federation] - -enable_federation="false" - -# Defines the engine number id for identification of record sources. Default values are: -# -# 1 ... Engine 1 (main node) -# 2 ... Engine 2 (main node, not needed for single deployment) -# 0 ... Sync Host (sync node, not needed for single engine deployment) -# -# Engine API supports two deployment models: -# -# - "main": Deployed together with some `engine` (Single instance or for redundant engines) -# - "sync": Independent deployment, in charge of syncing data of two main-nodes -# -# The `synch_host` identifies the host where data is gathered from/synced to, depended on the -# chosen `node_type`. - -# NODE 1 -host_id=1 -sync_host="http://engine.sync.local:8008" - -# NODE 2 -; host_id=2 -; sync_host="http://engine.sync.local:8008" - -# NODE SYNC -; host_id=0 -; main_host_1="http://engine1.local:8008" -; main_host_2="http://engine2.local:8008" -; default_source=1 -; sync_interval=3600 -; sync_batch_size=100 -; sync_step_sleep=2 - -# API endpoints to sync data from main to child nodes -sync_api_get_playlog="/api/v1/playlog" -sync_api_store_playlog="/api/v1/playlog" -sync_api_store_healthlog="/api/v1/source/health" -sync_api_store_clockinfo="/api/v1/clock" \ No newline at end of file -- GitLab