aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/MSOCommonBPMN/src/main/java
diff options
context:
space:
mode:
authorElena Kuleshov <ek1439@att.com>2018-05-31 16:12:56 -0400
committerElena Kuleshov <ek1439@att.com>2018-06-13 15:05:50 -0400
commita5ba8803b56e3b0ad80638b2233b887b2eee93cd (patch)
tree33f7707c7ecc603c7fefbf15054479899c71dc20 /bpmn/MSOCommonBPMN/src/main/java
parent530f5bb48433fb8426cbf790f00f4fde3286a91e (diff)
Set controllerType to uppercase for LCM
Change-Id: If229caa7abfad85f10e5ee7b8f5f6eccfb6600ac Issue-ID: SO-602 Signed-off-by: Elena Kuleshov <ek1439@att.com>
Diffstat (limited to 'bpmn/MSOCommonBPMN/src/main/java')
-rw-r--r--bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/client/appc/ApplicationControllerClient.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/client/appc/ApplicationControllerClient.java b/bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/client/appc/ApplicationControllerClient.java
index 5182a75a79..c9e2e880e7 100644
--- a/bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/client/appc/ApplicationControllerClient.java
+++ b/bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/client/appc/ApplicationControllerClient.java
@@ -51,7 +51,7 @@ import com.att.eelf.configuration.EELFManager;
public class ApplicationControllerClient {
- public static final String DEFAULT_CONTROLLER_TYPE = "appc";
+ public static final String DEFAULT_CONTROLLER_TYPE = "SDNC";
private static final String CLIENT_NAME = "MSO";
@@ -89,7 +89,7 @@ public class ApplicationControllerClient {
if (controllerType == null) {
controllerType = DEFAULT_CONTROLLER_TYPE;
}
- this.controllerType = controllerType;
+ this.controllerType = controllerType.toUpperCase();
appCSupport = new ApplicationControllerSupport();
}
@@ -115,6 +115,7 @@ public class ApplicationControllerClient {
if (controllerType == null) {
controllerType = DEFAULT_CONTROLLER_TYPE;
}
+ controllerType = controllerType.toUpperCase();
return AppcClientServiceFactoryProvider.getFactory(AppcLifeCycleManagerServiceFactory.class)
.createLifeCycleManagerStateful(new ApplicationContext(), getLCMProperties(controllerType));
} catch (AppcClientException e) {