Skip to content

Feature management all support#34908

Merged
mrm9084 merged 6 commits into
Azure:mainfrom
mrm9084:FeatureManagementAllSupport
May 22, 2023
Merged

Feature management all support#34908
mrm9084 merged 6 commits into
Azure:mainfrom
mrm9084:FeatureManagementAllSupport

Conversation

@mrm9084

@mrm9084 mrm9084 commented May 12, 2023

Copy link
Copy Markdown
Member

Description

Please add an informative description that covers that changes made by the pull request and link all relevant issues.

If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.

All SDK Contribution checklist:

  • The pull request does not introduce [breaking changes]
  • CHANGELOG is updated for new features, bug fixes or other significant changes.
  • I have read the contribution guidelines.

General Guidelines and Best Practices

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.

@github-actions github-actions Bot added the azure-spring All azure-spring related issues label May 12, 2023
@azure-sdk

Copy link
Copy Markdown
Collaborator

API change check

API changes are not detected in this pull request.

try {
JsonNode node = CASE_INSENSITIVE_MAPPER.readTree(item.getValue());
JsonNode conditions = node.get("conditions");
if (conditions != null && conditions.get("requirement_type") != null) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nit: Should we consider define this property name requirement_type as a constant as well?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Why it's underscore in requirement_type, but in the pojo it's requirement-type?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

requirement_type comes from app configuration but requirement-type would be how Spring expects it when mapping configurations.

@mrm9084
mrm9084 marked this pull request as ready for review May 16, 2023 23:11
@mrm9084
mrm9084 merged commit b86dbab into Azure:main May 22, 2023
@mrm9084
mrm9084 deleted the FeatureManagementAllSupport branch May 22, 2023 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

azure-spring All azure-spring related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants