From 627fee90227e75b76dc0ea18dc862c2b326b688e Mon Sep 17 00:00:00 2001 From: gayanch Date: Mon, 9 Jul 2018 17:47:42 +0530 Subject: [PATCH 1/2] MobileConnect class changes for Service provision API --- .../core/config/model/MobileConnectConfig.java | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/components/config-util/src/main/java/com/wso2telco/core/config/model/MobileConnectConfig.java b/components/config-util/src/main/java/com/wso2telco/core/config/model/MobileConnectConfig.java index abc14d28..9ccd71d0 100644 --- a/components/config-util/src/main/java/com/wso2telco/core/config/model/MobileConnectConfig.java +++ b/components/config-util/src/main/java/com/wso2telco/core/config/model/MobileConnectConfig.java @@ -2987,7 +2987,7 @@ public void setTokenEndpoint(String tokenEndpoint) { } } - public static class SpProvisionConfig{ + public static class SpProvisionConfig { private String defaultUserPassword; private String apiManagerUrl; private String migUserName; @@ -2999,6 +2999,7 @@ public static class SpProvisionConfig{ private ApiConfigs apiConfigs; private String oauthVersion; private String grantTypes; + private String migUrl; @XmlElement(name="DefaultUserPassword") public String getDefaultUserPassword() { @@ -3098,6 +3099,15 @@ public String getGrantTypes() { public void setGrantTypes(String grantTypes) { this.grantTypes = grantTypes; } + + @XmlElement(name = "MIGUrl") + public String getMigUrl() { + return migUrl; + } + + public void setMigUrl(String migUrl) { + this.migUrl = migUrl; + } } public static class ApiConfigs{ From f71514ff881bed2e7cff268e1b424c0c8423a46b Mon Sep 17 00:00:00 2001 From: gayanch Date: Tue, 10 Jul 2018 14:27:59 +0530 Subject: [PATCH 2/2] Retrieve MIG URL from carbon --- .../core/config/model/MobileConnectConfig.java | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/components/config-util/src/main/java/com/wso2telco/core/config/model/MobileConnectConfig.java b/components/config-util/src/main/java/com/wso2telco/core/config/model/MobileConnectConfig.java index 9ccd71d0..1f7758f2 100644 --- a/components/config-util/src/main/java/com/wso2telco/core/config/model/MobileConnectConfig.java +++ b/components/config-util/src/main/java/com/wso2telco/core/config/model/MobileConnectConfig.java @@ -2999,7 +2999,6 @@ public static class SpProvisionConfig { private ApiConfigs apiConfigs; private String oauthVersion; private String grantTypes; - private String migUrl; @XmlElement(name="DefaultUserPassword") public String getDefaultUserPassword() { @@ -3099,15 +3098,6 @@ public String getGrantTypes() { public void setGrantTypes(String grantTypes) { this.grantTypes = grantTypes; } - - @XmlElement(name = "MIGUrl") - public String getMigUrl() { - return migUrl; - } - - public void setMigUrl(String migUrl) { - this.migUrl = migUrl; - } } public static class ApiConfigs{