Remove topic.properties and incorporate into overall config file
[policy/pap.git] / main / src / main / java / org / onap / policy / pap / main / parameters / PapParameterGroup.java
1 /*-
2  * ============LICENSE_START=======================================================
3  *  Copyright (C) 2019 Nordix Foundation.
4  *  Modifications Copyright (C) 2019 AT&T Intellectual Property.
5  * ================================================================================
6  * Licensed under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  *      http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  *
18  * SPDX-License-Identifier: Apache-2.0
19  * ============LICENSE_END=========================================================
20  */
21
22 package org.onap.policy.pap.main.parameters;
23
24 import lombok.Getter;
25 import org.onap.policy.common.endpoints.parameters.RestServerParameters;
26 import org.onap.policy.common.endpoints.parameters.TopicParameterGroup;
27 import org.onap.policy.common.parameters.ParameterGroupImpl;
28 import org.onap.policy.common.parameters.annotations.NotBlank;
29 import org.onap.policy.common.parameters.annotations.NotNull;
30 import org.onap.policy.models.provider.PolicyModelsProviderParameters;
31
32 /**
33  * Class to hold all parameters needed for pap component.
34  *
35  * @author Ram Krishna Verma (ram.krishna.verma@est.tech)
36  */
37 @NotNull
38 @NotBlank
39 @Getter
40 public class PapParameterGroup extends ParameterGroupImpl {
41     private RestServerParameters restServerParameters;
42     private PdpParameters pdpParameters;
43     private PolicyModelsProviderParameters databaseProviderParameters;
44     private TopicParameterGroup topicParameterGroup;
45
46     /**
47      * Create the pap parameter group.
48      *
49      * @param name the parameter group name
50      */
51     public PapParameterGroup(final String name) {
52         super(name);
53     }
54 }