Skip to content

remove: drop unused /assess/mappingRDF endpoint and RML mapping (issu… - #33

Merged
andresTabiTuwien merged 2 commits into
mainfrom
AT/issue-22-avoid-unnecessary-use-of-file-system
Aug 27, 2026
Merged

andresTabiTuwien merged 2 commits into
mainfrom
AT/issue-22-avoid-unnecessary-use-of-file-system

Conversation

@andresTabiTuwien

Copy link
Copy Markdown
Collaborator

…e #22)

The maDMP-to-RDF mapping feature (ToRDFService, the /assess/mappingRDF endpoint, and the RML mapping resources it depended on) has no current consumers. Rather than carry the residual filesystem complexity a proper fix still couldn't fully eliminate (see the parked AT/issue-22-rml-fix-wip branch), remove it from main for now.

Summary

Removes the /assess/mappingRDF endpoint (maDMP-to-RDF mapping via ToRDFService) and its RML mapping resources, since the feature currently has no consumers. This closes issue #22 by eliminating the risky filesystem usage entirely rather
than carrying a partial fix for a feature nobody uses — a working fix is preserved on a separate branch in case the endpoint comes back later.

Related Issue

Closes #22

Changes

  • Removed runMapping (POST /assess/mappingRDF) from EvaluationController
  • Removed mapToRDF() from EvaluationManagerService, along wit

andresTabiTuwien and others added 2 commits August 26, 2026 10:37
…#22)

The maDMP-to-RDF mapping feature (ToRDFService, the /assess/mappingRDF
endpoint, and the RML mapping resources it depended on) has no current
consumers. Rather than carry the residual filesystem complexity a
proper fix still couldn't fully eliminate (see the parked
AT/issue-22-rml-fix-wip branch), remove it from main for now.
… commit

The earlier removal commit (2c41465) only captured the file deletions
(ToRDFService.kt, the RML mapping resources, etc.) — a bad pathspec in
the git add command silently caused pom.xml, EvaluationController.kt,
and EvaluationManagerService.kt to never get staged, so the endpoint
removal and the ToRDFService import/dependency cleanup in those three
files never made it into that commit. This is what CI caught:
"Unresolved reference: ToRDFService" in EvaluationManagerService.kt,
since the class it imported no longer exists.

This commit adds the missing pieces: removes the /mappingRDF endpoint
from EvaluationController, removes mapToRDF() and the toRDFService
dependency from EvaluationManagerService, and drops the now-unused
rmlmapper/rdf4j/idlab-functions-java dependencies from pom.xml.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@andresTabiTuwien
andresTabiTuwien merged commit 99d3c5e into main Aug 27, 2026
1 check passed
@andresTabiTuwien
andresTabiTuwien deleted the AT/issue-22-avoid-unnecessary-use-of-file-system branch August 28, 2026 08:37
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.

Avoid unnecessary use of file system

1 participant