Interactions-HSG / yggdrasil

A framework for programming distributed hypermedia environments for autonomous agents.
https://interactions-hsg.github.io/yggdrasil/
Apache License 2.0
7 stars 8 forks source link

Fix body deletion #37

Closed cake-lier closed 8 months ago

cake-lier commented 9 months ago

This PR fixes the bug for which the deletion of body artifacts was not correctly handled.

Since the extraction of the artifact URIs was considering only the ones following the format "/workspaces/:wkspid/artifacts/:artid," body artifacts URI generated an exception when deleted. After the change, the deletion handler in the RDFStore verticle also considers resources with URIs like "/workspaces/:wkspid/agents/:agt."

This PR addresses also:

Closes #16

codecov-commenter commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (27ebe3e) 75.27% compared to head (e1f2640) 75.32%. Report is 3 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #37 +/- ## ============================================ + Coverage 75.27% 75.32% +0.05% - Complexity 391 392 +1 ============================================ Files 35 35 Lines 2208 2213 +5 Branches 75 75 ============================================ + Hits 1662 1667 +5 Misses 498 498 Partials 48 48 ``` | [Flag](https://app.codecov.io/gh/Interactions-HSG/yggdrasil/pull/37/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Interactions-HSG) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/Interactions-HSG/yggdrasil/pull/37/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Interactions-HSG) | `75.32% <100.00%> (+0.05%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Interactions-HSG#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.