2 * ============LICENSE_START=======================================================
3 * Copyright (C) 2018 Intel. All rights reserved.
4 * Modifications Copyright (C) 2019 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
10 * http://www.apache.org/licenses/LICENSE-2.0
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.
18 * SPDX-License-Identifier: Apache-2.0
19 * ============LICENSE_END=========================================================
22 package org.onap.policy.distribution.reception.handling.sdc;
24 import java.util.List;
28 import org.onap.policy.common.parameters.annotations.NotBlank;
29 import org.onap.policy.common.parameters.annotations.NotNull;
30 import org.onap.policy.distribution.reception.parameters.ReceptionHandlerConfigurationParameterGroup;
33 * This class handles reading, parsing and validating of the Policy SDC Service Distribution parameters from Json
34 * format, which strictly adheres to the interface:IConfiguration, defined by SDC SDK.
39 public class SdcReceptionHandlerConfigurationParameterGroup extends ReceptionHandlerConfigurationParameterGroup {
41 private String asdcAddress;
42 private List<String> messageBusAddress;
44 private String password;
45 private int pollingInterval;
46 private int pollingTimeout;
47 private int retryDelay;
48 private String consumerId;
49 private List<String> artifactTypes;
50 private String consumerGroup;
51 private String environmentName;
52 private String keyStorePath;
53 private String keyStorePassword;
54 private boolean activeServerTlsAuth;
55 private boolean isFilterInEmptyResources;
56 private boolean isUseHttpsWithDmaap;
58 public SdcReceptionHandlerConfigurationParameterGroup() {
59 super(SdcReceptionHandlerConfigurationParameterGroup.class.getSimpleName());