Closed youngzil closed 1 month ago
The changes in this pull request involve modifications to the NamespaceOpenApiService
interface, the ApolloOpenApiClient
class, and the NamespaceOpenApiService
class. Specifically, the getNamespace
and getNamespaces
methods have been updated to include a new boolean parameter, fillItemDetail
, which allows clients to specify whether to retrieve detailed item information. Additionally, deprecated versions of these methods have been introduced, guiding users to the new method signatures.
File | Change Summary |
---|---|
.../NamespaceOpenApiService.java |
Updated method signatures for getNamespace and getNamespaces to include boolean fillItemDetail . |
.../ApolloOpenApiClient.java |
Deprecated methods for getNamespace and getNamespaces ; added overloaded methods with fillItemDetail . |
.../NamespaceOpenApiService.java |
Updated public method signatures for getNamespace and getNamespaces to include boolean fillItemDetail . |
.../NamespaceOpenApiServiceTest.java |
Updated test methods to reflect new signatures with boolean fillItemDetail . |
CHANGES.md |
Added feature entry for "openapi query namespace support not fill item" and minor formatting fix. |
Objective | Addressed | Explanation |
---|---|---|
Add parameter to control item detail retrieval for getNamespaces (5243) |
✅ | |
Add parameter to control item detail retrieval for getNamespace (5243) |
✅ |
ApolloAutoConfiguration
class, which may indirectly relate to the changes in the NamespaceOpenApiService
and ApolloOpenApiClient
classes, as they are part of the same project ecosystem, but it does not directly alter the methods or functionality of the NamespaceOpenApiService
interface or its implementations.🐇 In the meadow, I hop and play,
New methods here, hip-hip-hooray!
With a boolean flag, oh what a treat,
Fetching details, oh so neat!
For namespaces, we now can choose,
To fill with items, or just peruse! 🌼
What's the purpose of this PR
XXXXX
Which issue(s) this PR fixes:
Fixes apolloconfig/apollo/issues/5243
Brief changelog
XXXXX
Follow this checklist to help us incorporate your contribution quickly and easily:
mvn clean test
to make sure this pull request doesn't break anything.CHANGES
log.Summary by CodeRabbit
New Features
Bug Fixes
Tests