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

Output resources in azure.yaml after app init #4

Conversation

saragluna
Copy link

This PR will output the resources detected from app init to azure.yaml.

err := marshalRawProps(raw.Props.(MySQLProps))
if err != nil {
return nil, err
}
Copy link

Choose a reason for hiding this comment

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

Is it necessary to add other resource type like: ResourceTypeDbRedis, ResourceTypeDbPostgres, ResourceTypeDbMong?

Copy link

Choose a reason for hiding this comment

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

Could you please add unit test for MarshalYAML and UnmarshalYAML?

if err := unmarshalProps(&mp); err != nil {
return err
}
raw.Props = mp
Copy link

Choose a reason for hiding this comment

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

Same here: Is it necessary to add other resource type like: ResourceTypeDbRedis, ResourceTypeDbPostgres, ResourceTypeDbMong?

err := marshalRawProps(raw.Props.(MySQLProps))
if err != nil {
return nil, err
}
Copy link

Choose a reason for hiding this comment

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

Could you please add unit test for MarshalYAML and UnmarshalYAML?

haoozhang pushed a commit to haoozhang/azure-dev that referenced this pull request Oct 30, 2024
Use passwordless to connect to PostgreSQL in Azure Container Apps
@saragluna saragluna merged commit 41331c0 into azure-javaee:feature/sjad Nov 5, 2024
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