12716ce472562a9b03905c61c7100f5440a62943
[dcaegen2/services.git] /
1 /*
2  * ============LICENSE_START=======================================================
3  * BBS-RELOCATION-CPE-AUTHENTICATION-HANDLER
4  * ================================================================================
5  * Copyright (C) 2019 NOKIA 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.bbs.event.processor.model;
22
23 import com.google.gson.annotations.SerializedName;
24
25 import java.util.Map;
26
27 import org.immutables.gson.Gson;
28 import org.immutables.value.Value;
29
30 @Value.Immutable
31 @Gson.TypeAdapters(fieldNamingStrategy = true, emptyAsNulls = true)
32 public interface GeneratedAppConfigObject {
33
34     @SerializedName(value = "dmaap.protocol", alternate = "dmaap.protocol")
35     String dmaapProtocol();
36
37     @SerializedName(value = "dmaap.contentType", alternate = "dmaap.contentType")
38     String dmaapContentType();
39
40     @SerializedName(value = "dmaap.consumer.consumerId", alternate = "dmaap.consumer.consumerId")
41     String dmaapConsumerConsumerId();
42
43     @SerializedName(value = "dmaap.consumer.consumerGroup", alternate = "dmaap.consumer.consumerGroup")
44     String dmaapConsumerConsumerGroup();
45
46     @SerializedName(value = "dmaap.messageLimit", alternate = "dmaap.messageLimit")
47     int dmaapMessageLimit();
48
49     @SerializedName(value = "dmaap.timeoutMs", alternate = "dmaap.timeoutMs")
50     int dmaapTimeoutMs();
51
52     @SerializedName(value = "aai.host", alternate = "aai.host")
53     String aaiHost();
54
55     @SerializedName(value = "aai.port", alternate = "aai.port")
56     int aaiPort();
57
58     @SerializedName(value = "aai.protocol", alternate = "aai.protocol")
59     String aaiProtocol();
60
61     @SerializedName(value = "aai.username", alternate = "aai.username")
62     String aaiUsername();
63
64     @SerializedName(value = "aai.password", alternate = "aai.password")
65     String aaiPassword();
66
67     @SerializedName(value = "aai.aaiIgnoreSslCertificateErrors", alternate = "aai.aaiIgnoreSslCertificateErrors")
68     boolean aaiIgnoreSslCertificateErrors();
69
70     @SerializedName(value = "application.pipelinesPollingIntervalSec",
71             alternate = "application.pipelinesPollingIntervalSec")
72     int pipelinesPollingIntervalSec();
73
74     @SerializedName(value = "application.pipelinesTimeoutSec", alternate = "application.pipelinesTimeoutSec")
75     int pipelinesTimeoutSec();
76
77     @SerializedName(value = "application.cbsPollingIntervalSec", alternate = "application.cbsPollingIntervalSec")
78     int cbsPollingIntervalSec();
79
80     @SerializedName(value = "application.reregistration.policyScope",
81             alternate = "application.reregistration.policyScope")
82     String reRegistrationPolicyScope();
83
84     @SerializedName(value = "application.reregistration.clControlName",
85             alternate = "application.reregistration.clControlName")
86     String reRegistrationClControlName();
87
88     @SerializedName(value = "application.cpe.authentication.policyScope",
89             alternate = "application.reregistration.policyScope")
90     String cpeAuthPolicyScope();
91
92     @SerializedName(value = "application.cpe.authentication.clControlName",
93             alternate = "application.reregistration.clControlName")
94     String cpeAuthClControlName();
95
96     @SerializedName(value = "application.policyVersion", alternate = "application.policyVersion")
97     String policyVersion();
98
99     @SerializedName(value = "application.clTargetType", alternate = "application.clTargetType")
100     String closeLoopTargetType();
101
102     @SerializedName(value = "application.clEventStatus", alternate = "application.clEventStatus")
103     String closeLoopEventStatus();
104
105     @SerializedName(value = "application.clVersion", alternate = "application.clVersion")
106     String closeLoopVersion();
107
108     @SerializedName(value = "application.clTarget", alternate = "application.clTarget")
109     String closeLoopTarget();
110
111     @SerializedName(value = "application.clOriginator", alternate = "application.clOriginator")
112     String closeLoopOriginator();
113
114     @SerializedName(value = "application.reregistration.configKey", alternate = "application.reregistration.configKey")
115     String reRegConfigKey();
116
117     @SerializedName(value = "application.cpeAuth.configKey", alternate = "application.cpeAuth.configKey")
118     String cpeAuthConfigKey();
119
120     @SerializedName(value = "application.closeLoop.configKey", alternate = "application.closeLoop.configKey")
121     String closeLoopConfigKey();
122
123     @SerializedName(value = "streams_subscribes", alternate = "streams_subscribes")
124     Map<String, StreamsObject> streamSubscribesMap();
125
126     @SerializedName(value = "streams_publishes", alternate = "streams_publishes")
127     Map<String, StreamsObject> streamPublishesMap();
128
129     @Value.Immutable
130     @Gson.TypeAdapters(fieldNamingStrategy = true)
131     interface StreamsObject {
132
133         @SerializedName(value = "type", alternate = "type")
134         String type();
135
136         @SerializedName(value = "aaf_username", alternate = "aaf_username")
137         String aafUsername();
138
139         @SerializedName(value = "aaf_password", alternate = "aaf_password")
140         String aafPassword();
141
142         @SerializedName(value = "dmaap_info", alternate = "dmaap_info")
143         DmaapInfo dmaapInfo();
144     }
145
146     @Value.Immutable
147     @Gson.TypeAdapters(fieldNamingStrategy = true)
148     interface DmaapInfo {
149
150         @SerializedName(value = "client_id", alternate = "client_id")
151         String clientId();
152
153         @SerializedName(value = "client_role", alternate = "client_role")
154         String clientRole();
155
156         @SerializedName(value = "location", alternate = "location")
157         String location();
158
159         @SerializedName(value = "topic_url", alternate = "topic_url")
160         String topicUrl();
161     }
162 }