Skip to content

Spec 010 amended: the last of ContentService in Java, the two interactor families - #1042

Closed
adamjohnwright wants to merge 1 commit into
mainfrom
spec010/interactors-last
Closed

adamjohnwright wants to merge 1 commit into
mainfrom
spec010/interactors-last

Conversation

@adamjohnwright

Copy link
Copy Markdown
Contributor

Specifies moving the last operations off the old Java content service, so that reactome/content-service can be archived.

What's left there: node answers every ContentService operation except the two interactor families, which stay in Java (spec 006 T101, T102; research D26):

  • the PSICQUIC queries: 4 operations;
  • the custom interactor uploads and overlay tokens: 5 operations.

Today the old server answers them.

What this amendment changes:

  • Story 2 is narrowed to those nine operations. SBML, SBGN, the event PDF and the events hierarchy have homes of their own now (spec 015, sbgn-exporter, pdf-export, spec 006 T103), so T014 is superseded.
  • Their home is this repository's deploy/java-library, which spec 015 already built (Spec 015 T063: the SBML service, started here #660, Spec 015 T064: the library service in compose #664, Spec 015 T069: BioPAX in the library service #755), not a new AGPL repository. T001 is superseded, and T011 and T016–T018 are noted as done there. Research R2 chose AGPL because of three AGPL/GPL exporters, none of which is carried now. Instead:
    • FR-026 and T050: the licence of content-service's interactor code, which has no LICENSE, and of the IntAct libraries it ships with must be established and found compatible with Apache-2.0 before any of it is copied here.
  • T051: node fronts the nine operations, as it already fronts the library service's exports (exporters-endpoints.ts), in place of T020–T023's generic pass-through.
  • FR-027 and T052: once all nine have run from their new home through one release, reactome/content-service is archived, with a README saying where each operation went.
  • Porting them to node stays possible but isn't planned now:
    • the PSICQUIC pipeline is about 2,000 lines to match byte for byte;
    • the token store holds Kryo-serialised Java objects.

Docs only. The preflight passes.

🤖 Generated with Claude Code

…tor families

Node answers every ContentService operation but the PSICQUIC queries and the
custom interactors (spec 006 T101, T102). Story 2 narrows to those nine, in this
repository's deploy/java-library (spec 015 built it), not a new AGPL repository:
R2's reason, three AGPL/GPL exporters, no longer applies. FR-026: the interactor
code's licences checked before it is copied here (T050); node fronts the routes
as it fronts the exports (T051); FR-027: content-service archived after one
release with all nine cut over (T052). T001 and T014 superseded.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@adamjohnwright

Copy link
Copy Markdown
Contributor Author

Superseded by spec 033 (#1121): it was decided on 28 Nov 2026 to move the nine operations to node rather than keep them in Java. Node calls deploy/java-library only for a part that can't reach parity with Java. This amendment's FR-027 (archive reactome/content-service) is carried over as spec 033's FR-016.

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