File tree Expand file tree Collapse file tree 8 files changed +11
-4
lines changed
java/com/redhat/labs/lodestar/hosting/model
java/com/redhat/labs/lodestar/hosting/service Expand file tree Collapse file tree 8 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 8
8
<properties >
9
9
<compiler-plugin .version>3.8.1</compiler-plugin .version>
10
10
<javers .core.version>6.2.2</javers .core.version>
11
- <lombok .version>1.18.12 </lombok .version>
11
+ <lombok .version>1.18.22 </lombok .version>
12
12
<maven .compiler.parameters>true</maven .compiler.parameters>
13
13
<maven .compiler.source>11</maven .compiler.source>
14
14
<maven .compiler.target>11</maven .compiler.target>
15
15
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
16
16
<project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
17
17
<quarkus .platform.artifact-id>quarkus-universe-bom</quarkus .platform.artifact-id>
18
18
<quarkus .platform.group-id>io.quarkus</quarkus .platform.group-id>
19
- <quarkus .platform.version>2.3.1 .Final</quarkus .platform.version>
19
+ <quarkus .platform.version>2.10.0 .Final</quarkus .platform.version>
20
20
<surefire-plugin .version>3.0.0-M5</surefire-plugin .version>
21
21
<wiremock .version>2.28.1</wiremock .version>
22
22
<sonar .host.url>https://sonarcloud.io</sonar .host.url>
Original file line number Diff line number Diff line change @@ -74,6 +74,8 @@ public class HostingEnvironment extends PanacheEntityBase {
74
74
private String ocpCloudProviderName ;
75
75
@ JsonProperty ("ocp_cloud_provider_region" )
76
76
private String ocpCloudProviderRegion ;
77
+ @ JsonProperty ("ocp_cloud_provider_availability_zone" )
78
+ private String ocpCloudProviderAvailabilityZone ;
77
79
@ JsonProperty ("ocp_persistent_storage_size" )
78
80
private String ocpPersistentStorageSize ;
79
81
@ JsonProperty ("ocp_sub_domain" )
Original file line number Diff line number Diff line change
1
+ ALTER TABLE
2
+ HostingEnvironment
3
+ ADD COLUMN ocpCloudProviderAvailabilityZone varchar (255 );
Original file line number Diff line number Diff line change 2
2
3
3
import com .redhat .labs .lodestar .hosting .mock .ResourceLoader ;
4
4
import io .quarkus .test .junit .QuarkusTest ;
5
- import org .junit .jupiter .api .Assertions ;
6
5
import org .junit .jupiter .api .BeforeAll ;
7
6
import org .junit .jupiter .api .BeforeEach ;
8
7
import org .junit .jupiter .api .Test ;
@@ -59,5 +58,4 @@ void convertLegacyJsonHostingNew() {
59
58
String result = hostingService .createLegacyJson (legacyEngagement , hostingEnvs );
60
59
assertEquals (expected , result );
61
60
}
62
-
63
61
}
Original file line number Diff line number Diff line change 20
20
"additional_details" : " Will probably also need to build out an OSP tenant." ,
21
21
"ocp_cloud_provider_name" : " other" ,
22
22
"ocp_cloud_provider_region" : " other" ,
23
+ "ocp_cloud_provider_availability_zone" : " one" ,
23
24
"ocp_persistent_storage_size" : " 5000G" ,
24
25
"ocp_sub_domain" : " red-1" ,
25
26
"ocp_version" : " 4.7.16" ,
Original file line number Diff line number Diff line change 20
20
"additional_details" : " Will probably also need to build out an OSP tenant2." ,
21
21
"ocp_cloud_provider_name" : " aws" ,
22
22
"ocp_cloud_provider_region" : " us-west" ,
23
+ "ocp_cloud_provider_availability_zone" : " one" ,
23
24
"ocp_persistent_storage_size" : " 1G" ,
24
25
"ocp_sub_domain" : " red-2" ,
25
26
"ocp_version" : " 4.9.16" ,
Original file line number Diff line number Diff line change 4
4
"environment_name" : " env1" ,
5
5
"ocp_cloud_provider_name" : " ec2" ,
6
6
"ocp_cloud_provider_region" : " eu-north-3" ,
7
+ "ocp_cloud_provider_availability_zone" : " zone1" ,
7
8
"ocp_cluster_size" : " small" ,
8
9
"ocp_persistent_storage_size" : " 50G" ,
9
10
"ocp_sub_domain" : " test" ,
Original file line number Diff line number Diff line change 21
21
"environment_name" : " env1" ,
22
22
"ocp_cloud_provider_name" : " ec2" ,
23
23
"ocp_cloud_provider_region" : " eu-north-3" ,
24
+ "ocp_cloud_provider_availability_zone" : " zone1" ,
24
25
"ocp_cluster_size" : " small" ,
25
26
"ocp_persistent_storage_size" : " 50G" ,
26
27
"ocp_sub_domain" : " test" ,
You can’t perform that action at this time.
0 commit comments