Skip to content

Commit

Permalink
#256: Revert back to old example config format
Browse files Browse the repository at this point in the history
- Reverting back so the tests pass until I re-implement the config
  • Loading branch information
MRichards99 committed Nov 3, 2021
1 parent b57b92d commit f563380
Showing 1 changed file with 11 additions and 21 deletions.
32 changes: 11 additions & 21 deletions datagateway_api/config.json.example
Original file line number Diff line number Diff line change
@@ -1,26 +1,16 @@
{
"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
},
"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",
"flask_reloader": false,
"log_level": "DEBUG",
"log_location": "/root/seg_dev/datagateway-api/logs.log",
"debug_mode": true,
"generate_swagger": true,
"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,
"host": "127.0.0.1",
"port": "5000",
"test_user_credentials": {"username": "root", "password": "pw"},
Expand Down

0 comments on commit f563380

Please sign in to comment.