[SDC-29] rebase continue work to align source
[sdc.git] / test-apis-ci / src / main / java / org / openecomp / sdc / ci / tests / executeOnUGN / distributionClient / ClientConfiguration.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * SDC
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.openecomp.sdc.ci.tests.executeOnUGN.distributionClient;
22
23 import java.util.ArrayList;
24 import java.util.List;
25
26 public class ClientConfiguration {
27
28         private String asdcAddress;
29         private String user;
30         private String password;
31         private Integer pollingInterval;
32         private Integer pollingTimeout;
33         private List<String> relevantArtifactTypes;
34         private String consumerGroup;
35         private String environmentName;
36         private String consumerID;
37
38         public ClientConfiguration() {
39
40                 super();
41
42                 this.asdcAddress = "localhost:8443";
43                 this.consumerID = "mso-123456";
44                 this.consumerGroup = "mso-group";
45                 this.environmentName = "PROD";
46                 this.password = "password";
47                 this.pollingInterval = 20;
48                 this.pollingTimeout = 20;
49                 this.relevantArtifactTypes = new ArrayList<String>();
50                 this.relevantArtifactTypes.add("SHELL");
51                 this.user = "mso-user";
52         }
53
54         public String getAsdcAddress() {
55                 return asdcAddress;
56         }
57
58         public void setAsdcAddress(String asdcAddress) {
59                 this.asdcAddress = asdcAddress;
60         }
61
62         public String getUser() {
63                 return user;
64         }
65
66         public void setUser(String user) {
67                 this.user = user;
68         }
69
70         public String getPassword() {
71                 return password;
72         }
73
74         public void setPassword(String password) {
75                 this.password = password;
76         }
77
78         public int getPollingInterval() {
79                 return pollingInterval;
80         }
81
82         public void setPollingInterval(Integer pollingInterval) {
83                 this.pollingInterval = pollingInterval;
84         }
85
86         public int getPollingTimeout() {
87                 return pollingTimeout;
88         }
89
90         public void setPollingTimeout(Integer pollingTimeout) {
91                 this.pollingTimeout = pollingTimeout;
92         }
93
94         public List<String> getRelevantArtifactTypes() {
95                 return relevantArtifactTypes;
96         }
97
98         public void setRelevantArtifactTypes(List<String> relevantArtifactTypes) {
99                 this.relevantArtifactTypes = relevantArtifactTypes;
100         }
101
102         public String getConsumerGroup() {
103                 return consumerGroup;
104         }
105
106         public void setConsumerGroup(String consumerGroup) {
107                 this.consumerGroup = consumerGroup;
108         }
109
110         public String getEnvironmentName() {
111                 return environmentName;
112         }
113
114         public void setEnvironmentName(String environmentName) {
115                 this.environmentName = environmentName;
116         }
117
118         public String getComsumerID() {
119                 return consumerID;
120         }
121
122         public void setComsumerID(String comsumerID) {
123                 this.consumerID = comsumerID;
124         }
125
126         public ClientConfiguration(String asdcAddress, String user, String password, Integer pollingInterval,
127                         Integer pollingTimeout, List<String> relevantArtifactTypes, String consumerGroup, String environmentName,
128                         String comsumerID) {
129                 super();
130                 this.asdcAddress = asdcAddress;
131                 this.user = user;
132                 this.password = password;
133                 this.pollingInterval = pollingInterval;
134                 this.pollingTimeout = pollingTimeout;
135                 this.relevantArtifactTypes = relevantArtifactTypes;
136                 this.consumerGroup = consumerGroup;
137                 this.environmentName = environmentName;
138                 this.consumerID = comsumerID;
139         }
140
141 }