Skip to content
New issue

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

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

Already on GitHub? # to your account

Persisting HQDM Objects #49

Closed
twalmsley opened this issue Sep 30, 2022 · 1 comment · Fixed by #55
Closed

Persisting HQDM Objects #49

twalmsley opened this issue Sep 30, 2022 · 1 comment · Fixed by #55
Assignees
Labels
enhancement New feature or request

Comments

@twalmsley
Copy link
Collaborator

As part the recent development work, HQDM was decoupled from RDF and there is now no easy way to convert Things to the RDF triples needed for persisting an object to an RDF triple store - clients have to call MagmaCoreService.create(Thing) for each thing, or create a batch update manually using the DbTransformation classes.

Ideally there would be a service call that would take a collection of Thing objects and convert them to the required DbTransformation which can then be applied using the MagmaCoreService (a convenience function to convert and apply can also be provided, but there are cases where the conversion result is needed for other purposes so there should be a way to create a DbTransformation without also applying.)

This would allow clients to persist Things directly rather than using the indirect routes currently available.

@twalmsley twalmsley self-assigned this Oct 13, 2022
@twalmsley twalmsley added the enhancement New feature or request label Oct 13, 2022
@twalmsley twalmsley linked a pull request Oct 13, 2022 that will close this issue
GCHQDeveloper42 added a commit that referenced this issue Oct 14, 2022
@twalmsley
Copy link
Collaborator Author

Released in 2.1.0

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant