-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig.yaml
63 lines (60 loc) · 2.9 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
address: '0.0.0.0:8080' # self ip:port address where API service will be alvalible
services: # list of currently avalible API services
- database-sqlite: # internal unique API service name
name: 'database' # database instance name
type: sqlite # the type of the dattabase
path: 'database.sqlite' # path / ip:pot to the database file / host
user: root # database access user
pass: root # database access password
- database-sqlite1: # internal unique API service name
name: 'database1' # database instance name
type: sqlite # the type of the dattabase
path: 'database22.sqlite' # path / ip:pot to the database file / host
user: root # database access user
pass: root # database access password
- database-postgres:
name: 'db_postgres_test'
type: postgres
path: 'localhost:5432'
user: db_postgres_test
pass: db_postgres_test
# replaceNullWithDefault:
- database-postgres-crane-data-server:
name: 'crane_data_server'
type: postgres
path: 'localhost:5432'
user: crane_data_server
pass: 00d0-25e4-*&s2-ccds
# replaceNullWithDefault:
- py-test-script: # internal unique API service name
name: 'py-test' # the name of the python script (must be specified in the API request, field 'path')
type: python # the type of the service
path: 'extensions/scripts/script_tamplate.py' # the path to the python script file
user: root # can be used to restrict assecc to the python script
pass: root # can be used to restrict assecc to the python script
- executable-test-app: # internal unique API service name
name: 'executable-test' # the name of the exequtable (must be specified in the API request, field 'path')
type: bin # the type of the service
path: 'extensions/bin/simple-executable' # the path to the extension exequtable file
user: root # can be used to restrict assecc to the python script
pass: root # can be used to restrict assecc to the python script
- database-test:
name: 'test_api_query'
type: postgres
path: 'localhost:5432'
user: test_api_query
pass: test_api_query
# replaceNullWithDefault:
- flowers-app:
name: 'flowers_app'
type: postgres
path: 'localhost:5432'
user: flowers_app
pass: 00d0-25e4-*&s2-ccds
# replaceNullWithDefault:
- database-postgres-nested-value:
name: 'nested_value'
type: postgres
path: 'localhost:5432'
user: postgres
pass: postgres