2 * ===============================LICENSE_START======================================
4 * ================================================================================
5 * Copyright © 2017 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.dcae.apod.analytics.cdap.tca.settings;
24 import com.fasterxml.jackson.annotation.JsonAnyGetter;
29 * TCA Test App Preferences are used for testing purposes only
31 * @author Rajiv Singla . Creation Date: 11/3/2016.
33 public class TCATestAppPreferences extends TCAAppPreferences {
35 private Map<String, String> policyPreferences;
37 public TCATestAppPreferences() {
40 public TCATestAppPreferences(final Map<String, String> policyPreferences) {
41 this.policyPreferences = policyPreferences;
45 public Map<String, String> getPolicyPreferences() {
46 return policyPreferences;
49 public void setSubscriberHostName(String subscriberHostName) {
50 this.subscriberHostName = subscriberHostName;
53 public void setSubscriberHostPortNumber(Integer subscriberHostPort) {
54 this.subscriberHostPort = subscriberHostPort;
57 public void setSubscriberTopicName(String subscriberTopicName) {
58 this.subscriberTopicName = subscriberTopicName;
61 public void setSubscriberProtocol(String subscriberProtocol) {
62 this.subscriberProtocol = subscriberProtocol;
65 public void setSubscriberUserName(String subscriberUserName) {
66 this.subscriberUserName = subscriberUserName;
69 public void setSubscriberUserPassword(String subscriberUserPassword) {
70 this.subscriberUserPassword = subscriberUserPassword;
73 public void setSubscriberContentType(String subscriberContentType) {
74 this.subscriberContentType = subscriberContentType;
77 public void setSubscriberConsumerId(String subscriberConsumerId) {
78 this.subscriberConsumerId = subscriberConsumerId;
81 public void setSubscriberConsumerGroup(String subscriberConsumerGroup) {
82 this.subscriberConsumerGroup = subscriberConsumerGroup;
85 public void setSubscriberTimeoutMS(Integer subscriberTimeoutMS) {
86 this.subscriberTimeoutMS = subscriberTimeoutMS;
89 public void setSubscriberMessageLimit(Integer subscriberMessageLimit) {
90 this.subscriberMessageLimit = subscriberMessageLimit;
93 public void setSubscriberPollingInterval(Integer subscriberPollingInterval) {
94 this.subscriberPollingInterval = subscriberPollingInterval;
97 public void setPublisherHostName(String publisherHostName) {
98 this.publisherHostName = publisherHostName;
101 public void setPublisherHostPort(Integer publisherHostPort) {
102 this.publisherHostPort = publisherHostPort;
105 public void setPublisherTopicName(String publisherTopicName) {
106 this.publisherTopicName = publisherTopicName;
109 public void setPublisherProtocol(String publisherProtocol) {
110 this.publisherProtocol = publisherProtocol;
113 public void setPublisherUserName(String publisherUserName) {
114 this.publisherUserName = publisherUserName;
117 public void setPublisherUserPassword(String publisherUserPassword) {
118 this.publisherUserPassword = publisherUserPassword;
121 public void setPublisherContentType(String publisherContentType) {
122 this.publisherContentType = publisherContentType;
125 public void setPublisherMaxBatchSize(Integer publisherMaxBatchSize) {
126 this.publisherMaxBatchSize = publisherMaxBatchSize;
129 public void setPublisherMaxRecoveryQueueSize(Integer publisherMaxRecoveryQueueSize) {
130 this.publisherMaxRecoveryQueueSize = publisherMaxRecoveryQueueSize;
133 public void setPublisherPollingInterval(Integer publisherPollingInterval) {
134 this.publisherPollingInterval = publisherPollingInterval;
137 public void setEnableAlertCEFFormat(Boolean enableAlertCEFFormat) {
138 this.enableAlertCEFFormat = enableAlertCEFFormat;
141 public void setEnableAAIEnrichment(Boolean enableAAIEnrichment) {
142 this.enableAAIEnrichment = enableAAIEnrichment;
145 public void setAaiEnrichmentHost(String aaiEnrichmentHost) {
146 this.aaiEnrichmentHost = aaiEnrichmentHost;
149 public void setAaiEnrichmentPortNumber(Integer aaiEnrichmentPortNumber) {
150 this.aaiEnrichmentPortNumber = aaiEnrichmentPortNumber;
153 public void setAaiEnrichmentProtocol(String aaiEnrichmentProtocol) {
154 this.aaiEnrichmentProtocol = aaiEnrichmentProtocol;
157 public void setAaiEnrichmentUserName(String aaiEnrichmentUserName) {
158 this.aaiEnrichmentUserName = aaiEnrichmentUserName;
161 public void setAaiEnrichmentUserPassword(String aaiEnrichmentUserPassword) {
162 this.aaiEnrichmentUserPassword = aaiEnrichmentUserPassword;
165 public void setAaiEnrichmentIgnoreSSLCertificateErrors(Boolean aaiEnrichmentIgnoreSSLCertificateErrors) {
166 this.aaiEnrichmentIgnoreSSLCertificateErrors = aaiEnrichmentIgnoreSSLCertificateErrors;
169 public void setAaiVNFEnrichmentAPIPath(String aaiVNFEnrichmentAPIPath) {
170 this.aaiVNFEnrichmentAPIPath = aaiVNFEnrichmentAPIPath;
173 public void setAaiVMEnrichmentAPIPath(String aaiVMEnrichmentAPIPath) {
174 this.aaiVMEnrichmentAPIPath = aaiVMEnrichmentAPIPath;