Closed youngzil closed 2 weeks ago
The changes in this pull request involve modifications to several classes within the Apollo project, primarily focusing on enhancing the functionality of methods related to namespace management. Key updates include the addition of a boolean parameter, fillItemDetail
, to multiple method signatures, which allows for more control over the retrieval of detailed item information within namespaces. This affects the behavior of both the API endpoints and the internal service methods that interact with namespaces, as well as adjustments to corresponding test cases.
File | Change Summary |
---|---|
.../NamespaceController.java |
Modified findNamespaces and loadNamespace methods to include fillItemDetail parameter with default value. |
.../ConfigsExportController.java |
Updated exportItems method to include new boolean parameter in loadNamespaceBO method call. |
.../ConfigsExportService.java |
Modified exportNamespaces method to include new boolean parameter in findNamespaceBOs method call. |
.../NamespaceService.java |
Updated findNamespaceBOs , loadNamespaceBO , and transformNamespace2BO methods to include fillItemDetail parameter. |
.../ConfigsExportServiceTest.java |
Adjusted testNamespaceExportImport method to include new parameter in findNamespaceBOs method calls. |
.../NamespaceServiceTest.java |
Updated loadNamespaceBO method to include new boolean parameter. |
pom.xml |
Updated apollo-java version from 2.2.0 to 2.4.0-SNAPSHOT . |
Objective | Addressed | Explanation |
---|---|---|
Add parameter to control item detail retrieval in namespace API (5243) | ✅ |
apollo-java
property in pom.xml
, which is relevant to the overall project changes including the main PR.fillItemDetail
parameter.size:M
, lgtm
🐰 "In the code we hop and play,
New parameters lead the way.
With details filled or left behind,
Our namespaces are now refined.
A version bump, we cheer and sing,
In Apollo's realm, we bring the spring!" 🌼
@nobodyiam This feature requires upgrading the Java SDK version to 2.4.0-SNAPSHOT. Can you help deploy Java SDK 2.4.0-SNAPSHOT to the Maven repository?
@nobodyiam This feature requires upgrading the Java SDK version to 2.4.0-SNAPSHOT. Can you help deploy Java SDK 2.4.0-SNAPSHOT to the Maven repository?
It's uploaded now.
Attention: Patch coverage is 38.46154%
with 8 lines
in your changes missing coverage. Please review.
Project coverage is 51.21%. Comparing base (
f55b419
) to head (fce6ad1
). Report is 15 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
What's the purpose of this PR
openapi query namespace support not fill item
Which issue(s) this PR fixes:
Fixes #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
Summary by CodeRabbit