aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhekeguang <hekeguang@chinamobile.com>2020-02-18 15:19:28 +0800
committerhekeguang <hekeguang@chinamobile.com>2020-02-18 15:20:58 +0800
commit53173bfe63d1db4afaf59b79c2bc52c3b4b39269 (patch)
treeb956c65e70b491e7f1cb39089566e98c32d34757
parenta7a715106ed188e9bb031b2d8b85c307f6357b54 (diff)
Add the bean definition related to CSMF
Issue-ID: USECASEUI-368 Change-Id: I495158ae8dfedc60bbbf3ab41b5e8ceed480d504 Signed-off-by: hekeguang <hekeguang@chinamobile.com>
-rw-r--r--server/src/main/java/org/onap/usecaseui/server/bean/csmf/CreateResponse.java25
-rw-r--r--server/src/main/java/org/onap/usecaseui/server/bean/csmf/CreateResult.java27
2 files changed, 52 insertions, 0 deletions
diff --git a/server/src/main/java/org/onap/usecaseui/server/bean/csmf/CreateResponse.java b/server/src/main/java/org/onap/usecaseui/server/bean/csmf/CreateResponse.java
new file mode 100644
index 00000000..061396ff
--- /dev/null
+++ b/server/src/main/java/org/onap/usecaseui/server/bean/csmf/CreateResponse.java
@@ -0,0 +1,25 @@
+/*
+ * Copyright (C) 2020 CMCC, Inc. and others. All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.onap.usecaseui.server.bean.csmf;
+
+import lombok.Getter;
+import lombok.Setter;
+
+@Setter
+@Getter
+public class CreateResponse {
+ private CreateResult service;
+}
diff --git a/server/src/main/java/org/onap/usecaseui/server/bean/csmf/CreateResult.java b/server/src/main/java/org/onap/usecaseui/server/bean/csmf/CreateResult.java
new file mode 100644
index 00000000..fc4f0f35
--- /dev/null
+++ b/server/src/main/java/org/onap/usecaseui/server/bean/csmf/CreateResult.java
@@ -0,0 +1,27 @@
+/*
+ * Copyright (C) 2020 CMCC, Inc. and others. All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.onap.usecaseui.server.bean.csmf;
+
+import lombok.Getter;
+import lombok.Setter;
+
+@Setter
+@Getter
+public class CreateResult {
+ private String serviceId;
+
+ private String operationId;
+}