diff options
author | YuanHu <yuan.hu1@zte.com.cn> | 2018-03-27 21:18:46 +0800 |
---|---|---|
committer | YuanHu <yuan.hu1@zte.com.cn> | 2018-03-27 21:18:46 +0800 |
commit | 0e813dd358952d25d49de4833d09964dba5e42a0 (patch) | |
tree | dc7b6c029a133988af98ab8a866af27762eb4c44 /sdc-workflow-designer-server/src/main | |
parent | 85d1d33bbd8f32cbf581131180d62d61a2d4b0ee (diff) |
Add Unit Test
Add Unit Test
Issue-ID: SDC-1078
Change-Id: Ie61cfdc3865420da259260c98bc02dca8263c412
Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
Diffstat (limited to 'sdc-workflow-designer-server/src/main')
3 files changed, 4 insertions, 6 deletions
diff --git a/sdc-workflow-designer-server/src/main/java/org/onap/sdc/workflowdesigner/SDCServiceProxyInfo.java b/sdc-workflow-designer-server/src/main/java/org/onap/sdc/workflowdesigner/SDCServiceProxyInfo.java index e8507101..caa88576 100644 --- a/sdc-workflow-designer-server/src/main/java/org/onap/sdc/workflowdesigner/SDCServiceProxyInfo.java +++ b/sdc-workflow-designer-server/src/main/java/org/onap/sdc/workflowdesigner/SDCServiceProxyInfo.java @@ -11,8 +11,6 @@ */
package org.onap.sdc.workflowdesigner;
-import javax.validation.constraints.NotNull;
-
import org.hibernate.validator.constraints.NotEmpty;
import com.fasterxml.jackson.annotation.JsonProperty;
diff --git a/sdc-workflow-designer-server/src/main/java/org/onap/sdc/workflowdesigner/externalservice/sdc/entity/Parameter.java b/sdc-workflow-designer-server/src/main/java/org/onap/sdc/workflowdesigner/externalservice/sdc/entity/Parameter.java index cce803b8..8a1aaf14 100644 --- a/sdc-workflow-designer-server/src/main/java/org/onap/sdc/workflowdesigner/externalservice/sdc/entity/Parameter.java +++ b/sdc-workflow-designer-server/src/main/java/org/onap/sdc/workflowdesigner/externalservice/sdc/entity/Parameter.java @@ -57,14 +57,14 @@ public class Parameter { /**
* @return the defaultValue
*/
- public String getDefaultValue() {
+ public String getDefault() {
return defaultValue;
}
/**
* @param defaultValue the defaultValue to set
*/
- public void setDefaultValue(String defaultValue) {
+ public void setDefault(String defaultValue) {
this.defaultValue = defaultValue;
}
diff --git a/sdc-workflow-designer-server/src/main/java/org/onap/sdc/workflowdesigner/resources/entity/InputOutput.java b/sdc-workflow-designer-server/src/main/java/org/onap/sdc/workflowdesigner/resources/entity/InputOutput.java index 04736225..60ab4c78 100644 --- a/sdc-workflow-designer-server/src/main/java/org/onap/sdc/workflowdesigner/resources/entity/InputOutput.java +++ b/sdc-workflow-designer-server/src/main/java/org/onap/sdc/workflowdesigner/resources/entity/InputOutput.java @@ -50,14 +50,14 @@ public class InputOutput { /**
* @return the defaultValue
*/
- public String getDefaultValue() {
+ public String getDefault() {
return defaultValue;
}
/**
* @param defaultValue the defaultValue to set
*/
- public void setDefaultValue(String defaultValue) {
+ public void setDefault(String defaultValue) {
this.defaultValue = defaultValue;
}
|