Add CKANEXT__DCAT__DEFAULT_CATALOG_ENDPOINT ennvar
Allow to set the default catalog endpoint of the portal.
This commit is contained in:
parent
54a807a23d
commit
e5447ef32b
|
@ -139,6 +139,8 @@ CKANEXT__XLOADER__JOBS__DB_URI=postgresql://ckan:ckan@db/ckan
|
||||||
CKANEXT__DCAT__BASE_URI=${CKAN_URL}
|
CKANEXT__DCAT__BASE_URI=${CKAN_URL}
|
||||||
# Default profile(s). Instead of this envvar, it's possible to specify all the profile(s) availables to be used for serialization using the profiles parameter: http://localhost:5000/catalog.xml?profiles=euro_dcat_ap,spain_dcat
|
# Default profile(s). Instead of this envvar, it's possible to specify all the profile(s) availables to be used for serialization using the profiles parameter: http://localhost:5000/catalog.xml?profiles=euro_dcat_ap,spain_dcat
|
||||||
CKANEXT__DCAT__RDF_PROFILES='euro_dcat_ap_2'
|
CKANEXT__DCAT__RDF_PROFILES='euro_dcat_ap_2'
|
||||||
|
# The custom endpoint **must** start with a forward slash (`/`) and contain the `{_format}` placeholder. The endpoint is added to the CKAN_SITE_URL and CKAN__ROOT_PATH, example: http://localhost:5000/catalog/catalog.rdf
|
||||||
|
CKANEXT__DCAT__DEFAULT_CATALOG_ENDPOINT='/catalog.{_format}'
|
||||||
|
|
||||||
# ckanext-spatial (Solr Backend - solr8-spatial)
|
# ckanext-spatial (Solr Backend - solr8-spatial)
|
||||||
CKANEXT__SPATIAL__SEARCH_BACKEND=solr-bbox
|
CKANEXT__SPATIAL__SEARCH_BACKEND=solr-bbox
|
||||||
|
|
|
@ -4,4 +4,5 @@
|
||||||
echo "Loading ckanext-dcat settings in the CKAN config file"
|
echo "Loading ckanext-dcat settings in the CKAN config file"
|
||||||
ckan config-tool $CKAN_INI \
|
ckan config-tool $CKAN_INI \
|
||||||
"ckanext.dcat.base_uri = $CKANEXT__DCAT__BASE_URI" \
|
"ckanext.dcat.base_uri = $CKANEXT__DCAT__BASE_URI" \
|
||||||
|
"ckanext.dcat.catalog_endpoint = $CKANEXT__DCAT__DEFAULT_CATALOG_ENDPOINT" \
|
||||||
"ckanext.dcat.rdf.profiles = $CKANEXT__DCAT__RDF_PROFILES"
|
"ckanext.dcat.rdf.profiles = $CKANEXT__DCAT__RDF_PROFILES"
|
|
@ -131,6 +131,8 @@ CKANEXT__XLOADER__JOBS__DB_URI=postgresql://ckan:ckan@db/ckan
|
||||||
CKANEXT__DCAT__BASE_URI=http://localhost:81/catalog
|
CKANEXT__DCAT__BASE_URI=http://localhost:81/catalog
|
||||||
# Default profile(s). Instead of this envvar, it's possible to specify all the profile(s) availables to be used for serialization using the profiles parameter: http://localhost:5000/catalog.xml?profiles=euro_dcat_ap,spain_dcat
|
# Default profile(s). Instead of this envvar, it's possible to specify all the profile(s) availables to be used for serialization using the profiles parameter: http://localhost:5000/catalog.xml?profiles=euro_dcat_ap,spain_dcat
|
||||||
CKANEXT__DCAT__RDF_PROFILES='euro_dcat_ap_2'
|
CKANEXT__DCAT__RDF_PROFILES='euro_dcat_ap_2'
|
||||||
|
# The custom endpoint **must** start with a forward slash (`/`) and contain the `{_format}` placeholder. The endpoint is added to the CKAN_SITE_URL and CKAN__ROOT_PATH, example: http://localhost:5000/catalog/catalog.rdf
|
||||||
|
CKANEXT__DCAT__DEFAULT_CATALOG_ENDPOINT='/catalog.{_format}'
|
||||||
|
|
||||||
# ckanext-spatial (Solr Backend - solr8-spatial)
|
# ckanext-spatial (Solr Backend - solr8-spatial)
|
||||||
CKANEXT__SPATIAL__SEARCH_BACKEND=solr-bbox
|
CKANEXT__SPATIAL__SEARCH_BACKEND=solr-bbox
|
||||||
|
|
|
@ -139,6 +139,8 @@ CKANEXT__XLOADER__JOBS__DB_URI=postgresql://ckan:ckan@db/ckan
|
||||||
CKANEXT__DCAT__BASE_URI=http://localhost:81/catalog
|
CKANEXT__DCAT__BASE_URI=http://localhost:81/catalog
|
||||||
# Default profile(s). Instead of this envvar, it's possible to specify all the profile(s) availables to be used for serialization using the profiles parameter: http://localhost:5000/catalog.xml?profiles=euro_dcat_ap,spain_dcat
|
# Default profile(s). Instead of this envvar, it's possible to specify all the profile(s) availables to be used for serialization using the profiles parameter: http://localhost:5000/catalog.xml?profiles=euro_dcat_ap,spain_dcat
|
||||||
CKANEXT__DCAT__RDF_PROFILES='euro_dcat_ap_2'
|
CKANEXT__DCAT__RDF_PROFILES='euro_dcat_ap_2'
|
||||||
|
# The custom endpoint **must** start with a forward slash (`/`) and contain the `{_format}` placeholder. The endpoint is added to the CKAN_SITE_URL and CKAN__ROOT_PATH, example: http://localhost:5000/catalog/catalog.rdf
|
||||||
|
CKANEXT__DCAT__DEFAULT_CATALOG_ENDPOINT='/catalog.{_format}'
|
||||||
|
|
||||||
# ckanext-spatial (Solr Backend - solr8-spatial)
|
# ckanext-spatial (Solr Backend - solr8-spatial)
|
||||||
CKANEXT__SPATIAL__SEARCH_BACKEND=solr-bbox
|
CKANEXT__SPATIAL__SEARCH_BACKEND=solr-bbox
|
||||||
|
|
|
@ -131,6 +131,8 @@ CKANEXT__XLOADER__JOBS__DB_URI=postgresql://ckan:ckan@db/ckan
|
||||||
CKANEXT__DCAT__BASE_URI=http://localhost:81/catalog
|
CKANEXT__DCAT__BASE_URI=http://localhost:81/catalog
|
||||||
# Default profile(s). Instead of this envvar, it's possible to specify all the profile(s) availables to be used for serialization using the profiles parameter: http://localhost:5000/catalog.xml?profiles=euro_dcat_ap,spain_dcat
|
# Default profile(s). Instead of this envvar, it's possible to specify all the profile(s) availables to be used for serialization using the profiles parameter: http://localhost:5000/catalog.xml?profiles=euro_dcat_ap,spain_dcat
|
||||||
CKANEXT__DCAT__RDF_PROFILES='euro_dcat_ap_2'
|
CKANEXT__DCAT__RDF_PROFILES='euro_dcat_ap_2'
|
||||||
|
# The custom endpoint **must** start with a forward slash (`/`) and contain the `{_format}` placeholder. The endpoint is added to the CKAN_SITE_URL and CKAN__ROOT_PATH, example: http://localhost:5000/catalog/catalog.rdf
|
||||||
|
CKANEXT__DCAT__DEFAULT_CATALOG_ENDPOINT='/catalog.{_format}'
|
||||||
|
|
||||||
# ckanext-spatial (Solr Backend - solr8-spatial)
|
# ckanext-spatial (Solr Backend - solr8-spatial)
|
||||||
CKANEXT__SPATIAL__SEARCH_BACKEND=solr-bbox
|
CKANEXT__SPATIAL__SEARCH_BACKEND=solr-bbox
|
||||||
|
|
|
@ -139,6 +139,8 @@ CKANEXT__XLOADER__JOBS__DB_URI=postgresql://ckan:ckan@db/ckan
|
||||||
CKANEXT__DCAT__BASE_URI=http://localhost:81/catalog
|
CKANEXT__DCAT__BASE_URI=http://localhost:81/catalog
|
||||||
# Default profile(s). Instead of this envvar, it's possible to specify all the profile(s) availables to be used for serialization using the profiles parameter: http://localhost:5000/catalog.xml?profiles=euro_dcat_ap,spain_dcat
|
# Default profile(s). Instead of this envvar, it's possible to specify all the profile(s) availables to be used for serialization using the profiles parameter: http://localhost:5000/catalog.xml?profiles=euro_dcat_ap,spain_dcat
|
||||||
CKANEXT__DCAT__RDF_PROFILES='euro_dcat_ap_2'
|
CKANEXT__DCAT__RDF_PROFILES='euro_dcat_ap_2'
|
||||||
|
# The custom endpoint **must** start with a forward slash (`/`) and contain the `{_format}` placeholder. The endpoint is added to the CKAN_SITE_URL and CKAN__ROOT_PATH, example: http://localhost:5000/catalog/catalog.rdf
|
||||||
|
CKANEXT__DCAT__DEFAULT_CATALOG_ENDPOINT='/catalog.{_format}'
|
||||||
|
|
||||||
# ckanext-spatial (Solr Backend - solr8-spatial)
|
# ckanext-spatial (Solr Backend - solr8-spatial)
|
||||||
CKANEXT__SPATIAL__SEARCH_BACKEND=solr-bbox
|
CKANEXT__SPATIAL__SEARCH_BACKEND=solr-bbox
|
||||||
|
|
Loading…
Reference in New Issue