From 53173bfe63d1db4afaf59b79c2bc52c3b4b39269 Mon Sep 17 00:00:00 2001 From: hekeguang Date: Tue, 18 Feb 2020 15:19:28 +0800 Subject: [PATCH] Add the bean definition related to CSMF Issue-ID: USECASEUI-368 Change-Id: I495158ae8dfedc60bbbf3ab41b5e8ceed480d504 Signed-off-by: hekeguang --- .../usecaseui/server/bean/csmf/CreateResponse.java | 25 ++++++++++++++++++++ .../usecaseui/server/bean/csmf/CreateResult.java | 27 ++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 server/src/main/java/org/onap/usecaseui/server/bean/csmf/CreateResponse.java create mode 100644 server/src/main/java/org/onap/usecaseui/server/bean/csmf/CreateResult.java diff --git a/server/src/main/java/org/onap/usecaseui/server/bean/csmf/CreateResponse.java b/server/src/main/java/org/onap/usecaseui/server/bean/csmf/CreateResponse.java new file mode 100644 index 00000000..061396ff --- /dev/null +++ b/server/src/main/java/org/onap/usecaseui/server/bean/csmf/CreateResponse.java @@ -0,0 +1,25 @@ +/* + * Copyright (C) 2020 CMCC, Inc. and others. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.onap.usecaseui.server.bean.csmf; + +import lombok.Getter; +import lombok.Setter; + +@Setter +@Getter +public class CreateResponse { + private CreateResult service; +} diff --git a/server/src/main/java/org/onap/usecaseui/server/bean/csmf/CreateResult.java b/server/src/main/java/org/onap/usecaseui/server/bean/csmf/CreateResult.java new file mode 100644 index 00000000..fc4f0f35 --- /dev/null +++ b/server/src/main/java/org/onap/usecaseui/server/bean/csmf/CreateResult.java @@ -0,0 +1,27 @@ +/* + * Copyright (C) 2020 CMCC, Inc. and others. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.onap.usecaseui.server.bean.csmf; + +import lombok.Getter; +import lombok.Setter; + +@Setter +@Getter +public class CreateResult { + private String serviceId; + + private String operationId; +} -- 2.16.6