Skip to content

Commit

Permalink
remove config value added in make-num-years-determining-public-data-c…
Browse files Browse the repository at this point in the history
…onfigurable-#312 #329
  • Loading branch information
VKTB committed Feb 16, 2022
1 parent c70b9e9 commit 05ad0e6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions datagateway_api/config.json.example
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
"search_api": {
"extension": "/search-api",
"icat_url": "https://localhost:8181",
"icat_check_cert": false,
"num_of_years_determining_public_data": 3
"icat_check_cert": false
},
"flask_reloader": false,
"log_level": "WARN",
Expand Down
1 change: 0 additions & 1 deletion datagateway_api/src/common/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ class SearchAPI(BaseModel):
extension: StrictStr
icat_check_cert: StrictBool
icat_url: StrictStr
num_of_years_determining_public_data: StrictInt

_validate_extension = validator("extension", allow_reuse=True)(validate_extension)

Expand Down
1 change: 0 additions & 1 deletion test/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ def test_config_data():
"extension": "/search-api",
"icat_url": "https://localhost.testdomain:8181",
"icat_check_cert": True,
"num_of_years_determining_public_data": 3,
},
"flask_reloader": False,
"log_level": "WARN",
Expand Down

0 comments on commit 05ad0e6

Please sign in to comment.