EOX GitLab Instance

Skip to content
Snippets Groups Projects
Commit b850a943 authored by Bernhard Mallinger's avatar Bernhard Mallinger
Browse files

Use actual harvesting url

parent 73141068
No related branches found
No related tags found
1 merge request!7values simplification tool
......@@ -160,7 +160,6 @@ def transform_values(
],
}
# TODO urls
values["harvester"]["config"]["harvesters"] |= {
product_type.name: {
"output": "queue",
......@@ -168,7 +167,7 @@ def transform_values(
"resource": {
"type": "OADS",
"oads": {
"url": f"https://example3.com/oads/meta/{product_type.name}/index/",
"url": product_type.harvesting_url,
"use_oads_ext": True,
},
},
......@@ -189,6 +188,7 @@ def transform_values(
],
}
for product_type in config_change.product_types
if product_type.harvesting_url
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment