diff options
author | Liam Fallon <liam.fallon@est.tech> | 2023-01-05 09:41:14 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2023-01-05 09:41:14 +0000 |
commit | bce4edfb6a9140a07d12470d977352d7b3a4105c (patch) | |
tree | bec8d5ad77fa103c9f6082403de981dc2d6ad791 /models/src | |
parent | 951196b4e0d4c64403f186693c2d1c53e25df3b1 (diff) | |
parent | a76f5614e10f99658114ea1ff2eaf334e0df01c8 (diff) |
Merge "Refactor Post instances to create and update ACM instances"
Diffstat (limited to 'models/src')
2 files changed, 1 insertions, 35 deletions
diff --git a/models/src/main/java/org/onap/policy/clamp/models/acm/concepts/AutomationComposition.java b/models/src/main/java/org/onap/policy/clamp/models/acm/concepts/AutomationComposition.java index b19f54c3b..83c51eadb 100644 --- a/models/src/main/java/org/onap/policy/clamp/models/acm/concepts/AutomationComposition.java +++ b/models/src/main/java/org/onap/policy/clamp/models/acm/concepts/AutomationComposition.java @@ -37,7 +37,7 @@ import org.onap.policy.models.tosca.authorative.concepts.ToscaEntity; @Data @EqualsAndHashCode(callSuper = true) public class AutomationComposition extends ToscaEntity implements Comparable<AutomationComposition> { - @NonNull + private UUID instanceId; @NonNull diff --git a/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/instantiation/InstantiationUpdate.java b/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/instantiation/InstantiationUpdate.java deleted file mode 100644 index 7aab59436..000000000 --- a/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/instantiation/InstantiationUpdate.java +++ /dev/null @@ -1,34 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * Copyright (C) 2022 Nordix Foundation. - * ================================================================================ - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * ============LICENSE_END========================================================= - */ - -package org.onap.policy.clamp.models.acm.messages.rest.instantiation; - -import java.util.Map; -import java.util.UUID; -import lombok.Data; -import org.onap.policy.clamp.models.acm.concepts.AutomationCompositionElement; - -@Data -public class InstantiationUpdate { - - private InstantiationCommand instantiationCommand; - - private Map<UUID, AutomationCompositionElement> elements; -} |