42846460db8e4f1aefc0ca9dc4c22125e2b74f4b
[policy/models.git] / models-interactions / model-actors / actorServiceProvider / src / main / java / org / onap / policy / controlloop / actorserviceprovider / OperationProperties.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP
4  * ================================================================================
5  * Copyright (C) 2020 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
10  *
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  *
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=========================================================
19  */
20
21 package org.onap.policy.controlloop.actorserviceprovider;
22
23 /**
24  * Names of properties needed by the Actors defined within this repo. Note: this is not
25  * exhaustive, as additional property names may be returned by company-defined Actors.
26  */
27 public class OperationProperties {
28     public static final String AAI_MODEL_CLOUD_REGION = "AAI/modelInvariantId/cloudRegion";
29     public static final String AAI_MODEL_INVARIANT_GENERIC_VNF = "AAI/modelInvariantId/genericVnf";
30     public static final String AAI_MODEL_SERVICE = "AAI/modelInvariantId/service";
31     public static final String AAI_MODEL_TENANT = "AAI/modelInvariantId/tenant";
32     public static final String AAI_MODEL_VNF = "AAI/modelInvariantId/vnf";
33     public static final String AAI_RESOURCE_SERVICE_INSTANCE = "AAI/resourceId/serviceInstanceId";
34     public static final String AAI_RESOURCE_VNF = "AAI/resourceId/modelInvariantId/vnf";
35     public static final String AAI_PNF = "AAI/pnf";
36     public static final String AAI_VSERVER_LINK = "AAI/vserver/link";
37
38     /*
39      * These are typically extracted from the event or from the event's enrichment data.
40      */
41     public static final String ENRICHMENT_BANDWIDTH = "enrichment/bandwidth";
42     public static final String ENRICHMENT_BANDWIDTH_CHANGE_TIME = "enrichment/bandwidth/changeTime";
43     public static final String ENRICHMENT_GENERIC_VNF_ID = "enrichment/genericVnf/id";
44     public static final String ENRICHMENT_NETWORK_ID = "enrichment/network/id";
45     public static final String ENRICHMENT_SERVICE_ID = "enrichment/service/id";
46     public static final String ENRICHMENT_SERVICE_INSTANCE_ID = "enrichment/serviceInstance/id";
47     public static final String ENRICHMENT_VNF_ID = "enrichment/vnf/id";
48     public static final String ENRICHMENT_VSERVER_ID = "enrichment/vserver/id";
49     public static final String ENRICHMENT_VSERVER_NAME = "enrichment/vserver/name";
50
51     public static final String EVENT_ADDITIONAL_PARAMS = "event/additionalParams";
52     public static final String EVENT_PAYLOAD = "event/payload";
53
54     /*
55      * These are data computed and/or tracked by the invoker.
56      */
57     public static final String DATA_VF_COUNT = "data/vfCount";
58
59
60     private OperationProperties() {
61         super();
62     }
63 }