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", alternate = "application.cbsPollingIntervalSec")
 
  78     int cbsPollingIntervalSec();
 
  80     @SerializedName(value = "application.reregistration.policyScope",
 
  81             alternate = "application.reregistration.policyScope")
 
  82     String reRegistrationPolicyScope();
 
  84     @SerializedName(value = "application.reregistration.clControlName",
 
  85             alternate = "application.reregistration.clControlName")
 
  86     String reRegistrationClControlName();
 
  88     @SerializedName(value = "application.cpe.authentication.policyScope",
 
  89             alternate = "application.reregistration.policyScope")
 
  90     String cpeAuthPolicyScope();
 
  92     @SerializedName(value = "application.cpe.authentication.clControlName",
 
  93             alternate = "application.reregistration.clControlName")
 
  94     String cpeAuthClControlName();
 
  96     @SerializedName(value = "application.policyVersion", alternate = "application.policyVersion")
 
  97     String policyVersion();
 
  99     @SerializedName(value = "application.clTargetType", alternate = "application.clTargetType")
 
 100     String closeLoopTargetType();
 
 102     @SerializedName(value = "application.clEventStatus", alternate = "application.clEventStatus")
 
 103     String closeLoopEventStatus();
 
 105     @SerializedName(value = "application.clVersion", alternate = "application.clVersion")
 
 106     String closeLoopVersion();
 
 108     @SerializedName(value = "application.clTarget", alternate = "application.clTarget")
 
 109     String closeLoopTarget();
 
 111     @SerializedName(value = "application.clOriginator", alternate = "application.clOriginator")
 
 112     String closeLoopOriginator();
 
 114     @SerializedName(value = "application.reregistration.configKey", alternate = "application.reregistration.configKey")
 
 115     String reRegConfigKey();
 
 117     @SerializedName(value = "application.cpeAuth.configKey", alternate = "application.cpeAuth.configKey")
 
 118     String cpeAuthConfigKey();
 
 120     @SerializedName(value = "application.closeLoop.configKey", alternate = "application.closeLoop.configKey")
 
 121     String closeLoopConfigKey();
 
 123     @SerializedName(value = "application.loggingLevel", alternate = "application.loggingLevel")
 
 124     String loggingLevel();
 
 126     @SerializedName(value = "streams_subscribes", alternate = "streams_subscribes")
 
 127     Map<String, StreamsObject> streamSubscribesMap();
 
 129     @SerializedName(value = "streams_publishes", alternate = "streams_publishes")
 
 130     Map<String, StreamsObject> streamPublishesMap();
 
 133     @Gson.TypeAdapters(fieldNamingStrategy = true)
 
 134     interface StreamsObject {
 
 136         @SerializedName(value = "type", alternate = "type")
 
 139         @SerializedName(value = "aaf_username", alternate = "aaf_username")
 
 140         String aafUsername();
 
 142         @SerializedName(value = "aaf_password", alternate = "aaf_password")
 
 143         String aafPassword();
 
 145         @SerializedName(value = "dmaap_info", alternate = "dmaap_info")
 
 146         DmaapInfo dmaapInfo();
 
 150     @Gson.TypeAdapters(fieldNamingStrategy = true)
 
 151     interface DmaapInfo {
 
 153         @SerializedName(value = "client_id", alternate = "client_id")
 
 156         @SerializedName(value = "client_role", alternate = "client_role")
 
 159         @SerializedName(value = "location", alternate = "location")
 
 162         @SerializedName(value = "topic_url", alternate = "topic_url")