Skip to content
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

feature(openapi): Add a new API to load items with pagination #4468

Merged
merged 7 commits into from
Jul 24, 2022
Merged

feature(openapi): Add a new API to load items with pagination #4468

merged 7 commits into from
Jul 24, 2022

Conversation

mghio
Copy link
Contributor

@mghio mghio commented Jul 16, 2022

What's the purpose of this PR

Add a new API to load items with pagination.

Which issue(s) this PR fixes:

Fixes #4320

Follow this checklist to help us incorporate your contribution quickly and easily:

  • Read the Contributing Guide before making this pull request.
  • Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • Write necessary unit tests to verify the code.
  • Run mvn clean test to make sure this pull request doesn't break anything.

@codecov-commenter
Copy link

codecov-commenter commented Jul 16, 2022

Codecov Report

Merging #4468 (6e192b7) into master (0ca7eb0) will decrease coverage by 0.01%.
The diff coverage is 36.92%.

@@             Coverage Diff              @@
##             master    #4468      +/-   ##
============================================
- Coverage     53.58%   53.56%   -0.02%     
- Complexity     2692     2698       +6     
============================================
  Files           488      489       +1     
  Lines         15229    15281      +52     
  Branches       1587     1587              
============================================
+ Hits           8160     8186      +26     
- Misses         6513     6540      +27     
+ Partials        556      555       -1     
Impacted Files Coverage Δ
...apollo/adminservice/controller/ItemController.java 7.14% <0.00%> (-0.23%) ⬇️
...trip/framework/apollo/biz/service/ItemService.java 12.94% <0.00%> (ø)
...com/ctrip/framework/apollo/common/dto/PageDTO.java 0.00% <ø> (ø)
...ork/apollo/openapi/client/ApolloOpenApiClient.java 46.66% <0.00%> (-0.80%) ⬇️
...trip/framework/apollo/openapi/dto/OpenPageDTO.java 0.00% <0.00%> (ø)
...enapi/server/service/ServerItemOpenApiService.java 8.33% <0.00%> (-1.05%) ⬇️
...k/apollo/openapi/v1/controller/ItemController.java 15.15% <0.00%> (-0.48%) ⬇️
...p/framework/apollo/portal/service/ItemService.java 46.85% <0.00%> (-0.27%) ⬇️
...p/framework/apollo/portal/api/AdminServiceAPI.java 13.08% <40.00%> (+0.72%) ⬆️
...llo/openapi/client/service/ItemOpenApiService.java 75.59% <81.81%> (+1.30%) ⬆️
... and 4 more

Help us with your feedback. Take ten seconds to tell us how you rate us.

Copy link
Member

@nobodyiam nobodyiam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! Please also update the CHANGES.md and open api documentations( zh, en )

@mghio
Copy link
Contributor Author

mghio commented Jul 17, 2022

Great! Please also update the CHANGES.md and open api documentations( zh, en )

Done.

nobodyiam
nobodyiam previously approved these changes Jul 19, 2022
Copy link
Member

@nobodyiam nobodyiam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Anilople
Anilople previously approved these changes Jul 21, 2022
Copy link
Contributor

@Anilople Anilople left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nobodyiam
Copy link
Member

@mghio please help to resolve the conflict.

@mghio mghio dismissed stale reviews from Anilople and nobodyiam via 6e192b7 July 22, 2022 15:07
@mghio
Copy link
Contributor Author

mghio commented Jul 22, 2022

@mghio please help to resolve the conflict.

Done.

Copy link
Member

@nobodyiam nobodyiam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nobodyiam nobodyiam merged commit aaa3561 into apolloconfig:master Jul 24, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Jul 24, 2022
@nobodyiam nobodyiam added this to the 2.1.0 milestone Feb 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

openapi: items量大 可否提供分页接口呢
4 participants