Skip to content

Expose dva-processing in test-env - #71

Merged
bzp99 merged 1 commit into
Prometheus-X-association:yassine-refactorfrom
MYRhouma:build/test-env
Jul 29, 2026
Merged

Expose dva-processing in test-env#71
bzp99 merged 1 commit into
Prometheus-X-association:yassine-refactorfrom
MYRhouma:build/test-env

Conversation

@MYRhouma

Copy link
Copy Markdown
Contributor

Adjusts test-env/compose.yml so the dva-processing provider and consumer services bind to host ports 5007 and 5008 respectively, matching the endpoints expected by the slimmed-down dva-api orchestrator in companion PRs.

Depends on: none

@bzp99

Copilot AI review requested due to automatic review settings July 27, 2026 12:26

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates the local test docker-compose environment to publish the dva-processing provider/consumer services on dedicated host ports so companion orchestrator flows can reach them directly.

Changes:

  • Expose dva-processing-provider on host port 5007 (container port 5000).
  • Expose dva-processing-consumer on host port 5008 (container port 5000).
Comments suppressed due to low confidence (1)

test-env/compose.yml:80

  • The PR description says these services should bind on localhost, but this port mapping publishes on all interfaces by default. Prefix the mapping with 127.0.0.1 to restrict exposure to the local machine (or adjust the PR description if external exposure is intended).
    ports: [5008:5000]

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread test-env/compose.yml
interval: 5s
timeout: 5s
retries: 3
ports: [5007:5000]
Comment thread test-env/compose.yml
retries: 3
ports: [5007:5000]
depends_on:
rabbit-consumer: {condition: service_healthy}
@bzp99
bzp99 self-requested a review July 29, 2026 20:16
@bzp99 bzp99 assigned bzp99 and unassigned bzp99 Jul 29, 2026

@bzp99 bzp99 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Sure, if I undestand correctly this just exposes the ports in the Compose network in preparation of giving dva-processing an (internal) REST API.

The commit message is of the wrong category though but I'll amend that.

@bzp99
bzp99 force-pushed the build/test-env branch 2 times, most recently from 75eb856 to 372986f Compare July 29, 2026 20:27
Expose provider- and consumer-side processing on ports 5007 and 5008
respectively.
@bzp99
bzp99 force-pushed the build/test-env branch 2 times, most recently from cdc670e to e303687 Compare July 29, 2026 20:29
@bzp99
bzp99 merged commit e303687 into Prometheus-X-association:yassine-refactor Jul 29, 2026
1 check passed
@bzp99 bzp99 changed the title build: expose dva-processing provider/consumer on localhost ports 5007/5008 Expose dva-processing in test-env Jul 29, 2026
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