NASA-AMMOS / NASA-AMMOS/anms

Duplicate path segments accessing amp-manager

Open
#258 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
3
Forks
2
Avg merge
2d 23h
Merged PRs (30d)
2

Description

The current reverse proxy configuration duplicates a path segment that the REFDM already uses as its own path prefix "/nm" so the resulting external view looks like the following.

https://github.com/NASA-AMMOS/anms/blob/5ba1186afaaf86debea60dfe5785f6cbf30d5222/checkout-test/test_routes.py#L329

The REFDM does not need to use such a deep path because there are no other sibling segments, so probably better to just remove the "/nm/api" prefix from the whole REFDM and let the proxy add whatever prefix it wants.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with checkout-test/test_routes.py around line 329, then trace the reverse proxy configuration and the REFDM route prefix it exercises. Confirm the intended external path and update the configuration or route handling so the path segment is not duplicated; the relevant route test should pass with the corrected URL.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api, backend, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.