Skip to content

Commit

Permalink
Add DCAT-AP metadata enhancements and SSL verification configuration …
Browse files Browse the repository at this point in the history
…for schemingdcat_csw_harvester
  • Loading branch information
mjanez committed Dec 16, 2024
1 parent c35a43b commit 697bb55
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
10 changes: 10 additions & 0 deletions playbook/inventories/development/host_vars/development_01.yml
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,16 @@ ckanext__schemingdcat_social_linkedin: "https://www.linkedin.com/company/ckanpro
ckanext__schemingdcat__postgres__geojson_chars_limit: 1000
ckanext__schemingdcat__postgres__geojson_tolerance: 0.001
ckanext__schemingdcat__api__private_fields: "private_name private_email"
ckanext__schemingdcat__csw__ssl_verify: True
#### DCAT-AP Metadata enhancements
ckanext__schemingdcat__dcat_ap__publisher__name: "Catalog Publishing Organization"
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/NationalAuthority"
ckanext__schemingdcat__dcat_ap__publisher__url: "https://orgn.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"
solr_multivalued_fields:
- endpoint_url
- serves_dataset
Expand Down
9 changes: 9 additions & 0 deletions playbook/roles/ckan/templates/ckan.ini.j2
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,15 @@ ckanext.schemingdcat.postgres.geojson_chars_limit = {{ ckanext__schemingdcat__po
ckanext.schemingdcat.postgres.geojson_tolerance = {{ ckanext__schemingdcat__postgres__geojson_tolerance }}
ckanext.schemingdcat.api.private_fields = {{ ckanext__schemingdcat__api__private_fields }}
ckanext.schemingdcat.csw.ssl_verify = {{ ckanext__schemingdcat__csw__ssl_verify }}
#### DCAT-AP Metadata enhancements
ckanext.schemingdcat.dcat_ap.publisher.name = {{ ckanext__schemingdcat__dcat_ap__publisher__name }}
ckanext.schemingdcat.dcat_ap.publisher.identifier = {{ ckanext__schemingdcat__dcat_ap__publisher__identifier }}
ckanext.schemingdcat.dcat_ap.publisher.email = {{ ckanext__schemingdcat__dcat_ap__publisher__email }}
ckanext.schemingdcat.dcat_ap.publisher.type = {{ ckanext__schemingdcat__dcat_ap__publisher__type }}
ckanext.schemingdcat.dcat_ap.publisher.url = {{ ckanext__schemingdcat__dcat_ap__publisher__url }}
ckanext.schemingdcat.dcat_ap.datastore_dataservice.title = {{ ckanext__schemingdcat__dcat_ap__datastore_dataservice__title }}
ckanext.schemingdcat.dcat_ap.datastore_dataservice.description = {{ ckanext__schemingdcat__dcat_ap__datastore_dataservice__description }}
ckanext.schemingdcat.dcat_ap.datastore_dataservice.endpoint_description = {{ ckanext__schemingdcat__dcat_ap__datastore_dataservice__endpoint_description }}

### ckanext-openapi
ckanext.openapi.endpoints = {{ ckanext__openapi__endpoints }}
Expand Down

0 comments on commit 697bb55

Please sign in to comment.