Objective: The Java backend can receive execution requests (workspace/executeCommand) and route them to HTTP SPARQL endpoints.
Description:
This is the core of the execution engine. The VS Code extension acts as a thin client, while the Java backend parses the query and communicates with the HTTP endpoint.
- Create the
NotebookCommandHandler as the entry point for the cimvocabcheck.notebook.execute LSP command.
- Create field-based POJO classes (
ExecuteRequest, ExecuteResponse, etc.) to maintain lsp4j/gson compatibility (no records).
- Implement the
QueryKindDetector via Jena (SELECT, ASK, CONSTRUCT, DESCRIBE, UPDATE).
- Implement the
HttpQueryExecutor (QueryExecutionHTTP), including a fallback to sibling endpoints (matching the validation UX).
- Add
jena-fuseki-main:6.1.0 to pom.xml in the test scope.
Acceptance Criteria:
Objective: The Java backend can receive execution requests (
workspace/executeCommand) and route them to HTTP SPARQL endpoints.Description:
This is the core of the execution engine. The VS Code extension acts as a thin client, while the Java backend parses the query and communicates with the HTTP endpoint.
NotebookCommandHandleras the entry point for thecimvocabcheck.notebook.executeLSP command.ExecuteRequest,ExecuteResponse, etc.) to maintain lsp4j/gson compatibility (no records).QueryKindDetectorvia Jena (SELECT, ASK, CONSTRUCT, DESCRIBE, UPDATE).HttpQueryExecutor(QueryExecutionHTTP), including a fallback to sibling endpoints (matching the validation UX).jena-fuseki-main:6.1.0topom.xmlin the test scope.Acceptance Criteria:
FusekiServerpass.