Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy PetClinic microservices using azd #49

Merged
merged 22 commits into from
Dec 2, 2024

Conversation

haoozhang
Copy link

@haoozhang haoozhang commented Nov 26, 2024

Deploy PetClinic microservices using azd

Current problems:

  1. application name is not aligned. (spring-petclinic-customer-service -> customer-service)
  2. DB access still have issue, will investigate further.

@haoozhang haoozhang marked this pull request as ready for review November 27, 2024 05:06
haozhang added 9 commits November 28, 2024 10:02
…inic

# Conflicts:
#	cli/azd/internal/appdetect/java.go
…inic

# Conflicts:
#	cli/azd/pkg/project/scaffold_gen.go
#	cli/azd/resources/scaffold/templates/resources.bicept
…inic

# Conflicts:
#	cli/azd/internal/appdetect/spring_boot_test.go
#	cli/azd/pkg/project/framework_service_docker.go
@@ -45,6 +45,8 @@ type ServiceConfig struct {
DotNetContainerApp *DotNetContainerAppOptions `yaml:"-,omitempty"`
// Custom configuration for the service target
Config map[string]any `yaml:"config,omitempty"`
// Environment variables for service
Env map[string]string `yaml:"env,omitempty"`
Copy link

Choose a reason for hiding this comment

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

Do we need to add environment variables here? IMU, it should be keep align with other services like PostgreSQL, currently, the PostgreSQL related environment variables are not displayed in azure.yaml.

Copy link
Author

Choose a reason for hiding this comment

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

Need to sync with @saragluna together: where to place these Envs.

@rujche
Copy link

rujche commented Dec 2, 2024

Please fix the check failure:

image

@haoozhang haoozhang closed this Dec 2, 2024
@haoozhang
Copy link
Author

haoozhang commented Dec 2, 2024

Please fix the check failure:

image

Updated.

@haoozhang haoozhang reopened this Dec 2, 2024
Copy link

@rujche rujche left a comment

Choose a reason for hiding this comment

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

LGTM.

@rujche rujche merged commit b5aceaa into azure-javaee:feature/sjad Dec 2, 2024
6 checks passed
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