Skip to content

Commit b685196

Browse files
jfdeniseluck3y
authored andcommitted
[JDK17] Use openshift sample app, now compatible with JDk17
1 parent d0bc8ed commit b685196

12 files changed

+35
-35
lines changed

tests/features/access-log-valve.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ Feature: EAP Openshift access-log-valve and log handler tests
110110
And file /tmp/boot.log should contain You have set ENABLE_ACCESS_LOG=true to add the access log logger category 'org.infinispan.rest.logging.RestAccessLoggingHandler'. However one already exists which has conflicting values. Fix your configuration to contain the logging subsystem for this to happen.
111111

112112
Scenario: Access Log valve, No undertow should give error
113-
Given s2i build git://github.com/jfdenise/openshift-jee-sample from . with env and true using master
113+
Given s2i build git://github.com/openshift/openshift-jee-sample from . with env and true using master
114114
| variable | value |
115115
| GALLEON_PROVISION_LAYERS | core-server |
116116
| ENABLE_ACCESS_LOG | true |

tests/features/admin-jdk17.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Feature: EAP Openshift admin
1010
And file /opt/eap/standalone/configuration/mgmt-users.properties should contain kabir
1111

1212
Scenario: Standard configuration, galleon s2i
13-
Given s2i build git://github.com/jfdenise/openshift-jee-sample from . with env and true using master
13+
Given s2i build git://github.com/openshift/openshift-jee-sample from . with env and true using master
1414
| variable | value |
1515
| ADMIN_USERNAME | kabir |
1616
| ADMIN_PASSWORD | pass |

tests/features/basic.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ Feature: Common EAP tests
320320
Then file at /opt/eap/modules/system/layers/openshift/org/jgroups/main should not exist
321321
322322
Scenario: readinessProbe runs successfully on cloud-server trimmed server
323-
Given s2i build git://github.com/jfdenise/openshift-jee-sample from . with env and true using master
323+
Given s2i build git://github.com/openshift/openshift-jee-sample from . with env and true using master
324324
| variable | value |
325325
| GALLEON_PROVISION_LAYERS | cloud-server |
326326
Then exactly 2 times container log should contain WFLYSRV0025

tests/features/datasource.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,7 @@ Feature: EAP Openshift datasources
789789
And container log should not contain WARN The default datasource for the ee subsystem has been guessed to be
790790

791791
Scenario: check that exampleDS is not generated by default, galleon s2i
792-
Given s2i build git://github.com/jfdenise/openshift-jee-sample from . with env and true using master
792+
Given s2i build git://github.com/openshift/openshift-jee-sample from . with env and true using master
793793
| variable | value |
794794
| GALLEON_PROVISION_LAYERS | cloud-server |
795795
Then container log should contain WFLYSRV0025

tests/features/filters.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ Feature: EAP 7 Openshift filters
9191
And file /tmp/boot.log should contain You have set environment variables to add an undertow filter-ref called One-Header but one already exists. Fix your configuration so it does not contain clashing filter-refs for this to happen.
9292

9393
Scenario: Filters, No undertow should give error
94-
Given s2i build git://github.com/jfdenise/openshift-jee-sample from . with env and true using master
94+
Given s2i build git://github.com/openshift/openshift-jee-sample from . with env and true using master
9595
| variable | value |
9696
| GALLEON_PROVISION_LAYERS | core-server |
9797
| FILTERS | FOO |

tests/features/galleon.feature

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Feature: Openshift EAP galleon s2i tests
44
# CLOUD-3949
55
@ignore
66
Scenario: Test microprofile config.
7-
Given s2i build git://github.com/jfdenise/openshift-jee-sample from . with env and true using master
7+
Given s2i build git://github.com/openshift/openshift-jee-sample from . with env and true using master
88
| variable | value |
99
| GALLEON_PROVISION_LAYERS | cloud-server,microprofile-openapi,microprofile-jwt,microprofile-fault-tolerance,-jpa,jpa-distributed,web-clustering |
1010
Then container log should contain WFLYSRV0025
@@ -14,7 +14,7 @@ Feature: Openshift EAP galleon s2i tests
1414
| port | 8080 |
1515

1616
Scenario: Galleon provision cloud-server
17-
Given s2i build git://github.com/jfdenise/openshift-jee-sample from . with env and true using master
17+
Given s2i build git://github.com/openshift/openshift-jee-sample from . with env and true using master
1818
| variable | value |
1919
| GALLEON_PROVISION_LAYERS | cloud-server |
2020
Then container log should contain WFLYSRV0025
@@ -24,7 +24,7 @@ Feature: Openshift EAP galleon s2i tests
2424
Then XML file /s2i-output/server/.galleon/provisioning.xml should contain value cloud-server on XPath //*[local-name()='installation']/*[local-name()='config']/*[local-name()='layers']/*[local-name()='include']/@name
2525

2626
Scenario: Galleon provision jaxrs-server
27-
Given s2i build git://github.com/jfdenise/openshift-jee-sample from . with env and true using master
27+
Given s2i build git://github.com/openshift/openshift-jee-sample from . with env and true using master
2828
| variable | value |
2929
| GALLEON_PROVISION_LAYERS | jaxrs-server |
3030
Then container log should contain WFLYSRV0025
@@ -34,7 +34,7 @@ Feature: Openshift EAP galleon s2i tests
3434
Then XML file /s2i-output/server/.galleon/provisioning.xml should contain value jaxrs-server on XPath //*[local-name()='installation']/*[local-name()='config']/*[local-name()='layers']/*[local-name()='include']/@name
3535

3636
Scenario: Galleon provision datasources-web-server
37-
Given s2i build git://github.com/jfdenise/openshift-jee-sample from . with env and true using master
37+
Given s2i build git://github.com/openshift/openshift-jee-sample from . with env and true using master
3838
| variable | value |
3939
| GALLEON_PROVISION_LAYERS | datasources-web-server |
4040
Then container log should contain WFLYSRV0025
@@ -44,7 +44,7 @@ Feature: Openshift EAP galleon s2i tests
4444
Then XML file /s2i-output/server/.galleon/provisioning.xml should contain value datasources-web-server on XPath //*[local-name()='installation']/*[local-name()='config']/*[local-name()='layers']/*[local-name()='include']/@name
4545

4646
Scenario: Galleon provision web-clustering
47-
Given s2i build git://github.com/jfdenise/openshift-jee-sample from . with env and true using master
47+
Given s2i build git://github.com/openshift/openshift-jee-sample from . with env and true using master
4848
| variable | value |
4949
| GALLEON_PROVISION_LAYERS | cloud-server,web-clustering |
5050
Then container log should contain WFLYSRV0025
@@ -101,17 +101,17 @@ Feature: Openshift EAP galleon s2i tests
101101
| GALLEON_VERSION | 0.0.0.Foo |
102102

103103
Scenario: failing to build the example due to multiple env vars in conflict
104-
Given failing s2i build git://github.com/jfdenise/openshift-jee-sample from . using master
104+
Given failing s2i build git://github.com/openshift/openshift-jee-sample from . using master
105105
| variable | value |
106106
| GALLEON_PROVISION_SERVER | slim-default-server |
107107
| GALLEON_PROVISION_LAYERS | cloud-server |
108108

109109
Scenario: build the example without galleon, check that s2i-output doesn't contain a copied server
110-
Given s2i build git://github.com/jfdenise/openshift-jee-sample from . with env and true using master
110+
Given s2i build git://github.com/openshift/openshift-jee-sample from . with env and true using master
111111
Then file /s2i-output/server/ should not exist
112112

113113
Scenario: build the example with galleon, check that s2i-output contain a copied server
114-
Given s2i build git://github.com/jfdenise/openshift-jee-sample from . with env and true using master
114+
Given s2i build git://github.com/openshift/openshift-jee-sample from . with env and true using master
115115
| variable | value |
116116
| GALLEON_PROVISION_DEFAULT_FAT_SERVER | true |
117117
Then file /s2i-output/server/ should exist
@@ -131,12 +131,12 @@ Feature: Openshift EAP galleon s2i tests
131131
Then container log should contain WFLYCTL0310: Extension module org.keycloak.keycloak-adapter-subsystem not found
132132

133133
Scenario: failing to build the example due to invalid layer name
134-
Given failing s2i build git://github.com/jfdenise/openshift-jee-sample from . using master
134+
Given failing s2i build git://github.com/openshift/openshift-jee-sample from . using master
135135
| variable | value |
136136
| GALLEON_PROVISION_LAYERS | foo |
137137

138138
Scenario: failing to build the example due to invalid layer name
139-
Given failing s2i build git://github.com/jfdenise/openshift-jee-sample from . using master
139+
Given failing s2i build git://github.com/openshift/openshift-jee-sample from . using master
140140
| variable | value |
141141
| GALLEON_PROVISION_LAYERS | cloud-server,foo |
142142

@@ -167,7 +167,7 @@ Feature: Openshift EAP galleon s2i tests
167167
# microprofile layer didn't make it in CD19
168168
@ignore
169169
Scenario: Test cloud-server,microprofile
170-
Given s2i build git://github.com/jfdenise/openshift-jee-sample from . with env and True using master
170+
Given s2i build git://github.com/openshift/openshift-jee-sample from . with env and True using master
171171
| variable | value |
172172
| GALLEON_PROVISION_LAYERS | cloud-server,microprofile |
173173
Then container log should contain WFLYSRV0025
@@ -180,7 +180,7 @@ Feature: Openshift EAP galleon s2i tests
180180

181181
# Tests for specified exclusion
182182
Scenario: Test datasources-web-server, exclude datasources
183-
Given s2i build git://github.com/jfdenise/openshift-jee-sample from . with env and True using master
183+
Given s2i build git://github.com/openshift/openshift-jee-sample from . with env and True using master
184184
| variable | value |
185185
| GALLEON_PROVISION_LAYERS | datasources-web-server,-datasources |
186186
Then container log should contain WFLYSRV0025
@@ -230,12 +230,12 @@ Feature: Openshift EAP galleon s2i tests
230230
Then XML file /opt/eap/.galleon/provisioning.xml should contain value jpa on XPath //*[local-name()='installation']/*[local-name()='config']/*[local-name()='layers']/*[local-name()='exclude']/@name
231231

232232
Scenario: Test jaxrs-server, exclude datasources, must fail
233-
Given failing s2i build git://github.com/jfdenise/openshift-jee-sample from . using master
233+
Given failing s2i build git://github.com/openshift/openshift-jee-sample from . using master
234234
| variable | value |
235235
| GALLEON_PROVISION_LAYERS | jaxrs-server,-datasources |
236236

237237
Scenario: Test jaxrs-server, exclude foo, must fail
238-
Given failing s2i build git://github.com/jfdenise/openshift-jee-sample from . using master
238+
Given failing s2i build git://github.com/openshift/openshift-jee-sample from . using master
239239
| variable | value |
240240
| GALLEON_PROVISION_LAYERS | jaxrs-server,-foo |
241241

@@ -342,7 +342,7 @@ Feature: Openshift EAP galleon s2i tests
342342
# CLOUD-3949
343343
@ignore
344344
Scenario: Test cloud-server, exclude open-tracing and observability
345-
Given failing s2i build git://github.com/jfdenise/openshift-jee-sample from .
345+
Given failing s2i build git://github.com/openshift/openshift-jee-sample from .
346346
| variable | value |
347347
| GALLEON_PROVISION_LAYERS | cloud-server,-open-tracing,-observability |
348348

@@ -377,7 +377,7 @@ Feature: Openshift EAP galleon s2i tests
377377
# microprofile layer didn't make it in CD19
378378
@ignore
379379
Scenario: Test jaxrs-server+microprofile, exclude all mp layers.
380-
Given failing s2i build git://github.com/jfdenise/openshift-jee-sample from .
380+
Given failing s2i build git://github.com/openshift/openshift-jee-sample from .
381381
| variable | value |
382382
| GALLEON_PROVISION_LAYERS | jaxrs-server,microprofile,-microprofile-config,-microprofile-fault-tolerance,-microprofile-jwt,-microprofile-metrics,-microprofile-openapi,-open-tracing |
383383
Then container log should contain WFLYSRV0025

tests/features/https-jdk17.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Scenario: Configure HTTPS with an existing https-listener should give error
2929
And XML file /opt/eap/standalone/configuration/standalone-openshift.xml should contain value /opt/eap/keystore.jks on XPath //*[local-name()='tls']/*[local-name()='key-stores']/*[local-name()='key-store'][@name="LocalhostKeyStore"]/*[local-name()='file']/@path
3030

3131
Scenario: Https, No undertow should give error
32-
Given s2i build git://github.com/jfdenise/openshift-jee-sample from . with env and true using master
32+
Given s2i build git://github.com/openshift/openshift-jee-sample from . with env and true using master
3333
| variable | value |
3434
| GALLEON_PROVISION_LAYERS | core-server |
3535
| EAP_HTTPS_PASSWORD | p@ssw0rd |
@@ -39,7 +39,7 @@ Scenario: Https, No undertow should give error
3939
Then container log should contain You have set environment variables to configure Https. However, your base configuration does not contain the Undertow subsystem
4040

4141
Scenario: Use Elytron for HTTPS, galleon s2i (the default for JDK17)
42-
Given s2i build git://github.com/jfdenise/openshift-jee-sample from . with env and true using master
42+
Given s2i build git://github.com/openshift/openshift-jee-sample from . with env and true using master
4343
| variable | value |
4444
| HTTPS_PASSWORD | p@ssw0rd |
4545
| HTTPS_KEYSTORE_DIR | /opt/eap |

tests/features/jgroups.feature

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ Scenario: Verify configuration and protocol positions jgroups-encrypt, DNS ping
9494
And XML file /opt/eap/standalone/configuration/standalone-openshift.xml should contain value pbcast.GMS on XPath //*[local-name()="stack"][@name="tcp"]/*[local-name()="auth-protocol"][@type="AUTH"]/following-sibling::*[1]/@type
9595

9696
Scenario: jgroups-encrypt, galleon
97-
Given s2i build git://github.com/jfdenise/openshift-jee-sample from . with env and true using master
97+
Given s2i build git://github.com/openshift/openshift-jee-sample from . with env and true using master
9898
| variable | value |
9999
| GALLEON_PROVISION_LAYERS | cloud-server,web-clustering |
100100
| JGROUPS_ENCRYPT_SECRET | eap_jgroups_encrypt_secret |
@@ -115,7 +115,7 @@ Scenario: Verify configuration and protocol positions jgroups-encrypt, DNS ping
115115
And XML file /opt/eap/standalone/configuration/standalone-openshift.xml should contain value pbcast.NAKACK2 on XPath //*[local-name()="stack"][@name="tcp"]/*[local-name()="encrypt-protocol"][@type="SYM_ENCRYPT"]/following-sibling::*[1]/@type
116116

117117
Scenario: Check jgroups encryption with missing keystore dir creates the location relative to the server, galleon
118-
Given s2i build git://github.com/jfdenise/openshift-jee-sample from . with env and true using master
118+
Given s2i build git://github.com/openshift/openshift-jee-sample from . with env and true using master
119119
| variable | value |
120120
| GALLEON_PROVISION_LAYERS | cloud-server,web-clustering |
121121
| JGROUPS_ENCRYPT_PROTOCOL | SYM_ENCRYPT |
@@ -126,7 +126,7 @@ Scenario: Verify configuration and protocol positions jgroups-encrypt, DNS ping
126126
Then XML file /opt/eap/standalone/configuration/standalone-openshift.xml should contain value jboss.server.config.dir on XPath //*[local-name()="key-store"][@name="keystore.jks"]/*[local-name()="file"]/@relative-to
127127

128128
Scenario: Verify configuration and protocol positions jgroups-encrypt, DNS ping protocol and AUTH, galleon
129-
Given s2i build git://github.com/jfdenise/openshift-jee-sample from . with env and true using master
129+
Given s2i build git://github.com/openshift/openshift-jee-sample from . with env and true using master
130130
| variable | value |
131131
| GALLEON_PROVISION_LAYERS | cloud-server,web-clustering |
132132
| JGROUPS_ENCRYPT_SECRET | eap_jgroups_encrypt_secret |
@@ -186,7 +186,7 @@ Scenario: Verify configuration jgroups deprecated ASYM_ENCRYPT, kubernetes.KUBE_
186186
And XML file /opt/eap/standalone/configuration/standalone-openshift.xml should contain value pbcast.GMS on XPath //*[local-name()='stack'][@name='tcp']/*[local-name()='auth-protocol'][@type='AUTH']/following-sibling::*[1]/@type
187187

188188
Scenario: Verify configuration jgroups deprecated ASYM_ENCRYPT, dns.DNS_PING ping protocol and AUTH with Galleon
189-
Given s2i build git://github.com/jfdenise/openshift-jee-sample from . with env and true using master
189+
Given s2i build git://github.com/openshift/openshift-jee-sample from . with env and true using master
190190
| variable | value |
191191
| GALLEON_PROVISION_LAYERS | cloud-server,web-clustering |
192192
| JGROUPS_ENCRYPT_PROTOCOL | ASYM_ENCRYPT |
@@ -261,7 +261,7 @@ Scenario: Verify configuration jgroups non-deprecated ASYM_ENCRYPT, dns.DNS_PING
261261
And XML file /opt/eap/standalone/configuration/standalone-openshift.xml should have 0 elements on XPath //*[local-name()='tls']/*[local-name()='key-stores']/*[local-name()='key-store'][@name='keystore.jks']/*[local-name()='file']/@relative-to
262262

263263
Scenario: Verify configuration jgroups non-deprecated ASYM_ENCRYPT, kubernetes.KUBE_PING ping protocol ping and AUTH with Galleon
264-
Given s2i build git://github.com/jfdenise/openshift-jee-sample from . with env and true using master
264+
Given s2i build git://github.com/openshift/openshift-jee-sample from . with env and true using master
265265
| variable | value |
266266
| GALLEON_PROVISION_LAYERS | cloud-server,web-clustering |
267267
| JGROUPS_ENCRYPT_PROTOCOL | ASYM_ENCRYPT |

0 commit comments

Comments
 (0)