CenterForDigitalHumanities / CenterForDigitalHumanities/TPEN-services

Harden TinyNode endpoint adapter to avoid route prefix drift

Open
#516 0 comments 0 reactions 0 assignees View on GitHub
copilot
Dominant language
JavaScript
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

During interaction scanning, TPEN-services appears to call TinyNode CRUD routes with method/path conventions that may not match all other consumers (notably DEER using `/app/*`).

Suggested adjustment in TPEN-services:
1. Centralize TinyNode endpoint mapping in one adapter module.
2. Explicitly version or configure route prefix (`/app` vs root).
3. Add integration tests against TinyNode route contract.

This would reduce drift and make contract-seam checks easier to enforce.

Filed by automation as requested; label: `copilot`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.