apollo-java icon indicating copy to clipboard operation
apollo-java copied to clipboard

add multiple appId,pull other appId config into config.

Open TerryLam2010 opened this issue 7 months ago • 10 comments

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.
  • Changes in APIs

    • Updated method signatures in multiple configuration classes and services to include appId.
    • Added new methods for retrieving appId in relevant classes.
  • Refactor

    • Refactored internal data structures and methods to support the inclusion of appId.

These changes enhance the ability to manage and query configurations on a per-application basis, improving flexibility and granularity in configuration management.

TerryLam2010 avatar Jul 10 '24 07:07 TerryLam2010