diff options
author | Ramesh Murugan Iyer <ramesh.murugan.iyer@est.tech> | 2022-12-13 09:22:13 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2022-12-13 09:22:13 +0000 |
commit | 06d4bbe578678619be4d948fde42223719e82cf1 (patch) | |
tree | 1dae9a661e6fc54ac017a0eaa404201effcfbf79 /models/src/main/java/org/onap | |
parent | ea4473217760d9ba62a6b9a05c81f0694590a03e (diff) | |
parent | 5e0f7912ac694eef2d283aab61a659470b4ba3e5 (diff) |
Merge "Link the existing InstantiationController with the generated code"
Diffstat (limited to 'models/src/main/java/org/onap')
2 files changed, 34 insertions, 4 deletions
diff --git a/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/instantiation/InstantiationCommand.java b/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/instantiation/InstantiationCommand.java index ac5444650..48fc8ba7c 100644 --- a/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/instantiation/InstantiationCommand.java +++ b/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/instantiation/InstantiationCommand.java @@ -22,13 +22,9 @@ package org.onap.policy.clamp.models.acm.messages.rest.instantiation; import lombok.Data; import org.onap.policy.clamp.models.acm.concepts.AutomationCompositionOrderedState; -import org.onap.policy.models.tosca.authorative.concepts.ToscaConceptIdentifier; @Data public class InstantiationCommand { // The state to which the automation compositions are to be set private AutomationCompositionOrderedState orderedState; - - // The automation composition on which the command is to be issued - private ToscaConceptIdentifier automationCompositionIdentifier; } 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 new file mode 100644 index 000000000..7aab59436 --- /dev/null +++ b/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/instantiation/InstantiationUpdate.java @@ -0,0 +1,34 @@ +/*- + * ============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; +} |