summaryrefslogtreecommitdiffstats
path: root/common-be/src/main/java/org/openecomp
diff options
context:
space:
mode:
authorpriyanshu <pagarwal@amdocs.com>2018-09-05 18:05:36 +0530
committerAvi Gaffa <avi.gaffa@amdocs.com>2018-09-13 13:00:27 +0000
commitb65c8eeb334a2c579a2dc0241f480d81e9309f9c (patch)
treeb3b3ed06b53703f771da51bec4b40e71b9e1bd1d /common-be/src/main/java/org/openecomp
parentf1e032cf4ae3505eb8acbce56ac978649d6f63d4 (diff)
Interface operation support for service - BE
1. Interface operation support for service 2. Refactored common code of operationspa 3. ONAP Bug fixes VF operations Change-Id: If1c4fd5f17626dbe568ee66ad997eb8ffb772e29 Issue-ID: SDC-1739 Signed-off-by: priyanshu <pagarwal@amdocs.com>
Diffstat (limited to 'common-be/src/main/java/org/openecomp')
-rw-r--r--common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/InterfaceOperationParamDataDefinition.java18
-rw-r--r--common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/OperationInputDefinition.java6
2 files changed, 12 insertions, 12 deletions
diff --git a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/InterfaceOperationParamDataDefinition.java b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/InterfaceOperationParamDataDefinition.java
index e2de5f0d64..b8372d6793 100644
--- a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/InterfaceOperationParamDataDefinition.java
+++ b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/InterfaceOperationParamDataDefinition.java
@@ -41,18 +41,18 @@ public class InterfaceOperationParamDataDefinition extends ToscaDataDefinition i
setType(iopdd.getType());
}
- public InterfaceOperationParamDataDefinition(String paramName, String paramId, boolean mandatory, String type) {
+ public InterfaceOperationParamDataDefinition(String name, String property, boolean mandatory, String type) {
super();
- setName(paramName);
- setProperty(paramId);
+ setName(name);
+ setProperty(property);
setMandatory(mandatory);
setType(type);
}
//used for OperationOutputDefinition
- public InterfaceOperationParamDataDefinition(String paramName, boolean mandatory, String type) {
+ public InterfaceOperationParamDataDefinition(String name, boolean mandatory, String type) {
super();
- setName(paramName);
+ setName(name);
setMandatory(mandatory);
setType(type);
}
@@ -60,15 +60,15 @@ public class InterfaceOperationParamDataDefinition extends ToscaDataDefinition i
public String getName() {
return (String) getToscaPresentationValue(IO_NAME);
}
- public void setName(String paramName) {
- setToscaPresentationValue(IO_NAME, paramName);
+ public void setName(String name) {
+ setToscaPresentationValue(IO_NAME, name);
}
public String getProperty() {
return (String) getToscaPresentationValue(IO_PROPERTY);
}
- public void setProperty(String paramId) {
- setToscaPresentationValue(IO_PROPERTY, paramId);
+ public void setProperty(String property) {
+ setToscaPresentationValue(IO_PROPERTY, property);
}
public Boolean getMandatory() {
diff --git a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/OperationInputDefinition.java b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/OperationInputDefinition.java
index 4c941574ae..35b760a677 100644
--- a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/OperationInputDefinition.java
+++ b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/OperationInputDefinition.java
@@ -33,10 +33,10 @@ public class OperationInputDefinition extends InputDataDefinition {
setName(name);
}
- public OperationInputDefinition(String paramName, String paramId, Boolean mandatory, String type) {
+ public OperationInputDefinition(String name, String property, Boolean mandatory, String type) {
super();
- setName(paramName);
- setInputId(paramId);
+ setName(name);
+ setInputId(property);
setRequired(mandatory);
setType(type);
}