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

Change api provider #12200

Merged
merged 28 commits into from
Feb 7, 2024
Merged

Change api provider #12200

merged 28 commits into from
Feb 7, 2024

Conversation

shnrndk
Copy link
Contributor

@shnrndk shnrndk commented Dec 13, 2023

Copy link

codecov bot commented Dec 22, 2023

Codecov Report

Attention: 299 lines in your changes are missing coverage. Please review.

Comparison is base (b96aa47) 20.77% compared to head (9d96651) 41.66%.
Report is 136 commits behind head on master.

Files Patch % Lines
...on/apimgt/persistence/RegistryPersistenceImpl.java 8.10% 99 Missing and 3 partials ⚠️
.../apimgt/persistence/dto/AdminApiSearchContent.java 0.00% 39 Missing ⚠️
...java/org/wso2/carbon/apimgt/impl/APIAdminImpl.java 0.00% 37 Missing ⚠️
...mgt/rest/api/admin/v1/impl/ApisApiServiceImpl.java 5.88% 32 Missing ⚠️
...pi/admin/v1/utils/mappings/APIInfoMappingUtil.java 0.00% 28 Missing ⚠️
...imgt/persistence/dto/AdminContentSearchResult.java 0.00% 16 Missing ⚠️
...o2/carbon/apimgt/persistence/dto/AdminApiInfo.java 0.00% 13 Missing ⚠️
...ava/org/wso2/carbon/apimgt/impl/dao/ApiMgtDAO.java 0.00% 12 Missing ⚠️
...bon/apimgt/impl/importexport/utils/CommonUtil.java 0.00% 6 Missing ⚠️
...on/apimgt/api/model/ApplicationInfoKeyManager.java 0.00% 4 Missing ⚠️
... and 4 more
Additional details and impacted files
@@              Coverage Diff              @@
##             master   #12200       +/-   ##
=============================================
+ Coverage     20.77%   41.66%   +20.88%     
- Complexity        0     3203     +3203     
=============================================
  Files          1205     1824      +619     
  Lines        102811   134578    +31767     
  Branches      14407    19441     +5034     
=============================================
+ Hits          21363    56068    +34705     
+ Misses        78648    71771     -6877     
- Partials       2800     6739     +3939     
Flag Coverage Δ
integration_tests 34.89% <5.37%> (?)
unit_tests 20.64% <0.32%> (-0.14%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@shnrndk shnrndk requested a review from tharindu1st January 3, 2024 05:59
prasa7
prasa7 previously approved these changes Feb 2, 2024
@shnrndk shnrndk force-pushed the changeApiProvider3 branch from 7e28fba to 9d96651 Compare February 7, 2024 14:20
@@ -50,7 +50,10 @@ public class SearchApiServiceImpl implements SearchApiService {
public Response search(Integer limit, Integer offset, String query, String ifNoneMatch,
MessageContext messageContext) throws APIManagementException {
SearchResultListDTO resultListDTO = new SearchResultListDTO();

if (!query.equals(RestApiConstants.PIZZASHACK_SEARCH_QUERY) && (query.startsWith("name:") |
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's create a git issue to track a better fix for this as we discussed

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Created the git issue

@shnrndk shnrndk merged commit 7f3e1d8 into wso2:master Feb 7, 2024
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

API name cannot have a empty space
3 participants