chore: use rpsdb; drop legacy files; refresh .env.template#558
Merged
Conversation
madhavilosetty-intel
approved these changes
May 4, 2026
There was a problem hiding this comment.
Pull request overview
This PR updates the local deployment path to use rpsdb, removes several legacy root-level config/scripts, and refreshes the sample environment template. In the repo overall, these changes mainly affect local Docker-based setup and older CI/supporting files.
Changes:
- Switches local Docker Compose database connection strings from
consoledbtorpsdb. - Removes legacy root-level files for Nginx, Mosquitto, Jenkins, PowerShell build setup, and the separate MPS DB init script.
- Rewrites
.env.templateto reflect the current local stack variables and defaults.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| nginx.conf | Removes legacy standalone Nginx config file. |
| mosquitto.conf | Removes legacy Mosquitto broker config file. |
| Jenkinsfile | Removes Jenkins-based SDLE upload pipeline definition. |
| docker-compose.yml | Updates local service DB connection strings and removes the Mosquitto service. |
| data/initMPS.sql | Removes the separate SQL bootstrap for the legacy MPS database. |
| build.ps1 | Removes legacy local build/bootstrap PowerShell script. |
| .env.template | Refreshes documented environment variables for the local stack. |
Comments suppressed due to low confidence (2)
data/initMPS.sql:1
- The only SQL bootstrap for the MPS schema is being removed here, but
data/init.sqlstill doesn't create thedevicestable that this file provided. After the Compose change to pointMPS_CONNECTION_STRINGatrpsdb, a fresh local deployment won't initialize that table anywhere.
Jenkinsfile:1 - This deletes the only pipeline that consumes
sdle.yaml; there is no replacement workflow under.github/workflows, andsdle.yamlstill documents a Jenkins-driven SDLE upload process. Merging this will disable that automation for the repo.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
155
to
157
| - 443:8443 | ||
| - 8001:8001 | ||
|
|
Comment on lines
+7
to
+8
| LOG_LEVEL=info | ||
| HTTP_PORT=8181 |
| - openamtnetwork | ||
| environment: | ||
| MPS_CONNECTION_STRING: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/consoledb?sslmode=disable | ||
| MPS_CONNECTION_STRING: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/rpsdb?sslmode=disable |
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.
device-management-toolkit/console#684