Skip to content

chore: use rpsdb; drop legacy files; refresh .env.template#558

Merged
rsdmike merged 1 commit intomainfrom
dead-files
May 4, 2026
Merged

chore: use rpsdb; drop legacy files; refresh .env.template#558
rsdmike merged 1 commit intomainfrom
dead-files

Conversation

@rsdmike
Copy link
Copy Markdown
Member

@rsdmike rsdmike commented May 4, 2026

Copilot AI review requested due to automatic review settings May 4, 2026 21:23
@rsdmike rsdmike enabled auto-merge (squash) May 4, 2026 21:23
@rsdmike rsdmike changed the title fix: use rpsdb; drop legacy files; refresh .env.template chore: use rpsdb; drop legacy files; refresh .env.template May 4, 2026
@rsdmike rsdmike merged commit f01d43d into main May 4, 2026
3 checks passed
@rsdmike rsdmike deleted the dead-files branch May 4, 2026 21:25
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

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 consoledb to rpsdb.
  • Removes legacy root-level files for Nginx, Mosquitto, Jenkins, PowerShell build setup, and the separate MPS DB init script.
  • Rewrites .env.template to 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.sql still doesn't create the devices table that this file provided. After the Compose change to point MPS_CONNECTION_STRING at rpsdb, 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, and sdle.yaml still 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 thread docker-compose.yml
Comment on lines 155 to 157
- 443:8443
- 8001:8001

Comment thread .env.template
Comment on lines +7 to +8
LOG_LEVEL=info
HTTP_PORT=8181
Comment thread docker-compose.yml
- 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants