Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update container test for telemetry java8 compatibility #130

Open
wants to merge 231 commits into
base: mpTel20Java8
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
231 commits
Select commit Hold shift + click to select a range
68af269
re-enable metrics
Channyboy Jul 22, 2024
a718744
Add globalId back into registration EPR
jonhawkes Jul 22, 2024
bd2b28c
Add insecure provider message
rlcundiff Jul 22, 2024
f41bde1
Add headers to scim
wrodrig Sep 29, 2023
85ddcf8
message review update
rlcundiff Jul 23, 2024
f2903bd
Setup Jakarta Data recreates for Eclipselink
KyleAure Jul 19, 2024
8ede48f
Recreate https://github.com/OpenLiberty/open-liberty/issues/28912
KyleAure Jul 19, 2024
152f15d
Recreate https://github.com/OpenLiberty/open-liberty/issues/28913
KyleAure Jul 19, 2024
4535029
Recreate https://github.com/OpenLiberty/open-liberty/issues/28908
KyleAure Jul 19, 2024
31ee7b2
Recreate https://github.com/OpenLiberty/open-liberty/issues/28874
KyleAure Jul 19, 2024
1f247d5
Recreate https://github.com/OpenLiberty/open-liberty/issues/28920
KyleAure Jul 22, 2024
fb4dc37
Recreate https://github.com/OpenLiberty/open-liberty/issues/28909
KyleAure Jul 22, 2024
8f08689
Recreate https://github.com/OpenLiberty/open-liberty/issues/28931
KyleAure Jul 22, 2024
aaa483c
Recreate https://github.com/OpenLiberty/open-liberty/issues/28925
KyleAure Jul 22, 2024
e69e82c
recreate https://github.com/OpenLiberty/open-liberty/issues/29117
KyleAure Jul 23, 2024
099ef64
Recreate https://github.com/OpenLiberty/open-liberty/issues/28545
KyleAure Jul 23, 2024
01eed80
Initial code design for SameSite=None known incompatible clients
mrsaldana Feb 4, 2021
c7c8a39
Added Unit Tests & Remove Partitioned from Cookies with SameSiteNone
tssmith04 Jul 9, 2024
c417b4e
Working FAT Tests for Incompatible Clients
tssmith04 Jul 12, 2024
29a9403
Recreate https://github.com/OpenLiberty/open-liberty/issues/29073
KyleAure Jul 23, 2024
1febfef
recreate https://github.com/OpenLiberty/open-liberty/issues/28368
KyleAure Jul 24, 2024
c272791
Recrate https://github.com/OpenLiberty/open-liberty/issues/28813
KyleAure Jul 24, 2024
e4ef7e8
recreate https://github.com/OpenLiberty/open-liberty/issues/28928
KyleAure Jul 24, 2024
f12be43
Performance improvements for feature list utility
jhanders34 Jul 23, 2024
fcdc04f
recreate https://github.com/OpenLiberty/open-liberty/issues/28589
KyleAure Jul 24, 2024
e24dcc8
recreate https://github.com/OpenLiberty/open-liberty/issues/24926
KyleAure Jul 24, 2024
0c501ce
Recreate https://github.com/OpenLiberty/open-liberty/issues/28737
KyleAure Jul 25, 2024
df7879a
Recreate https://github.com/OpenLiberty/open-liberty/issues/28289
KyleAure Jul 25, 2024
1483d53
Recreate https://github.com/OpenLiberty/open-liberty/issues/28078
KyleAure Jul 25, 2024
9e985f8
Recreate https://github.com/OpenLiberty/open-liberty/issues/27696
KyleAure Jul 25, 2024
aa4b5cf
Issue #28078 remove workaround for EclipseLink issue now that it is f…
njr-11 Jul 25, 2024
7c7a3fe
Recreate https://github.com/OpenLiberty/open-liberty/issues/28905
KyleAure Jul 25, 2024
5a535f1
Recreate https://github.com/OpenLiberty/open-liberty/issues/28898
KyleAure Jul 25, 2024
e1df58c
recreate https://github.com/OpenLiberty/open-liberty/issues/28895
KyleAure Jul 25, 2024
cc9a208
Prevent resources bleeding into other tests
jonhawkes Jul 25, 2024
3b02d05
Fixes
KyleAure Jul 25, 2024
edc06a8
Issue #28078 adjust workaround which is still needed to allow more of…
njr-11 Jul 26, 2024
99dcb86
Add xxxContainer versionless features
jhanders34 Jul 26, 2024
0c05e12
Do not add attributes if not present
Channyboy Jul 26, 2024
ff82282
JAX-WS: Add enableSchemaValidation tests
neuwerk Jul 24, 2024
70e38a7
Another workarond for issue #22396
jonhawkes Jul 26, 2024
df8f095
Make space for new projects
jonhawkes Jul 27, 2024
6d637d6
Split buckets
jonhawkes Jul 27, 2024
eae3368
Increase slow threshold to resolve any slow test issues, we're not te…
Channyboy Jul 27, 2024
f444863
FT-Telemetry metrics change to reflect spec update
Azquelt Jul 27, 2024
917d649
create skeleton of fat test
benjamin-confino Jul 23, 2024
954b57a
add attributes to open telemetry
benjamin-confino Jul 23, 2024
26d0b07
getServiceName on mp 2.0
benjamin-confino Jul 24, 2024
7009db4
Add service instance id attribute
benjamin-confino Jul 24, 2024
5a1a971
flesh out test
benjamin-confino Jul 24, 2024
20403eb
update test to expect a service name from env on telemetry 2.0
benjamin-confino Jul 26, 2024
acfe4a9
Test for unkown service name
benjamin-confino Jul 26, 2024
25a2ab8
Expect unkown_service as the fallback name in mpTel 2.0
benjamin-confino Jul 28, 2024
4e6f985
Merge pull request #29151 from jonhawkes/29127-globalid
jonhawkes Jul 29, 2024
3ea3870
Merge pull request #29212 from jonhawkes/ffdcignore-again
jonhawkes Jul 29, 2024
b08d02b
Merge pull request #29198 from jonhawkes/bleeding-resources
jonhawkes Jul 29, 2024
df1d9b4
Merge pull request #29213 from jonhawkes/split-wsat-recovery
jonhawkes Jul 29, 2024
ef64085
Merge pull request #29132 from KyleAure/28366-recreate-jakarta-data-e…
KyleAure Jul 29, 2024
3a79d2b
Merge pull request #29182 from neuwerk/webServiceSchemaValidationTest
neuwerk Jul 29, 2024
110ceec
Add platform variation tests.
tbitonti Jul 23, 2024
53d43df
Remove use of Integer.max.
tbitonti Jul 24, 2024
ede1a05
add more platform tests
rsherget Jul 25, 2024
8fad38d
add spnego fat common lib (#29207)
Zech-Hein Jul 29, 2024
62ff078
FeatureUtility enable no proxy (#28782)
jjiwooLim Jul 29, 2024
882d30e
Accommodate slow running test machines by doubling asyncResponseTimeout
jonhawkes Jul 29, 2024
867dc0b
Merge pull request #29200 from njr-11/28078-remove-workaround
njr-11 Jul 29, 2024
e7ab718
add WL platform results
rsherget Jul 29, 2024
12fe9a3
Also emit UUID on apps
benjamin-confino Jul 29, 2024
3019ae6
Support instance attribute for bridged OpenLiberty (+http) metrics in…
Channyboy Jul 29, 2024
e98a378
Merge pull request #29220 from jonhawkes/longer-asyncResponseTimeout
jonhawkes Jul 30, 2024
0670c85
Merge pull request #29184 from benjamin-confino/28608-merge-in-otel-r…
benjamin-confino Jul 30, 2024
c2f7eed
Disable tests until new FT TCK is available
Azquelt Jul 30, 2024
bdb672e
Merge pull request #29209 from jhanders34/branch2
jhanders34 Jul 30, 2024
cbb5255
Merge pull request #29172 from jhanders34/perf-improvement4
jhanders34 Jul 30, 2024
80a9175
Update product and bundle version for release 24.0.0.9
contbld Jul 30, 2024
b7acade
Issue #27306 concurrency policy with virtual=true
njr-11 Jul 30, 2024
b9b0285
Issue #27306 test case for concurrency policy with virtual=true
njr-11 Jul 30, 2024
911a3a0
Add permission for org.apache.cxf.transport.http.HTTPConduit getting …
benjamin-confino Jul 30, 2024
f8e8740
Merge pull request #29201 from rsherget/platform-tests
rsherget Jul 30, 2024
d338916
remove ee10 from cache test and remove custom features from data
rsherget Jul 30, 2024
6582744
Delete SingleJson.json file after automated build
hlhoots Jul 30, 2024
7ab9be5
Issue #27306 ManagedThreadFactory with virtual=true
njr-11 Jul 30, 2024
18a645b
Issue #27306 remove workaround from schedasync test bucket
njr-11 Jul 30, 2024
b27d73f
Check messages log when console log exists but is empty
tjwatson Jul 30, 2024
c5c4a3c
Delay activation of OpenTelemetryLogHandler until restore
tjwatson Jul 30, 2024
5ee22ef
Add telemetry messages test for checkpoint
tjwatson Jul 30, 2024
6769829
Merge pull request #29216 from Azquelt/ft-telemetry-metrics-update
Azquelt Jul 30, 2024
df88207
Remove beta guards from CHIPS (Partitioned Cookies)
volosied May 9, 2024
dae62e2
Fix up test_setAttributePartitioned
volosied May 17, 2024
cd08c2b
Remove only beta flag
volosied Jul 31, 2024
3eaec7d
Merge pull request #29235 from benjamin-confino/otel-security-fat
benjamin-confino Jul 31, 2024
fd791f6
Don't override ABORTED
jonhawkes Jul 31, 2024
21972e3
Merge pull request #29236 from rsherget/versionless-cache-test-remove…
rsherget Jul 31, 2024
bdaf1eb
Merge pull request #29158 from rlcundiff/crypto-util-message
rlcundiff Jul 31, 2024
eb09137
Merge pull request #29243 from njr-11/27306-concurrency-policy-virtua…
njr-11 Jul 31, 2024
232e7ad
Enabled testDBPasswordNotLogged test, and simplify FATSuite
KyleAure Jul 30, 2024
2b5193e
oracle.jdbc.Trace > oracle.jdbc.diagnostic.enableLogging
KyleAure Jul 30, 2024
f71c91d
Fix failing testTrace test, add testOracle23Trace
KyleAure Jul 31, 2024
1d31481
Skip testSortByVersionFunction on postgresql
KyleAure Jul 31, 2024
eaaa37a
Merge pull request #29233 from OpenLiberty/autoVersionUpdate_20240730…
jhanders34 Jul 31, 2024
3620957
Add MpTelemetry otel collector JVM metrics tests
yasmin-aumeeruddy Aug 1, 2024
43b9c39
Limit retries
jonhawkes Aug 1, 2024
9922729
remove logging created for constant pool bug
benjamin-confino Jul 31, 2024
b36e197
Update FT TCK to 4.1-RC4 and enable tests
Azquelt Aug 1, 2024
98aa377
Merge pull request #29247 from KyleAure/bb301054-jakarta-data-postgre…
KyleAure Aug 1, 2024
b01d473
Merge pull request #29246 from KyleAure/bb301053-oracle-config-trace
KyleAure Aug 1, 2024
d826d8c
Add a few more filters on test packages
cbridgha Aug 1, 2024
7fd629e
Add method to add values bootstrap.properties of a server
tjwatson Aug 1, 2024
5c338eb
Merge pull request #29238 from hlhoots/29237-DeleteSingleJsonFileAfte…
hlhoots Aug 1, 2024
5e6e8eb
Make cookiePartitioned options lowercase
volosied Aug 1, 2024
7315dee
Issue #29258: Update test to only run on Java 11 or higher
hlhoots Aug 1, 2024
914b257
Add additional tests for FFDC with InstantOn
tjwatson Aug 1, 2024
8e78df7
Adding a couple more libraries to filter
cbridgha Aug 1, 2024
59d2f24
Set JAVA_HOME when not set.
jimblye Aug 1, 2024
dc3d373
Add comments regarding the defer option inWebAppSecurityConfigImpl
volosied Aug 1, 2024
e4d761f
Issue #24916 idea for test bucket to run ddlgen output
njr-11 Aug 1, 2024
e756e02
If console log is off then check messages log for successful restore
tjwatson Aug 1, 2024
1f4bd4c
Add InstantOn test for telemetry trace messages
tjwatson Aug 1, 2024
b6f963e
Issue #22762 test for record entity with embeddable id
njr-11 Aug 1, 2024
5ebe3db
Issue #22762 record entity with embeddable id
njr-11 Aug 1, 2024
1c55567
Issue #24916: Initial ddlgen support for Jakarta Data
tkburroughs Aug 1, 2024
2d9c325
Merge pull request #29244 from jonhawkes/no-overriding-aborted
jonhawkes Aug 2, 2024
d2c8cd3
Merge pull request #29254 from Azquelt/ft-metrics-enable-tests
Azquelt Aug 2, 2024
6b44f85
Merge pull request #29257 from cbridgha/MendScanTestFilters
cbridgha Aug 2, 2024
c25527b
Clean up Servlet 3.1 FAT test classes
pnicolucci Aug 2, 2024
f631fce
Use AlwaysPassesTest and enable test feature for InstantOn
tjwatson Jul 22, 2024
71d3942
Remove unecessary copying of server configuration files
tjwatson Jul 22, 2024
2d85163
Allow repeat method to configure multiple servers
tjwatson Jul 23, 2024
86c7bb1
Add repeat rules for embedded messaging InstantOn support
tjwatson Jul 23, 2024
b764eda
Fix dynamic config updates with wasJmsEndpoint
tjwatson Jul 23, 2024
382f123
Make LTPA reference conditional depending on checkpoint
tjwatson Jul 26, 2024
ee09c58
Test changing wasJmdEndpoint config after restore
tjwatson Jul 23, 2024
ae9a52e
Update copyright dates
tjwatson Jul 24, 2024
c13ee47
Add tests for MDB endpoint
tjwatson Jul 26, 2024
bb41832
Merge pull request #29266 from tkburroughs/24916-InitialDDLGenForJaka…
tkburroughs Aug 2, 2024
fc5edf7
Merge pull request #26450 from wrodrig/add-response-headers-scim
wrodrig Aug 2, 2024
1315319
Merge pull request #29260 from tjwatson/telemetryLogsCheckpointTest
tjwatson Aug 2, 2024
8e19363
Fixes bb301081
KyleAure Aug 2, 2024
9ce3a5f
small thread pool on startup for better large config start performance
gjdeval Jun 4, 2024
a5a214f
Merge pull request #29255 from gjdeval/large-config-small-thread-pool
gjdeval Aug 2, 2024
c36e235
Merge pull request #28392 from volosied/chips-remove-beta
volosied Aug 3, 2024
d58320a
Removed mapping JUL logs, when OTel agent is present
pgunapal Jul 30, 2024
71f2d3d
Addressed review comments
pgunapal Aug 2, 2024
5b82fdf
map os type in the same way as OsResource
benjamin-confino Aug 5, 2024
001ee48
tests pass on non-linux operating systems
rsherget Aug 5, 2024
1fa322b
Merge pull request #29259 from hlhoots/29258-UpdateTestForJava11Only
hlhoots Aug 5, 2024
e429519
Ensure some tests run
jonhawkes Aug 5, 2024
affce69
Fix oracle issue and find-by-delete issue
KyleAure Aug 2, 2024
88f58d0
Fix test failures
KyleAure Aug 5, 2024
4b855e6
Remove source folder config for feature visibility folders
tjwatson Aug 5, 2024
b667d13
Merge branch 'integration' into removeDupJULMsgsInMpTel2
pgunapal Aug 3, 2024
653a8ab
Faces 4.1 Update Schemas
pmd1nh Jul 26, 2024
364ae70
Merge pull request #29285 from tjwatson/removeFeatureSourceFolderConfig
tjwatson Aug 5, 2024
7589f71
Merge pull request #29166 from tjwatson/InstantOnEmbeddedMessaging
tjwatson Aug 5, 2024
a1ea791
Fix bb301122
KyleAure Aug 5, 2024
c7c0a9e
Merge pull request #29264 from njr-11/24916-test-bucket-to-run-genera…
njr-11 Aug 5, 2024
93f80ed
Add MpTelemetry otel collector JVM metrics tests
yasmin-aumeeruddy Aug 5, 2024
7e560fb
Clarify the scope of the webAppSecurity attributes (#28327)
una-tapa Aug 5, 2024
9edc19c
29288 - original files
WhiteCat22 Aug 5, 2024
54dda7b
Issue #29292 virtual=true not ignored on Java 17 for ManagedThreadFac…
njr-11 Aug 5, 2024
145f7df
29288 - update WadlGenerator to only return explicitly the stylesheet
WhiteCat22 Aug 5, 2024
d64cbc4
Issue #29292 informational message when ignoring virtual=true
njr-11 Aug 5, 2024
607269c
stop servers after test
rsherget Aug 5, 2024
e1bcc3e
29288 - code review changes
WhiteCat22 Aug 5, 2024
a934685
Update the liberty metrics to use app.name for Session metrics and
Channyboy Aug 5, 2024
9b65674
Merge pull request #29208 from Channyboy/otel-http-metrics-empty-attr…
Channyboy Aug 5, 2024
7c2771e
Merge pull request #29281 from benjamin-confino/29280-map-os-type
benjamin-confino Aug 6, 2024
69dc97a
Merge pull request #29283 from jonhawkes/rearrange-tests
jonhawkes Aug 6, 2024
9bdc071
Merge pull request #29282 from rsherget/versionless-chaching-tests
rsherget Aug 6, 2024
e4f8312
Merge pull request #29295 from rsherget/versionless-mp-tests-stop-ser…
rsherget Aug 6, 2024
08c3dd0
Add HTTP request duration metric description as well
Channyboy Aug 6, 2024
a941bf6
Merge pull request #29268 from pnicolucci/cleanupServlet31FATTests
pnicolucci Aug 6, 2024
06b7e12
Merge pull request #29269 from KyleAure/defect-cleanup
KyleAure Aug 6, 2024
bf015cb
Merge pull request #29270 from KyleAure/defect-cleanup-2
KyleAure Aug 6, 2024
20118d0
Update dev/io.openliberty.concurrent.internal/resources/io/openlibert…
njr-11 Aug 6, 2024
e6bb2b2
Update dev/io.openliberty.concurrent.internal/resources/io/openlibert…
njr-11 Aug 6, 2024
0664944
Update dev/io.openliberty.concurrent.internal/resources/io/openlibert…
njr-11 Aug 6, 2024
a654527
Merge pull request #29239 from pgunapal/removeDupJULMsgsInMpTel2
pgunapal Aug 6, 2024
e216b3b
Apply ID suggestions from code review
Channyboy Aug 6, 2024
bbb35d1
enable microprofile and servlet versionless tests
rsherget Aug 6, 2024
87fd2e0
Issue #24916 detecting version attribute
njr-11 Aug 6, 2024
e282ea0
Issue #24916 test of autodetected version attribute
njr-11 Aug 6, 2024
1df2f59
Ignore start failure when test has already passed
jonhawkes Aug 6, 2024
e3be72a
Merge pull request #29291 from KyleAure/defects-concurrency-java-23
KyleAure Aug 6, 2024
c44fb29
Merge pull request #29141 from Channyboy/renableRequstTimingMetricstest
Channyboy Aug 6, 2024
d419ddf
Merge pull request #29214 from Channyboy/telemetry-monitor-metrics-in…
Channyboy Aug 6, 2024
5df252e
correctly add platform version env var to resolver test
rsherget Aug 6, 2024
6f7afdf
Issue #29303 : NPE check in PauseableComponentQuiesceListener.java
hlhoots Aug 6, 2024
e18b519
Apply additional ID suggestions from code review
Channyboy Aug 6, 2024
1eabc1f
Avoid re-activation of CacheServiceImpl when there is an update in se…
anjumfatima90 Aug 1, 2024
f0f07cf
Rename the cache config condition
anjumfatima90 Aug 6, 2024
28e3169
Merge pull request #29297 from Channyboy/libertmyetricsfat-ee7
Channyboy Aug 6, 2024
008dfdf
Merge pull request #29294 from njr-11/29292-virtual-true-not-ignored
njr-11 Aug 6, 2024
97fe326
Merge pull request #29302 from jonhawkes/multi-connect-failover
jonhawkes Aug 7, 2024
3aaa951
Ignore start failure when test has already passed
jonhawkes Aug 7, 2024
0f2da34
Merge pull request #29248 from benjamin-confino/revert-logging-for-co…
benjamin-confino Aug 7, 2024
b5dd8ef
Remove noship-1.0 from tested.features
pnicolucci Mar 29, 2024
8be203c
Added more test coverage
tssmith04 Jul 12, 2024
9b570c6
Merge pull request #29252 from yasmin-aumeeruddy/telemetry-jvm-tests
yasmin-aumeeruddy Aug 7, 2024
af04c16
split info factory to create lifecycle management class
benjamin-confino Aug 1, 2024
a97cfae
Merge pull request #29300 from njr-11/24916-detecting-version-attribute
njr-11 Aug 7, 2024
a1075ff
Merge pull request #29299 from rsherget/enable-microprofile-and-servl…
rsherget Aug 7, 2024
56d72e6
Merge pull request #29293 from WhiteCat22/29288_wadlgenerator
WhiteCat22 Aug 7, 2024
57ecccd
Merge pull request #29304 from hlhoots/29303-NPECheckInPauseCompQuiLi…
hlhoots Aug 7, 2024
b2aebaf
Merge pull request #29305 from anjumfatima90/NPE-CacheServiceImpl-Rea…
anjumfatima90 Aug 7, 2024
b1dfeb2
refactor infofactory
benjamin-confino Aug 2, 2024
df1c43c
update logging tests to match refactor
benjamin-confino Aug 2, 2024
5d9107c
Merge pull request #29210 from pmd1nh/29070-Faces_4_1_Update_Schemas
pmd1nh Aug 7, 2024
32a4e47
Issue #28595 better enforce requirements around primary entity
njr-11 Aug 7, 2024
3de1ed4
Issue #28595 deletion by embedded id
njr-11 Aug 7, 2024
495caff
Add java 2 security permission
Aug 7, 2024
8be04df
Merge pull request #29310 from jonhawkes/wait-for-recovery-test
jonhawkes Aug 8, 2024
5147786
Merge pull request #29271 from benjamin-confino/29253-clean-up-info-f…
benjamin-confino Aug 8, 2024
6b42647
Merge pull request #28051 from pnicolucci/RemoveNoShipTestedFeaturesD…
pnicolucci Aug 8, 2024
cc66f1a
Merge pull request #29322 from njr-11/28595-requirements-around-prima…
njr-11 Aug 8, 2024
e2b2043
Merge pull request #29261 from jimblye/28947-Hard-to-diagnose-behavio…
jimblye Aug 8, 2024
6146e2a
Merge pull request #29048 from tssmith04/SameSiteFAT
tssmith04 Aug 8, 2024
dd16aa7
Merge pull request #29324 from fmhwong/issue-29323
fmhwong Aug 8, 2024
1488414
Subject is readOnly error is thrown in a race condition (#29301)
una-tapa Aug 8, 2024
5ddd783
wait for GC before looking for metrics
benjamin-confino Aug 8, 2024
cfb1328
Merge pull request #29328 from benjamin-confino/29253-clean-up-info-f…
benjamin-confino Aug 9, 2024
c025dce
Update Telemetry Java8 repeats
yasmin-aumeeruddy Aug 7, 2024
1c8eec1
Update copyright dates
Azquelt Jul 22, 2024
ea3fe48
TelemetryAloneTest requires Java 11
Azquelt Jul 22, 2024
b26ed6f
Update container test for telemetry java8 compatibility
yasmin-aumeeruddy Jul 25, 2024
07341cd
Update MpTelemetry FAT repeats to include Java8
yasmin-aumeeruddy Jul 29, 2024
0edbf1f
Update MPTelemetryConnectionPoolMetricsAdapterImpl to run on Java8
yasmin-aumeeruddy Jul 30, 2024
18a713b
Update Telemetry Java8 repeats
yasmin-aumeeruddy Aug 1, 2024
7105203
Change io.openliberty.microprofile.telemetry.monitor.internal min jav…
yasmin-aumeeruddy Aug 8, 2024
ed2de53
Update MpTelemetry TestResource for java8
yasmin-aumeeruddy Aug 9, 2024
b593357
Update io.openliberty.http.monitor for java8
yasmin-aumeeruddy Aug 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,15 @@ public class Repository {
"com.ibm.ws:xalan:1.0.2",
"io.netty:netty-codec-http:4.1.107.Final",
"io.netty:netty-codec-http:4.1.94.Final",
"org.bouncycastle:bcprov-jdk18on:1.77");
"io.netty:netty-codec-http:4.1.90.Final",
"org.bouncycastle:bcprov-jdk18on:1.77",
"org.apache.cxf:cxf-rt-frontend-jaxrs:3.1.16",
"org.apache.cxf:cxf-rt-rs-client:3.1.16",
"org.apache.cxf:cxf-rt-rs-service-description:3.1.16",
"org.apache.cxf:cxf-rt-transports-http:3.1.16",
"org.apache.cxf:cxf-tools-common:3.1.16",
"org.apache.cxf:cxf-tools-wadlto-jaxrs:3.1.16",
"org.eclipse.parsson:parsson:1.1.0");

private final Map<String, List<Module>> moduleMap = new HashMap<>();

Expand Down
5 changes: 5 additions & 0 deletions dev/cnf/dependabot/check_this_in_if_it_changes/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -676,6 +676,11 @@
<artifactId>opentelemetry-instrumentation-api</artifactId>
<version>2.1.0</version>
</dependency>
<dependency>
<groupId>io.opentelemetry.instrumentation</groupId>
<artifactId>opentelemetry-resources</artifactId>
<version>2.1.0-alpha</version>
</dependency>
<dependency>
<groupId>io.opentelemetry.instrumentation</groupId>
<artifactId>opentelemetry-runtime-telemetry-java8</artifactId>
Expand Down
1 change: 1 addition & 0 deletions dev/cnf/oss_dependencies.maven
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ io.opentelemetry.instrumentation:opentelemetry-instrumentation-api-semconv:1.32.
io.opentelemetry.instrumentation:opentelemetry-instrumentation-api:1.19.0
io.opentelemetry.instrumentation:opentelemetry-instrumentation-api:1.29.0
io.opentelemetry.instrumentation:opentelemetry-instrumentation-api:2.1.0
io.opentelemetry.instrumentation:opentelemetry-resources:2.1.0-alpha
io.opentelemetry.instrumentation:opentelemetry-runtime-telemetry-java8:2.4.0-alpha
io.opentelemetry.semconv:opentelemetry-semconv:1.23.1-alpha
io.opentelemetry.semconv:opentelemetry-semconv:1.25.0-alpha
Expand Down
6 changes: 3 additions & 3 deletions dev/cnf/resources/bnd/liberty-release.props
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
releaseTypeGA=true

libertyBaseVersion=24.0.0
libertyFixpackVersion=8
libertyFixpackVersion=9
libertyServiceVersion=${libertyBaseVersion}.${libertyFixpackVersion}
libertyBetaVersion=2024.8.0.0
libertyBetaVersion=2024.9.0.0
libertyRelease=${if;${releaseTypeGA};${libertyServiceVersion};${libertyBetaVersion}}

libertyBundleMicroVersion=92
libertyBundleMicroVersion=93
copyrightBuildYear=2024
buildID=${libertyRelease}-${def;buildLabel}
productEdition=BASE_ILAN
Expand Down
4 changes: 0 additions & 4 deletions dev/com.ibm.websphere.appserver.features/.classpath
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="visibility/auto"/>
<classpathentry kind="src" path="visibility/private"/>
<classpathentry kind="src" path="visibility/protected"/>
<classpathentry kind="src" path="visibility/public"/>
<classpathentry kind="src" output="bin_test" path="test/src"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
Expand Down
6 changes: 6 additions & 0 deletions dev/com.ibm.websphere.appserver.features/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -362,10 +362,16 @@ publishing {
}
}

task cleanSingleJsonRepo {
doLast {
delete project.file('build/temp/SingleJson.json')
}
}
if (isAutomatedBuild) {
def singleOpenLibertyJsonRepo = project.file('build/temp/SingleJson.json')
task generateSingleJsonRepo {
dependsOn publishFeatureResources
dependsOn cleanSingleJsonRepo
inputs.dir new File(project.buildDir, 'repo')
outputs.file singleOpenLibertyJsonRepo
doLast {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,17 @@ private static void processFeatureInfo(FeatureInfo featureInfo, Set<FeatureInfo>
System.out.println(" [ " + depName + " ** NOT FOUND ** ]");
// Only include dependent features that do not have tolerates. If a feature depends on particular version it will have been
// included in the convenience feature due to how tolerates works to not be transitive.
} else if (!attr.containsKey("ibm.tolerates:") || depName.startsWith("com.ibm.websphere.appserver.jdbc-") || !depInfo.getKind().equals("ga")) {
} else if (!attr.containsKey("ibm.tolerates:") || depName.startsWith("com.ibm.websphere.appserver.jdbc-")) {
if (depInfo.isPublic()) {
publicDepFeatures.add(depInfo);
// Check for a Container feature and add it to the list of features
String possibleContainerFeature = depInfo.getBaseName() + "Container-" + depInfo.getVersion();
FeatureInfo containerFeatureInfo = getFeature(possibleContainerFeature);
if (containerFeatureInfo != null) {
if (processedDepFeatures.add(containerFeatureInfo.getName())) {
publicDepFeatures.add(containerFeatureInfo);
}
}
}
processFeatureInfo(depInfo, publicDepFeatures, processedDepFeatures);
}
Expand Down Expand Up @@ -428,42 +436,39 @@ public void listSelectorDetails() {
//each feature dependency of the platform
Set<FeatureInfo> publicDepFeatures = getAllPublicDependentFeatures(featureInfo);
for (FeatureInfo depInfo : publicDepFeatures) {
//Only process features in "ga"
if (depInfo.getKind().equals("ga")) {
System.out.println(" [ " + depInfo.getBaseName() + " - " + depInfo.getVersion() + " ]");
System.out.println(" [ " + depInfo.getBaseName() + " - " + depInfo.getVersion() + " ]");

if (depInfo.isAlsoKnownAsSet()) {
System.out.println(" [ AKA: " + depInfo.getAlsoKnownAs() + " ]");
}
if (depInfo.isAlsoKnownAsSet()) {
System.out.println(" [ AKA: " + depInfo.getAlsoKnownAs() + " ]");
}

//
String featureTitle = depInfo.getShortName().split("-")[0]; //Just the name not the version
//
String featureTitle = depInfo.getShortName().split("-")[0]; //Just the name not the version

//add features to our map and add data on its platform-version link
if (versionlessFeatures.containsKey(featureTitle)) {
versionlessFeatures.get(featureTitle)
.addFeaturePlatform(new String[] { depInfo.getShortName(), baseName.replace("javaee", "jakartaee") + "-" + version,
depInfo.getName() });
} else {
versionlessFeatures.put(featureTitle,
new VersionlessFeatureDefinition(featureTitle, featureTitle,
new String[] { depInfo.getShortName(),
baseName.replace("javaee", "jakartaee") + "-" + version,
depInfo.getName() },
depInfo.getEdition(),
depInfo.getKind()));
}
//add features to our map and add data on its platform-version link
if (versionlessFeatures.containsKey(featureTitle)) {
versionlessFeatures.get(featureTitle)
.addFeaturePlatformAndKind(new String[] { depInfo.getShortName(), baseName.replace("javaee", "jakartaee") + "-" + version,
depInfo.getName(), depInfo.getKind() });
} else {
versionlessFeatures.put(featureTitle,
new VersionlessFeatureDefinition(featureTitle, featureTitle,
new String[] { depInfo.getShortName(),
baseName.replace("javaee", "jakartaee") + "-" + version,
depInfo.getName(),
depInfo.getKind() },
depInfo.getEdition()));
}

//Keep track of features with updated names via the alsoknownas metadata
if (depInfo.isAlsoKnownAsSet()) {
String aka = depInfo.getAlsoKnownAs().split("-")[0];
if (!aka.equals(featureTitle)) {
if (versionlessFeatures.get(featureTitle).getAlsoKnownAs() == null) {
versionlessFeatures.get(featureTitle).setAlsoKnownAs(aka);
}
if (versionlessFeatures.containsKey(aka)) {
versionlessFeatures.get(aka).setAKAFutureFeature(featureTitle);
}
//Keep track of features with updated names via the alsoknownas metadata
if (depInfo.isAlsoKnownAsSet()) {
String aka = depInfo.getAlsoKnownAs().split("-")[0];
if (!aka.equals(featureTitle)) {
if (versionlessFeatures.get(featureTitle).getAlsoKnownAs() == null) {
versionlessFeatures.get(featureTitle).setAlsoKnownAs(aka);
}
if (versionlessFeatures.containsKey(aka)) {
versionlessFeatures.get(aka).setAKAFutureFeature(featureTitle);
}
}
}
Expand Down Expand Up @@ -559,9 +564,7 @@ public Map<String, List<String>> getSelectorCohorts() {
"opentracing",
"jndi",
"restConnector", // restConnector-2.0 was erroneously added to jakartaee-9.1
"jpaContainer", // jpa depends on jpaContainer
"persistenceContainer" // persistence depends on persistenceContainer.
));
"bells"));

private static Map<String, int[]> versions = new HashMap<>();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ public boolean createFeatureFiles(VersionlessFeatureDefinition feature, Versionl
// this feature is the older version of an newer feature
// ex. ejb
// in this scenario we add the future feature versions
ArrayList<String[]> temp = akaFeature.getFeaturesAndPlatform();
ArrayList<String[]> temp = akaFeature.getFeaturesAndPlatformAndKind();
for (String[] featAndPlat : temp) {
feature.addFeaturePlatform(featAndPlat);
feature.addFeaturePlatformAndKind(featAndPlat);
}
} else {
if (feature.getAKAFutureFeature() != null) {
Expand All @@ -54,7 +54,7 @@ public boolean createFeatureFiles(VersionlessFeatureDefinition feature, Versionl
// features[1] == the name of the platform it depends on ex. jakartaPlatform-8.0
// features[2] == the full name of the feature ex. com.ibm.ws.servlet-4.0
if (feature.getAlsoKnownAs() == null) {
for (String[] features : feature.getFeaturesAndPlatform()) {
for (String[] features : feature.getFeaturesAndPlatformAndKind()) {
//Code for utilizing the ee/mp versions to add within the private feature defs
String[] dependencyVersions = feature.getAllDependencyVersions(features[0], features[1].split("-")[0]);

Expand All @@ -70,7 +70,7 @@ public boolean createFeatureFiles(VersionlessFeatureDefinition feature, Versionl
}

if (createPrivateVersionedFeature(feature.getFeatureName(), akaFeature == null ? null : akaFeature.getFeatureName(), features[0].split("-")[1], x, y,
features[2], feature.getEdition(), feature.getKind())) {
features[2], feature.getEdition(), features[3])) {
generatedNewFile = true;
}
}
Expand Down Expand Up @@ -109,6 +109,10 @@ private boolean createPrivateVersionedFeature(String featureName, String akaFeat
writer.newLine();
writer.append("-features= \\");
writer.newLine();
if ("noship".equals(kind)) {
writer.append(" io.openliberty.noShip-1.0, \\");
writer.newLine();
}
if (x != null && y != null) {
writer.append(" " + x + "-" + y + ", \\");
writer.newLine();
Expand All @@ -117,7 +121,7 @@ private boolean createPrivateVersionedFeature(String featureName, String akaFeat
writer.newLine();
writer.append("kind=" + kind);
writer.newLine();
writer.append("edition=" + edition);
writer.append("edition=" + ("noship".equals(kind) ? "full" : edition));
writer.newLine();

writer.close();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,24 @@ public class VersionlessFeatureDefinition {

private final String featureName;
private final String subsystemName;
private final ArrayList<String[]> featuresAndPlatform;
private final ArrayList<String[]> featuresAndPlatformAndKind;
private String alsoKnownAs;
private String akaFutureFeature;
private final String edition;
private final String kind;

public VersionlessFeatureDefinition(String featureName, String subsystemName, ArrayList<String[]> featuresAndPlatform, String editon, String kind) {
public VersionlessFeatureDefinition(String featureName, String subsystemName, ArrayList<String[]> featuresAndPlatformAndKind, String editon) {
this.featureName = featureName;
this.subsystemName = subsystemName;
this.featuresAndPlatform = featuresAndPlatform;
this.featuresAndPlatformAndKind = featuresAndPlatformAndKind;
this.edition = editon;
this.kind = kind;
}

public VersionlessFeatureDefinition(String featureName, String subsystemName, String[] featureAndPlatform, String edition, String kind) {
public VersionlessFeatureDefinition(String featureName, String subsystemName, String[] featureAndPlatformAndKind, String edition) {
this.featureName = featureName;
this.subsystemName = subsystemName;
this.featuresAndPlatform = new ArrayList<String[]>();
featuresAndPlatform.add(featureAndPlatform);
this.featuresAndPlatformAndKind = new ArrayList<String[]>();
featuresAndPlatformAndKind.add(featureAndPlatformAndKind);
this.edition = edition;
this.kind = kind;
}

/**
Expand Down Expand Up @@ -70,21 +67,21 @@ public void setAKAFutureFeature(String futureFeature) {
/**
* Get the features mapped to their platform dependency
* EX:
* jpa-2.2, jakartaPlatform-8.0
* persistence-3.0, JakartaPlatform-9.1
* jpa-2.2, jakartaPlatform-8.0, ga
* persistence-3.0, JakartaPlatform-9.1, ga
*
* @return
*/
public ArrayList<String[]> getFeaturesAndPlatform() {
return this.featuresAndPlatform;
public ArrayList<String[]> getFeaturesAndPlatformAndKind() {
return this.featuresAndPlatformAndKind;
}

public void addFeaturePlatform(String[] featurePlatform) {
featuresAndPlatform.add(featurePlatform);
public void addFeaturePlatformAndKind(String[] featurePlatformAndKind) {
featuresAndPlatformAndKind.add(featurePlatformAndKind);
}

public void addFeaturePlatform(String feature, String platform) {
featuresAndPlatform.add(new String[] { feature, platform });
public void addFeaturePlatformAndKind(String feature, String platform, String kind) {
featuresAndPlatformAndKind.add(new String[] { feature, platform, kind });
}

/**
Expand All @@ -95,7 +92,7 @@ public void addFeaturePlatform(String feature, String platform) {
public String[] getPreferredAndTolerates() {
ArrayList<String> versions = new ArrayList<String>();

for (String[] featAndPlat : featuresAndPlatform) {
for (String[] featAndPlat : featuresAndPlatformAndKind) {
if (!versions.contains(featAndPlat[0].split("-")[1])) {
versions.add(featAndPlat[0].split("-")[1]);
}
Expand Down Expand Up @@ -127,7 +124,7 @@ public String[] getPreferredAndTolerates(ArrayList<String> versions) {
public ArrayList<String> getAllVersions() {
ArrayList<String> versions = new ArrayList<String>();

for (String[] featAndPlat : featuresAndPlatform) {
for (String[] featAndPlat : featuresAndPlatformAndKind) {
if (!versions.contains(featAndPlat[0].split("-")[1])) {
versions.add(featAndPlat[0].split("-")[1]);
}
Expand All @@ -149,8 +146,8 @@ public String[] getAllDependencyVersions(String versionedFeature, String depende
String result = "";
String currentLow = "" + Double.MAX_VALUE;

for (int i = 0; i < featuresAndPlatform.size(); i++) {
String[] fnp = featuresAndPlatform.get(i);
for (int i = 0; i < featuresAndPlatformAndKind.size(); i++) {
String[] fnp = featuresAndPlatformAndKind.get(i);
if (fnp[0].equals(versionedFeature)) {
if (fnp[1].contains(dependency + "-")) {
//Should leave you with "(version number).feature" ex. "1.2"
Expand Down Expand Up @@ -196,6 +193,19 @@ public static int compareVersions(String version1, String version2) {
* @return the kind
*/
public String getKind() {
String kind = "noship";
for (int i = 0; i < featuresAndPlatformAndKind.size(); i++) {
if ("ga".equals(kind)) {
break;
}
String[] fnp = featuresAndPlatformAndKind.get(i);
String versionKind = fnp[3];
// If current kind is noship, then just set it to what versionKind is. It is going to either be noship, beta or ga
// If version kind is ga, then set kind to version kind. Otherwise leave it be beta or ga because it wouldn't change
if ("noship".equals(kind) || "ga".equals(versionKind)) {
kind = versionKind;
}
}
return kind;
}
}
Loading