Skip to content

Commit 3525f02

Browse files
authored
Merge pull request #205 from jmtd/bring-back-jolokia
[OPENJDK-37] Delay removing Jolokia to the next release
2 parents 780fe85 + 06c3aea commit 3525f02

12 files changed

+39
-0
lines changed

openjdk-11-rhel7.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ modules:
4242
version: "11"
4343
- name: jboss.container.prometheus
4444
version: "7"
45+
- name: jboss.container.jolokia
46+
version: "7"
4547
- name: jboss.container.java.s2i.bash
4648
- name: jboss.container.maven
4749
version: "7.0.3.6"

openjdk18-openshift.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ modules:
4343
version: "8"
4444
- name: jboss.container.prometheus
4545
version: "7"
46+
- name: jboss.container.jolokia
47+
version: "7"
4648
- name: jboss.container.java.s2i.bash
4749
- name: jboss.container.maven
4850
version: "7.0.3.6"

templates/openjdk-web-basic-s2i.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,11 @@
259259
"env": [
260260
],
261261
"ports": [
262+
{
263+
"name": "jolokia",
264+
"containerPort": 8778,
265+
"protocol": "TCP"
266+
},
262267
{
263268
"name": "http",
264269
"containerPort": 8080,

tests/arq/src/test/resources/openjdk18-mysql-persistent-s2i.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,11 @@
459459
}
460460
],
461461
"ports": [
462+
{
463+
"name": "jolokia",
464+
"containerPort": 8778,
465+
"protocol": "TCP"
466+
},
462467
{
463468
"name": "http",
464469
"containerPort": 8080,

tests/arq/src/test/resources/openjdk18-mysql-s2i.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,11 @@
453453
}
454454
],
455455
"ports": [
456+
{
457+
"name": "jolokia",
458+
"containerPort": 8778,
459+
"protocol": "TCP"
460+
},
456461
{
457462
"name": "http",
458463
"containerPort": 8080,

tests/arq/src/test/resources/openjdk18-postgresql-persistent-s2i.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,11 @@
444444
}
445445
],
446446
"ports": [
447+
{
448+
"name": "jolokia",
449+
"containerPort": 8778,
450+
"protocol": "TCP"
451+
},
447452
{
448453
"name": "http",
449454
"containerPort": 8080,

tests/arq/src/test/resources/openjdk18-postgresql-s2i.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,11 @@
438438
}
439439
],
440440
"ports": [
441+
{
442+
"name": "jolokia",
443+
"containerPort": 8778,
444+
"protocol": "TCP"
445+
},
441446
{
442447
"name": "http",
443448
"containerPort": 8080,

tests/arq/src/test/resources/openjdk18-web-https-s2i.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,11 @@
366366
}
367367
],
368368
"ports": [
369+
{
370+
"name": "jolokia",
371+
"containerPort": 8778,
372+
"protocol": "TCP"
373+
},
369374
{
370375
"name": "http",
371376
"containerPort": 8080,

tests/features/java/ports.feature

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ Feature: Openshift OpenJDK port tests
88
Scenario: Check ports are available
99
Given s2i build https://github.com/jboss-openshift/openshift-quickstarts from undertow-servlet
1010
Then check that port 8080 is open
11+
Then check that port 8778 is open
1112
Then inspect container
1213
| path | value |
1314
| /Config/ExposedPorts | 8080/tcp |
1415
| /Config/ExposedPorts | 8443/tcp |
16+
| /Config/ExposedPorts | 8778/tcp |

tests/features/java/runtime.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,4 @@ Feature: Openshift OpenJDK Runtime tests
3232
| JAVA_DIAGNOSTICS | true |
3333
Then container log should contain /deployments/undertow-servlet.jar Hello from CTF test
3434
And container log should contain -XX:NativeMemoryTracking=summary
35+
And container log should contain Jolokia: Agent started

0 commit comments

Comments
 (0)