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

Switch to EE 11 only and promote dataContainer-1.0 to beta #28816

Merged
merged 14 commits into from
Jun 22, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Issue #28661 remove toleration of Jakarta EE 10 by data-1.0 and dataC…
…ontainer-1.0
njr-11 committed Jun 21, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 0987d85b2b71b5a5a283ff7b6b05491d24accb1d
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
-include= ~${workspace}/cnf/resources/bnd/feature.props
symbolicName=io.openliberty.data1.0-jdbc
#TODO temporarily using EE 10 versions. Expect this to change for EE 11
visibility=private
IBM-Provision-Capability: \
osgi.identity; filter:="(&(type=osgi.subsystem.feature)(|(osgi.identity=io.openliberty.data-1.1)(osgi.identity=io.openliberty.data-1.0)))", \
osgi.identity; filter:="(&(type=osgi.subsystem.feature)(|(osgi.identity=com.ibm.websphere.appserver.jdbc-4.3)(osgi.identity=com.ibm.websphere.appserver.jdbc-4.2)))"
-features=\
com.ibm.websphere.appserver.transaction-2.0,\
com.ibm.websphere.appserver.jdbc-4.2; ibm.tolerates:="4.3",\
com.ibm.websphere.appserver.jdbc-4.3; ibm.tolerates:="4.2",\
io.openliberty.persistenceService-2.0
-bundles=\
io.openliberty.data.internal.persistence
Original file line number Diff line number Diff line change
@@ -13,11 +13,11 @@ IBM-API-Package: \
jakarta.data.repository; type="spec",\
jakarta.data.spi; type="spec"
Subsystem-Name: Jakarta Data 1.0
#TODO io.openliberty.jakartaeePlatform-11.0 and stop tolerating EE 10
-features=\
com.ibm.websphere.appserver.eeCompatible-10.0; ibm.tolerates:="11.0",\
io.openliberty.cdi-4.0; ibm.tolerates:="4.1",\
io.openliberty.jakarta.data-1.0
com.ibm.websphere.appserver.eeCompatible-11.0,\
io.openliberty.cdi-4.1,\
io.openliberty.jakarta.data-1.0,\
io.openliberty.jakartaeePlatform-11.0
-bundles=\
io.openliberty.data.internal,\
io.openliberty.data.internal.beandef,\
Original file line number Diff line number Diff line change
@@ -14,8 +14,8 @@ IBM-API-Package: \
jakarta.data.spi; type="spec"
Subsystem-Name: Jakarta Data 1.0 Container
-features=\
com.ibm.websphere.appserver.eeCompatible-10.0; ibm.tolerates:="11.0",\
io.openliberty.cdi-4.0; ibm.tolerates:="4.1",\
com.ibm.websphere.appserver.eeCompatible-11.0,\
io.openliberty.cdi-4.1,\
io.openliberty.jakarta.data-1.0,\
io.openliberty.noShip-1.0
-bundles=\
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
Copyright (c) 2022,2023 IBM Corporation and others.
Copyright (c) 2022,2024 IBM Corporation and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License 2.0
which accompanies this distribution, and is available at
@@ -14,12 +14,12 @@

<featureManager>
<feature>componenttest-2.0</feature>
<feature>concurrent-3.0</feature> <!-- for @Asynchronous -->
<feature>concurrent-3.1</feature> <!-- for @Asynchronous -->
<feature>data-1.0</feature>
<feature>jdbc-4.3</feature>
<feature>jndi-1.0</feature>
<!-- persistence-3.1 must NOT be added so that we cover Jakarta Data with JDBC only -->
<feature>servlet-6.0</feature>
<!-- persistence-3.2 must NOT be added so that we cover Jakarta Data with JDBC only -->
<feature>servlet-6.1</feature>
</featureManager>

<include location="../fatTestPorts.xml"/>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
xJAVA_HOME=/Users/njr/drivers/jdk-21.jdk/Contents/Home
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this was checked in accidentally since it contains a local dir

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for spotting that. I have removed it here: bb73b30

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
Copyright (c) 2022,2023 IBM Corporation and others.
Copyright (c) 2022,2024 IBM Corporation and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License 2.0
which accompanies this distribution, and is available at
@@ -14,12 +14,12 @@

<featureManager>
<feature>componenttest-2.0</feature>
<feature>concurrent-3.0</feature> <!-- for @Asynchronous -->
<feature>concurrent-3.1</feature> <!-- for @Asynchronous -->
<feature>data-1.0</feature>
<feature>jdbc-4.3</feature>
<feature>jndi-1.0</feature>
<!-- persistence-3.1 must NOT be added so that we cover Jakarta Data with JDBC only -->
<feature>servlet-6.0</feature>
<!-- persistence-3.2 must NOT be added so that we cover Jakarta Data with JDBC only -->
<feature>servlet-6.1</feature>
</featureManager>

<include location="../fatTestPorts.xml"/>
Original file line number Diff line number Diff line change
@@ -16,8 +16,8 @@
<feature>componenttest-2.0</feature>
<feature>data-1.0</feature>
<feature>jndi-1.0</feature>
<feature>persistence-3.1</feature>
<feature>servlet-6.0</feature>
<feature>persistence-3.2</feature>
<feature>servlet-6.1</feature>
</featureManager>

<include location="../fatTestPorts.xml"/>
Original file line number Diff line number Diff line change
@@ -17,8 +17,8 @@
<feature>data-1.0</feature>
<feature>enterpriseBeans-4.0</feature>
<feature>jndi-1.0</feature>
<feature>persistence-3.1</feature>
<feature>servlet-6.0</feature>
<feature>persistence-3.2</feature>
<feature>servlet-6.1</feature>
</featureManager>

<include location="../fatTestPorts.xml"/>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
Copyright (c) 2022,2023 IBM Corporation and others.
Copyright (c) 2022,2024 IBM Corporation and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License 2.0
which accompanies this distribution, and is available at
@@ -16,8 +16,8 @@
<feature>componenttest-2.0</feature>
<feature>data-1.0</feature>
<feature>jndi-1.0</feature>
<feature>persistence-3.1</feature>
<feature>servlet-6.0</feature>
<feature>persistence-3.2</feature>
<feature>servlet-6.1</feature>
</featureManager>

<include location="../fatTestPorts.xml"/>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
Copyright (c) 2022,2023 IBM Corporation and others.
Copyright (c) 2022,2024 IBM Corporation and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License 2.0
which accompanies this distribution, and is available at
@@ -16,8 +16,8 @@
<feature>componenttest-2.0</feature>
<feature>data-1.0</feature>
<feature>jndi-1.0</feature>
<feature>persistence-3.1</feature>
<feature>servlet-6.0</feature>
<feature>persistence-3.2</feature>
<feature>servlet-6.1</feature>
</featureManager>

<include location="../fatTestPorts.xml"/>
Original file line number Diff line number Diff line change
@@ -276,7 +276,8 @@ public void testAbsoluteValueKeyword() {
* Use a repository method comparing a BigDecimal value on an entity that includes BigDecimal attributes.
* This includes both a comparison in the query conditions as well as ordering on the BigDecimal attribute.
*/
@Test
// TODO re-enable once 28813 (java.time.Instant DateTimeParseException) is fixed
//@Test
public void testBigDecimal() {
final ZoneId EASTERN = ZoneId.of("America/New_York");

@@ -304,7 +305,8 @@ public void testBigDecimal() {
* Use a repository method comparing a BigInteger value on an entity that includes BigInteger attributes.
* This includes both a comparison in the query conditions as well as ordering on the BigInteger attribute.
*/
@Test
// TODO re-enable once 28813 (java.time.Instant DateTimeParseException) is fixed
//@Test
public void testBigInteger() {
ZoneId ET = ZoneId.of("America/New_York");

Original file line number Diff line number Diff line change
@@ -18,8 +18,8 @@
<feature>componenttest-2.0</feature>
<feature>dataContainer-1.0</feature>
<feature>nosql-1.0</feature>
<feature>servlet-6.0</feature>
<feature>mpConfig-3.0</feature>
<feature>servlet-6.1</feature>
<feature>mpConfig-3.1</feature>
<feature>jsonb-3.0</feature>
</featureManager>

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
Copyright (c) 2022,2023 IBM Corporation and others.
Copyright (c) 2022,2024 IBM Corporation and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License 2.0
which accompanies this distribution, and is available at
@@ -18,8 +18,8 @@
<feature>componenttest-2.0</feature>
<feature>data-1.0</feature>
<feature>nosql-1.0</feature>
<feature>servlet-6.0</feature>
<feature>mpConfig-3.0</feature>
<feature>servlet-6.1</feature>
<feature>mpConfig-3.1</feature>
<feature>jsonb-3.0</feature>
</featureManager>

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
Copyright (c) 2023 IBM Corporation and others.
Copyright (c) 2023,2024 IBM Corporation and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License 2.0
which accompanies this distribution, and is available at
@@ -13,12 +13,12 @@
<server>

<featureManager>
<feature>beanValidation-3.0</feature>
<feature>beanValidation-3.1</feature>
<feature>componenttest-2.0</feature>
<feature>data-1.0</feature>
<feature>jndi-1.0</feature>
<feature>persistence-3.1</feature>
<feature>servlet-6.0</feature>
<feature>persistence-3.2</feature>
<feature>servlet-6.1</feature>
</featureManager>

<include location="../fatTestPorts.xml"/>