--- /dev/null
+/*
+ * 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;
+}
--- /dev/null
+/*
+ * 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;
+}
--- /dev/null
+/*
+ * 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;
+}
--- /dev/null
+/*
+ * 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;
+}
--- /dev/null
+/*
+ * 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;
+}
--- /dev/null
+/*
+ * 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;
+}
--- /dev/null
+/*
+ * 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;
+}
--- /dev/null
+/*
+ * 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;
+}
--- /dev/null
+/*
+ * 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;
+}
--- /dev/null
+/*
+ * 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;
+}
--- /dev/null
+/*
+ * 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;
+}
--- /dev/null
+/*
+ * 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;
+}
--- /dev/null
+/*
+ * 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;
+
+}
--- /dev/null
+/*
+ * 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;
+
+}
--- /dev/null
+/*
+ * 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;
+}
--- /dev/null
+/*
+ * 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;
+}
--- /dev/null
+/*
+ * 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;
+}
--- /dev/null
+/*
+ * 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;
+}
--- /dev/null
+/*
+ * 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;
+}
--- /dev/null
+/*
+ * 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;
+
+
+}
--- /dev/null
+/*
+ * 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;
+}
--- /dev/null
+/*
+ * 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;
+}
--- /dev/null
+/*
+ * 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;
+
+}
--- /dev/null
+/*
+ * 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;
+}
--- /dev/null
+/*
+ * 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;
+
+}
--- /dev/null
+/*
+ * 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;
+}
--- /dev/null
+/*
+ * 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;
+}
--- /dev/null
+/*
+ * 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;
+
+}
--- /dev/null
+/*
+ * 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;
+}
--- /dev/null
+/*
+ * 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;
+}
--- /dev/null
+/*
+ * 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;
+}
--- /dev/null
+/*
+ * 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;
+}
--- /dev/null
+/*
+ * 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;
+
+}
--- /dev/null
+/*
+ * 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;
+
+}
--- /dev/null
+/*
+ * 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;
+}
--- /dev/null
+/*
+ * 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;
+
+}
--- /dev/null
+/*
+ * 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;
+}
--- /dev/null
+/*
+ * 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;
+}