08be73e3fd84b7a536452ecab45e647332d892bb
[so.git] / bpmn / so-bpmn-tasks / src / main / java / org / onap / so / client / sdnc / beans / SDNCProperties.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
4  * ================================================================================
5  * Copyright (C) 2017 AT&T 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
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
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=========================================================
19  */
20
21 package org.onap.so.client.sdnc.beans;
22
23 import org.springframework.boot.context.properties.ConfigurationProperties;
24 import org.springframework.context.annotation.Configuration;
25
26 @Configuration
27 @ConfigurationProperties(prefix="sdnc")
28 public class SDNCProperties {
29
30         private String host;
31         private String path;
32         private String auth;
33         
34         public String getHost() {
35                 return host;
36         }
37         public void setHost(String host) {
38                 this.host = host;
39         }
40         public String getPath() {
41                 return path;
42         }
43         public void setPath(String path) {
44                 this.path = path;
45         }
46         public String getAuth() {
47                 return auth;
48         }
49         public void setAuth(String auth) {
50                 this.auth = auth;
51         }
52 }