Add the bean definition related to NSMF 96/101896/1
authorhekeguang <hekeguang@chinamobile.com>
Tue, 18 Feb 2020 11:11:41 +0000 (19:11 +0800)
committerhekeguang <hekeguang@chinamobile.com>
Tue, 18 Feb 2020 11:11:51 +0000 (19:11 +0800)
Issue-ID: USECASEUI-374
Change-Id: I4e71b3bc9469abca37404d1d1026cdeb2e84a26e
Signed-off-by: hekeguang <hekeguang@chinamobile.com>
38 files changed:
server/src/main/java/org/onap/usecaseui/server/bean/nsmf/monitor/ServiceInfo.java [new file with mode: 0644]
server/src/main/java/org/onap/usecaseui/server/bean/nsmf/monitor/ServiceList.java [new file with mode: 0644]
server/src/main/java/org/onap/usecaseui/server/bean/nsmf/monitor/ServiceOnlineUserInfo.java [new file with mode: 0644]
server/src/main/java/org/onap/usecaseui/server/bean/nsmf/monitor/ServiceOnlineUserList.java [new file with mode: 0644]
server/src/main/java/org/onap/usecaseui/server/bean/nsmf/monitor/ServiceTotalBandwidthInfo.java [new file with mode: 0644]
server/src/main/java/org/onap/usecaseui/server/bean/nsmf/monitor/ServiceTotalBandwidthList.java [new file with mode: 0644]
server/src/main/java/org/onap/usecaseui/server/bean/nsmf/monitor/SlicingKpiReqInfo.java [new file with mode: 0644]
server/src/main/java/org/onap/usecaseui/server/bean/nsmf/monitor/TotalBandwidthInfo.java [new file with mode: 0644]
server/src/main/java/org/onap/usecaseui/server/bean/nsmf/monitor/TrafficReqInfo.java [new file with mode: 0644]
server/src/main/java/org/onap/usecaseui/server/bean/nsmf/monitor/UsageTrafficInfo.java [new file with mode: 0644]
server/src/main/java/org/onap/usecaseui/server/bean/nsmf/monitor/UsageTrafficList.java [new file with mode: 0644]
server/src/main/java/org/onap/usecaseui/server/bean/nsmf/monitor/UserNumberInfo.java [new file with mode: 0644]
server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/AllottedResourceUsefulInfo.java [new file with mode: 0644]
server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/HostedBusinessInfo.java [new file with mode: 0644]
server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/HostedNsiInfo.java [new file with mode: 0644]
server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/HostedNsiList.java [new file with mode: 0644]
server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/IncludedNssiInfo.java [new file with mode: 0644]
server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/NsiDetailList.java [new file with mode: 0644]
server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/NsiInfo.java [new file with mode: 0644]
server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/NsiRelatedNssiInfo.java [new file with mode: 0644]
server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/NsiServiceInstanceInfo.java [new file with mode: 0644]
server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/NsiServiceInstanceList.java [new file with mode: 0644]
server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/NssiServiceInstanceInfo.java [new file with mode: 0644]
server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/NssiServiceInstanceList.java [new file with mode: 0644]
server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/ServiceOperationProgress.java [new file with mode: 0644]
server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/ServiceOperationResult.java [new file with mode: 0644]
server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/SlicingBusinessDetails.java [new file with mode: 0644]
server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/SlicingBusinessInfo.java [new file with mode: 0644]
server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/SlicingBusinessList.java [new file with mode: 0644]
server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/SubscriberInfo.java [new file with mode: 0644]
server/src/main/java/org/onap/usecaseui/server/bean/nsmf/task/BusinessDemandInfo.java [new file with mode: 0644]
server/src/main/java/org/onap/usecaseui/server/bean/nsmf/task/NsiAndSubNssiInfo.java [new file with mode: 0644]
server/src/main/java/org/onap/usecaseui/server/bean/nsmf/task/NstInfo.java [new file with mode: 0644]
server/src/main/java/org/onap/usecaseui/server/bean/nsmf/task/SlicingTaskAuditInfo.java [new file with mode: 0644]
server/src/main/java/org/onap/usecaseui/server/bean/nsmf/task/SlicingTaskCreationInfo.java [new file with mode: 0644]
server/src/main/java/org/onap/usecaseui/server/bean/nsmf/task/SlicingTaskCreationProgress.java [new file with mode: 0644]
server/src/main/java/org/onap/usecaseui/server/bean/nsmf/task/SlicingTaskInfo.java [new file with mode: 0644]
server/src/main/java/org/onap/usecaseui/server/bean/nsmf/task/SlicingTaskList.java [new file with mode: 0644]

diff --git a/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/monitor/ServiceInfo.java b/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/monitor/ServiceInfo.java
new file mode 100644 (file)
index 0000000..0a7e06c
--- /dev/null
@@ -0,0 +1,28 @@
+/*
+ * Copyright (C) 2019 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.nsmf.monitor;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import lombok.Getter;
+import lombok.Setter;
+
+@Getter
+@Setter
+public class ServiceInfo {
+
+    @JsonProperty("service_id")
+    private String serviceId;
+}
diff --git a/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/monitor/ServiceList.java b/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/monitor/ServiceList.java
new file mode 100644 (file)
index 0000000..19f787e
--- /dev/null
@@ -0,0 +1,28 @@
+/*
+ * Copyright (C) 2019 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.nsmf.monitor;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+import lombok.Getter;
+import lombok.Setter;
+
+@Getter
+@Setter
+public class ServiceList {
+    @JsonProperty("service_list")
+    private List<ServiceInfo> serviceInfoList;
+}
diff --git a/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/monitor/ServiceOnlineUserInfo.java b/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/monitor/ServiceOnlineUserInfo.java
new file mode 100644 (file)
index 0000000..442d7b2
--- /dev/null
@@ -0,0 +1,32 @@
+/*
+ * Copyright (C) 2019 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.nsmf.monitor;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+import lombok.Getter;
+import lombok.Setter;
+
+@Getter
+@Setter
+public class ServiceOnlineUserInfo {
+
+    @JsonProperty("service_id")
+    private String id;
+
+    @JsonProperty("online_user_list")
+    private List<UserNumberInfo> userNumberInfoList;
+}
diff --git a/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/monitor/ServiceOnlineUserList.java b/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/monitor/ServiceOnlineUserList.java
new file mode 100644 (file)
index 0000000..7c0e530
--- /dev/null
@@ -0,0 +1,29 @@
+/*
+ * Copyright (C) 2019 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.nsmf.monitor;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+import lombok.Getter;
+import lombok.Setter;
+
+@Getter
+@Setter
+public class ServiceOnlineUserList {
+
+    @JsonProperty("slicing_online_user_list")
+    private List<ServiceOnlineUserInfo> serviceOnlineUserInfoList;
+}
diff --git a/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/monitor/ServiceTotalBandwidthInfo.java b/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/monitor/ServiceTotalBandwidthInfo.java
new file mode 100644 (file)
index 0000000..eac6e36
--- /dev/null
@@ -0,0 +1,32 @@
+/*
+ * Copyright (C) 2019 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.nsmf.monitor;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+import lombok.Getter;
+import lombok.Setter;
+
+@Getter
+@Setter
+public class ServiceTotalBandwidthInfo {
+
+    @JsonProperty("service_id")
+    private String id;
+
+    @JsonProperty("total_bandwidth_list")
+    private List<TotalBandwidthInfo> totalBandwidthInfoList;
+}
diff --git a/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/monitor/ServiceTotalBandwidthList.java b/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/monitor/ServiceTotalBandwidthList.java
new file mode 100644 (file)
index 0000000..3ffc5eb
--- /dev/null
@@ -0,0 +1,29 @@
+/*
+ * Copyright (C) 2019 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.nsmf.monitor;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+import lombok.Getter;
+import lombok.Setter;
+
+@Getter
+@Setter
+public class ServiceTotalBandwidthList {
+
+    @JsonProperty("slicing_total_bandwidth_list")
+    private List<ServiceTotalBandwidthInfo> serviceTotalBandwidthInfoList;
+}
diff --git a/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/monitor/SlicingKpiReqInfo.java b/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/monitor/SlicingKpiReqInfo.java
new file mode 100644 (file)
index 0000000..64f6993
--- /dev/null
@@ -0,0 +1,29 @@
+/*
+ * Copyright (C) 2019 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.nsmf.monitor;
+
+import lombok.Getter;
+import lombok.Setter;
+
+@Getter
+@Setter
+public class SlicingKpiReqInfo {
+    String id;
+
+    String timeStamp;
+
+    int hours;
+}
diff --git a/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/monitor/TotalBandwidthInfo.java b/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/monitor/TotalBandwidthInfo.java
new file mode 100644 (file)
index 0000000..46b38af
--- /dev/null
@@ -0,0 +1,31 @@
+/*
+ * Copyright (C) 2019 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.nsmf.monitor;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import lombok.Getter;
+import lombok.Setter;
+
+@Getter
+@Setter
+public class TotalBandwidthInfo {
+
+    @JsonProperty("timestamp")
+    private String timestamp;
+
+    @JsonProperty("total_bandwidth")
+    private String bandwidth;
+}
diff --git a/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/monitor/TrafficReqInfo.java b/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/monitor/TrafficReqInfo.java
new file mode 100644 (file)
index 0000000..6225597
--- /dev/null
@@ -0,0 +1,27 @@
+/*
+ * Copyright (C) 2019 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.nsmf.monitor;
+
+import lombok.Getter;
+import lombok.Setter;
+
+@Getter
+@Setter
+public class TrafficReqInfo {
+    String id;
+
+    String timeStamp;
+}
diff --git a/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/monitor/UsageTrafficInfo.java b/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/monitor/UsageTrafficInfo.java
new file mode 100644 (file)
index 0000000..8867bdb
--- /dev/null
@@ -0,0 +1,31 @@
+/*
+ * Copyright (C) 2019 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.nsmf.monitor;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import lombok.Getter;
+import lombok.Setter;
+
+@Getter
+@Setter
+public class UsageTrafficInfo {
+
+    @JsonProperty("service_id")
+    private String serviceId;
+
+    @JsonProperty("traffic_data")
+    private String trafficData;
+}
diff --git a/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/monitor/UsageTrafficList.java b/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/monitor/UsageTrafficList.java
new file mode 100644 (file)
index 0000000..a3bb19d
--- /dev/null
@@ -0,0 +1,28 @@
+/*
+ * Copyright (C) 2019 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.nsmf.monitor;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+import lombok.Getter;
+import lombok.Setter;
+
+@Getter
+@Setter
+public class UsageTrafficList {
+    @JsonProperty("slicing_usage_traffic_list")
+    private List<UsageTrafficInfo> usageTrafficInfoList;
+}
diff --git a/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/monitor/UserNumberInfo.java b/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/monitor/UserNumberInfo.java
new file mode 100644 (file)
index 0000000..c0c2e68
--- /dev/null
@@ -0,0 +1,31 @@
+/*
+ * Copyright (C) 2019 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.nsmf.monitor;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import lombok.Getter;
+import lombok.Setter;
+
+@Getter
+@Setter
+public class UserNumberInfo {
+
+    @JsonProperty("timestamp")
+    private String timeStamp;
+
+    @JsonProperty("online_users")
+    private String userNumber;
+}
diff --git a/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/AllottedResourceUsefulInfo.java b/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/AllottedResourceUsefulInfo.java
new file mode 100644 (file)
index 0000000..32b8d68
--- /dev/null
@@ -0,0 +1,31 @@
+/*
+ * Copyright (C) 2019 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.nsmf.resource;
+
+import lombok.Getter;
+import lombok.Setter;
+
+@Getter
+@Setter
+public class AllottedResourceUsefulInfo {
+
+    String nsiId;
+
+    String modelInvariantId;
+
+    String modelVersionId;
+
+}
diff --git a/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/HostedBusinessInfo.java b/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/HostedBusinessInfo.java
new file mode 100644 (file)
index 0000000..f2a90ea
--- /dev/null
@@ -0,0 +1,41 @@
+/*
+ * Copyright (C) 2019 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.nsmf.resource;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import lombok.Getter;
+import lombok.Setter;
+
+@Getter
+@Setter
+public class HostedBusinessInfo {
+
+    @JsonProperty("service_instance_id")
+    private String serviceInstanceId;
+
+    @JsonProperty("service_instance_name")
+    private String serviceInstanceName;
+
+    @JsonProperty("service_type")
+    private String serviceType;
+
+    @JsonProperty("service_snssai")
+    private String environmentContext;
+
+    @JsonProperty("orchestration_status")
+    private String orchestrationStatus;
+
+}
diff --git a/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/HostedNsiInfo.java b/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/HostedNsiInfo.java
new file mode 100644 (file)
index 0000000..0912961
--- /dev/null
@@ -0,0 +1,37 @@
+/*
+ * Copyright (C) 2019 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.nsmf.resource;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import lombok.Getter;
+import lombok.Setter;
+
+@Getter
+@Setter
+public class HostedNsiInfo {
+
+    @JsonProperty("service_instance_id")
+    private String serviceInstanceId;
+
+    @JsonProperty("service_instance_name")
+    private String serviceInstanceName;
+
+    @JsonProperty("service_type")
+    private String serviceType;
+
+    @JsonProperty("orchestration_status")
+    private String orchestrationStatus;
+}
diff --git a/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/HostedNsiList.java b/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/HostedNsiList.java
new file mode 100644 (file)
index 0000000..c59b585
--- /dev/null
@@ -0,0 +1,32 @@
+/*
+ * Copyright (C) 2019 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.nsmf.resource;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+import lombok.Getter;
+import lombok.Setter;
+
+@Getter
+@Setter
+public class HostedNsiList {
+
+    @JsonProperty("record_number")
+    private int recordNumber;
+
+    @JsonProperty("hosted_nsi_list")
+    private List<HostedNsiInfo> hostedNsiInfoList;
+}
diff --git a/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/IncludedNssiInfo.java b/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/IncludedNssiInfo.java
new file mode 100644 (file)
index 0000000..5a1c21e
--- /dev/null
@@ -0,0 +1,42 @@
+/*
+ * Copyright (C) 2019 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.nsmf.resource;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import lombok.Getter;
+import lombok.Setter;
+
+@Getter
+@Setter
+public class IncludedNssiInfo {
+    @JsonProperty("service_instance_order")
+    private String serviceInstanceOrder;
+
+    @JsonProperty("service_instance_id")
+    private String serviceInstanceId;
+
+    @JsonProperty("service_instance_name")
+    private String serviceInstanceName;
+
+    @JsonProperty("service_type")
+    private String serviceType;
+
+    @JsonProperty("environment_context")
+    private String environmentContext;
+
+    @JsonProperty("orchestration_status")
+    private String orchestrationStatus;
+}
diff --git a/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/NsiDetailList.java b/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/NsiDetailList.java
new file mode 100644 (file)
index 0000000..1b85b5e
--- /dev/null
@@ -0,0 +1,31 @@
+/*
+ * Copyright (C) 2019 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.nsmf.resource;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+import lombok.Getter;
+import lombok.Setter;
+
+@Getter
+@Setter
+public class NsiDetailList {
+    @JsonProperty("hosted_business_list")
+    private List<HostedBusinessInfo> hostedBusinessInfoList;
+
+    @JsonProperty("included_nssi_list")
+    private List<IncludedNssiInfo> includedNssiInfoList;
+}
diff --git a/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/NsiInfo.java b/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/NsiInfo.java
new file mode 100644 (file)
index 0000000..b33fe83
--- /dev/null
@@ -0,0 +1,37 @@
+/*
+ * Copyright (C) 2019 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.nsmf.resource;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import lombok.Getter;
+import lombok.Setter;
+
+@Getter
+@Setter
+public class NsiInfo {
+
+    @JsonProperty("nsi_id")
+    private String nsiId;
+
+    @JsonProperty("nsi_name")
+    private String nsiName;
+
+    @JsonProperty("nsi_type")
+    private String nsiType;
+
+    @JsonProperty("nsi_orchestration_status")
+    private String nsiOrchestrationStatus;
+}
diff --git a/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/NsiRelatedNssiInfo.java b/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/NsiRelatedNssiInfo.java
new file mode 100644 (file)
index 0000000..3d490df
--- /dev/null
@@ -0,0 +1,45 @@
+/*
+ * Copyright (C) 2019 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.nsmf.resource;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import lombok.Getter;
+import lombok.Setter;
+
+@Getter
+@Setter
+public class NsiRelatedNssiInfo {
+
+    @JsonProperty("an_suggest_nssi_id")
+    private String anSuggestNssiId;
+
+    @JsonProperty("an_suggest_nssi_name")
+    private String anSuggestNssiName;
+
+    @JsonProperty("tn_suggest_nssi_id")
+    private String tnSuggestNssiId;
+
+    @JsonProperty("tn_suggest_nssi_name")
+    private String tnSuggestNssiName;
+
+    @JsonProperty("cn_suggest_nssi_id")
+    private String cnSuggestNssiId;
+
+    @JsonProperty("cn_suggest_nssi_name")
+    private String cnSuggestNssiName;
+
+
+}
diff --git a/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/NsiServiceInstanceInfo.java b/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/NsiServiceInstanceInfo.java
new file mode 100644 (file)
index 0000000..6f965eb
--- /dev/null
@@ -0,0 +1,39 @@
+/*
+ * Copyright (C) 2019 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.nsmf.resource;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import lombok.Getter;
+import lombok.Setter;
+
+@Getter
+@Setter
+public class NsiServiceInstanceInfo {
+    @JsonProperty("service_instance_order")
+    private String serviceInstanceOrder;
+
+    @JsonProperty("service_instance_id")
+    private String serviceInstanceId;
+
+    @JsonProperty("service_instance_name")
+    private String serviceInstanceName;
+
+    @JsonProperty("service_type")
+    private String serviceType;
+
+    @JsonProperty("orchestration_status")
+    private String orchestrationStatus;
+}
diff --git a/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/NsiServiceInstanceList.java b/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/NsiServiceInstanceList.java
new file mode 100644 (file)
index 0000000..41ec86e
--- /dev/null
@@ -0,0 +1,31 @@
+/*
+ * Copyright (C) 2019 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.nsmf.resource;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+import lombok.Getter;
+import lombok.Setter;
+
+@Getter
+@Setter
+public class NsiServiceInstanceList {
+    @JsonProperty("record_number")
+    private int recordNumber;
+
+    @JsonProperty("nsi_service_instances")
+    private List<NsiServiceInstanceInfo> nsiServiceInstanceInfoList;
+}
diff --git a/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/NssiServiceInstanceInfo.java b/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/NssiServiceInstanceInfo.java
new file mode 100644 (file)
index 0000000..b0c3ced
--- /dev/null
@@ -0,0 +1,43 @@
+/*
+ * Copyright (C) 2019 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.nsmf.resource;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import lombok.Getter;
+import lombok.Setter;
+
+@Getter
+@Setter
+public class NssiServiceInstanceInfo {
+    @JsonProperty("service_instance_order")
+    private String serviceInstanceOrder;
+
+    @JsonProperty("service_instance_id")
+    private String serviceInstanceId;
+
+    @JsonProperty("service_instance_name")
+    private String serviceInstanceName;
+
+    @JsonProperty("service_type")
+    private String serviceType;
+
+    @JsonProperty("environment_context")
+    private String environmentContext;
+
+    @JsonProperty("orchestration_status")
+    private String orchestrationStatus;
+
+}
diff --git a/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/NssiServiceInstanceList.java b/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/NssiServiceInstanceList.java
new file mode 100644 (file)
index 0000000..8b658fa
--- /dev/null
@@ -0,0 +1,32 @@
+/*
+ * Copyright (C) 2019 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.nsmf.resource;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+import lombok.Getter;
+import lombok.Setter;
+
+@Getter
+@Setter
+public class NssiServiceInstanceList {
+
+    @JsonProperty("record_number")
+    private int recordNumber;
+
+    @JsonProperty("nssi_service_instances")
+    private List<NssiServiceInstanceInfo> nssiServiceInstanceInfoList;
+}
diff --git a/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/ServiceOperationProgress.java b/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/ServiceOperationProgress.java
new file mode 100644 (file)
index 0000000..3491988
--- /dev/null
@@ -0,0 +1,32 @@
+/*
+ * Copyright (C) 2019 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.nsmf.resource;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import lombok.Getter;
+import lombok.Setter;
+
+@Setter
+@Getter
+public class ServiceOperationProgress {
+
+    @JsonProperty("operation_type")
+    private String operationType;
+
+    @JsonProperty("operation_progress")
+    private String operationProgress;
+
+}
diff --git a/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/ServiceOperationResult.java b/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/ServiceOperationResult.java
new file mode 100644 (file)
index 0000000..69ffdaa
--- /dev/null
@@ -0,0 +1,28 @@
+/*
+ * Copyright (C) 2019 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.nsmf.resource;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import lombok.Getter;
+import lombok.Setter;
+
+@Setter
+@Getter
+public class ServiceOperationResult {
+
+    @JsonProperty("operation_id")
+    private String operationId;
+}
diff --git a/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/SlicingBusinessDetails.java b/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/SlicingBusinessDetails.java
new file mode 100644 (file)
index 0000000..15be20f
--- /dev/null
@@ -0,0 +1,35 @@
+/*
+ * Copyright (C) 2019 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.nsmf.resource;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import lombok.Getter;
+import lombok.Setter;
+import org.onap.usecaseui.server.bean.nsmf.task.BusinessDemandInfo;
+import org.onap.usecaseui.server.bean.nsmf.task.NstInfo;
+
+@Getter
+@Setter
+public class SlicingBusinessDetails {
+    @JsonProperty("business_demand_info")
+    private BusinessDemandInfo businessDemandInfo;
+
+    @JsonProperty("nst_info")
+    private NstInfo nstInfo;
+
+    @JsonProperty("nsi_info")
+    private NsiInfo nsiInfo;
+}
diff --git a/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/SlicingBusinessInfo.java b/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/SlicingBusinessInfo.java
new file mode 100644 (file)
index 0000000..1a1f578
--- /dev/null
@@ -0,0 +1,47 @@
+/*
+ * Copyright (C) 2019 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.nsmf.resource;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import lombok.Getter;
+import lombok.Setter;
+
+@Getter
+@Setter
+public class SlicingBusinessInfo {
+
+    @JsonProperty("service_instance_id")
+    private String serviceInstanceId;
+
+    @JsonProperty("service_instance_name")
+    private String serviceInstanceName;
+
+    @JsonProperty("service_type")
+    private String serviceType;
+
+    @JsonProperty("service_snssai")
+    private String environmentContext;
+
+    @JsonProperty("orchestration_status")
+    private String orchestrationStatus;
+
+    @JsonProperty("last_operation_type")
+    private String lastOperationType;
+
+    @JsonProperty("last_operation_progress")
+    private String lastOperationProgress;
+
+}
diff --git a/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/SlicingBusinessList.java b/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/SlicingBusinessList.java
new file mode 100644 (file)
index 0000000..97456ea
--- /dev/null
@@ -0,0 +1,32 @@
+/*
+ * Copyright (C) 2019 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.nsmf.resource;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+import lombok.Getter;
+import lombok.Setter;
+
+@Getter
+@Setter
+public class SlicingBusinessList {
+
+    @JsonProperty("record_number")
+    private int recordNumber;
+
+    @JsonProperty("slicing_business_list")
+    private List<SlicingBusinessInfo> slicingBusinessInfoList;
+}
diff --git a/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/SubscriberInfo.java b/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/resource/SubscriberInfo.java
new file mode 100644 (file)
index 0000000..49cfc45
--- /dev/null
@@ -0,0 +1,28 @@
+/*
+ * Copyright (C) 2019 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.nsmf.resource;
+
+import lombok.Getter;
+import lombok.Setter;
+
+@Getter
+@Setter
+public class SubscriberInfo {
+
+    String globalSubscriberId;
+
+    String serviceType;
+}
diff --git a/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/task/BusinessDemandInfo.java b/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/task/BusinessDemandInfo.java
new file mode 100644 (file)
index 0000000..9aa59f2
--- /dev/null
@@ -0,0 +1,65 @@
+/*
+ * Copyright (C) 2019 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.nsmf.task;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+import lombok.Getter;
+import lombok.Setter;
+
+@Getter
+@Setter
+public class BusinessDemandInfo {
+
+    @JsonProperty("service_name")
+    String serviceName;
+
+    @JsonProperty("service_snssai")
+    String serviceSnssai;
+
+    @JsonProperty("exp_data_rate_dl")
+    String expDataRateDL;
+
+    @JsonProperty("exp_data_rate_ul")
+    String expDataRateUL;
+
+    @JsonProperty("ue_mobility_level")
+    String ueMobilityLevel;
+
+    @JsonProperty("latency")
+    String latency;
+
+    @JsonProperty("use_interval")
+    String useInterval;
+
+    @JsonProperty("coverage_area_ta_list")
+    List<String> coverageAreaTaList;
+
+    @JsonProperty("activity_factor")
+    String activityFactor;
+
+    @JsonProperty("resource_sharing_level")
+    String resourceSharingLevel;
+
+    @JsonProperty("area_traffic_cap_ul")
+    String areaTrafficCapUL;
+
+    @JsonProperty("area_traffic_cap_dl")
+    String areaTrafficCapDL;
+
+    @JsonProperty("max_number_of_ues")
+    String maxNumberOfUEs;
+}
diff --git a/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/task/NsiAndSubNssiInfo.java b/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/task/NsiAndSubNssiInfo.java
new file mode 100644 (file)
index 0000000..5de7709
--- /dev/null
@@ -0,0 +1,104 @@
+/*
+ * Copyright (C) 2019 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.nsmf.task;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+import lombok.Getter;
+import lombok.Setter;
+
+@Getter
+@Setter
+public class NsiAndSubNssiInfo {
+
+    @JsonProperty("suggest_nsi_id")
+    String suggestNsiId;
+
+    @JsonProperty("suggest_nsi_name")
+    String suggestNsiName;
+
+    @JsonProperty("an_suggest_nssi_id")
+    String anSuggestNssiId;
+
+    @JsonProperty("an_suggest_nssi_name")
+    String anSuggestNssiName;
+
+    @JsonProperty("an_latency")
+    String anLatency;
+
+    @JsonProperty("an_5qi")
+    String an5qi;
+
+    @JsonProperty("an_coverage_area_ta_list")
+    List<String> anCoverageAreaTaList;
+
+    @JsonProperty("an_script_name")
+    String anScriptName;
+
+    @JsonProperty("tn_suggest_nssi_id")
+    String tnSuggestNssiId;
+
+    @JsonProperty("tn_suggest_nssi_name")
+    String tnSuggestNssiName;
+
+    @JsonProperty("tn_latency")
+    String tnLatency;
+
+    @JsonProperty("tn_bandwidth")
+    String tnBandwidth;
+
+    @JsonProperty("tn_script_name")
+    String tnScriptName;
+
+    @JsonProperty("cn_suggest_nssi_id")
+    String cnSuggestNssiId;
+
+    @JsonProperty("cn_suggest_nssi_name")
+    String cnSuggestNssiName;
+
+    @JsonProperty("cn_service_snssai")
+    String cnServiceSnssai;
+
+    @JsonProperty("cn_resource_sharing_level")
+    String cnResourceSharingLevel;
+
+    @JsonProperty("cn_ue_mobility_level")
+    String cnUeMobilityLevel;
+
+    @JsonProperty("cn_latency")
+    String cnLatency;
+
+    @JsonProperty("cn_max_number_of_ues")
+    String cnMaxNumberOfUes;
+
+    @JsonProperty("cn_activity_factor")
+    String cnActivityFactor;
+
+    @JsonProperty("cn_exp_data_rate_dl")
+    String cnExpDataRateDl;
+
+    @JsonProperty("cn_exp_data_rate_ul")
+    String cnExpDataRateUl;
+
+    @JsonProperty("cn_area_traffic_cap_dl")
+    String cnAreaTrafficCapDl;
+
+    @JsonProperty("cn_area_traffic_cap_ul")
+    String cnAreaTrafficCapUl;
+
+    @JsonProperty("cn_script_name")
+    String cnScriptName;
+}
diff --git a/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/task/NstInfo.java b/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/task/NstInfo.java
new file mode 100644 (file)
index 0000000..966e352
--- /dev/null
@@ -0,0 +1,32 @@
+/*
+ * Copyright (C) 2019 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.nsmf.task;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import lombok.Getter;
+import lombok.Setter;
+
+@Getter
+@Setter
+public class NstInfo {
+
+    @JsonProperty("nst_id")
+    String nstId;
+
+    @JsonProperty("nst_name")
+    String nstName;
+
+}
diff --git a/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/task/SlicingTaskAuditInfo.java b/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/task/SlicingTaskAuditInfo.java
new file mode 100644 (file)
index 0000000..c4901ee
--- /dev/null
@@ -0,0 +1,50 @@
+/*
+ * Copyright (C) 2019 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.nsmf.task;
+
+import com.alibaba.fastjson.annotation.JSONField;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import lombok.Getter;
+import lombok.Setter;
+
+@Getter
+@Setter
+public class SlicingTaskAuditInfo {
+    //JSONField指定转成Json串时的格式和顺序
+    //JsonProperty 指定接受前台的相应时的接口格式
+    @JSONField(name="task_id",ordinal=0)
+    @JsonProperty("task_id")
+    private String taskId;
+
+    @JsonProperty("task_name")
+    private String taskName;
+
+    @JsonProperty("create_time")
+    private String createTime;
+
+    @JsonProperty("processing_status")
+    private String processingStatus;
+
+    @JsonProperty("business_demand_info")
+    private BusinessDemandInfo businessDemandInfo;
+
+    @JsonProperty("nst_info")
+    private NstInfo nstInfo;
+
+    @JsonProperty("nsi_nssi_info")
+    private NsiAndSubNssiInfo nsiAndSubNssiInfo;
+
+}
diff --git a/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/task/SlicingTaskCreationInfo.java b/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/task/SlicingTaskCreationInfo.java
new file mode 100644 (file)
index 0000000..948e787
--- /dev/null
@@ -0,0 +1,43 @@
+/*
+ * Copyright (C) 2019 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.nsmf.task;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import lombok.Getter;
+import lombok.Setter;
+
+@Getter
+@Setter
+public class SlicingTaskCreationInfo {
+
+    @JsonProperty("task_id")
+    private String taskId;
+
+    @JsonProperty("task_name")
+    private String taskName;
+
+    @JsonProperty("create_time")
+    private String createTime;
+
+    @JsonProperty("processing_status")
+    private String processingStatus;
+
+    @JsonProperty("business_demand_info")
+    private BusinessDemandInfo businessDemandInfo;
+
+    @JsonProperty("nst_info")
+    private NstInfo nstInfo;
+}
diff --git a/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/task/SlicingTaskCreationProgress.java b/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/task/SlicingTaskCreationProgress.java
new file mode 100644 (file)
index 0000000..c704a08
--- /dev/null
@@ -0,0 +1,43 @@
+/*
+ * Copyright (C) 2019 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.nsmf.task;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import lombok.Getter;
+import lombok.Setter;
+
+@Getter
+@Setter
+public class SlicingTaskCreationProgress {
+    @JsonProperty("an_progress")
+    private String anProgress;
+
+    @JsonProperty("an_status")
+    private String anStatus;
+
+    @JsonProperty("tn_progress")
+    private String tnProgress;
+
+    @JsonProperty("tn_status")
+    private String tnStatus;
+
+    @JsonProperty("cn_progress")
+    private String cnProgress;
+
+    @JsonProperty("cn_status")
+    private String cnStatus;
+
+}
diff --git a/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/task/SlicingTaskInfo.java b/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/task/SlicingTaskInfo.java
new file mode 100644 (file)
index 0000000..74bca2a
--- /dev/null
@@ -0,0 +1,43 @@
+/*
+ * Copyright (C) 2019 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.nsmf.task;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import lombok.Getter;
+import lombok.Setter;
+
+@Getter
+@Setter
+public class SlicingTaskInfo {
+
+    @JsonProperty("task_id")
+    private String taskId;
+
+    @JsonProperty("task_name")
+    private String name;
+
+    @JsonProperty("service_snssai")
+    private String serviceSnssai;
+
+    @JsonProperty("service_type")
+    private String serviceType;
+
+    @JsonProperty("create_time")
+    private String createTime;
+
+    @JsonProperty("processing_status")
+    private String status;
+}
diff --git a/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/task/SlicingTaskList.java b/server/src/main/java/org/onap/usecaseui/server/bean/nsmf/task/SlicingTaskList.java
new file mode 100644 (file)
index 0000000..3439beb
--- /dev/null
@@ -0,0 +1,32 @@
+/*
+ * Copyright (C) 2019 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.nsmf.task;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+import lombok.Getter;
+import lombok.Setter;
+
+@Getter
+@Setter
+public class SlicingTaskList {
+
+    @JsonProperty("record_number")
+    private int recordNumber;
+
+    @JsonProperty("slicing_task_list")
+    private List<SlicingTaskInfo> slicingTaskInfoList;
+}