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
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.bbs.event.processor.model;
23 import com.google.gson.annotations.SerializedName;
27 import org.immutables.gson.Gson;
28 import org.immutables.value.Value;
31 @Gson.TypeAdapters(fieldNamingStrategy = true, emptyAsNulls = true)
32 public interface GeneratedAppConfigObject {
34 @SerializedName(value = "dmaap.protocol", alternate = "dmaap.protocol")
35 String dmaapProtocol();
37 @SerializedName(value = "dmaap.contentType", alternate = "dmaap.contentType")
38 String dmaapContentType();
40 @SerializedName(value = "dmaap.consumer.consumerId", alternate = "dmaap.consumer.consumerId")
41 String dmaapConsumerConsumerId();
43 @SerializedName(value = "dmaap.consumer.consumerGroup", alternate = "dmaap.consumer.consumerGroup")
44 String dmaapConsumerConsumerGroup();
46 @SerializedName(value = "dmaap.messageLimit", alternate = "dmaap.messageLimit")
47 int dmaapMessageLimit();
49 @SerializedName(value = "dmaap.timeoutMs", alternate = "dmaap.timeoutMs")
52 @SerializedName(value = "aai.host", alternate = "aai.host")
55 @SerializedName(value = "aai.port", alternate = "aai.port")
58 @SerializedName(value = "aai.protocol", alternate = "aai.protocol")
61 @SerializedName(value = "aai.username", alternate = "aai.username")
64 @SerializedName(value = "aai.password", alternate = "aai.password")
67 @SerializedName(value = "aai.aaiIgnoreSslCertificateErrors", alternate = "aai.aaiIgnoreSslCertificateErrors")
68 boolean aaiIgnoreSslCertificateErrors();
70 @SerializedName(value = "application.pipelinesPollingIntervalSec",
71 alternate = "application.pipelinesPollingIntervalSec")
72 int pipelinesPollingIntervalSec();
74 @SerializedName(value = "application.pipelinesTimeoutSec", alternate = "application.pipelinesTimeoutSec")
75 int pipelinesTimeoutSec();
77 @SerializedName(value = "application.cbsPollingIntervalSec",
78 alternate = "application.cbsPollingIntervalSec")
79 int cbsPollingIntervalSec();
81 @SerializedName(value = "application.reregistration.policyScope",
82 alternate = "application.reregistration.policyScope")
83 String reRegistrationPolicyScope();
85 @SerializedName(value = "application.reregistration.clControlName",
86 alternate = "application.reregistration.clControlName")
87 String reRegistrationClControlName();
89 @SerializedName(value = "application.cpe.authentication.policyScope",
90 alternate = "application.reregistration.policyScope")
91 String cpeAuthPolicyScope();
93 @SerializedName(value = "application.cpe.authentication.clControlName",
94 alternate = "application.reregistration.clControlName")
95 String cpeAuthClControlName();
97 @SerializedName(value = "application.reregistration.configKey", alternate = "application.reregistration.configKey")
98 String reRegConfigKey();
100 @SerializedName(value = "application.cpeAuth.configKey", alternate = "application.cpeAuth.configKey")
101 String cpeAuthConfigKey();
103 @SerializedName(value = "application.closeLoop.configKey", alternate = "application.closeLoop.configKey")
104 String closeLoopConfigKey();
106 @SerializedName(value = "streams_subscribes", alternate = "streams_subscribes")
107 Map<String, StreamsObject> streamSubscribesMap();
109 @SerializedName(value = "streams_publishes", alternate = "streams_publishes")
110 Map<String, StreamsObject> streamPublishesMap();
113 @Gson.TypeAdapters(fieldNamingStrategy = true)
114 interface StreamsObject {
116 @SerializedName(value = "type", alternate = "type")
119 @SerializedName(value = "aaf_username", alternate = "aaf_username")
120 String aafUsername();
122 @SerializedName(value = "aaf_password", alternate = "aaf_password")
123 String aafPassword();
125 @SerializedName(value = "dmaap_info", alternate = "dmaap_info")
126 DmaapInfo dmaapInfo();
130 @Gson.TypeAdapters(fieldNamingStrategy = true)
131 interface DmaapInfo {
133 @SerializedName(value = "client_id", alternate = "client_id")
136 @SerializedName(value = "client_role", alternate = "client_role")
139 @SerializedName(value = "location", alternate = "location")
142 @SerializedName(value = "topic_url", alternate = "topic_url")