initial stage

This commit is contained in:
Giambattista Bloisi 2024-03-24 19:01:00 +01:00
parent 8bea0251f1
commit 99ef9b3980
2 changed files with 2 additions and 3 deletions

View File

@ -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 = ["datasource", "grants", "organizations", "persons", "products", "topics", "venues"]
BULK_PARALLELISM = 10
@ -185,7 +185,6 @@ def import_EOSC_graph():
data = json.loads(line)
data['_index'] = entity
data['_id'] = data['local_identifier']
data['eoscId'] = ''
yield data
# disable success post logging

View File

@ -1,7 +1,7 @@
mappings = {}
mappings['datasources'] = {
mappings['datasource'] = {
"properties": {
"data_source_classification": {
"type": "keyword"