Skip to content

Commit

Permalink
test url fix
Browse files Browse the repository at this point in the history
  • Loading branch information
amilan17 committed Dec 7, 2023
1 parent 2df9b9b commit 3758c58
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions scripts/synchroniseTestProd.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,8 @@ def entities(reguri, baseurl):
args = parser.parse_args()

prod_uri = 'http://codes.wmo.int'
test_uri = 'https://ci.codes.wmo.int'
wmdr_test_uri = 'https://ci.codes.wmo.int/wmdr'
# test_uri = 'http://testwmocodes.metarelate.net'
# wmdr_test_uri = 'http://testwmocodes.metarelate.net/wmdr'
test_uri = 'http://ci.codes.wmo.int'
wmdr_test_uri = 'http://ci.codes.wmo.int/wmdr'

wmdr_prod_registers = [r['regdef']['value'] for r in entities(prod_uri + '/wmdr', prod_uri)]
wmdr_test_registers = [r['regdef']['value'] for r in entities(prod_uri + '/wmdr', test_uri)]
Expand Down

0 comments on commit 3758c58

Please sign in to comment.