2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2019 Huawei Technologies Co., Ltd. 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.ccsdk.cds.blueprintsprocessor.dmaap
23 import org.springframework.boot.context.properties.EnableConfigurationProperties
24 import org.springframework.context.annotation.ComponentScan
25 import org.springframework.context.annotation.Configuration
28 * Representation of DMAAP lib configuration to load the required property
29 * files into the application context.
33 @EnableConfigurationProperties
34 open class BluePrintDmaapLibConfiguration
37 * Util constants required for DMAAP library to use.
39 class DmaapLibConstants {
42 const val SERVICE_BLUEPRINT_DMAAP_LIB_PROPERTY = "blueprint" +
43 "-dmaap-lib-property-service"
44 const val TYPE_HTTP_NO_AUTH = "HTTPNOAUTH"
45 const val TYPE_HTTP_AAF_AUTH = "HTTPAAF"