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

OntologiesService: Persist only selected ontologies #1303

Merged
merged 2 commits into from
Sep 6, 2024

Conversation

srosset81
Copy link
Contributor

@srosset81 srosset81 commented Sep 4, 2024

Until now the OntologiesService had a persistRegistry setting which saved all registered ontologies to the settings dataset, including their JSON-LD context.

This added a lot of data that is not very useful, since most ontologies are core ontologies. This option is only for Pod providers which want to accept custom ontologies.

So I changed the API of the service with a persist param that can be passed to the ontologies.register service. Only those ontologies are persisted. And only the prefix and namespace can be persisted.

@srosset81 srosset81 marked this pull request as ready for review September 6, 2024 08:08
@srosset81 srosset81 merged commit 086cdbc into master Sep 6, 2024
@srosset81 srosset81 deleted the persist-only-custom-ontologies branch September 6, 2024 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant