Skip to content

Commit

Permalink
#256: Change example config for search API
Browse files Browse the repository at this point in the history
- This format of config has not been implemented at time of commit
  • Loading branch information
MRichards99 committed Oct 25, 2021
1 parent a426ec7 commit 858fcbd
Showing 1 changed file with 21 additions and 11 deletions.
32 changes: 21 additions & 11 deletions datagateway_api/config.json.example
Original file line number Diff line number Diff line change
@@ -1,16 +1,26 @@
{
"backend": "db",
"client_cache_size": 5,
"client_pool_init_size": 2,
"client_pool_max_size": 5,
"db_url": "mysql+pymysql://icatdbuser:icatdbuserpw@localhost:3306/icatdb",
"datagateway_api": {
"extension": "/datagateway-api",
"backend": "python_icat",
"client_cache_size": 10,
"client_pool_init_size": 3,
"client_pool_max_size": 20,
"db_url": "mysql+pymysql://icatdbuser:icatdbuserpw@localhost:3306/icatdb",
"icat_url": "https://icatisis.esc.rl.ac.uk:8181",
"icat_check_cert": false
},
"search_api": {
"extension": "/search-api",
"icat_url": "https://icatisis.esc.rl.ac.uk:8181",
"icat_check_cert": false,
"client_pool_init_size": 3
"client_pool_max_size": 20
},
"flask_reloader": false,
"icat_url": "https://localhost:8181",
"icat_check_cert": false,
"log_level": "WARN",
"log_location": "/home/runner/work/datagateway-api/datagateway-api/logs.log",
"debug_mode": false,
"generate_swagger": false,
"log_level": "DEBUG",
"log_location": "/root/seg_dev/datagateway-api/logs.log",
"debug_mode": true,
"generate_swagger": true,
"host": "127.0.0.1",
"port": "5000",
"test_user_credentials": {"username": "root", "password": "pw"},
Expand Down

0 comments on commit 858fcbd

Please sign in to comment.