/*-
* ============LICENSE_START=======================================================
- * Copyright (C) 2024-2025 Nordix Foundation.
+ * Copyright (C) 2024-2025 OpenInfra Foundation Europe. 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.
import java.util.List;
import java.util.Map;
import java.util.UUID;
-import org.onap.policy.clamp.acm.participant.intermediary.api.AutomationCompositionElementListener;
import org.onap.policy.clamp.acm.participant.intermediary.api.CompositionDto;
import org.onap.policy.clamp.acm.participant.intermediary.api.CompositionElementDto;
import org.onap.policy.clamp.acm.participant.intermediary.api.InstanceElementDto;
* Valid since 7.1.0 release.
*/
public abstract class AcElementListenerV1 extends AcElementListenerV2
- implements AutomationCompositionElementListener, AutomationCompositionElementListenerV1 {
+ implements AutomationCompositionElementListenerV1 {
protected AcElementListenerV1(ParticipantIntermediaryApi intermediaryApi) {
super(intermediaryApi);
/*-
* ============LICENSE_START=======================================================
- * Copyright (C) 2024-2025 Nordix Foundation.
+ * Copyright (C) 2024-2025 OpenInfra Foundation Europe. 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.
package org.onap.policy.clamp.acm.participant.intermediary.api.impl;
import jakarta.ws.rs.core.Response;
-import org.onap.policy.clamp.acm.participant.intermediary.api.AutomationCompositionElementListener;
import org.onap.policy.clamp.acm.participant.intermediary.api.CompositionDto;
import org.onap.policy.clamp.acm.participant.intermediary.api.CompositionElementDto;
import org.onap.policy.clamp.acm.participant.intermediary.api.InstanceElementDto;
* Valid since 7.1.1 release.
*/
public abstract class AcElementListenerV2 extends AcElementListenerV3
- implements AutomationCompositionElementListener, AutomationCompositionElementListenerV2 {
+ implements AutomationCompositionElementListenerV2 {
protected static final String NOT_SUPPORTED = "not supported!";
\r
package org.onap.policy.clamp.acm.participant.intermediary.api.impl;\r
\r
-import org.onap.policy.clamp.acm.participant.intermediary.api.AutomationCompositionElementListener;\r
import org.onap.policy.clamp.acm.participant.intermediary.api.CompositionElementDto;\r
import org.onap.policy.clamp.acm.participant.intermediary.api.InstanceElementDto;\r
import org.onap.policy.clamp.acm.participant.intermediary.api.ParticipantIntermediaryApi;\r
* Valid since 8.0.1 release.\r
*/\r
public abstract class AcElementListenerV3 extends AcElementListenerV4\r
- implements AutomationCompositionElementListener, AutomationCompositionElementListenerV3 {\r
+ implements AutomationCompositionElementListenerV3 {\r
\r
protected AcElementListenerV3(ParticipantIntermediaryApi intermediaryApi) {\r
super(intermediaryApi);\r
/*-
* ============LICENSE_START=======================================================
- * Copyright (C) 2024 Nordix Foundation.
+ * Copyright (C) 2024-2025 OpenInfra Foundation Europe. 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.
import java.util.List;
import java.util.Map;
import java.util.UUID;
+import org.onap.policy.clamp.acm.participant.intermediary.api.AutomationCompositionElementListener;
import org.onap.policy.clamp.models.acm.concepts.AcElementDeploy;
import org.onap.policy.clamp.models.acm.concepts.AutomationCompositionElementDefinition;
import org.onap.policy.models.base.PfModelException;
-public interface AutomationCompositionElementListenerV1 {
+public interface AutomationCompositionElementListenerV1 extends AutomationCompositionElementListener {
void undeploy(UUID automationCompositionId, UUID automationCompositionElementId) throws PfModelException;
package org.onap.policy.clamp.acm.participant.intermediary.api.impl;
-import org.onap.policy.clamp.acm.participant.intermediary.api.CompositionDto;
+import org.onap.policy.clamp.acm.participant.intermediary.api.AutomationCompositionElementListener;
import org.onap.policy.clamp.acm.participant.intermediary.api.CompositionElementDto;
import org.onap.policy.clamp.acm.participant.intermediary.api.InstanceElementDto;
import org.onap.policy.models.base.PfModelException;
-public interface AutomationCompositionElementListenerV2 {
-
- void deploy(CompositionElementDto compositionElement, InstanceElementDto instanceElement) throws PfModelException;
-
- void undeploy(CompositionElementDto compositionElement, InstanceElementDto instanceElement) throws PfModelException;
-
- void lock(CompositionElementDto compositionElement, InstanceElementDto instanceElement) throws PfModelException;
-
- void unlock(CompositionElementDto compositionElement, InstanceElementDto instanceElement) throws PfModelException;
-
- void delete(CompositionElementDto compositionElement, InstanceElementDto instanceElement) throws PfModelException;
-
- void update(CompositionElementDto compositionElement, InstanceElementDto instanceElement,
- InstanceElementDto instanceElementUpdated) throws PfModelException;
-
- void prime(CompositionDto composition) throws PfModelException;
-
- void deprime(CompositionDto composition) throws PfModelException;
+public interface AutomationCompositionElementListenerV2 extends AutomationCompositionElementListener {
void migrate(CompositionElementDto compositionElement, CompositionElementDto compositionElementTarget,
InstanceElementDto instanceElement, InstanceElementDto instanceElementMigrate) throws PfModelException;
- void migratePrecheck(CompositionElementDto compositionElement, CompositionElementDto compositionElementTarget,
- InstanceElementDto instanceElement, InstanceElementDto instanceElementMigrate) throws PfModelException;
-
- void review(CompositionElementDto compositionElement, InstanceElementDto instanceElement)
- throws PfModelException;
-
void prepare(CompositionElementDto compositionElement, InstanceElementDto instanceElement)
throws PfModelException;
}
package org.onap.policy.clamp.acm.participant.intermediary.api.impl;
-import org.onap.policy.clamp.acm.participant.intermediary.api.CompositionDto;
+import org.onap.policy.clamp.acm.participant.intermediary.api.AutomationCompositionElementListener;
import org.onap.policy.clamp.acm.participant.intermediary.api.CompositionElementDto;
import org.onap.policy.clamp.acm.participant.intermediary.api.InstanceElementDto;
import org.onap.policy.models.base.PfModelException;
-public interface AutomationCompositionElementListenerV3 {
-
- void deploy(CompositionElementDto compositionElement, InstanceElementDto instanceElement) throws PfModelException;
-
- void undeploy(CompositionElementDto compositionElement, InstanceElementDto instanceElement) throws PfModelException;
-
- void lock(CompositionElementDto compositionElement, InstanceElementDto instanceElement) throws PfModelException;
-
- void unlock(CompositionElementDto compositionElement, InstanceElementDto instanceElement) throws PfModelException;
-
- void delete(CompositionElementDto compositionElement, InstanceElementDto instanceElement) throws PfModelException;
-
- void update(CompositionElementDto compositionElement, InstanceElementDto instanceElement,
- InstanceElementDto instanceElementUpdated) throws PfModelException;
-
- void prime(CompositionDto composition) throws PfModelException;
-
- void deprime(CompositionDto composition) throws PfModelException;
-
- void migrate(CompositionElementDto compositionElement, CompositionElementDto compositionElementTarget,
- InstanceElementDto instanceElement, InstanceElementDto instanceElementMigrate,
- int nextStage) throws PfModelException;
-
- void migratePrecheck(CompositionElementDto compositionElement, CompositionElementDto compositionElementTarget,
- InstanceElementDto instanceElement, InstanceElementDto instanceElementMigrate) throws PfModelException;
-
- void review(CompositionElementDto compositionElement, InstanceElementDto instanceElement)
- throws PfModelException;
+public interface AutomationCompositionElementListenerV3 extends AutomationCompositionElementListener {
void prepare(CompositionElementDto compositionElement, InstanceElementDto instanceElement)
throws PfModelException;