Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Management Domains: Asset and Dataset specialization pt. 2 #4296

Closed
paullatzelsperger opened this issue Jun 21, 2024 · 0 comments · Fixed by #4301
Closed

Management Domains: Asset and Dataset specialization pt. 2 #4296

paullatzelsperger opened this issue Jun 21, 2024 · 0 comments · Fixed by #4301
Assignees
Labels
core feature enhancement New feature or request
Milestone

Comments

@paullatzelsperger
Copy link
Member

paullatzelsperger commented Jun 21, 2024

Feature Request

Part 2 of the implementation work for Management Domains involves the following items:

  • let Catalog extend Dataset
  • DatasetResolverImpl: when it encounters an Asset that is a catalog (isCatalog() method), it creates a Catalog object (instead of a Dataset) containing the URL of the linked asset in its service property
  • if the JsonObjectFromDatasetTransformer encounters a Dataset, that is a Catalog, it delegates its serialization down to the JsonObjectFromCatalogTransformer

Which Areas Would Be Affected?

Dataset, Catalog, DatasetResolverImpl and their transformers

Why Is the Feature Desired?

to enable the implementation Management Domains, in particular linked catalogs

Solution Proposal

  • as part of this issue, the Dataset#distributions list should be initialized with an empty Hashmap to avoid NPEs.
@paullatzelsperger paullatzelsperger added this to the Milestone 16 milestone Jun 21, 2024
@paullatzelsperger paullatzelsperger self-assigned this Jun 21, 2024
@github-actions github-actions bot added the triage all new issues awaiting classification label Jun 21, 2024
@paullatzelsperger paullatzelsperger removed the triage all new issues awaiting classification label Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core feature enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant