TCA: Replace any openecomp reference by onap
[dcaegen2/analytics/tca.git] / dcae-analytics-cdap-tca / src / test / java / org / onap / dcae / apod / analytics / cdap / tca / settings / TCATestAppPreferences.java
1 /*
2  * ===============================LICENSE_START======================================
3  *  dcae-analytics
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
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.dcae.apod.analytics.cdap.tca.settings;
22
23
24 import com.fasterxml.jackson.annotation.JsonAnyGetter;
25
26 import java.util.Map;
27
28 /**
29  * TCA Test App Preferences are used for testing purposes only
30  *
31  * @author Rajiv Singla . Creation Date: 11/3/2016.
32  */
33 public class TCATestAppPreferences extends TCAAppPreferences {
34
35     private Map<String, String> policyPreferences;
36
37     public TCATestAppPreferences() {
38     }
39
40     public TCATestAppPreferences(final Map<String, String> policyPreferences) {
41         this.policyPreferences = policyPreferences;
42     }
43
44     @JsonAnyGetter
45     public Map<String, String> getPolicyPreferences() {
46         return policyPreferences;
47     }
48
49     public void setSubscriberHostName(String subscriberHostName) {
50         this.subscriberHostName = subscriberHostName;
51     }
52
53     public void setSubscriberHostPortNumber(Integer subscriberHostPort) {
54         this.subscriberHostPort = subscriberHostPort;
55     }
56
57     public void setSubscriberTopicName(String subscriberTopicName) {
58         this.subscriberTopicName = subscriberTopicName;
59     }
60
61     public void setSubscriberProtocol(String subscriberProtocol) {
62         this.subscriberProtocol = subscriberProtocol;
63     }
64
65     public void setSubscriberUserName(String subscriberUserName) {
66         this.subscriberUserName = subscriberUserName;
67     }
68
69     public void setSubscriberUserPassword(String subscriberUserPassword) {
70         this.subscriberUserPassword = subscriberUserPassword;
71     }
72
73     public void setSubscriberContentType(String subscriberContentType) {
74         this.subscriberContentType = subscriberContentType;
75     }
76
77     public void setSubscriberConsumerId(String subscriberConsumerId) {
78         this.subscriberConsumerId = subscriberConsumerId;
79     }
80
81     public void setSubscriberConsumerGroup(String subscriberConsumerGroup) {
82         this.subscriberConsumerGroup = subscriberConsumerGroup;
83     }
84
85     public void setSubscriberTimeoutMS(Integer subscriberTimeoutMS) {
86         this.subscriberTimeoutMS = subscriberTimeoutMS;
87     }
88
89     public void setSubscriberMessageLimit(Integer subscriberMessageLimit) {
90         this.subscriberMessageLimit = subscriberMessageLimit;
91     }
92
93     public void setSubscriberPollingInterval(Integer subscriberPollingInterval) {
94         this.subscriberPollingInterval = subscriberPollingInterval;
95     }
96
97     public void setPublisherHostName(String publisherHostName) {
98         this.publisherHostName = publisherHostName;
99     }
100
101     public void setPublisherHostPort(Integer publisherHostPort) {
102         this.publisherHostPort = publisherHostPort;
103     }
104
105     public void setPublisherTopicName(String publisherTopicName) {
106         this.publisherTopicName = publisherTopicName;
107     }
108
109     public void setPublisherProtocol(String publisherProtocol) {
110         this.publisherProtocol = publisherProtocol;
111     }
112
113     public void setPublisherUserName(String publisherUserName) {
114         this.publisherUserName = publisherUserName;
115     }
116
117     public void setPublisherUserPassword(String publisherUserPassword) {
118         this.publisherUserPassword = publisherUserPassword;
119     }
120
121     public void setPublisherContentType(String publisherContentType) {
122         this.publisherContentType = publisherContentType;
123     }
124
125     public void setPublisherMaxBatchSize(Integer publisherMaxBatchSize) {
126         this.publisherMaxBatchSize = publisherMaxBatchSize;
127     }
128
129     public void setPublisherMaxRecoveryQueueSize(Integer publisherMaxRecoveryQueueSize) {
130         this.publisherMaxRecoveryQueueSize = publisherMaxRecoveryQueueSize;
131     }
132
133     public void setPublisherPollingInterval(Integer publisherPollingInterval) {
134         this.publisherPollingInterval = publisherPollingInterval;
135     }
136
137     public void setEnableAlertCEFFormat(Boolean enableAlertCEFFormat) {
138         this.enableAlertCEFFormat = enableAlertCEFFormat;
139     }
140
141     public void setEnableAAIEnrichment(Boolean enableAAIEnrichment) {
142         this.enableAAIEnrichment = enableAAIEnrichment;
143     }
144
145     public void setAaiEnrichmentHost(String aaiEnrichmentHost) {
146         this.aaiEnrichmentHost = aaiEnrichmentHost;
147     }
148
149     public void setAaiEnrichmentPortNumber(Integer aaiEnrichmentPortNumber) {
150         this.aaiEnrichmentPortNumber = aaiEnrichmentPortNumber;
151     }
152
153     public void setAaiEnrichmentProtocol(String aaiEnrichmentProtocol) {
154         this.aaiEnrichmentProtocol = aaiEnrichmentProtocol;
155     }
156
157     public void setAaiEnrichmentUserName(String aaiEnrichmentUserName) {
158         this.aaiEnrichmentUserName = aaiEnrichmentUserName;
159     }
160
161     public void setAaiEnrichmentUserPassword(String aaiEnrichmentUserPassword) {
162         this.aaiEnrichmentUserPassword = aaiEnrichmentUserPassword;
163     }
164
165     public void setAaiEnrichmentIgnoreSSLCertificateErrors(Boolean aaiEnrichmentIgnoreSSLCertificateErrors) {
166         this.aaiEnrichmentIgnoreSSLCertificateErrors = aaiEnrichmentIgnoreSSLCertificateErrors;
167     }
168
169     public void setAaiVNFEnrichmentAPIPath(String aaiVNFEnrichmentAPIPath) {
170         this.aaiVNFEnrichmentAPIPath = aaiVNFEnrichmentAPIPath;
171     }
172
173     public void setAaiVMEnrichmentAPIPath(String aaiVMEnrichmentAPIPath) {
174         this.aaiVMEnrichmentAPIPath = aaiVMEnrichmentAPIPath;
175     }
176 }