vlizBE / vocabserver-app

Linked Data VocabTerms Lookup Service & Widget - Application back-end
MIT License
0 stars 3 forks source link

support mangeable external 'alias' identifiers for the vocabs (datasets) #32

Closed marc-portier closed 7 months ago

marc-portier commented 1 year ago

All vocabs get assigned an internal uuid.

However this internal id gets exposed at the time we configure an actual widget for search:

<vocab-search-bar
  source-datasets="https://your-domain/dataset/649EA5780C88EEA3383ED2D5"
  search-endpoint="http://your-domain/"
  languages-string="en">
</vocab-search-bar>

At that point this internal thing becomes a liability / external dependency for external services doing searches into it.

Therefore it would be better if we could shield this external dependency off from possible internal changes.

This could be done by allowing a manageable alias for this data-set (e.g. /dataset-alias/bodc-p06)

This should not replace the usage of the uuid for internal management and storage, it would just need to be translated at the entrypoint from alias to internal uuid

Use cases:

nvdk commented 12 months ago

as discussed: mapping from alias to actual index could be done in the widget. This might be our preferred option, as this allows for better user feedback.

nvdk commented 7 months ago

addressed in the 1.1 release