linkedpipes / dcat-ap-viewer

Viewer of DCAT-AP 2.0.1 compatible dataset metadata
MIT License
6 stars 6 forks source link

Make quality info processing optional #239

Open jakubklimek opened 3 years ago

jakubklimek commented 3 years ago

When I remove the "quality" filter from the configuration, I get errors running DAV. I would expect that the "quality" information processing would be optional, and off by default (there are more LKODs than NKODs):

dcat-ap-viewer:
  version: 2
  # Port used for dcat-ap-viewer.
  port: 3000
  # Set to true if you want dcat-ap-viewer to serve static content from
  # "dist" directory. After "npm run build" this directory contains HTML, CSS,
  # JavaScript and other static files. This value should be set to false in
  # a production and static content should be server by other application
  # like Nginx. For more information how visit
  # https://github.com/linkedpipes/dcat-ap-viewer/wiki/Let's-deploy-to-production
  serve-static-content: true
  providers:
  # For more information about providers and their configuration please
  # see https://github.com/linkedpipes/dcat-ap-viewer/wiki/Providers.
    - type: solr
      # Path to the Solr instance, including solr core.
      url: http://localhost:8983/solr/dcat-ap-viewer
      # Default API language.
      default-language: cs
      # List of all languages in Solr.
      languages:
        - cs
        - en
    - type: couchdb
      # Address of
      url: http://127.0.0.1:5984
      # Default API language.
      default-language: cs
    - type: sparql
      # SPARQL endpoint.
      url: http://localhost:8890/sparql
      # We use SPARQL endpoint only for quality related data.
      filter:
        #        - v2-quality
  client:
    # Name of a profile directory within ./client/ directory.
    # Read readme file in the profile directory to get more information
    # about following options.
    profiles:
      - profile-lkod
    page-title-default: "STIRData catalog"
    page-title-prefix: ""
    page-title-suffix: " - STIRData catalog"
    # Configure URL prefix used to dereference values.
    dereference-url-prefix: ""
    # URL of the dcat-ap forms running instance.
    # https://github.com/linkedpipes/dcat-ap-forms
    dcat-ap-forms-url: "https://stirdata.opendata.cz/formulář"
    url-base: "https://stirdata.opendata.cz/"
skodapetr commented 3 years ago

We decided to move quality from lkof profile to nkod profile as we do not expect use of quality in local catalog.