Skip to content

Commit dc420b7

Browse files
authored
Merge pull request #170 from mjanez/ckan-2.10.5
Ckan 2.10.5
2 parents e5f136c + 85e0cb5 commit dc420b7

8 files changed

Lines changed: 62 additions & 7 deletions

File tree

.env.example

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ CKAN__LOCALE_ORDER="en es pt_BR ja it cs_CZ ca fr el sv sr sr@latin no sk fi ru
174174
CKAN__LOCALES_OFFERED="en es pt_BR ja it cs_CZ ca fr el sv sr sr@latin no sk fi ru de pl nl bg ko_KR hu sa sl lv"
175175

176176
# Extensions
177-
CKAN__PLUGINS="activity stats image_view video_view audio_view webpage_view text_view datatables_view resourcedictionary datastore xloader spatial_metadata spatial_query spatial_harvest_metadata_api waf_harvester doc_harvester resource_proxy geo_view geojson_view wmts_view shp_view dcat dcat_rdf_harvester dcat_json_harvester dcat_json_interface schemingdcat schemingdcat_datasets schemingdcat_groups schemingdcat_organizations schemingdcat_ckan_harvester schemingdcat_xls_harvester schemingdcat_postgres_harvester schemingdcat_csw_harvester schemingdcat_open_data_statistics harvest pdf_view pages fluent openapi envvars"
177+
CKAN__PLUGINS="activity stats image_view video_view audio_view webpage_view text_view datatables_view resourcedictionary datastore xloader spatial_metadata spatial_query spatial_harvest_metadata_api waf_harvester doc_harvester resource_proxy geo_view geojson_view wmts_view shp_view dcat dcat_rdf_harvester dcat_json_harvester dcat_json_interface schemingdcat schemingdcat_datasets schemingdcat_groups schemingdcat_organizations schemingdcat_ckan_harvester schemingdcat_xls_harvester schemingdcat_postgres_harvester schemingdcat_csw_harvester schemingdcat_open_data_statistics harvest pdf_view pages fluent openapi envvars"
178178

179179
# ckanext-harvest
180180
CKAN__HARVEST__MQ__TYPE=redis
@@ -186,6 +186,10 @@ CKAN__HARVEST__LOG_TIMEFRAME=40
186186

187187
# ckanext-xloader ckanext.xloader.jobs_db.uri
188188
CKANEXT__XLOADER__JOBS_DB__URI=postgresql://${CKAN_DB_USER}:${CKAN_DB_PASSWORD}@${POSTGRES_HOST}/${CKAN_DB}
189+
#### Enable or disable SSL certificate verification. Setting verify to False should only be enabled during local development or testing (self-signed certificate).
190+
CKANEXT__XLOADER__SSL_VERIFY=True
191+
#### Maximum content length for uploaded files (in bytes). Default 1000000000 (1GB)
192+
CKANEXT__XLOADER__MAX_CONTENT_LENGTH=1000000000
189193

190194
# ckanext-dcat
191195
CKANEXT__DCAT__BASE_URI=${CKAN_URL}
@@ -230,6 +234,15 @@ CKANEXT__SCHEMINGDCAT__OPEN_DATA_STATISTICS_THEMES=True
230234
# Private fields to be hidden in the API responses
231235
CKANEXT__SCHEMINGDCAT__API__PRIVATE_FIELDS="private_name private_email"
232236
CKANEXT__OPENAPI__ENDPOINTS='[{"url":"https://raw.githubusercontent.com/mjanez/ckanext-openapi/refs/heads/develop/ckanext/openapi/public/static/openapi/datastore.yaml","name":"datastore","title":{"en":"CKAN - Datastore API","es":"Portal de datos abiertos de CKAN - API Datastore"},"description":{"en":"This API provides live access to the Datastore portion of the CKAN Open Data Portal.","es":"Esta API proporciona acceso en tiempo real a la parte de Datastore del Portal de Datos Abiertos CKAN."}},{"url":"https://raw.githubusercontent.com/mjanez/ckanext-openapi/refs/heads/develop/ckanext/openapi/public/static/openapi/ckan.yaml","name":"ckan","title":{"en":"CKAN Open Data Portal - CKAN API","es":"Portal de datos abiertos de CKAN - API CKAN"},"description":{"en":"This API provides live access to the CKAN portion of the CKAN Open Data Portal.","es":"Esta API proporciona acceso en tiempo real a la parte de CKAN del Portal de Datos Abiertos CKAN."}}]'
237+
## DCAT-AP Metadata enhancements
238+
CKANEXT__SCHEMINGDCAT__DCAT_AP__PUBLISHER__NAME="Organismo publicador del Catálogo"
239+
CKANEXT__SCHEMINGDCAT__DCAT_AP__PUBLISHER__IDENTIFIER="http://datos.gob.es/recurso/sector-publico/org/Organismo/EA0000000"
240+
CKANEXT__SCHEMINGDCAT__DCAT_AP__PUBLISHER__EMAIL="organismo@example.org"
241+
CKANEXT__SCHEMINGDCAT__DCAT_AP__PUBLISHER__TYPE="http://purl.org/adms/publishertype/NonProfitOrganisation"
242+
CKANEXT__SCHEMINGDCAT__DCAT_AP__PUBLISHER__URL="https://organismo.example.org/"
243+
CKANEXT__SCHEMINGDCAT__DCAT_AP__DATASTORE_DATASERVICE__TITLE="Datastore API service"
244+
CKANEXT__SCHEMINGDCAT__DCAT_AP__DATASTORE_DATASERVICE__DESCRIPTION="This API provides live access to the Datastore portion of the Open Data Portal. Serve data resources in a machine-readable format."
245+
CKANEXT__SCHEMINGDCAT__DCAT_AP__DATASTORE_DATASERVICE__ENDPOINT_DESCRIPTION="{ckan_site_url}/openapi/datastore/"
233246

234247
# ckanext-pages
235248
CKANEXT__PAGES__ALOW_HTML=False

ckan/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ COPY req_fixes req_fixes
2323
## PDFView - 0.0.8 ##
2424
## Fluent - v1.0.1 (mjanez/Forked stable version) ##
2525
## OpenAPI - v1.0.0 (mjanez stable version) ##
26-
## Scheming DCAT - v4.3.0 (mjanez/GeoDCAT-AP/NTI-RISP extended version) ##
26+
## Scheming DCAT - v4.4.0 (mjanez/GeoDCAT-AP/NTI-RISP extended version) ##
2727
RUN echo ${TZ} > /etc/timezone && \
2828
if ! [ /usr/share/zoneinfo/${TZ} -ef /etc/localtime ]; then cp /usr/share/zoneinfo/${TZ} /etc/localtime; fi && \
2929
# Install patch utility
@@ -60,7 +60,7 @@ RUN echo ${TZ} > /etc/timezone && \
6060
echo "mjanez/ckanext-openapi" && \
6161
pip3 install --no-cache-dir -e git+https://github.com/mjanez/ckanext-openapi.git@v1.0.0#egg=ckanext-openapi && \
6262
echo "mjanez/ckanext-schemingdcat" && \
63-
pip3 install --no-cache-dir -e git+https://github.com/mjanez/ckanext-schemingdcat.git@v4.3.0#egg=ckanext_schemingdcat && \
63+
pip3 install --no-cache-dir -e git+https://github.com/mjanez/ckanext-schemingdcat.git@v4.4.0#egg=ckanext_schemingdcat && \
6464
pip3 install --no-cache-dir -r ${APP_DIR}/src/ckanext-schemingdcat/requirements.txt && \
6565
# Remove system cache
6666
apt-get clean && \

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ services:
1515
args:
1616
PROXY_CKAN_LOCATION: ${PROXY_CKAN_LOCATION}
1717
PROXY_PYCSW_LOCATION: ${PROXY_PYCSW_LOCATION}
18+
CKAN__MAX_RESOURCE_SIZE: ${CKAN__MAX_RESOURCE_SIZE}
1819
env_file:
1920
- .env
2021
logging:

nginx/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ ENV PYCSW_PORT=8000
88
ENV PYCSW_COMPOSE_SERVICE=pycsw
99
ENV CKAN_COMPOSE_SERVICE=ckan
1010
ENV PROXY_SERVER_NAME=localhost
11+
ENV CKAN__MAX_RESOURCE_SIZE=100
1112
ENV PROXY_PYCSW_PROXY_PASS=http://${PYCSW_COMPOSE_SERVICE}:${PYCSW_PORT}
1213
ENV PROXY_CKAN_PROXY_PASS=http://${CKAN_COMPOSE_SERVICE}:${CKAN_PORT}
1314

nginx/setup/default.conf.template

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ server {
44
listen ${NGINX_SSLPORT} ssl;
55
listen [::]:${NGINX_SSLPORT} ssl;
66
server_name ${PROXY_SERVER_NAME};
7+
client_max_body_size ${CKAN__MAX_RESOURCE_SIZE}M;
78
ssl_certificate /etc/nginx/certs/ckan-local.crt;
89
ssl_certificate_key /etc/nginx/certs/ckan-local.key;
910

samples/.env.codespaces

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ CKAN__LOCALE_ORDER="en es pt_BR ja it cs_CZ ca fr el sv sr sr@latin no sk fi ru
177177
CKAN__LOCALES_OFFERED="en es pt_BR ja it cs_CZ ca fr el sv sr sr@latin no sk fi ru de pl nl bg ko_KR hu sa sl lv"
178178

179179
# Extensions
180-
CKAN__PLUGINS="activity stats image_view video_view audio_view webpage_view text_view datatables_view resourcedictionary datastore xloader spatial_metadata spatial_query spatial_harvest_metadata_api waf_harvester doc_harvester resource_proxy geo_view geojson_view wmts_view shp_view dcat dcat_rdf_harvester dcat_json_harvester dcat_json_interface schemingdcat schemingdcat_datasets schemingdcat_groups schemingdcat_organizations schemingdcat_ckan_harvester schemingdcat_xls_harvester schemingdcat_postgres_harvester schemingdcat_csw_harvester schemingdcat_open_data_statistics harvest pdf_view pages fluent openapi envvars"
180+
CKAN__PLUGINS="activity stats image_view video_view audio_view webpage_view text_view datatables_view resourcedictionary datastore xloader spatial_metadata spatial_query spatial_harvest_metadata_api waf_harvester doc_harvester resource_proxy geo_view geojson_view wmts_view shp_view dcat dcat_rdf_harvester dcat_json_harvester dcat_json_interface schemingdcat schemingdcat_datasets schemingdcat_groups schemingdcat_organizations schemingdcat_ckan_harvester schemingdcat_xls_harvester schemingdcat_postgres_harvester schemingdcat_csw_harvester schemingdcat_open_data_statistics harvest pdf_view pages fluent openapi envvars"
181181

182182
# ckanext-harvest
183183
CKAN__HARVEST__MQ__TYPE=redis
@@ -189,6 +189,10 @@ CKAN__HARVEST__LOG_TIMEFRAME=40
189189

190190
# ckanext-xloader ckanext.xloader.jobs_db.uri
191191
CKANEXT__XLOADER__JOBS_DB__URI=postgresql://${CKAN_DB_USER}:${CKAN_DB_PASSWORD}@${POSTGRES_HOST}/${CKAN_DB}
192+
#### Enable or disable SSL certificate verification. Setting verify to False should only be enabled during local development or testing (self-signed certificate).
193+
CKANEXT__XLOADER__SSL_VERIFY=True
194+
#### Maximum content length for uploaded files (in bytes). Default 1000000000 (1GB)
195+
CKANEXT__XLOADER__MAX_CONTENT_LENGTH=1000000000
192196

193197
# ckanext-dcat
194198
CKANEXT__DCAT__BASE_URI=${CKAN_URL}
@@ -233,6 +237,15 @@ CKANEXT__SCHEMINGDCAT__OPEN_DATA_STATISTICS_THEMES=True
233237
# Private fields to be hidden in the API responses
234238
CKANEXT__SCHEMINGDCAT__API__PRIVATE_FIELDS="private_name private_email"
235239
CKANEXT__OPENAPI__ENDPOINTS='[{"url":"https://raw.githubusercontent.com/mjanez/ckanext-openapi/refs/heads/develop/ckanext/openapi/public/static/openapi/datastore.yaml","name":"datastore","title":{"en":"CKAN - Datastore API","es":"Portal de datos abiertos de CKAN - API Datastore"},"description":{"en":"This API provides live access to the Datastore portion of the CKAN Open Data Portal.","es":"Esta API proporciona acceso en tiempo real a la parte de Datastore del Portal de Datos Abiertos CKAN."}},{"url":"https://raw.githubusercontent.com/mjanez/ckanext-openapi/refs/heads/develop/ckanext/openapi/public/static/openapi/ckan.yaml","name":"ckan","title":{"en":"CKAN Open Data Portal - CKAN API","es":"Portal de datos abiertos de CKAN - API CKAN"},"description":{"en":"This API provides live access to the CKAN portion of the CKAN Open Data Portal.","es":"Esta API proporciona acceso en tiempo real a la parte de CKAN del Portal de Datos Abiertos CKAN."}}]'
240+
## DCAT-AP Metadata enhancements
241+
CKANEXT__SCHEMINGDCAT__DCAT_AP__PUBLISHER__NAME="Organismo publicador del Catálogo"
242+
CKANEXT__SCHEMINGDCAT__DCAT_AP__PUBLISHER__IDENTIFIER="http://datos.gob.es/recurso/sector-publico/org/Organismo/EA0000000"
243+
CKANEXT__SCHEMINGDCAT__DCAT_AP__PUBLISHER__EMAIL="organismo@example.org"
244+
CKANEXT__SCHEMINGDCAT__DCAT_AP__PUBLISHER__TYPE="http://purl.org/adms/publishertype/NonProfitOrganisation"
245+
CKANEXT__SCHEMINGDCAT__DCAT_AP__PUBLISHER__URL="https://organismo.example.org/"
246+
CKANEXT__SCHEMINGDCAT__DCAT_AP__DATASTORE_DATASERVICE__TITLE="Datastore API service"
247+
CKANEXT__SCHEMINGDCAT__DCAT_AP__DATASTORE_DATASERVICE__DESCRIPTION="This API provides live access to the Datastore portion of the Open Data Portal. Serve data resources in a machine-readable format."
248+
CKANEXT__SCHEMINGDCAT__DCAT_AP__DATASTORE_DATASERVICE__ENDPOINT_DESCRIPTION="{ckan_site_url}/openapi/datastore/"
236249

237250
# ckanext-pages
238251
CKANEXT__PAGES__ALOW_HTML=False

samples/.env.dev.example

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ CKAN__LOCALE_ORDER="en es pt_BR ja it cs_CZ ca fr el sv sr sr@latin no sk fi ru
175175
CKAN__LOCALES_OFFERED="en es pt_BR ja it cs_CZ ca fr el sv sr sr@latin no sk fi ru de pl nl bg ko_KR hu sa sl lv"
176176

177177
# Extensions
178-
CKAN__PLUGINS="activity stats image_view video_view audio_view webpage_view text_view datatables_view resourcedictionary datastore xloader spatial_metadata spatial_query spatial_harvest_metadata_api waf_harvester doc_harvester resource_proxy geo_view geojson_view wmts_view shp_view dcat dcat_rdf_harvester dcat_json_harvester dcat_json_interface schemingdcat schemingdcat_datasets schemingdcat_groups schemingdcat_organizations schemingdcat_ckan_harvester schemingdcat_xls_harvester schemingdcat_postgres_harvester schemingdcat_csw_harvester schemingdcat_open_data_statistics harvest pdf_view pages fluent openapi envvars"
178+
CKAN__PLUGINS="activity stats image_view video_view audio_view webpage_view text_view datatables_view resourcedictionary datastore xloader spatial_metadata spatial_query spatial_harvest_metadata_api waf_harvester doc_harvester resource_proxy geo_view geojson_view wmts_view shp_view dcat dcat_rdf_harvester dcat_json_harvester dcat_json_interface schemingdcat schemingdcat_datasets schemingdcat_groups schemingdcat_organizations schemingdcat_ckan_harvester schemingdcat_xls_harvester schemingdcat_postgres_harvester schemingdcat_csw_harvester schemingdcat_open_data_statistics harvest pdf_view pages fluent openapi envvars"
179179

180180
# ckanext-harvest
181181
CKAN__HARVEST__MQ__TYPE=redis
@@ -187,6 +187,10 @@ CKAN__HARVEST__LOG_TIMEFRAME=40
187187

188188
# ckanext-xloader ckanext.xloader.jobs_db.uri
189189
CKANEXT__XLOADER__JOBS_DB__URI=postgresql://${CKAN_DB_USER}:${CKAN_DB_PASSWORD}@${POSTGRES_HOST}/${CKAN_DB}
190+
#### Enable or disable SSL certificate verification. Setting verify to False should only be enabled during local development or testing (self-signed certificate).
191+
CKANEXT__XLOADER__SSL_VERIFY=True
192+
#### Maximum content length for uploaded files (in bytes). Default 1000000000 (1GB)
193+
CKANEXT__XLOADER__MAX_CONTENT_LENGTH=1000000000
190194

191195
# ckanext-dcat
192196
CKANEXT__DCAT__BASE_URI=${CKAN_URL}
@@ -231,6 +235,15 @@ CKANEXT__SCHEMINGDCAT__OPEN_DATA_STATISTICS_THEMES=True
231235
# Private fields to be hidden in the API responses
232236
CKANEXT__SCHEMINGDCAT__API__PRIVATE_FIELDS="private_name private_email"
233237
CKANEXT__OPENAPI__ENDPOINTS='[{"url":"https://raw.githubusercontent.com/mjanez/ckanext-openapi/refs/heads/develop/ckanext/openapi/public/static/openapi/datastore.yaml","name":"datastore","title":{"en":"CKAN - Datastore API","es":"Portal de datos abiertos de CKAN - API Datastore"},"description":{"en":"This API provides live access to the Datastore portion of the CKAN Open Data Portal.","es":"Esta API proporciona acceso en tiempo real a la parte de Datastore del Portal de Datos Abiertos CKAN."}},{"url":"https://raw.githubusercontent.com/mjanez/ckanext-openapi/refs/heads/develop/ckanext/openapi/public/static/openapi/ckan.yaml","name":"ckan","title":{"en":"CKAN Open Data Portal - CKAN API","es":"Portal de datos abiertos de CKAN - API CKAN"},"description":{"en":"This API provides live access to the CKAN portion of the CKAN Open Data Portal.","es":"Esta API proporciona acceso en tiempo real a la parte de CKAN del Portal de Datos Abiertos CKAN."}}]'
238+
## DCAT-AP Metadata enhancements
239+
CKANEXT__SCHEMINGDCAT__DCAT_AP__PUBLISHER__NAME="Organismo publicador del Catálogo"
240+
CKANEXT__SCHEMINGDCAT__DCAT_AP__PUBLISHER__IDENTIFIER="http://datos.gob.es/recurso/sector-publico/org/Organismo/EA0000000"
241+
CKANEXT__SCHEMINGDCAT__DCAT_AP__PUBLISHER__EMAIL="organismo@example.org"
242+
CKANEXT__SCHEMINGDCAT__DCAT_AP__PUBLISHER__TYPE="http://purl.org/adms/publishertype/NonProfitOrganisation"
243+
CKANEXT__SCHEMINGDCAT__DCAT_AP__PUBLISHER__URL="https://organismo.example.org/"
244+
CKANEXT__SCHEMINGDCAT__DCAT_AP__DATASTORE_DATASERVICE__TITLE="Datastore API service"
245+
CKANEXT__SCHEMINGDCAT__DCAT_AP__DATASTORE_DATASERVICE__DESCRIPTION="This API provides live access to the Datastore portion of the Open Data Portal. Serve data resources in a machine-readable format."
246+
CKANEXT__SCHEMINGDCAT__DCAT_AP__DATASTORE_DATASERVICE__ENDPOINT_DESCRIPTION="{ckan_site_url}/openapi/datastore/"
234247

235248
# ckanext-pages
236249
CKANEXT__PAGES__ALOW_HTML=False

samples/.env.es.example

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ CKAN__LOCALE_ORDER="es en pt_BR ja it cs_CZ ca fr el sv sr sr@latin no sk fi ru
175175
CKAN__LOCALES_OFFERED="es en pt_BR ja it cs_CZ ca fr el sv sr sr@latin no sk fi ru de pl nl bg ko_KR hu sa sl lv"
176176

177177
# Extensions
178-
CKAN__PLUGINS="activity stats image_view video_view audio_view webpage_view text_view datatables_view resourcedictionary datastore xloader spatial_metadata spatial_query spatial_harvest_metadata_api waf_harvester doc_harvester resource_proxy geo_view geojson_view wmts_view shp_view dcat dcat_rdf_harvester dcat_json_harvester dcat_json_interface schemingdcat schemingdcat_datasets schemingdcat_groups schemingdcat_organizations schemingdcat_ckan_harvester schemingdcat_xls_harvester schemingdcat_postgres_harvester schemingdcat_csw_harvester schemingdcat_open_data_statistics harvest pdf_view pages fluent openapi envvars"
178+
CKAN__PLUGINS="activity stats image_view video_view audio_view webpage_view text_view datatables_view resourcedictionary datastore xloader spatial_metadata spatial_query spatial_harvest_metadata_api waf_harvester doc_harvester resource_proxy geo_view geojson_view wmts_view shp_view dcat dcat_rdf_harvester dcat_json_harvester dcat_json_interface schemingdcat schemingdcat_datasets schemingdcat_groups schemingdcat_organizations schemingdcat_ckan_harvester schemingdcat_xls_harvester schemingdcat_postgres_harvester schemingdcat_csw_harvester schemingdcat_open_data_statistics harvest pdf_view pages fluent openapi envvars"
179179

180180
# ckanext-harvest
181181
CKAN__HARVEST__MQ__TYPE=redis
@@ -187,6 +187,10 @@ CKAN__HARVEST__LOG_TIMEFRAME=40
187187

188188
# ckanext-xloader ckanext.xloader.jobs_db.uri
189189
CKANEXT__XLOADER__JOBS_DB__URI=postgresql://${CKAN_DB_USER}:${CKAN_DB_PASSWORD}@${POSTGRES_HOST}/${CKAN_DB}
190+
#### Enable or disable SSL certificate verification. Setting verify to False should only be enabled during local development or testing (self-signed certificate).
191+
CKANEXT__XLOADER__SSL_VERIFY=True
192+
#### Maximum content length for uploaded files (in bytes). Default 1000000000 (1GB)
193+
CKANEXT__XLOADER__MAX_CONTENT_LENGTH=1000000000
190194

191195
# ckanext-dcat
192196
CKANEXT__DCAT__BASE_URI=${CKAN_URL}
@@ -230,7 +234,16 @@ CKANEXT__SCHEMINGDCAT__OPEN_DATA_STATISTICS=True
230234
CKANEXT__SCHEMINGDCAT__OPEN_DATA_STATISTICS_THEMES=True
231235
# Private fields to be hidden in the API responses
232236
CKANEXT__SCHEMINGDCAT__API__PRIVATE_FIELDS="private_name private_email"
233-
CKANEXT__OPENAPI__ENDPOINTS='[{"url":"https://raw.githubusercontent.com/mjanez/ckanext-openapi/refs/heads/develop/ckanext/openapi/public/static/openapi/datastore.yaml","name":"datastore","title":{"en":"CKAN - Datastore API","es":"Portal de datos abiertos de CKAN - API Datastore"},"description":{"en":"This API provides live access to the Datastore portion of the CKAN Open Data Portal.","es":"Esta API proporciona acceso en tiempo real a la parte de Datastore del Portal de Datos Abiertos CKAN."}},{"url":"https://raw.githubusercontent.com/mjanez/ckanext-openapi/refs/heads/develop/ckanext/openapi/public/static/openapi/ckan.yaml","name":"ckan","title":{"en":"CKAN Open Data Portal - CKAN API (ES)","es":"Portal de datos abiertos de CKAN - API CKAN"},"description":{"en":"This API provides live access to the CKAN portion of the CKAN Open Data Portal.","es":"Esta API proporciona acceso en tiempo real a la parte de CKAN del Portal de Datos Abiertos CKAN."}}]'
237+
CKANEXT__OPENAPI__ENDPOINTS='[{"url":"https://raw.githubusercontent.com/mjanez/ckanext-openapi/refs/heads/develop/ckanext/openapi/public/static/openapi/datastore.yaml","name":"datastore","title":{"en":"CKAN - Datastore API","es":"Portal de datos abiertos de CKAN - API Datastore"},"description":{"en":"This API provides live access to the Datastore portion of the CKAN Open Data Portal.","es":"Esta API proporciona acceso en tiempo real a la parte de Datastore del Portal de Datos Abiertos CKAN."}},{"url":"https://raw.githubusercontent.com/mjanez/ckanext-openapi/refs/heads/develop/ckanext/openapi/public/static/openapi/ckan.yaml","name":"ckan","title":{"en":"CKAN Open Data Portal - CKAN API","es":"Portal de datos abiertos de CKAN - API CKAN"},"description":{"en":"This API provides live access to the CKAN portion of the CKAN Open Data Portal.","es":"Esta API proporciona acceso en tiempo real a la parte de CKAN del Portal de Datos Abiertos CKAN."}}]'
238+
## DCAT-AP Metadata enhancements
239+
CKANEXT__SCHEMINGDCAT__DCAT_AP__PUBLISHER__NAME="Organismo publicador del Catálogo"
240+
CKANEXT__SCHEMINGDCAT__DCAT_AP__PUBLISHER__IDENTIFIER="http://datos.gob.es/recurso/sector-publico/org/Organismo/EA0000000"
241+
CKANEXT__SCHEMINGDCAT__DCAT_AP__PUBLISHER__EMAIL="organismo@example.org"
242+
CKANEXT__SCHEMINGDCAT__DCAT_AP__PUBLISHER__TYPE="http://purl.org/adms/publishertype/NonProfitOrganisation"
243+
CKANEXT__SCHEMINGDCAT__DCAT_AP__PUBLISHER__URL="https://organismo.example.org/"
244+
CKANEXT__SCHEMINGDCAT__DCAT_AP__DATASTORE_DATASERVICE__TITLE="Datastore API service"
245+
CKANEXT__SCHEMINGDCAT__DCAT_AP__DATASTORE_DATASERVICE__DESCRIPTION="This API provides live access to the Datastore portion of the Open Data Portal. Serve data resources in a machine-readable format."
246+
CKANEXT__SCHEMINGDCAT__DCAT_AP__DATASTORE_DATASERVICE__ENDPOINT_DESCRIPTION="{ckan_site_url}/openapi/datastore/"
234247

235248
# ckanext-pages
236249
CKANEXT__PAGES__ALOW_HTML=False

0 commit comments

Comments
 (0)