Commit 0d2ba5ca authored by Daniel Seybold's avatar Daniel Seybold

extended api for new single node DBMS, added respective yaml files

parent 5ec3687a
application : "INFLUXDB"
user : "someUser"
components :
-
name : "SEED"
incomingPorts :
-
name : "ClientPort"
number : 8086
lifecycleActions :
init : ""
download : "sudo apt-get -y update && sudo apt-get install wget -y
&& wget -O install.sh '#SERVICE_ENDPOINT#/scripts/database/influxdb/install.sh'
&& wget -O init.sh '#SERVICE_ENDPOINT#/scripts/database/influxdb/init.sh'
&& wget -O seed.sh '#SERVICE_ENDPOINT#/scripts/database/influxdb/seed.sh'
&& wget -O telegraf.sh '#SERVICE_ENDPOINT#/scripts/database/influxdb/telegraf.sh' "
install : "sudo -E chmod +x install.sh && sudo -E ./install.sh"
configure : " source /etc/environment && sudo -E chmod +x init.sh && sudo -E chmod +x seed.sh && sudo -E ./init.sh && sudo -E ./seed.sh"
start : "source /etc/environment && sudo -E chmod +x telegraf.sh && sudo -E ./telegraf.sh"
stop : ""
application : "POSTGRESQL"
user : "someUser"
components :
-
name : "SEED"
incomingPorts :
-
name : "ClientPort"
number : 5432
lifecycleActions :
init : ""
download : "sudo apt-get -y update && sudo apt-get install wget -y
&& wget -O install.sh '#SERVICE_ENDPOINT#/scripts/database/postgresql/install.sh'
&& wget -O init.sh '#SERVICE_ENDPOINT#/scripts/database/postgresql/init.sh'
&& wget -O seed.sh '#SERVICE_ENDPOINT#/scripts/database/postgresql/seed.sh'
&& wget -O telegraf.sh '#SERVICE_ENDPOINT#/scripts/database/postgresql/telegraf.sh' "
install : "sudo -E chmod +x install.sh && sudo -E ./install.sh"
configure : " source /etc/environment && sudo -E chmod +x init.sh && sudo -E chmod +x seed.sh && sudo -E ./init.sh && sudo -E ./seed.sh"
start : "source /etc/environment && sudo -E chmod +x telegraf.sh && sudo -E ./telegraf.sh"
stop : ""
application : "TIMESCALE"
user : "someUser"
components :
-
name : "SEED"
incomingPorts :
-
name : "ClientPort"
number : 5432
lifecycleActions :
init : ""
download : "sudo apt-get -y update && sudo apt-get install wget -y
&& wget -O install.sh '#SERVICE_ENDPOINT#/scripts/database/timescale/install.sh'
&& wget -O init.sh '#SERVICE_ENDPOINT#/scripts/database/timescale/init.sh'
&& wget -O seed.sh '#SERVICE_ENDPOINT#/scripts/database/timescale/seed.sh'
&& wget -O telegraf.sh '#SERVICE_ENDPOINT#/scripts/database/timescale/telegraf.sh' "
install : "sudo -E chmod +x install.sh && sudo -E ./install.sh"
configure : " source /etc/environment && sudo -E chmod +x init.sh && sudo -E chmod +x seed.sh && sudo -E ./init.sh && sudo -E ./seed.sh"
start : "source /etc/environment && sudo -E chmod +x telegraf.sh && sudo -E ./telegraf.sh"
stop : ""
......@@ -341,6 +341,9 @@ definitions:
- SCYLLADB
- VOLTDB
- ELASTICSEARCH
- INFLUXDB
- POSTGRESQL
- TIMESCALE
databaseSeedComponent:
$ref: '#/definitions/DatabaseSeedComponent'
......
#!/bin/sh
java -jar utils/swagger-codegen-cli-2.3.0.jar generate -i swagger/swagger.yaml -l java -c utils/java-client-config.json -o ../application-deployment-client/.
\ No newline at end of file
java -jar utils/swagger-codegen-cli-2.3.0.jar generate -i swagger/swagger.yaml -l java -c utils/java-client-config.json -o ../dbms-catalogue-client/.
\ No newline at end of file
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