Skip to content

Add MicroProfile 7.1 feature #31252

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

Open
wants to merge 6 commits into
base: integration
Choose a base branch
from

Conversation

yasmin-aumeeruddy
Copy link
Member

################################################################################################

Fixes #31251

@yasmin-aumeeruddy
Copy link
Member Author

yasmin-aumeeruddy commented Apr 14, 2025

#build (view Open Liberty Personal Build - ❌ completed with errors/failures.)

Note: Target locations of links might be accessible only to IBM employees.

@LibbyBot
Copy link

Code analysis and actions

DO NOT DELETE THIS COMMENT.
  • 1 test infrastructure code files were changed.

  • Test failures/errors in the build could be due to these changes.

  • 17 product code files were changed.

  • Please describe in a separate comment how you tested your changes.

  • 15 NLS files were changed and need an ID review.

  • @OpenLiberty/ Please review.

    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.0_zh_TW.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.0_fr.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.0_ro.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.0.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.0_hu.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.0_de.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.0_cs.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.0_it.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.0_ja.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.0_ru.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.0_ko.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.0_pl.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.0_es.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.0_pt_BR.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.0_zh.properties

@LibbyBot
Copy link

Please code review feature-related files, @OpenLiberty/delivery-approvers

Comment on lines 395 to 440
//All MicroProfile FeatureSets - must be descending order
private static final FeatureSet[] ALL_SETS_ARRAY = { MP70_EE11, MP70_EE10, MP61, MP60, MP50, MP41, MP40, MP33, MP32, MP30, MP22, MP21, MP20, MP14, MP13, MP12, MP10 };
//All MicroProfile FeatureSets - must be descending order
private static final FeatureSet[] ALL_SETS_ARRAY = { MP70_EE11, MP70_EE10, MP61, MP60, MP50, MP41, MP40, MP33, MP32, MP30, MP22, MP21, MP20, MP14, MP13, MP12, MP10 }; //TODO : Add MP71
Copy link
Member

Choose a reason for hiding this comment

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

Is there some reason we can't add MP71 here yet?

Copy link
Member

Choose a reason for hiding this comment

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

I can't remember exactly which tests get keyed off this list. I know we've sometimes had to update a different test when we change this.

Copy link
Member

Choose a reason for hiding this comment

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

FeatureUtilities in fattest.simplicity uses it, which gets used by EE10FeatureCompatibilityTest

Copy link
Member Author

Choose a reason for hiding this comment

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

I guess we could add it in now but I didn't see the value in it if MP 7.0 and MP 7.1 contain the same subset of features at the moment. I was worried about unnecessarily repeating tests

Copy link
Member

Choose a reason for hiding this comment

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

We do need to add the new feature set to this list.

We mostly use the ALL set to calculate the full set of all features which we can replace when doing a repeat actions. This is unfortunately necessary due to the way the original FeatureReplacementAction was designed.

Several of the repeat methods in this class use it and you can follow through the method calls to see how it ultimately gets used.

Copy link
Member

Choose a reason for hiding this comment

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

Technically, you don't need it at the moment because MP70 and MP71 are identical, but there's no reason not to update it now.

I don't think there's anywhere where we use this list as a list of configurations to test so I don't think it will result in any additional repeats running.

@Azquelt
Copy link
Member

Azquelt commented Apr 14, 2025

I think we need a new io.openliberty.mpCompatible-7.1 feature as well.

@yasmin-aumeeruddy
Copy link
Member Author

yasmin-aumeeruddy commented Apr 14, 2025

#build (view Open Liberty Personal Build - ❌ completed with errors/failures.)

Note: Target locations of links might be accessible only to IBM employees.

@LibbyBot
Copy link

Code analysis and actions

DO NOT DELETE THIS COMMENT.
  • 1 test infrastructure code files were changed.

  • Test failures/errors in the build could be due to these changes.

  • 18 product code files were changed.

  • Please describe in a separate comment how you tested your changes.

  • 15 NLS files were changed and need an ID review.

  • @OpenLiberty/ Please review.

    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.1_fr.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.1_ro.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.1_pl.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.1_de.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.1_hu.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.1_ru.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.1_zh.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.1_pt_BR.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.1_zh_TW.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.1_ja.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.1_ko.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.1_cs.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.1.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.1_it.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.1_es.properties

@LibbyBot
Copy link

Please code review feature-related files, @OpenLiberty/delivery-approvers

Comment on lines +18 to +22
io.openliberty.mpOpenAPI-4.0, \
io.openliberty.mpFaultTolerance-4.1, \
io.openliberty.mpJwt-2.1, \
io.openliberty.mpRestClient-4.0, \
io.openliberty.mpTelemetry-2.0
Copy link
Member

Choose a reason for hiding this comment

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

Of course when they exist mpOpenAPI would switch to 4.1 and mpTelemetry would switch to 2.1

@yasmin-aumeeruddy
Copy link
Member Author

yasmin-aumeeruddy commented Apr 15, 2025

#build (view Open Liberty Personal Build - ❌ completed with errors/failures.)

Note: Target locations of links might be accessible only to IBM employees.

@LibbyBot
Copy link

Code analysis and actions

DO NOT DELETE THIS COMMENT.
  • 1 test infrastructure code files were changed.

  • Test failures/errors in the build could be due to these changes.

  • 18 product code files were changed.

  • Please describe in a separate comment how you tested your changes.

  • 15 NLS files were changed and need an ID review.

  • @OpenLiberty/ Please review.

    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.1_fr.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.1_ro.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.1_pl.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.1_de.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.1_hu.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.1_ru.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.1_zh.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.1_pt_BR.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.1_zh_TW.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.1_ja.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.1_ko.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.1_cs.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.1.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.1_it.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.1_es.properties

@LibbyBot
Copy link

Please code review feature-related files, @OpenLiberty/delivery-approvers

@yasmin-aumeeruddy
Copy link
Member Author

yasmin-aumeeruddy commented Apr 16, 2025

#build (view Open Liberty Personal Build - ❌ completed with errors/failures.)

Note: Target locations of links might be accessible only to IBM employees.

@LibbyBot
Copy link

Code analysis and actions

DO NOT DELETE THIS COMMENT.
  • 2 FAT files were changed, added, or removed.

  • Check that the build did not break the affected FAT suite(s).

  • 1 test infrastructure code files were changed.

  • Test failures/errors in the build could be due to these changes.

  • 58 product code files were changed.

  • Please describe in a separate comment how you tested your changes.

  • 15 NLS files were changed and need an ID review.

  • @OpenLiberty/ Please review.

    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.1_fr.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.1_ro.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.1_pl.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.1_de.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.1_hu.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.1_zh.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.1_ru.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.1_pt_BR.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.1_zh_TW.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.1_ja.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.1_ko.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.1_cs.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.1.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.1_it.properties
    • dev/com.ibm.websphere.appserver.features/visibility/public/microProfile-7.1/resources/l10n/io.openliberty.microProfile-7.1_es.properties

@LibbyBot
Copy link

Please code review feature-related files, @OpenLiberty/delivery-approvers

@yasmin-aumeeruddy
Copy link
Member Author

yasmin-aumeeruddy commented Apr 16, 2025

#build (view Open Liberty Personal Build - ⏳InProgress)

Note: Target locations of links might be accessible only to IBM employees.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create MicroProfile 7.1 Feature
4 participants