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

Add support for GlassFish 7 up to 7.0.21, and GlassFish 8 up to 8.0.0-M9 #8153

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

pepness
Copy link
Member

@pepness pepness commented Jan 15, 2025

NetBeans GlassFish module notes:

  • Add support for GlassFish 7 up to 7.0.21
  • Add support for GlassFish 8 up to 8.0.0-M9
  • Add new ConfigBuilderProvider for GlassFish 7.0.17 and onwards

NetBeans Testing:

  • Verify successful execution of libraries and licenses Ant test
  • Verify successful execution of Verify Sigtests
  • Verify successful execution of unit tests for modules glassfish.common, glassfish.javaee, glassfish.tooling, and glassfish.eecommon
  • Started NetBeans and ensure the log didn't have any ERROR or new WARNINGS
  • Successfully register GlassFish 7.0.21, create a web app and verify that it works.
  • Successfully register GlassFish 8.0.0-M9, create a web app and verify that it works.

Release Notes for GlassFish 7
Release Notes for GlassFish 8

@pepness pepness added Java EE/Jakarta EE [ci] enable enterprise job enterprise [ci] enable enterprise job labels Jan 15, 2025
@pepness pepness added this to the NB25 milestone Jan 15, 2025
@pepness pepness self-assigned this Jan 15, 2025
Copy link
Contributor

@matthiasblaesing matthiasblaesing left a comment

Choose a reason for hiding this comment

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

Looks sane to me. Inline I added one comment for future updates and one question. Both don't hold of merging.

Copy link
Contributor

Choose a reason for hiding this comment

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

For the future I don't think these changes are necessary. They don't test the version, just the eh operators work. That is independend on newer versions.

* <p/>
* Factory should initialize REST {@code Runner} and point it to
* provided {@code Command} instance.
*/
@Test
public void testGetInstanceforVersionGF7() {
GlassFishServerEntity srv = new GlassFishServerEntity();
srv.setVersion(GlassFishVersion.GF_7_0_15);
srv.setVersion(GlassFishVersion.GF_7_0_21);
Copy link
Contributor

Choose a reason for hiding this comment

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

What is the intention of this change?

Copy link
Member Author

Choose a reason for hiding this comment

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

Those test are helpful in my pipeline, sometimes I messed up ServerDetails, registering the wrong ConfigBuilderProvider or even working on a different branch. I always run the unit test for the 4 GlassFish modules using the latest version that I add support to. That is why I always change the version of the unit tests.

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks.

@pepness pepness merged commit 4c4a8eb into apache:master Jan 15, 2025
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enterprise [ci] enable enterprise job Java EE/Jakarta EE [ci] enable enterprise job
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants