From 8392b0a72fb64f900dbf52fbd8e4ef2b6f4bc9a8 Mon Sep 17 00:00:00 2001 From: mjanez <96422458+mjanez@users.noreply.github.com> Date: Sat, 2 Sep 2023 11:06:40 +0200 Subject: [PATCH] Add geometadata_base_uri ennvar - Update 02_setup_scheming.sh - Update .env files --- .env.example | 2 ++ ckan/docker-entrypoint.d/02_setup_scheming.sh | 3 ++- samples/.env.apache.example | 2 ++ samples/.env.localhost | 2 ++ samples/.env.nginx.example | 2 ++ 5 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.env.example b/.env.example index ffeb97cf..08c86cc2 100644 --- a/.env.example +++ b/.env.example @@ -153,6 +153,8 @@ CKANEXT__GEOVIEW__SHP_VIEWER__SRID=3857 CKANEXT__GEOVIEW__SHP_VIEWER__ENCODING=UTF-8 # ckanext-scheming_dcat +## CSW Endpoint for spatial metadata +CKANEXT__SCHEMING_DCAT_GEOMETADATA_BASE_URI=http://localhost:81/csw ## Scheming: setup_scheming.sh CKANEXT__SCHEMING_DCAT_DATASET_SCHEMA="ckanext.scheming_dcat:schemas/geodcatap/geodcatap_dataset.yaml" CKANEXT__SCHEMING_DCAT_GROUP_SCHEMAS="ckanext.scheming_dcat:schemas/geodcatap/geodcatap_group.json" diff --git a/ckan/docker-entrypoint.d/02_setup_scheming.sh b/ckan/docker-entrypoint.d/02_setup_scheming.sh index 62ff6b0e..e56877a6 100644 --- a/ckan/docker-entrypoint.d/02_setup_scheming.sh +++ b/ckan/docker-entrypoint.d/02_setup_scheming.sh @@ -12,7 +12,8 @@ ckan config-tool $CKAN_INI \ "scheming.presets=$CKANEXT__SCHEMING_DCAT_PRESETS" \ "scheming_dcat.facet_list=$CKANEXT__SCHEMING_DCAT_FACET_LIST" \ "scheming_dcat.organization_custom_facets=$CKANEXT__SCHEMING_DCAT_ORGANIZATION_CUSTOM_FACETS" \ - "scheming_dcat.group_custom_facets=$CKANEXT__SCHEMING_DCAT_GROUP_CUSTOM_FACETS" + "scheming_dcat.group_custom_facets=$CKANEXT__SCHEMING_DCAT_GROUP_CUSTOM_FACETS" \ + "scheming_dcat.geometadata_base_uri=$CKANEXT__SCHEMING_DCAT_GEOMETADATA_BASE_URI" echo "ckanext-scheming_dcat. Rebuild index" ckan -c $CKAN_INI search-index rebuild \ No newline at end of file diff --git a/samples/.env.apache.example b/samples/.env.apache.example index 8a842164..0e1fea1e 100644 --- a/samples/.env.apache.example +++ b/samples/.env.apache.example @@ -145,6 +145,8 @@ CKANEXT__GEOVIEW__SHP_VIEWER__SRID=3857 CKANEXT__GEOVIEW__SHP_VIEWER__ENCODING=UTF-8 # ckanext-scheming_dcat +## CSW Endpoint for spatial metadata +CKANEXT__SCHEMING_DCAT_GEOMETADATA_BASE_URI=http://localhost:81/csw ## Scheming: setup_scheming.sh CKANEXT__SCHEMING_DCAT_DATASET_SCHEMA="ckanext.scheming_dcat:schemas/geodcatap/geodcatap_dataset.yaml" CKANEXT__SCHEMING_DCAT_GROUP_SCHEMAS="ckanext.scheming_dcat:schemas/geodcatap/geodcatap_group.json" diff --git a/samples/.env.localhost b/samples/.env.localhost index 2add08e2..66e12950 100644 --- a/samples/.env.localhost +++ b/samples/.env.localhost @@ -153,6 +153,8 @@ CKANEXT__GEOVIEW__SHP_VIEWER__SRID=3857 CKANEXT__GEOVIEW__SHP_VIEWER__ENCODING=UTF-8 # ckanext-scheming_dcat +## CSW Endpoint for spatial metadata +CKANEXT__SCHEMING_DCAT_GEOMETADATA_BASE_URI=http://localhost:81/csw ## Scheming: setup_scheming.sh CKANEXT__SCHEMING_DCAT_DATASET_SCHEMA="ckanext.scheming_dcat:schemas/geodcatap/geodcatap_dataset.yaml" CKANEXT__SCHEMING_DCAT_GROUP_SCHEMAS="ckanext.scheming_dcat:schemas/geodcatap/geodcatap_group.json" diff --git a/samples/.env.nginx.example b/samples/.env.nginx.example index dd23d8ca..9356fc02 100644 --- a/samples/.env.nginx.example +++ b/samples/.env.nginx.example @@ -145,6 +145,8 @@ CKANEXT__GEOVIEW__SHP_VIEWER__SRID=3857 CKANEXT__GEOVIEW__SHP_VIEWER__ENCODING=UTF-8 # ckanext-scheming_dcat +## CSW Endpoint for spatial metadata +CKANEXT__SCHEMING_DCAT_GEOMETADATA_BASE_URI=http://localhost:81/csw ## Scheming: setup_scheming.sh CKANEXT__SCHEMING_DCAT_DATASET_SCHEMA="ckanext.scheming_dcat:schemas/geodcatap/geodcatap_dataset.yaml" CKANEXT__SCHEMING_DCAT_GROUP_SCHEMAS="ckanext.scheming_dcat:schemas/geodcatap/geodcatap_group.json"