initial stage
This commit is contained in:
parent
d97972b85e
commit
8bea0251f1
|
@ -29,7 +29,7 @@ OPENSEARCH_URL= Variable.get("OPENSEARCH_URL", "https://opensearch-cluster.lot1-
|
|||
OPENSEARCH_USER = Variable.get("OPENSEARCH_USER", "admin")
|
||||
OPENSEARCH_PASSWD = Variable.get("OPENSEARCH_PASSWORD", "admin")
|
||||
|
||||
ENTITIES = ["datasources", "grants", "organizations", "persons", "products", "topics", "venues"]
|
||||
ENTITIES = ["datasources"] #, "grants", "organizations", "persons", "products", "topics", "venues"]
|
||||
|
||||
BULK_PARALLELISM = 10
|
||||
|
||||
|
@ -185,6 +185,7 @@ def import_EOSC_graph():
|
|||
data = json.loads(line)
|
||||
data['_index'] = entity
|
||||
data['_id'] = data['local_identifier']
|
||||
data['eoscId'] = ''
|
||||
yield data
|
||||
|
||||
# disable success post logging
|
||||
|
|
Loading…
Reference in New Issue