Skip to content

Conversation

@DavidEdell
Copy link
Contributor

This addresses issue #176 by moving behavior directly into the authnz container. This utilizes the existing PROXY_URLS option for the cam-gateway container, and duplicates that functionality for the basic password authentication option.

In the future, we may consider farther consolidating these definitions with that used by the system_status.py into a single JSON file that can be copied to all relevant containers. At present, if a hostname or mapping is updated both of these locations and likely the .env file would all need to be updated.

The 2 auth options have also been consolidated into a single "auth" folder and "authnz-emu" renamed for clarity.

NOTE: AMMOS deployment may need to be updated to reflect the 'PROXY_URLS' env variable now set in docker-compose.yml for both auth options.

NOTE: This branch was created on top of the 'experimental' branch. It may (pending review) be necessary to merge this into experimental first prior to resolving any conflicts to merge back into main.

@DavidEdell DavidEdell requested a review from BrianSipos May 21, 2025 21:26
Copy link
Collaborator

@BrianSipos BrianSipos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some specific suggestions or questions in-line. I will defer to @d-linko to try running this branch and seeing that the normal browser UI looks okay, specifically the grafana dashboard.

@BrianSipos BrianSipos requested a review from d-linko May 22, 2025 14:26
@BrianSipos BrianSipos added this to ANMS May 22, 2025
@github-project-automation github-project-automation bot moved this to Todo in ANMS May 22, 2025
@BrianSipos BrianSipos added this to the ANMS v2.0.0 milestone May 22, 2025
Copy link
Contributor

@d-linko d-linko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

deployed changes locally and UI working as intended. One change was to remove NGINX as a service the status page was tracking

@DavidEdell DavidEdell requested a review from BrianSipos May 22, 2025 18:06
@BrianSipos BrianSipos moved this from Todo to In Progress in ANMS May 28, 2025
@sonarqubecloud
Copy link

@DavidEdell DavidEdell merged commit a6b6c00 into main May 30, 2025
9 checks passed
@DavidEdell DavidEdell deleted the feature/nginx-removal branch May 30, 2025 19:09
@github-project-automation github-project-automation bot moved this from In Progress to Done in ANMS May 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants