Skip to content

Commit

Permalink
Refactoring lifecycle flow in APIProduct versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
HiranyaKavishani committed Oct 5, 2023
1 parent d1c99e4 commit b8a2bba
Show file tree
Hide file tree
Showing 4 changed files with 422 additions and 146 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5470,14 +5470,14 @@ public Map<String, Object> searchPaginatedAPIProducts(String searchQuery, String
publisherAPIInfo.getApiProductName(), publisherAPIInfo.getVersion()));
mappedAPI.setUuid(publisherAPIInfo.getId());
mappedAPI.setState(publisherAPIInfo.getState());
mappedAPI.setContext(publisherAPIInfo.getContext());
mappedAPI.setApiSecurity(publisherAPIInfo.getApiSecurity());
mappedAPI.setThumbnailUrl(publisherAPIInfo.getThumbnail());
mappedAPI.setBusinessOwner(publisherAPIInfo.getBusinessOwner());
mappedAPI.setBusinessOwnerEmail(publisherAPIInfo.getBusinessOwnerEmail());
mappedAPI.setTechnicalOwner(publisherAPIInfo.getTechnicalOwner());
mappedAPI.setTechnicalOwnerEmail(publisherAPIInfo.getTechnicalOwnerEmail());
mappedAPI.setMonetizationEnabled(publisherAPIInfo.getMonetizationStatus());
mappedAPI.setContextTemplate(publisherAPIInfo.getContext());
populateDefaultVersion(mappedAPI);
populateAPIStatus(mappedAPI);
productList.add(mappedAPI);
Expand Down
Loading

0 comments on commit b8a2bba

Please sign in to comment.