aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/constant/CommonConstant.java47
-rw-r--r--adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/model/NsOperationKey.java67
2 files changed, 60 insertions, 54 deletions
diff --git a/adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/constant/CommonConstant.java b/adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/constant/CommonConstant.java
index 27a8423af6..471ba43b2b 100644
--- a/adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/constant/CommonConstant.java
+++ b/adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/constant/CommonConstant.java
@@ -42,53 +42,6 @@ public class CommonConstant {
public static final String NFVO_QUERY_URL = "/api/nslcm/v1/jobs/%s";
-
- public static final String LEFT_QUOTE_LEFT_BRACE = "\"\\{";
-
- public static final String LEFT_BRACE = "\\{";
-
- public static final String RIGHT_BRACE_RIGHT_QUOTE = "\\}\"";
-
- public static final String RIGHT_BRACE = "\\}";
-
- public static final String LEFT_QUOTE_LEFT_BRACKET = "\"\\[";
-
- public static final String LEFT_BRACKET = "\\[";
-
- public static final String RIGHT_BRACKET_RIGHT_QUOTE = "\\]\"";
-
- public static final String RIGHT_BRACKET = "\\]";
-
- /**
- * HttpContext constant
- * <br>
- * <p>
- * </p>
- *
- * @author
- * @version ONAP Amsterdam Release 2017-08-28
- */
- public static class HttpContext {
-
- public static final String CONTENT_TYPE = "Content-Type";
-
- public static final String MEDIA_TYPE_JSON = "application/json;charset=UTF-8";
-
- public static final String URL = "url";
-
- public static final String METHOD_TYPE = "methodType";
-
- public static final String IP = "ip";
-
- public static final String PORT = "port";
-
- public static final String RAW_DATA = "rawData";
-
- private HttpContext() {
-
- }
- }
-
/**
*
* <br>
diff --git a/adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/model/NsOperationKey.java b/adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/model/NsOperationKey.java
index 2c61d805ef..884c3d2468 100644
--- a/adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/model/NsOperationKey.java
+++ b/adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/model/NsOperationKey.java
@@ -19,41 +19,94 @@
*/
package org.openecomp.mso.adapters.vfc.model;
-
+/**
+ * The operation key object for NS
+ * <br>
+ * <p>
+ * </p>
+ *
+ * @author
+ * @version ONAP Amsterdam Release 2017-09-15
+ */
public class NsOperationKey {
+ /**
+ * The service ID
+ */
private String serviceId;
+ /**
+ * The Operation ID
+ */
private String operationId;
+ /**
+ * the NS template uuid
+ */
private String nodeTemplateId;
-
+ /**
+ *
+ * <br>
+ *
+ * @return
+ * @since ONAP Amsterdam Release
+ */
public String getServiceId() {
return serviceId;
}
-
+ /**
+ *
+ * <br>
+ *
+ * @param serviceId
+ * @since ONAP Amsterdam Release
+ */
public void setServiceId(String serviceId) {
this.serviceId = serviceId;
}
-
+ /**
+ *
+ * <br>
+ *
+ * @return
+ * @since ONAP Amsterdam Release
+ */
public String getOperationId() {
return operationId;
}
-
+ /**
+ *
+ * <br>
+ *
+ * @param operationId
+ * @since ONAP Amsterdam Release
+ */
public void setOperationId(String operationId) {
this.operationId = operationId;
}
-
+ /**
+ *
+ * <br>
+ *
+ * @return
+ * @since ONAP Amsterdam Release
+ */
public String getNodeTemplateId() {
return nodeTemplateId;
}
-
+ /**
+ *
+ * <br>
+ *
+ * @param nodeTemplateId
+ * @since ONAP Amsterdam Release
+ */
public void setNodeTemplateId(String nodeTemplateId) {
this.nodeTemplateId = nodeTemplateId;
}