Feature/v2x prometheus counts#233
Draft
Michael7371 wants to merge 237 commits into
Draft
Conversation
This change moves the keycloak port and prefix into the .env file instead of assigning it in the docker-compose scripts. This allows greater configurability for deploying with https or at different ports.
Moving http and port of API to the .env file instead of the docker compose file. This allows greater flexibility when deploying with certificates or on alternate ports.
Replaced local MongoDB container definition with shared MongoDB configuration from `docker-compose-mongo.yml`. Updated dependencies and profiles to align with the new setup, simplifying and unifying service management.
The MongoDB initialization, index management, and volume management scripts were removed, along with the related Dockerfile and keyfile.
Changed `CM_MONGO_AUTH_DB` and `CM_DATABASE_NAME` values from `ConflictMonitor` to `CV` in the environment file.
…ose-intersection.yml`
Changed `CM_MONGO_AUTH_DB` to use the `admin` database. Updated default MongoDB usernames and passwords.
Changed the MongoDB database name from 'ConflictMonitor' to 'CV' and the authentication database from 'ConflictMonitor' to 'admin' in the application.yaml file.
Added the `SPRING_DATA_MONGODB_DATABASE` variable to the docker-compose file to configure the database name. This ensures proper connection setup for Spring Data MongoDB within the application.
Renamed the MongoDB database from `ConflictMonitor` to `CV` and updated the authentication database to `admin`.
Replaced hardcoded MongoDB auth database and database name with environment variables (`CM_MONGO_AUTH_DB` and `CM_DATABASE_NAME`) for better flexibility and configurability. Updated `connect_start.sh` and `docker-compose-conflictmonitor.yml` to reflect these changes.
Replaced hardcoded database name with an environment variable `${CM_DATABASE_NAME}` in both `application.yaml` and `application-test.yaml`.
…nce-mongo-in-jpo-utils
Updated the documentation to include information about the `mongo` and `mongo-setup` services for the intersection API. Clarified that these services are provided by the jpo-utils repository and require the `mongo_full` profile to be enabled.
…alone-deployment-updates
Modifying Standalone Deployment - Adding Endpoint/Keycloak/IP Distinctions
Replaced MongoDB credential variables with `MONGO_READ_WRITE_USER` and `MONGO_READ_WRITE_PASS` for consistency and clarity. Updated all relevant scripts, configuration files, and environment references to reflect.
Included instructions to generate a secure MongoDB keyfile string using OpenSSL.
…nce-mongo-in-jpo-utils
…nce-mongo-in-jpo-utils
Removing Unused Webapp Dependencies
…variables and webapp API paths
Re-generating Sample Intersection Data
…n repository and controller, introduce LimitedGeoJsonResponse, and update tests accordingly.
…sentation, remove GeoJsonGeometry class, and update related tests for new structure.
Intersection api haas alert
…ometheus, add organization-level message count endpoint, and update related models and tests. Introduce MAX_QUERY_DURATION_DAYS environment variable to limit query duration. Update webapp to handle new message count structure.
…ountsRepository and related services. Update Prometheus queries for improved accuracy and introduce new PrometheusResponse model. Modify CountsController and tests to accommodate changes in message type handling.
…2x-prometheus-counts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DRAFT PR
PR Details
Description
How Has This Been Tested?
Types of changes
Checklist: