be7c5263ff4d784ea5644dfe360d789946637acf
[policy/distribution.git] /
1 /*-
2  * ============LICENSE_START=======================================================
3  *  Copyright (C) 2022 Nordix Foundation.
4  *  Modifications Copyright (C) 2022 Nordix Foundation.
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.distribution.forwarding.lifecycle.api;
23
24 import lombok.Getter;
25 import org.onap.policy.common.endpoints.parameters.RestClientParameters;
26 import org.onap.policy.common.parameters.annotations.NotBlank;
27 import org.onap.policy.common.parameters.annotations.NotNull;
28 import org.onap.policy.common.parameters.annotations.Valid;
29 import org.onap.policy.distribution.main.parameters.PolicyForwarderConfigurationParameterGroup;
30
31 /**
32  * Holds the parameters for the {@link LifecycleApiAutomationCompositionForwarder}.
33  *
34  * @author Sirisha Manchikanti (sirisha.manchikanti@est.tech)
35  */
36 @Getter
37 @NotNull
38 @NotBlank
39 public class LifecycleApiAutomationCompositionForwarderParameters extends PolicyForwarderConfigurationParameterGroup {
40     public static final String AUTOMATION_COMPOSITION_FORWARDER_PLUGIN_CLASS =
41             LifecycleApiAutomationCompositionForwarder.class.getName();
42
43     private @Valid RestClientParameters automationCompositionRuntimeParameters;
44
45     public LifecycleApiAutomationCompositionForwarderParameters() {
46         super(LifecycleApiAutomationCompositionForwarderParameters.class.getSimpleName());
47     }
48 }