From 0811e2ca8d7574875e9033c2bbdb0c50740d14c7 Mon Sep 17 00:00:00 2001 From: thomas loubrieu Date: Thu, 9 Oct 2025 18:49:28 -0400 Subject: [PATCH 01/11] update aliases for strurtured registry. --- docker/scripts/aliases/alias_registry.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/scripts/aliases/alias_registry.json b/docker/scripts/aliases/alias_registry.json index 3922c71..ab1145e 100644 --- a/docker/scripts/aliases/alias_registry.json +++ b/docker/scripts/aliases/alias_registry.json @@ -2,8 +2,8 @@ "actions": [ { "add": { - "index": "*-registry", - "alias": "registry" + "index": "*-registry-structured", + "alias": "registry-structured" } } ] From 9850dee82ba995a4d2fa7ddfd3efcece060facb3 Mon Sep 17 00:00:00 2001 From: thomas loubrieu Date: Thu, 30 Oct 2025 20:45:01 -0700 Subject: [PATCH 02/11] wip: add geo_shape though opensearch pipeline, not tested --- docker/scripts/elasticsearch-init.sh | 43 ++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/docker/scripts/elasticsearch-init.sh b/docker/scripts/elasticsearch-init.sh index ef8c3e4..413c8e5 100644 --- a/docker/scripts/elasticsearch-init.sh +++ b/docker/scripts/elasticsearch-init.sh @@ -52,3 +52,46 @@ registry-manager create-registry -registry file:///etc/local_registry.xml -auth echo "Create aliases, until registry-manager does it" curl -X POST -H "Content-Type: application/json" -d @/usr/local/bin/aliases/alias_registry.json -u admin:admin --insecure https://elasticsearch:9200/_aliases +# create pipelines for geographical objects +curl -X PUT --insecure "https://elasticsearch:9200/_ingest/pipeline/bbox_to_polygon" -H 'Content-Type: application/json' -d ' +{ + "description": "Builds a geo_shape polygon from bbox fields", + "processors": [ + { + "script": { + "lang": "painless", + "source": """ + def east = ctx['cart:Bounding_Coordinates/cart:east_bounding_coordinate']; + def west = ctx['cart:Bounding_Coordinates/cart:west_bounding_coordinate']; + def north = ctx['cart:Bounding_Coordinates/cart:north_bounding_coordinate']; + def south = ctx['cart:Bounding_Coordinates/cart:south_bounding_coordinate']; + + if (east != null && west != null && north != null && south != null) { + // Basic sanity: east>=west and north>=south + if (east >= west && north >= south) { + ctx.polygon = [ + 'type': 'polygon', + 'coordinates': [[ + [west, south], + [east, south], + [east, north], + [west, north], + [west, south] + ]] + ]; + } + } + """ + } + } + ] +}' + +# in test we have a single registry index, +# in production this needs to be repeated over all registry indices +curl -X PUT "https://elasticsearch:9200/geo-registry/_mapping" -H 'Content-Type: application/json' -d ' +{ + "properties": { + "polygon": { "type": "geo_shape" } + } +}' \ No newline at end of file From 8339e0a543c7df6735962714a4a02c3e048f35e7 Mon Sep 17 00:00:00 2001 From: thomas loubrieu Date: Fri, 31 Oct 2025 19:27:24 -0700 Subject: [PATCH 03/11] wip: tested the pipeline creation --- docker/docker-compose.yml | 1 + docker/scripts/elasticsearch-init.sh | 45 +++++-------------- docker/scripts/pipelines/bbox_to_polygon.json | 11 +++++ 3 files changed, 22 insertions(+), 35 deletions(-) mode change 100644 => 100755 docker/scripts/elasticsearch-init.sh create mode 100644 docker/scripts/pipelines/bbox_to_polygon.json diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 9528d0e..cf449db 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -109,6 +109,7 @@ services: volumes: - ./scripts/elasticsearch-init.sh:/usr/local/bin/elasticsearch-init.sh - ./scripts/aliases:/usr/local/bin/aliases + - ./scripts/pipelines:/usr/local/bin/pipelines - ./default-config/es-auth.cfg:/etc/es-auth.cfg - ./default-config/local_registry.xml:/etc/local_registry.xml networks: diff --git a/docker/scripts/elasticsearch-init.sh b/docker/scripts/elasticsearch-init.sh old mode 100644 new mode 100755 index 413c8e5..1716598 --- a/docker/scripts/elasticsearch-init.sh +++ b/docker/scripts/elasticsearch-init.sh @@ -52,45 +52,20 @@ registry-manager create-registry -registry file:///etc/local_registry.xml -auth echo "Create aliases, until registry-manager does it" curl -X POST -H "Content-Type: application/json" -d @/usr/local/bin/aliases/alias_registry.json -u admin:admin --insecure https://elasticsearch:9200/_aliases -# create pipelines for geographical objects -curl -X PUT --insecure "https://elasticsearch:9200/_ingest/pipeline/bbox_to_polygon" -H 'Content-Type: application/json' -d ' -{ - "description": "Builds a geo_shape polygon from bbox fields", - "processors": [ - { - "script": { - "lang": "painless", - "source": """ - def east = ctx['cart:Bounding_Coordinates/cart:east_bounding_coordinate']; - def west = ctx['cart:Bounding_Coordinates/cart:west_bounding_coordinate']; - def north = ctx['cart:Bounding_Coordinates/cart:north_bounding_coordinate']; - def south = ctx['cart:Bounding_Coordinates/cart:south_bounding_coordinate']; +# build pipelines from source files +echo "Building pipeline JSON files from Painless sources..." +python3 ./pipelines/build_json.py \ + ./pipelines/bbox_to_polygon.painless \ + /tmp/bbox_to_polygon.json \ + "Builds a geo_shape polygon from bbox fields" - if (east != null && west != null && north != null && south != null) { - // Basic sanity: east>=west and north>=south - if (east >= west && north >= south) { - ctx.polygon = [ - 'type': 'polygon', - 'coordinates': [[ - [west, south], - [east, south], - [east, north], - [west, north], - [west, south] - ]] - ]; - } - } - """ - } - } - ] -}' +# create pipelines for geographical objects +echo "Creating bbox_to_polygon pipeline..." +curl -X PUT -u admin:admin --insecure "https://elasticsearch:9200/_ingest/pipeline/bbox_to_polygon" -H 'Content-Type: application/json' -d @/tmp/bbox_to_polygon.json # in test we have a single registry index, # in production this needs to be repeated over all registry indices -curl -X PUT "https://elasticsearch:9200/geo-registry/_mapping" -H 'Content-Type: application/json' -d ' -{ +curl -X PUT -u admin:admin --insecure "https://elasticsearch:9200/geo-registry/_mapping" -H 'Content-Type: application/json' -d '{ "properties": { "polygon": { "type": "geo_shape" } } diff --git a/docker/scripts/pipelines/bbox_to_polygon.json b/docker/scripts/pipelines/bbox_to_polygon.json new file mode 100644 index 0000000..6870aa7 --- /dev/null +++ b/docker/scripts/pipelines/bbox_to_polygon.json @@ -0,0 +1,11 @@ +{ + "description": "Builds a geo_shape polygon from bbox fields", + "processors": [ + { + "script": { + "lang": "painless", + "source": "def east = ctx['cart:Bounding_Coordinates/cart:east_bounding_coordinate']; def west = ctx['cart:Bounding_Coordinates/cart:west_bounding_coordinate']; def north = ctx['cart:Bounding_Coordinates/cart:north_bounding_coordinate']; def south = ctx['cart:Bounding_Coordinates/cart:south_bounding_coordinate']; if (east != null && west != null && north != null && south != null) { ctx.polygon = ['type': 'polygon', 'coordinates': [[[west, south], [east, south], [east, north], [west, north], [west, south]]]]; }" + } + } + ] +} From 6a71f8eb0f2d1d039c725a4cc8d6e02d693e1a18 Mon Sep 17 00:00:00 2001 From: thomas loubrieu Date: Sun, 2 Nov 2025 12:49:59 -0800 Subject: [PATCH 04/11] ingest pipeline adds bbox_polygon field --- docker/.env | 2 +- docker/docker-compose.yml | 1 + docker/scripts/elasticsearch-init.sh | 16 +++++++++------- docker/scripts/pipelines/bbox_to_polygon.json | 11 ----------- 4 files changed, 11 insertions(+), 19 deletions(-) delete mode 100644 docker/scripts/pipelines/bbox_to_polygon.json diff --git a/docker/.env b/docker/.env index 169dc81..91831a4 100644 --- a/docker/.env +++ b/docker/.env @@ -32,7 +32,7 @@ REG_API_APP_PROPERTIES_FILE=./default-config/application.properties # -------------------------------------------------------------------- # Docker image of the Registry Loader -REG_LOADER_IMAGE=nasapds/registry-loader:latest +REG_LOADER_IMAGE=nasapds/registry-loader:1.1.1 # -------------------------------------------------------------------- # Registry Sweepers diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index cf449db..cb4f5d5 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -110,6 +110,7 @@ services: - ./scripts/elasticsearch-init.sh:/usr/local/bin/elasticsearch-init.sh - ./scripts/aliases:/usr/local/bin/aliases - ./scripts/pipelines:/usr/local/bin/pipelines + - ./scripts/mappings:/usr/local/bin/mappings - ./default-config/es-auth.cfg:/etc/es-auth.cfg - ./default-config/local_registry.xml:/etc/local_registry.xml networks: diff --git a/docker/scripts/elasticsearch-init.sh b/docker/scripts/elasticsearch-init.sh index 1716598..bfb2673 100755 --- a/docker/scripts/elasticsearch-init.sh +++ b/docker/scripts/elasticsearch-init.sh @@ -34,6 +34,9 @@ # This script is used to initialize Elasticsearch. # ------------------------------------------------- +# Get the directory where this script is located +SCRIPT_DIR=$(dirname "$0") + # Check if the ES_URL environment variable is set if [ -z "$ES_URL" ]; then echo "Error: 'ES_URL' (Elasticsearch URL) environment variable is not set. Use docker's -e option." 1>&2 @@ -54,8 +57,8 @@ curl -X POST -H "Content-Type: application/json" -d @/usr/local/bin/aliases/ali # build pipelines from source files echo "Building pipeline JSON files from Painless sources..." -python3 ./pipelines/build_json.py \ - ./pipelines/bbox_to_polygon.painless \ +bash "$SCRIPT_DIR/pipelines/build_json.sh" \ + "$SCRIPT_DIR/pipelines/bbox_to_polygon.painless" \ /tmp/bbox_to_polygon.json \ "Builds a geo_shape polygon from bbox fields" @@ -63,10 +66,9 @@ python3 ./pipelines/build_json.py \ echo "Creating bbox_to_polygon pipeline..." curl -X PUT -u admin:admin --insecure "https://elasticsearch:9200/_ingest/pipeline/bbox_to_polygon" -H 'Content-Type: application/json' -d @/tmp/bbox_to_polygon.json +# associate the pipeline to the registry index +curl -X PUT -u admin:admin --insecure "https://elasticsearch:9200/geo-registry/_settings" -H 'Content-Type: application/json' -d '{"index.default_pipeline": "bbox_to_polygon"}' + # in test we have a single registry index, # in production this needs to be repeated over all registry indices -curl -X PUT -u admin:admin --insecure "https://elasticsearch:9200/geo-registry/_mapping" -H 'Content-Type: application/json' -d '{ - "properties": { - "polygon": { "type": "geo_shape" } - } -}' \ No newline at end of file +curl -X PUT -u admin:admin --insecure "https://elasticsearch:9200/geo-registry/_mapping" -H 'Content-Type: application/json' -d "@$SCRIPT_DIR/mappings/bbox_polygon.json" \ No newline at end of file diff --git a/docker/scripts/pipelines/bbox_to_polygon.json b/docker/scripts/pipelines/bbox_to_polygon.json deleted file mode 100644 index 6870aa7..0000000 --- a/docker/scripts/pipelines/bbox_to_polygon.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "description": "Builds a geo_shape polygon from bbox fields", - "processors": [ - { - "script": { - "lang": "painless", - "source": "def east = ctx['cart:Bounding_Coordinates/cart:east_bounding_coordinate']; def west = ctx['cart:Bounding_Coordinates/cart:west_bounding_coordinate']; def north = ctx['cart:Bounding_Coordinates/cart:north_bounding_coordinate']; def south = ctx['cart:Bounding_Coordinates/cart:south_bounding_coordinate']; if (east != null && west != null && north != null && south != null) { ctx.polygon = ['type': 'polygon', 'coordinates': [[[west, south], [east, south], [east, north], [west, north], [west, south]]]]; }" - } - } - ] -} From 11587866dc37b490f0e02c8b5aad3d424bbb7538 Mon Sep 17 00:00:00 2001 From: thomas loubrieu Date: Wed, 5 Nov 2025 21:43:05 -0800 Subject: [PATCH 05/11] revert alias to unstructure --- docker/scripts/aliases/alias_registry.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/scripts/aliases/alias_registry.json b/docker/scripts/aliases/alias_registry.json index ab1145e..479c85c 100644 --- a/docker/scripts/aliases/alias_registry.json +++ b/docker/scripts/aliases/alias_registry.json @@ -2,8 +2,8 @@ "actions": [ { "add": { - "index": "*-registry-structured", - "alias": "registry-structured" + "index": "geo-registry", + "alias": "registry" } } ] From c23d29d7e0815f507e4e33519e19da171b29b9b7 Mon Sep 17 00:00:00 2001 From: thomas loubrieu Date: Thu, 6 Nov 2025 14:09:20 -0800 Subject: [PATCH 06/11] add missing files --- docker/scripts/mappings/bbox_polygon.json | 5 ++ .../pipelines/bbox_to_polygon.painless | 29 ++++++++++ docker/scripts/pipelines/build_json.sh | 55 +++++++++++++++++++ 3 files changed, 89 insertions(+) create mode 100644 docker/scripts/mappings/bbox_polygon.json create mode 100644 docker/scripts/pipelines/bbox_to_polygon.painless create mode 100755 docker/scripts/pipelines/build_json.sh diff --git a/docker/scripts/mappings/bbox_polygon.json b/docker/scripts/mappings/bbox_polygon.json new file mode 100644 index 0000000..eb6eefb --- /dev/null +++ b/docker/scripts/mappings/bbox_polygon.json @@ -0,0 +1,5 @@ +{ + "properties": { + "bbox_polygon": { "type": "geo_shape" } + } +} \ No newline at end of file diff --git a/docker/scripts/pipelines/bbox_to_polygon.painless b/docker/scripts/pipelines/bbox_to_polygon.painless new file mode 100644 index 0000000..6dc0deb --- /dev/null +++ b/docker/scripts/pipelines/bbox_to_polygon.painless @@ -0,0 +1,29 @@ + +double getBoundary(def ctx, String field) { + def value = ctx[field]; + if (value == null) { + return Double.NaN; + } + + return Double.parseDouble(value[0].toString()); +} + +def east = getBoundary(ctx, 'cart:Bounding_Coordinates/cart:east_bounding_coordinate'); +def west = getBoundary(ctx, 'cart:Bounding_Coordinates/cart:west_bounding_coordinate'); +def north = getBoundary(ctx, 'cart:Bounding_Coordinates/cart:north_bounding_coordinate'); +def south = getBoundary(ctx, 'cart:Bounding_Coordinates/cart:south_bounding_coordinate'); + + +if (east != Double.NaN && west != Double.NaN && north != Double.NaN && south != Double.NaN) { + ctx.bbox_polygon = [ + 'type': 'polygon', + 'coordinates': [[ + [west, south], + [east, south], + [east, north], + [west, north], + [west, south] + ]] + ]; +} + diff --git a/docker/scripts/pipelines/build_json.sh b/docker/scripts/pipelines/build_json.sh new file mode 100755 index 0000000..6432847 --- /dev/null +++ b/docker/scripts/pipelines/build_json.sh @@ -0,0 +1,55 @@ +#!/bin/bash + +# Build a JSON pipeline file from a Painless source file. +# This script properly escapes JSON special characters. + +set -e + +if [ $# -ne 3 ]; then + echo "Usage: build_json.sh " >&2 + exit 1 +fi + +painless_file="$1" +json_file="$2" +description="$3" + +# Read painless source and join into single line (stripping empty lines) +source="" +while IFS= read -r line || [ -n "$line" ]; do + trimmed_line="${line#"${line%%[![:space:]]*}"}" + trimmed_line="${trimmed_line%"${trimmed_line##*[![:space:]]}"}" + if [ -n "$trimmed_line" ]; then + if [ -z "$source" ]; then + source="$trimmed_line" + else + source="$source $trimmed_line" + fi + fi +done < "$painless_file" + +# Escape special characters for JSON using sed +# Escape backslash, double quote, forward slash, AND & +escaped_source=$(printf '%s' "$source" | sed 's/\\/\\\\/g; s/"/\\"/g; s/\//\\\//g; s/&/\\&/g') + +# Write JSON file (avoid variable expansion in heredoc) +cat > "$json_file" <<'JSONEOF' +{ + "description": "DESCRIPTION_PLACEHOLDER", + "processors": [ + { + "script": { + "lang": "painless", + "source": "SOURCE_PLACEHOLDER" + } + } + ] +} +JSONEOF + +# Replace placeholders with actual values +sed "s/DESCRIPTION_PLACEHOLDER/$description/g; s/SOURCE_PLACEHOLDER/$escaped_source/g" "$json_file" > "${json_file}.tmp" +mv "${json_file}.tmp" "$json_file" + +echo "Built: $json_file" + From 73045117c703393635c99c1e985d09e606420939 Mon Sep 17 00:00:00 2001 From: thomas loubrieu Date: Fri, 14 Nov 2025 16:56:13 -0800 Subject: [PATCH 07/11] fix geo pipeline to net create bbox when no geo information is available --- docker/.env | 2 +- docker/scripts/elasticsearch-init.sh | 7 ++++--- docker/scripts/pipelines/bbox_to_polygon.painless | 10 +++++----- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/docker/.env b/docker/.env index 91831a4..169dc81 100644 --- a/docker/.env +++ b/docker/.env @@ -32,7 +32,7 @@ REG_API_APP_PROPERTIES_FILE=./default-config/application.properties # -------------------------------------------------------------------- # Docker image of the Registry Loader -REG_LOADER_IMAGE=nasapds/registry-loader:1.1.1 +REG_LOADER_IMAGE=nasapds/registry-loader:latest # -------------------------------------------------------------------- # Registry Sweepers diff --git a/docker/scripts/elasticsearch-init.sh b/docker/scripts/elasticsearch-init.sh index bfb2673..f0bab5c 100755 --- a/docker/scripts/elasticsearch-init.sh +++ b/docker/scripts/elasticsearch-init.sh @@ -62,6 +62,10 @@ bash "$SCRIPT_DIR/pipelines/build_json.sh" \ /tmp/bbox_to_polygon.json \ "Builds a geo_shape polygon from bbox fields" +# in test we have a single registry index, +# in production this needs to be repeated over all registry indices +#curl -X PUT -u admin:admin --insecure "https://elasticsearch:9200/geo-registry/_mapping" -H 'Content-Type: application/json' -d "@$SCRIPT_DIR/mappings/bbox_polygon.json" + # create pipelines for geographical objects echo "Creating bbox_to_polygon pipeline..." curl -X PUT -u admin:admin --insecure "https://elasticsearch:9200/_ingest/pipeline/bbox_to_polygon" -H 'Content-Type: application/json' -d @/tmp/bbox_to_polygon.json @@ -69,6 +73,3 @@ curl -X PUT -u admin:admin --insecure "https://elasticsearch:9200/_ingest/pipeli # associate the pipeline to the registry index curl -X PUT -u admin:admin --insecure "https://elasticsearch:9200/geo-registry/_settings" -H 'Content-Type: application/json' -d '{"index.default_pipeline": "bbox_to_polygon"}' -# in test we have a single registry index, -# in production this needs to be repeated over all registry indices -curl -X PUT -u admin:admin --insecure "https://elasticsearch:9200/geo-registry/_mapping" -H 'Content-Type: application/json' -d "@$SCRIPT_DIR/mappings/bbox_polygon.json" \ No newline at end of file diff --git a/docker/scripts/pipelines/bbox_to_polygon.painless b/docker/scripts/pipelines/bbox_to_polygon.painless index 6dc0deb..fab89aa 100644 --- a/docker/scripts/pipelines/bbox_to_polygon.painless +++ b/docker/scripts/pipelines/bbox_to_polygon.painless @@ -1,11 +1,11 @@ double getBoundary(def ctx, String field) { - def value = ctx[field]; - if (value == null) { - return Double.NaN; + + if (!ctx.containsKey(field)) { + return Double.NaN; } - return Double.parseDouble(value[0].toString()); + return Double.parseDouble(ctx[field][0].toString()); } def east = getBoundary(ctx, 'cart:Bounding_Coordinates/cart:east_bounding_coordinate'); @@ -14,7 +14,7 @@ def north = getBoundary(ctx, 'cart:Bounding_Coordinates/cart:north_bounding_coor def south = getBoundary(ctx, 'cart:Bounding_Coordinates/cart:south_bounding_coordinate'); -if (east != Double.NaN && west != Double.NaN && north != Double.NaN && south != Double.NaN) { +if (!Double.isNaN(east) && !Double.isNaN(west) && !Double.isNaN(north) && !Double.isNaN(south)) { ctx.bbox_polygon = [ 'type': 'polygon', 'coordinates': [[ From 727470dc667408f8575d4b425f236d62170654b4 Mon Sep 17 00:00:00 2001 From: thomas loubrieu Date: Tue, 18 Nov 2025 17:11:05 -0800 Subject: [PATCH 08/11] fix capitalization of geo_json type --- docker/scripts/pipelines/bbox_to_polygon.painless | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/scripts/pipelines/bbox_to_polygon.painless b/docker/scripts/pipelines/bbox_to_polygon.painless index fab89aa..84949e2 100644 --- a/docker/scripts/pipelines/bbox_to_polygon.painless +++ b/docker/scripts/pipelines/bbox_to_polygon.painless @@ -16,7 +16,7 @@ def south = getBoundary(ctx, 'cart:Bounding_Coordinates/cart:south_bounding_coor if (!Double.isNaN(east) && !Double.isNaN(west) && !Double.isNaN(north) && !Double.isNaN(south)) { ctx.bbox_polygon = [ - 'type': 'polygon', + 'type': 'Polygon', 'coordinates': [[ [west, south], [east, south], From 7d1c3da53a9be6dc6495de2381b8e16a176956a5 Mon Sep 17 00:00:00 2001 From: thomas loubrieu Date: Thu, 4 Dec 2025 09:55:42 -0800 Subject: [PATCH 09/11] hack to make sure the version used support the geo_shape --- docker/.env | 4 ++-- docker/docker-compose.yml | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docker/.env b/docker/.env index 169dc81..ded2109 100644 --- a/docker/.env +++ b/docker/.env @@ -32,12 +32,12 @@ REG_API_APP_PROPERTIES_FILE=./default-config/application.properties # -------------------------------------------------------------------- # Docker image of the Registry Loader -REG_LOADER_IMAGE=nasapds/registry-loader:latest +REG_LOADER_IMAGE=nasapds/registry-loader:geo # -------------------------------------------------------------------- # Registry Sweepers # -------------------------------------------------------------------- -REG_SWEEPERS_IMAGE=nasapds/registry-sweepers:latest +REG_SWEEPERS_IMAGE=nasapds/registry-sweepers:1.5.0 PROV_CREDENTIALS={"admin":"admin"} # -------------------------------------------------------------------- diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index cb4f5d5..02f7752 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -74,7 +74,8 @@ services: - LOGLEVEL=INFO - DEV_MODE=1 - MULTITENANCY_NODE_ID=geo - command: ["/usr/local/bin/sweepers_driver.py", "--legacy-sync"] + #command: ["/usr/local/bin/sweepers_driver.py", "--legacy-sync"] + command: ["/usr/local/bin/sweepers_driver.py"] networks: - pds depends_on: From dcdb831c4da8c60581ad356eb249597e0729042a Mon Sep 17 00:00:00 2001 From: thomas loubrieu Date: Tue, 16 Dec 2025 10:31:39 -0800 Subject: [PATCH 10/11] adapt the docker image version --- docker/.env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/.env b/docker/.env index ded2109..3c4e471 100644 --- a/docker/.env +++ b/docker/.env @@ -32,7 +32,7 @@ REG_API_APP_PROPERTIES_FILE=./default-config/application.properties # -------------------------------------------------------------------- # Docker image of the Registry Loader -REG_LOADER_IMAGE=nasapds/registry-loader:geo +REG_LOADER_IMAGE=nasapds/registry-loader:1.2.0 # -------------------------------------------------------------------- # Registry Sweepers From 15178d55fed06a934c915c4dd0aba41b0714d996 Mon Sep 17 00:00:00 2001 From: thomas loubrieu Date: Wed, 7 Jan 2026 08:04:12 -0800 Subject: [PATCH 11/11] use specific registy loader for now --- docker/.env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/.env b/docker/.env index 3c4e471..ded2109 100644 --- a/docker/.env +++ b/docker/.env @@ -32,7 +32,7 @@ REG_API_APP_PROPERTIES_FILE=./default-config/application.properties # -------------------------------------------------------------------- # Docker image of the Registry Loader -REG_LOADER_IMAGE=nasapds/registry-loader:1.2.0 +REG_LOADER_IMAGE=nasapds/registry-loader:geo # -------------------------------------------------------------------- # Registry Sweepers