mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Fix the api publishing issue
This commit is contained in:
parent
5d1e4ed99e
commit
9dcc9d9ddc
@ -129,6 +129,7 @@ public class APIManagementProviderServiceImpl implements APIManagementProviderSe
|
|||||||
for (APIInfo apiInfo : apiList.getList()) {
|
for (APIInfo apiInfo : apiList.getList()) {
|
||||||
String id = apiInfo.getProvider().replace("@", "-AT-")
|
String id = apiInfo.getProvider().replace("@", "-AT-")
|
||||||
+ "-" + apiInfo.getName() + "-" + apiInfo.getVersion();
|
+ "-" + apiInfo.getName() + "-" + apiInfo.getVersion();
|
||||||
|
id = id.replace(" ", "+");
|
||||||
boolean subscriptionExist = false;
|
boolean subscriptionExist = false;
|
||||||
if (subscriptionList.getList() != null && subscriptionList.getList().size() > 0) {
|
if (subscriptionList.getList() != null && subscriptionList.getList().size() > 0) {
|
||||||
for (Subscription subs : subscriptionList.getList()) {
|
for (Subscription subs : subscriptionList.getList()) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user