343e517e82fbe5c56aac4fe41ad6ad8d12cce06b
[vfc/nfvo/driver/vnfm/svnfm.git] / nokia / vnfmdriver / vfcadaptorservice / vfcadaptor / src / main / java / org / onap / vfc / nfvo / driver / vnfm / svnfm / common / bo / AdaptorEnv.java
1 /*
2  * Copyright 2016-2017, Nokia Corporation
3  *
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
7  *
8  *     http://www.apache.org/licenses/LICENSE-2.0
9  *
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.
15  */
16
17 package org.onap.vfc.nfvo.driver.vnfm.svnfm.common.bo;
18
19 import org.springframework.beans.factory.annotation.Value;
20 import org.springframework.stereotype.Component;
21
22 @Component
23 public class AdaptorEnv {
24         @Value("${nslcmApiUriFront}")
25         private String nslcmApiUriFront;
26         
27         @Value("${catalogApiUriFront}")
28         private String catalogApiUriFront;
29         
30         @Value("${cbamApiUriFront}")
31         private String cbamApiUriFront;
32         
33         @Value("${msbApiUriFront}")
34         private String msbApiUriFront;
35         
36         //for retrieving token from CBAM
37         @Value("${grantType}")
38         private String grantType;
39         
40         @Value("${clientId}")
41         private String clientId;
42         
43         @Value("${clientSecret}")
44         private String clientSecret;
45         
46         public String getNslcmApiUriFront() {
47                 return nslcmApiUriFront;
48         }
49         public void setNslcmApiUriFront(String nslcmApiUriFront) {
50                 this.nslcmApiUriFront = nslcmApiUriFront;
51         }
52         public String getCatalogApiUriFront() {
53                 return catalogApiUriFront;
54         }
55         public void setCatalogApiUriFront(String catalogApiUriFront) {
56                 this.catalogApiUriFront = catalogApiUriFront;
57         }
58         public String getCbamApiUriFront() {
59                 return cbamApiUriFront;
60         }
61         public void setCbamApiUriFront(String cbamApiUriFront) {
62                 this.cbamApiUriFront = cbamApiUriFront;
63         }
64         public String getGrantType() {
65                 return grantType;
66         }
67         public void setGrantType(String grantType) {
68                 this.grantType = grantType;
69         }
70         public String getClientId() {
71                 return clientId;
72         }
73         public void setClientId(String clientId) {
74                 this.clientId = clientId;
75         }
76         public String getClientSecret() {
77                 return clientSecret;
78         }
79         public void setClientSecret(String clientSecret) {
80                 this.clientSecret = clientSecret;
81         }
82         public String getMsbApiUriFront() {
83                 return msbApiUriFront;
84         }
85         public void setMsbApiUriFront(String msbApiUriFront) {
86                 this.msbApiUriFront = msbApiUriFront;
87         }
88         
89 }