Class DcatPublisherIntegrationConnector

All Implemented Interfaces:
AuditLoggingComponent, SecureConnectorExtension, VirtualConnectorExtension, IntegrationConnector

public class DcatPublisherIntegrationConnector extends IntegrationConnectorBase
DcatPublisherIntegrationConnector publishes the Data Catalog Vocabulary (DCAT) descriptions of the assets that have been chosen for publication. An asset is chosen by making it a member of the publishing catalog - a collection that is named in the connector's publishingCatalog configuration property - or of a collection folder nested in it.

On each refresh the connector writes the following JSON-LD files to each of its destination directories:

  • catalog.jsonld - the publishing catalog as a dcat:Catalog, along with the description of every published asset. This is the file to give to a portal that harvests DCAT catalogs.
  • datasets/<name>.jsonld - the description of each asset that is published as a dcat:Dataset.
  • data-services/<name>.jsonld - the description of each asset that is published as a dcat:DataService.
A file is only written if its content has changed, and the file for an asset that is no longer in the publishing catalog is removed. The destination directories are the network address of the endpoint in the connector's connection, and the file folders attached to the connector as catalog targets.