Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -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
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"

# Extensions
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"
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"

# ckanext-harvest
CKAN__HARVEST__MQ__TYPE=redis
Expand All @@ -186,6 +186,10 @@ CKAN__HARVEST__LOG_TIMEFRAME=40

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

# ckanext-dcat
CKANEXT__DCAT__BASE_URI=${CKAN_URL}
Expand Down Expand Up @@ -230,6 +234,15 @@ CKANEXT__SCHEMINGDCAT__OPEN_DATA_STATISTICS_THEMES=True
# Private fields to be hidden in the API responses
CKANEXT__SCHEMINGDCAT__API__PRIVATE_FIELDS="private_name private_email"
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."}}]'
## DCAT-AP Metadata enhancements
CKANEXT__SCHEMINGDCAT__DCAT_AP__PUBLISHER__NAME="Organismo publicador del Catálogo"
CKANEXT__SCHEMINGDCAT__DCAT_AP__PUBLISHER__IDENTIFIER="http://datos.gob.es/recurso/sector-publico/org/Organismo/EA0000000"
CKANEXT__SCHEMINGDCAT__DCAT_AP__PUBLISHER__EMAIL="[email protected]"
CKANEXT__SCHEMINGDCAT__DCAT_AP__PUBLISHER__TYPE="http://purl.org/adms/publishertype/NonProfitOrganisation"
CKANEXT__SCHEMINGDCAT__DCAT_AP__PUBLISHER__URL="https://organismo.example.org/"
CKANEXT__SCHEMINGDCAT__DCAT_AP__DATASTORE_DATASERVICE__TITLE="Datastore API service"
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."
CKANEXT__SCHEMINGDCAT__DCAT_AP__DATASTORE_DATASERVICE__ENDPOINT_DESCRIPTION="{ckan_site_url}/openapi/datastore/"

# ckanext-pages
CKANEXT__PAGES__ALOW_HTML=False
Expand Down
4 changes: 2 additions & 2 deletions ckan/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
## PDFView - 0.0.8 ##
## Fluent - v1.0.1 (mjanez/Forked stable version) ##
## OpenAPI - v1.0.0 (mjanez stable version) ##
## Scheming DCAT - v4.3.0 (mjanez/GeoDCAT-AP/NTI-RISP extended version) ##
## Scheming DCAT - v4.4.0 (mjanez/GeoDCAT-AP/NTI-RISP extended version) ##
RUN echo ${TZ} > /etc/timezone && \

Check warning on line 27 in ckan/Dockerfile

View workflow job for this annotation

GitHub Actions / runner/test-docker-pr:ckan-2.10.5

Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`

Check notice on line 27 in ckan/Dockerfile

View workflow job for this annotation

GitHub Actions / runner/test-docker-pr:ckan-2.10.5

Avoid additional packages by specifying `--no-install-recommends`

Check warning on line 27 in ckan/Dockerfile

View workflow job for this annotation

GitHub Actions / runner/test-docker-pr:ckan-2.10.5

Pin versions in pip. Instead of `pip install <package>` use `pip install <package>==<version>` or `pip install --requirement <requirements file>`

Check failure on line 27 in ckan/Dockerfile

View workflow job for this annotation

GitHub Actions / runner/build-docker-push:ckan-2.10.5

SC3013 warning: In POSIX sh, -ef is undefined.

Check failure on line 27 in ckan/Dockerfile

View workflow job for this annotation

GitHub Actions / runner/build-docker-push:ckan-2.10.5

DL3008 warning: Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`

Check failure on line 27 in ckan/Dockerfile

View workflow job for this annotation

GitHub Actions / runner/build-docker-push:ckan-2.10.5

DL3015 info: Avoid additional packages by specifying `--no-install-recommends`

Check failure on line 27 in ckan/Dockerfile

View workflow job for this annotation

GitHub Actions / runner/build-docker-push:ckan-2.10.5

DL3013 warning: Pin versions in pip. Instead of `pip install <package>` use `pip install <package>==<version>` or `pip install --requirement <requirements file>`
if ! [ /usr/share/zoneinfo/${TZ} -ef /etc/localtime ]; then cp /usr/share/zoneinfo/${TZ} /etc/localtime; fi && \
# Install patch utility
apt-get update && \
Expand Down Expand Up @@ -60,7 +60,7 @@
echo "mjanez/ckanext-openapi" && \
pip3 install --no-cache-dir -e git+https://github.com/mjanez/[email protected]#egg=ckanext-openapi && \
echo "mjanez/ckanext-schemingdcat" && \
pip3 install --no-cache-dir -e git+https://github.com/mjanez/ckanext-schemingdcat.git@v4.3.0#egg=ckanext_schemingdcat && \
pip3 install --no-cache-dir -e git+https://github.com/mjanez/ckanext-schemingdcat.git@v4.4.0#egg=ckanext_schemingdcat && \
pip3 install --no-cache-dir -r ${APP_DIR}/src/ckanext-schemingdcat/requirements.txt && \
# Remove system cache
apt-get clean && \
Expand All @@ -72,7 +72,7 @@
# Apply any patches needed to CKAN core
COPY patches patches

RUN for d in $APP_DIR/patches/*; do \

Check warning on line 75 in ckan/Dockerfile

View workflow job for this annotation

GitHub Actions / runner/test-docker-pr:ckan-2.10.5

Use WORKDIR to switch to a directory

Check warning on line 75 in ckan/Dockerfile

View workflow job for this annotation

GitHub Actions / runner/test-docker-pr:ckan-2.10.5

Set the SHELL option -o pipefail before RUN with a pipe in it. If you are using /bin/sh in an alpine image or if your shell is symlinked to busybox then consider explicitly setting your SHELL to /bin/ash, or disable this check

Check failure on line 75 in ckan/Dockerfile

View workflow job for this annotation

GitHub Actions / runner/build-docker-push:ckan-2.10.5

SC2086 info: Double quote to prevent globbing and word splitting.

Check failure on line 75 in ckan/Dockerfile

View workflow job for this annotation

GitHub Actions / runner/build-docker-push:ckan-2.10.5

DL3003 warning: Use WORKDIR to switch to a directory

Check failure on line 75 in ckan/Dockerfile

View workflow job for this annotation

GitHub Actions / runner/build-docker-push:ckan-2.10.5

DL4006 warning: Set the SHELL option -o pipefail before RUN with a pipe in it. If you are using /bin/sh in an alpine image or if your shell is symlinked to busybox then consider explicitly setting your SHELL to /bin/ash, or disable this check
if [ -d $d ]; then \
for f in `ls $d/*.patch | sort -g`; do \
cd $SRC_DIR/`basename "$d"` && \
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ services:
args:
PROXY_CKAN_LOCATION: ${PROXY_CKAN_LOCATION}
PROXY_PYCSW_LOCATION: ${PROXY_PYCSW_LOCATION}
CKAN__MAX_RESOURCE_SIZE: ${CKAN__MAX_RESOURCE_SIZE}
env_file:
- .env
logging:
Expand Down
1 change: 1 addition & 0 deletions nginx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ ENV PYCSW_PORT=8000
ENV PYCSW_COMPOSE_SERVICE=pycsw
ENV CKAN_COMPOSE_SERVICE=ckan
ENV PROXY_SERVER_NAME=localhost
ENV CKAN__MAX_RESOURCE_SIZE=100
ENV PROXY_PYCSW_PROXY_PASS=http://${PYCSW_COMPOSE_SERVICE}:${PYCSW_PORT}
ENV PROXY_CKAN_PROXY_PASS=http://${CKAN_COMPOSE_SERVICE}:${CKAN_PORT}

Expand Down
1 change: 1 addition & 0 deletions nginx/setup/default.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ server {
listen ${NGINX_SSLPORT} ssl;
listen [::]:${NGINX_SSLPORT} ssl;
server_name ${PROXY_SERVER_NAME};
client_max_body_size ${CKAN__MAX_RESOURCE_SIZE}M;
ssl_certificate /etc/nginx/certs/ckan-local.crt;
ssl_certificate_key /etc/nginx/certs/ckan-local.key;

Expand Down
15 changes: 14 additions & 1 deletion samples/.env.codespaces
Original file line number Diff line number Diff line change
Expand Up @@ -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
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"

# Extensions
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"
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"

# ckanext-harvest
CKAN__HARVEST__MQ__TYPE=redis
Expand All @@ -189,6 +189,10 @@ CKAN__HARVEST__LOG_TIMEFRAME=40

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

# ckanext-dcat
CKANEXT__DCAT__BASE_URI=${CKAN_URL}
Expand Down Expand Up @@ -233,6 +237,15 @@ CKANEXT__SCHEMINGDCAT__OPEN_DATA_STATISTICS_THEMES=True
# Private fields to be hidden in the API responses
CKANEXT__SCHEMINGDCAT__API__PRIVATE_FIELDS="private_name private_email"
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."}}]'
## DCAT-AP Metadata enhancements
CKANEXT__SCHEMINGDCAT__DCAT_AP__PUBLISHER__NAME="Organismo publicador del Catálogo"
CKANEXT__SCHEMINGDCAT__DCAT_AP__PUBLISHER__IDENTIFIER="http://datos.gob.es/recurso/sector-publico/org/Organismo/EA0000000"
CKANEXT__SCHEMINGDCAT__DCAT_AP__PUBLISHER__EMAIL="[email protected]"
CKANEXT__SCHEMINGDCAT__DCAT_AP__PUBLISHER__TYPE="http://purl.org/adms/publishertype/NonProfitOrganisation"
CKANEXT__SCHEMINGDCAT__DCAT_AP__PUBLISHER__URL="https://organismo.example.org/"
CKANEXT__SCHEMINGDCAT__DCAT_AP__DATASTORE_DATASERVICE__TITLE="Datastore API service"
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."
CKANEXT__SCHEMINGDCAT__DCAT_AP__DATASTORE_DATASERVICE__ENDPOINT_DESCRIPTION="{ckan_site_url}/openapi/datastore/"

# ckanext-pages
CKANEXT__PAGES__ALOW_HTML=False
Expand Down
15 changes: 14 additions & 1 deletion samples/.env.dev.example
Original file line number Diff line number Diff line change
Expand Up @@ -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
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"

# Extensions
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"
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"

# ckanext-harvest
CKAN__HARVEST__MQ__TYPE=redis
Expand All @@ -187,6 +187,10 @@ CKAN__HARVEST__LOG_TIMEFRAME=40

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

# ckanext-dcat
CKANEXT__DCAT__BASE_URI=${CKAN_URL}
Expand Down Expand Up @@ -231,6 +235,15 @@ CKANEXT__SCHEMINGDCAT__OPEN_DATA_STATISTICS_THEMES=True
# Private fields to be hidden in the API responses
CKANEXT__SCHEMINGDCAT__API__PRIVATE_FIELDS="private_name private_email"
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."}}]'
## DCAT-AP Metadata enhancements
CKANEXT__SCHEMINGDCAT__DCAT_AP__PUBLISHER__NAME="Organismo publicador del Catálogo"
CKANEXT__SCHEMINGDCAT__DCAT_AP__PUBLISHER__IDENTIFIER="http://datos.gob.es/recurso/sector-publico/org/Organismo/EA0000000"
CKANEXT__SCHEMINGDCAT__DCAT_AP__PUBLISHER__EMAIL="[email protected]"
CKANEXT__SCHEMINGDCAT__DCAT_AP__PUBLISHER__TYPE="http://purl.org/adms/publishertype/NonProfitOrganisation"
CKANEXT__SCHEMINGDCAT__DCAT_AP__PUBLISHER__URL="https://organismo.example.org/"
CKANEXT__SCHEMINGDCAT__DCAT_AP__DATASTORE_DATASERVICE__TITLE="Datastore API service"
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."
CKANEXT__SCHEMINGDCAT__DCAT_AP__DATASTORE_DATASERVICE__ENDPOINT_DESCRIPTION="{ckan_site_url}/openapi/datastore/"

# ckanext-pages
CKANEXT__PAGES__ALOW_HTML=False
Expand Down
17 changes: 15 additions & 2 deletions samples/.env.es.example
Original file line number Diff line number Diff line change
Expand Up @@ -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
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"

# Extensions
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"
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"

# ckanext-harvest
CKAN__HARVEST__MQ__TYPE=redis
Expand All @@ -187,6 +187,10 @@ CKAN__HARVEST__LOG_TIMEFRAME=40

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

# ckanext-dcat
CKANEXT__DCAT__BASE_URI=${CKAN_URL}
Expand Down Expand Up @@ -230,7 +234,16 @@ CKANEXT__SCHEMINGDCAT__OPEN_DATA_STATISTICS=True
CKANEXT__SCHEMINGDCAT__OPEN_DATA_STATISTICS_THEMES=True
# Private fields to be hidden in the API responses
CKANEXT__SCHEMINGDCAT__API__PRIVATE_FIELDS="private_name private_email"
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."}}]'
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."}}]'
## DCAT-AP Metadata enhancements
CKANEXT__SCHEMINGDCAT__DCAT_AP__PUBLISHER__NAME="Organismo publicador del Catálogo"
CKANEXT__SCHEMINGDCAT__DCAT_AP__PUBLISHER__IDENTIFIER="http://datos.gob.es/recurso/sector-publico/org/Organismo/EA0000000"
CKANEXT__SCHEMINGDCAT__DCAT_AP__PUBLISHER__EMAIL="[email protected]"
CKANEXT__SCHEMINGDCAT__DCAT_AP__PUBLISHER__TYPE="http://purl.org/adms/publishertype/NonProfitOrganisation"
CKANEXT__SCHEMINGDCAT__DCAT_AP__PUBLISHER__URL="https://organismo.example.org/"
CKANEXT__SCHEMINGDCAT__DCAT_AP__DATASTORE_DATASERVICE__TITLE="Datastore API service"
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."
CKANEXT__SCHEMINGDCAT__DCAT_AP__DATASTORE_DATASERVICE__ENDPOINT_DESCRIPTION="{ckan_site_url}/openapi/datastore/"

# ckanext-pages
CKANEXT__PAGES__ALOW_HTML=False
Expand Down
Loading