Skip to content

Make sure the publisher example supports azd - #9277

Merged
David Fowler (davidfowl) merged 2 commits into
mainfrom
davidfowl/support-azd
May 13, 2025
Merged

Make sure the publisher example supports azd#9277
David Fowler (davidfowl) merged 2 commits into
mainfrom
davidfowl/support-azd

Conversation

@davidfowl

Copy link
Copy Markdown
Collaborator

Fixes#9265

CopilotAI review requested due to automatic review settings May 13, 2025 06:22
@github-actionsgithub-actionsBot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label May 13, 2025

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

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 adjusts the publisher example to support azd by removing the obsolete Deployment configuration and updating the environment selection logic.

  • Removed the "Deployment" block from appsettings.json.
  • Updated Program.cs to use a tuple switch on publisher and target, and added password authentication to the Azure Postgres chain.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

FileDescription
playground/publishers/Publishers.AppHost/appsettings.jsonRemoved the Deployment configuration to align with the azd support update.
playground/publishers/Publishers.AppHost/Program.csRevised environment selection logic using tuple switch and enhanced the Azure Postgres configuration with password authentication.

Comment threadplayground/publishers/Publishers.AppHost/Program.cs
@davidfowl
David Fowler (davidfowl) deleted the davidfowl/support-azd branch May 13, 2025 15:16
@danmoseleyDan Moseley (danmoseley) added area-deployment and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels May 13, 2025
@github-actionsgithub-actionsBot locked and limited conversation to collaborators Jun 13, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

non-compatible azd-sample in the playground

4 participants

@davidfowl@joperezr@danmoseley