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

IGNITE-24014 Introduce a way to have key-value entries in configuration #4997

Merged
merged 3 commits into from
Jan 10, 2025

Conversation

sashapolo
Copy link
Contributor

@sashapolo sashapolo commented Jan 5, 2025

https://issues.apache.org/jira/browse/IGNITE-24014

Thank you for submitting the pull request.

To streamline the review process of the patch and ensure better code quality
we ask both an author and a reviewer to verify the following:

The Review Checklist

  • Formal criteria: TC status, codestyle, mandatory documentation. Also make sure to complete the following:
    - There is a single JIRA ticket related to the pull request.
    - The web-link to the pull request is attached to the JIRA ticket.
    - The JIRA ticket has the Patch Available state.
    - The description of the JIRA ticket explains WHAT was made, WHY and HOW.
    - The pull request title is treated as the final commit message. The following pattern must be used: IGNITE-XXXX Change summary where XXXX - number of JIRA issue.
  • Design: new code conforms with the design principles of the components it is added to.
  • Patch quality: patch cannot be split into smaller pieces, its size must be reasonable.
  • Code quality: code is clean and readable, necessary developer documentation is added if needed.
  • Tests code quality: test set covers positive/negative scenarios, happy/edge cases. Tests are effective in terms of execution time and resources.

Notes

@sashapolo sashapolo force-pushed the ignite-24014 branch 2 times, most recently from 6b77d97 to 4a7dff1 Compare January 5, 2025 11:10
@sashapolo sashapolo force-pushed the ignite-24014 branch 2 times, most recently from 9a04615 to f50591b Compare January 10, 2025 10:12
@@ -153,12 +156,16 @@ private boolean process0(RoundEnvironment roundEnvironment) {
return false;
}

var injectedValueValidator = new InjectedValueValidator(processingEnv);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note to reviewer: I'm going to refactor this part in a next PR to extract validators for all annotations, not just this one.

}
}

private boolean isValidValueAnnotationFieldType(TypeMirror type) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note to reviewer: this copy-paste will be refactored in a next PR

* NodeAttributeConfigurationSchema: attribute -> value
* SystemPropertyConfigurationSchema: propertyValue -> value.
@sashapolo sashapolo changed the title IGNITE-24014 Rename some configuration properties IGNITE-24014 Introduce a way to have key-value entries in configuration Jan 10, 2025
Copy link
Contributor

@ibessonov ibessonov left a comment

Choose a reason for hiding this comment

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

I like it

@sashapolo sashapolo merged commit 7eb75ec into apache:main Jan 10, 2025
1 check passed
@sashapolo sashapolo deleted the ignite-24014 branch January 10, 2025 15:24
sashapolo added a commit that referenced this pull request Jan 14, 2025
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.

2 participants