blob: 1caf073c79ee4177ac09289ccb20aa651fe00b55 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
|
package org.openecomp.sdc.asdctool.simulator.tenant;
import org.openecomp.sdc.be.datatypes.enums.EnvironmentStatusEnum;
import com.opencsv.bean.CsvBindByPosition;
/**
* Represents line in CSV file should be imported into "operationalenvironment" table.
* @author dr2032
*
*/
public class OperationalEnvironment {
@CsvBindByPosition(position = 0)
private String environmentId;
@CsvBindByPosition(position = 1)
private String dmaapUebAddress;
@CsvBindByPosition(position = 2)
private String ecompWorkloadContext;
@CsvBindByPosition(position = 3)
private Boolean isProduction;
@CsvBindByPosition(position = 4)
private String lastModified;
@CsvBindByPosition(position = 5)
private String status;
@CsvBindByPosition(position = 6)
private String tenant;
@CsvBindByPosition(position = 7)
private String uebApikey;
@CsvBindByPosition(position = 8)
private String uebSecretKey;
public String getLastModified() {
return lastModified;
}
public void setLastModified(String lastModified) {
this.lastModified = lastModified;
}
public String getEnvironmentId() {
return environmentId;
}
public void setEnvironmentId(String environmentId) {
this.environmentId = environmentId;
}
public String getTenant() {
return tenant;
}
public void setTenant(String tenant) {
this.tenant = tenant;
}
public Boolean getIsProduction() {
return isProduction;
}
public void setIsProduction(Boolean production) {
isProduction = production;
}
public String getEcompWorkloadContext() {
return ecompWorkloadContext;
}
public void setEcompWorkloadContext(String ecompWorkloadContext) {
this.ecompWorkloadContext = ecompWorkloadContext;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public void setStatus(EnvironmentStatusEnum status) {
this.status = status.getName();
}
public String getDmaapUebAddress() {
return dmaapUebAddress;
}
public void setDmaapUebAddress(String dmaapUebAddress) {
this.dmaapUebAddress = dmaapUebAddress;
}
public String getUebApikey() {
return uebApikey;
}
public void setUebApikey(String uebApikey) {
this.uebApikey = uebApikey;
}
public String getUebSecretKey() {
return uebSecretKey;
}
public void setUebSecretKey(String uebSecretKey) {
this.uebSecretKey = uebSecretKey;
}
}
|