apollo-java
apollo-java copied to clipboard
add multiple appId,pull other appId config into config.
What's the purpose of this PR
add multiple appId pull into config see https://github.com/apolloconfig/apollo-java/issues/66
Which issue(s) this PR fixes:
Fixes #
Follow this checklist to help us incorporate your contribution quickly and easily:
- [ ] add multiple appId pull into config.see https://github.com/apolloconfig/apollo-java/issues/66
Summary by CodeRabbit
-
New Features
- Introduced
appId
parameter across various configuration classes, allowing configuration queries and changes to be associated with a specific application ID. - Added new method
getAccessKeySecret(String appId)
to manage access keys based on application IDs. - Introduced a new annotation
MultipleConfig
for managing multiple application IDs.
- Introduced
-
Changes in APIs
- Updated method signatures in multiple configuration classes and services to include
appId
. - Added new methods for retrieving
appId
in relevant classes.
- Updated method signatures in multiple configuration classes and services to include
-
Refactor
- Refactored internal data structures and methods to support the inclusion of
appId
.
- Refactored internal data structures and methods to support the inclusion of
These changes enhance the ability to manage and query configurations on a per-application basis, improving flexibility and granularity in configuration management.