2 * Copyright © 2017-2018 AT&T Intellectual Property.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 package org.onap.ccsdk.apps.blueprintsprocessor.rest
19 open class RestClientProperties {
20 lateinit var type: String
21 lateinit var url: String
22 lateinit var userId: String
25 open class BasicAuthRestClientProperties : RestClientProperties() {
26 var passwd: String? = null
29 open class SSLBasicAuthRestClientProperties : RestClientProperties() {
30 lateinit var sslTrust: String
31 lateinit var sslTrustPasswd: String
32 lateinit var sslKey: String
33 lateinit var sslKeyPasswd: String
36 open class DME2RestClientProperties : RestClientProperties() {
37 lateinit var service: String
38 lateinit var subContext: String
39 lateinit var version: String
40 lateinit var envContext: String
41 lateinit var routeOffer: String
42 var partner: String? = null
43 lateinit var appId: String
46 open class PolicyManagerRestClientProperties : RestClientProperties() {
47 lateinit var env: String
48 lateinit var clientAuth: String
49 lateinit var authorisation: String