Skip to content

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

Merged
pepness merged 1 commit intoapache:masterfrom
pepness:glassfish-7.0.17
Jan 15, 2025
Merged

Add support for GlassFish 7 up to 7.0.21, and GlassFish 8 up to 8.0.0-M9#8153
pepness merged 1 commit intoapache:masterfrom
pepness:glassfish-7.0.17

Conversation

@pepness
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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.

public void testGetInstanceforVersionGF7() {
GlassFishServerEntity srv = new GlassFishServerEntity();
srv.setVersion(GlassFishVersion.GF_7_0_15);
srv.setVersion(GlassFishVersion.GF_7_0_21);
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
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