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
Chapter 5: MicroProfile Configuration #14
base: main
Are you sure you want to change the base?
Conversation
Understanding MicroProfile Configuration Different environments required for Microservices development Working with Various Configuration Sources Key capabilities of MicroProfile Configuration
Adding first 4 sections to chapter05.adoc
I am reviewing this PR and will provide feedback asap. |
Awaiting review feedback and approval. |
chapter05/chapter05.adoc
Outdated
- `Property` - It represents a key/value pair in the configuration data. | ||
- `Converter<T>` - This interface implements custom converters that convert | ||
configuration values from String to any desired type. | ||
- `PropertyExpression` - An interface supporting expression evaluation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is incorrect. There is no such an interface.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed with 69f8aa8
} | ||
---- | ||
|
||
In this example, we’re injecting a property named "product.maintenanceMessage" into the message field of our MaintenanceMessage class. If the property does not exist, a `org.eclipse.microprofile.config.ConfigPropertyNotFoundException` will be thrown. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The exception does not exist.
|
||
While the MicroProfile Config specification provides a powerful and flexible framework for configuration management, handling dynamic updates and configuration change events may require additional custom development or the use of external tools. By considering the strategies mentioned above, developers can effectively manage configuration changes, ensuring their microservices remain responsive and resilient in dynamic environments. | ||
|
||
While MicroProfile Config provides a flexible and powerful framework for managing application configurations, securing sensitive data within those configurations requires careful consideration and the implementation of additional security measures. By following best practices for configuration security, developers can help protect their applications from potential threats and vulnerabilities. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This paragraph is quite repetitive and repeat the beginning of the message in line 587.
Co-authored-by: Emily Jiang <emijiang6@googlemail.com>
Co-authored-by: Emily Jiang <emijiang6@googlemail.com>
Minor grammar fixes
@ttelang please comment here after you have addressed all of the comments |
Adding Chapter 5 about MicroProfile Configuration