Skip to content

Commit

Permalink
Merge pull request #30 from mjanez/dev
Browse files Browse the repository at this point in the history
Add private fields configuration for ckanext-schemingdcat in development, production, and staging inventories
  • Loading branch information
mjanez authored Nov 13, 2024
2 parents a9e4061 + b7f56ff commit 3016bf2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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."}}]'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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."}}]'
Expand Down
1 change: 1 addition & 0 deletions playbook/inventories/staging/host_vars/staging_01.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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."}}]'
Expand Down
1 change: 1 addition & 0 deletions playbook/roles/ckan/templates/ckan.ini.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 3016bf2

Please sign in to comment.