Skip to content

nodenorm-es in Test publishes the CI URL as its default server #411

Description

@gaurav

The OpenAPI document served by the Elasticsearch-backed NodeNorm in Test names the CI host as its default server:

"servers": [
  {"description": "Default server", "url": "https://nodenorm-es.ci.transltr.io/", "x-maturity": "development", "x-location": "RENCI"},
  {"description": "Localhost", "url": "http://localhost:8000/", "x-maturity": "development", "x-location": "RENCI"}
]

served from https://nodenorm-es.test.transltr.io/webapp/openapi.json (checked 2026-08-31). x-maturity is development there too, which is also not what a Test deployment should be declaring.

Anything that drives requests from the published document — a generated client, a SmartAPI registration, "try it out" in a docs UI — will be pointed at CI while believing it is talking to Test.

Two smaller things noticed alongside it, in case they are the same configuration:

  • The document is at /webapp/openapi.json rather than /openapi.json, even though the API itself answers at the root (/status, /get_normalized_nodes are both there, and /webapp/get_normalized_nodes is a 404). Was serving it from /webapp/ intended?
  • There is no Swagger UI: /docs and /webapp/docs are both 404. The Redis-backed deployments serve /docs.

Found while adding per-target OpenAPI checks in TranslatorSRI/babel-validation.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions