2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2022 AT&T Intellectual Property. All rights reserved.
6 * ================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END=========================================================
21 package org.onap.policy.controlloop.actor.a1p;
23 import org.onap.policy.controlloop.actor.sdnr.SdnrOperation;
24 import org.onap.policy.controlloop.actorserviceprovider.Operator;
25 import org.onap.policy.controlloop.actorserviceprovider.impl.BidirectionalTopicActor;
26 import org.onap.policy.controlloop.actorserviceprovider.impl.BidirectionalTopicOperator;
27 import org.onap.policy.controlloop.actorserviceprovider.parameters.BidirectionalTopicActorParams;
30 * A1-PMS actor extends the SDN-R Actor and observes the same protocol but over
33 public class A1pActor extends BidirectionalTopicActor<BidirectionalTopicActorParams> {
34 public static final String NAME = "A1P";
40 super(NAME, BidirectionalTopicActorParams.class);
42 addOperator(new BidirectionalTopicOperator(NAME, SdnrOperation.NAME, this, SdnrOperation.SELECTOR_KEYS,
47 public Operator getOperator(String name) {
49 * All operations are managed by the same operator, regardless of the name.
51 return super.getOperator(SdnrOperation.NAME);