2 * Copyright 2016-2017, Nokia Corporation
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.vfc.nfvo.driver.vnfm.svnfm.common.bo;
19 import org.springframework.beans.factory.annotation.Value;
20 import org.springframework.stereotype.Component;
23 public class AdaptorEnv {
24 @Value("${nslcmApiUriFront}")
25 private String nslcmApiUriFront;
27 @Value("${catalogApiUriFront}")
28 private String catalogApiUriFront;
30 @Value("${cbamApiUriFront}")
31 private String cbamApiUriFront;
33 @Value("${msbApiUriFront}")
34 private String msbApiUriFront;
36 //for retrieving token from CBAM
37 @Value("${grantType}")
38 private String grantType;
41 private String clientId;
43 @Value("${clientSecret}")
44 private String clientSecret;
46 public String getNslcmApiUriFront() {
47 return nslcmApiUriFront;
49 public void setNslcmApiUriFront(String nslcmApiUriFront) {
50 this.nslcmApiUriFront = nslcmApiUriFront;
52 public String getCatalogApiUriFront() {
53 return catalogApiUriFront;
55 public void setCatalogApiUriFront(String catalogApiUriFront) {
56 this.catalogApiUriFront = catalogApiUriFront;
58 public String getCbamApiUriFront() {
59 return cbamApiUriFront;
61 public void setCbamApiUriFront(String cbamApiUriFront) {
62 this.cbamApiUriFront = cbamApiUriFront;
64 public String getGrantType() {
67 public void setGrantType(String grantType) {
68 this.grantType = grantType;
70 public String getClientId() {
73 public void setClientId(String clientId) {
74 this.clientId = clientId;
76 public String getClientSecret() {
79 public void setClientSecret(String clientSecret) {
80 this.clientSecret = clientSecret;
82 public String getMsbApiUriFront() {
83 return msbApiUriFront;
85 public void setMsbApiUriFront(String msbApiUriFront) {
86 this.msbApiUriFront = msbApiUriFront;