diff --git a/playbook/inventories/development/host_vars/development_01.yml b/playbook/inventories/development/host_vars/development_01.yml index 780190c..632afc3 100644 --- a/playbook/inventories/development/host_vars/development_01.yml +++ b/playbook/inventories/development/host_vars/development_01.yml @@ -217,6 +217,7 @@ ckanext__schemingdcat_social_x: "https://x.com/ckanproject" ckanext__schemingdcat_social_linkedin: "https://www.linkedin.com/company/ckanproject" ckanext__schemingdcat__postgres__geojson_chars_limit: 1000 ckanext__schemingdcat__postgres__geojson_tolerance: 0.001 +ckanext__schemingdcat__api__private_fields: "private_name private_email" #### ckanext-openapi ckanext__openapi__endpoints: '[{"url":"https://raw.githubusercontent.com/OAI/OpenAPI-Specification/refs/heads/main/examples/v3.0/api-with-examples.json","name":"sample","title":{"en":"OpenAPI sample 1","es":"Ejemplo de OpenAPI 1"},"description":{"en":"API with examples.","es":"API con ejemplos."}},{"url":"https://raw.githubusercontent.com/OAI/OpenAPI-Specification/refs/heads/main/examples/v3.0/petstore.json","name":"petstore","title":{"en":"Petstore OpenAPI example","es":"Ejemplo OpenAPI Petstore"},"description":{"en":"This is a sample Pet Store Server based on the OpenAPI 3.0 specification.","es":"Este es un ejemplo de Servidor de Tienda de Mascotas basado en la especificación OpenAPI 3.0."}}]' diff --git a/playbook/inventories/production/host_vars/production_01.yml b/playbook/inventories/production/host_vars/production_01.yml index f68b6c3..c77969b 100644 --- a/playbook/inventories/production/host_vars/production_01.yml +++ b/playbook/inventories/production/host_vars/production_01.yml @@ -217,6 +217,7 @@ ckanext__schemingdcat_social_x: "https://x.com/ckanproject" ckanext__schemingdcat_social_linkedin: "https://www.linkedin.com/company/ckanproject" ckanext__schemingdcat__postgres__geojson_chars_limit: 1000 ckanext__schemingdcat__postgres__geojson_tolerance: 0.001 +ckanext__schemingdcat__api__private_fields: "private_name private_email" #### ckanext-openapi ckanext__openapi__endpoints: '[{"url":"https://raw.githubusercontent.com/OAI/OpenAPI-Specification/refs/heads/main/examples/v3.0/api-with-examples.json","name":"sample","title":{"en":"OpenAPI sample 1","es":"Ejemplo de OpenAPI 1"},"description":{"en":"API with examples.","es":"API con ejemplos."}},{"url":"https://raw.githubusercontent.com/OAI/OpenAPI-Specification/refs/heads/main/examples/v3.0/petstore.json","name":"petstore","title":{"en":"Petstore OpenAPI example","es":"Ejemplo OpenAPI Petstore"},"description":{"en":"This is a sample Pet Store Server based on the OpenAPI 3.0 specification.","es":"Este es un ejemplo de Servidor de Tienda de Mascotas basado en la especificación OpenAPI 3.0."}}]' diff --git a/playbook/inventories/staging/host_vars/staging_01.yml b/playbook/inventories/staging/host_vars/staging_01.yml index f3c84ec..14ae3b1 100644 --- a/playbook/inventories/staging/host_vars/staging_01.yml +++ b/playbook/inventories/staging/host_vars/staging_01.yml @@ -217,6 +217,7 @@ ckanext__schemingdcat_social_x: "https://x.com/ckanproject" ckanext__schemingdcat_social_linkedin: "https://www.linkedin.com/company/ckanproject" ckanext__schemingdcat__postgres__geojson_chars_limit: 1000 ckanext__schemingdcat__postgres__geojson_tolerance: 0.001 +ckanext__schemingdcat__api__private_fields: "private_name private_email" #### ckanext-openapi ckanext__openapi__endpoints: '[{"url":"https://raw.githubusercontent.com/OAI/OpenAPI-Specification/refs/heads/main/examples/v3.0/api-with-examples.json","name":"sample","title":{"en":"OpenAPI sample 1","es":"Ejemplo de OpenAPI 1"},"description":{"en":"API with examples.","es":"API con ejemplos."}},{"url":"https://raw.githubusercontent.com/OAI/OpenAPI-Specification/refs/heads/main/examples/v3.0/petstore.json","name":"petstore","title":{"en":"Petstore OpenAPI example","es":"Ejemplo OpenAPI Petstore"},"description":{"en":"This is a sample Pet Store Server based on the OpenAPI 3.0 specification.","es":"Este es un ejemplo de Servidor de Tienda de Mascotas basado en la especificación OpenAPI 3.0."}}]' diff --git a/playbook/roles/ckan/templates/ckan.ini.j2 b/playbook/roles/ckan/templates/ckan.ini.j2 index 3d27fee..031c9ca 100644 --- a/playbook/roles/ckan/templates/ckan.ini.j2 +++ b/playbook/roles/ckan/templates/ckan.ini.j2 @@ -53,6 +53,7 @@ ckanext.schemingdcat.social_x = {{ ckanext__schemingdcat_social_x }} ckanext.schemingdcat.social_linkedin = {{ ckanext__schemingdcat_social_linkedin }} ckanext.schemingdcat.postgres.geojson_chars_limit = {{ ckanext__schemingdcat__postgres__geojson_chars_limit }} ckanext.schemingdcat.postgres.geojson_tolerance = {{ ckanext__schemingdcat__postgres__geojson_tolerance }} +ckanext.schemingdcat.api.private_fields = {{ ckanext__schemingdcat__api__private_fields }} ### ckanext-openapi ckanext.openapi.endpoints = {{ ckanext__openapi__endpoints }}