Skip to content

Commit 196e487

Browse files
Add MicroProfile 7.1 repeat actions
1 parent ad35f4a commit 196e487

File tree

1 file changed

+46
-2
lines changed

1 file changed

+46
-2
lines changed

dev/fattest.simplicity/src/componenttest/rules/repeater/MicroProfileActions.java

+46-2
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,25 @@ public class MicroProfileActions {
315315
"mpReactiveMessaging-3.0", //standalone
316316
"mpReactiveStreams-3.0" };//standalone
317317

318+
private static final String[] MP71_EE10_FEATURES_ARRAY = { "microProfile-7.0",
319+
"cdi-4.0", //ee10
320+
"restfulWS-3.1", //ee10
321+
"restfulWSClient-3.1", //ee10
322+
"jsonb-3.0", //ee10
323+
"jsonp-2.1", //ee10
324+
"mpConfig-3.1",
325+
"mpFaultTolerance-4.1",
326+
"mpHealth-4.0",
327+
"mpJwt-2.1",
328+
"mpOpenAPI-4.0", //TODO : update to 4.1
329+
"mpTelemetry-2.0", //TODO : update to 2.1
330+
"mpRestClient-4.0",
331+
"mpMetrics-5.1", //standalone
332+
"mpContextPropagation-1.3", //standalone
333+
"mpGraphQL-2.0", //standalone
334+
"mpReactiveMessaging-3.0", //standalone
335+
"mpReactiveStreams-3.0" };//standalone
336+
318337
private static final String[] MP70_EE11_FEATURES_ARRAY = { "microProfile-7.0",
319338
"cdi-4.1", //ee11
320339
"restfulWS-4.0", //ee11
@@ -334,6 +353,25 @@ public class MicroProfileActions {
334353
"mpReactiveMessaging-3.0", //standalone
335354
"mpReactiveStreams-3.0" };//standalone
336355

356+
private static final String[] MP71_EE11_FEATURES_ARRAY = { "microProfile-7.1",
357+
"cdi-4.1", //ee11
358+
"restfulWS-4.0", //ee11
359+
"restfulWSClient-4.0", //ee11
360+
"jsonb-3.0", //ee11
361+
"jsonp-2.1", //ee11
362+
"mpConfig-3.1",
363+
"mpFaultTolerance-4.1",
364+
"mpHealth-4.0",
365+
"mpJwt-2.1",
366+
"mpOpenAPI-4.0", //TODO : update to 4.1
367+
"mpTelemetry-2.0", //TODO : update to 2.1
368+
"mpRestClient-4.0",
369+
"mpMetrics-5.1", //standalone
370+
"mpContextPropagation-1.3", //standalone
371+
"mpGraphQL-2.0", //standalone
372+
"mpReactiveMessaging-3.0", //standalone
373+
"mpReactiveStreams-3.0" };//standalone
374+
337375
private static final Set<String> MP10_FEATURE_SET = Collections.unmodifiableSet(new HashSet<>(Arrays.asList(MP10_FEATURES_ARRAY)));
338376
private static final Set<String> MP12_FEATURE_SET = Collections.unmodifiableSet(new HashSet<>(Arrays.asList(MP12_FEATURES_ARRAY)));
339377
private static final Set<String> MP13_FEATURE_SET = Collections.unmodifiableSet(new HashSet<>(Arrays.asList(MP13_FEATURES_ARRAY)));
@@ -351,6 +389,8 @@ public class MicroProfileActions {
351389
private static final Set<String> MP61_FEATURE_SET = Collections.unmodifiableSet(new HashSet<>(Arrays.asList(MP61_FEATURES_ARRAY)));
352390
private static final Set<String> MP70_EE10_FEATURE_SET = Collections.unmodifiableSet(new HashSet<>(Arrays.asList(MP70_EE10_FEATURES_ARRAY)));
353391
private static final Set<String> MP70_EE11_FEATURE_SET = Collections.unmodifiableSet(new HashSet<>(Arrays.asList(MP70_EE11_FEATURES_ARRAY)));
392+
private static final Set<String> MP71_EE10_FEATURE_SET = Collections.unmodifiableSet(new HashSet<>(Arrays.asList(MP71_EE10_FEATURES_ARRAY)));
393+
private static final Set<String> MP71_EE11_FEATURE_SET = Collections.unmodifiableSet(new HashSet<>(Arrays.asList(MP71_EE11_FEATURES_ARRAY)));
354394

355395
//The FeatureSet IDs. Since these will be used as the RepeatAction IDs, they can also be used in annotations such as @SkipForRepeat
356396
public static final String MP10_ID = EE7FeatureReplacementAction.ID + "_MicroProfile_10";
@@ -370,6 +410,8 @@ public class MicroProfileActions {
370410
public static final String MP61_ID = JakartaEE10Action.ID + "_MicroProfile_61";
371411
public static final String MP70_EE10_ID = JakartaEE10Action.ID + "_MicroProfile_70";
372412
public static final String MP70_EE11_ID = JakartaEE11Action.ID + "_MicroProfile_70";
413+
public static final String MP71_EE10_ID = JakartaEE10Action.ID + "_MicroProfile_71";
414+
public static final String MP71_EE11_ID = JakartaEE11Action.ID + "_MicroProfile_71";
373415
public static final String MP70_EE11_APP_MODE_ID = MP70_EE11_ID + "_App_Mode";
374416

375417
//The MicroProfile FeatureSets
@@ -390,10 +432,12 @@ public class MicroProfileActions {
390432
public static final FeatureSet MP61 = new FeatureSet(MP61_ID, MP61_FEATURE_SET, EEVersion.EE10);
391433
public static final FeatureSet MP70_EE10 = new FeatureSet(MP70_EE10_ID, MP70_EE10_FEATURE_SET, EEVersion.EE10);
392434
public static final FeatureSet MP70_EE11 = new FeatureSet(MP70_EE11_ID, MP70_EE11_FEATURE_SET, EEVersion.EE11);
435+
public static final FeatureSet MP71_EE10 = new FeatureSet(MP71_EE10_ID, MP71_EE10_FEATURE_SET, EEVersion.EE10);
436+
public static final FeatureSet MP71_EE11 = new FeatureSet(MP71_EE11_ID, MP71_EE11_FEATURE_SET, EEVersion.EE11);
393437
public static final FeatureSet MP70_EE11_APP_MODE = new FeatureSet(MP70_EE11_APP_MODE_ID, MP70_EE11_FEATURE_SET, EEVersion.EE11);
394438

395-
//All MicroProfile FeatureSets - must be descending order
396-
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 };
439+
//All MicroProfile FeatureSets - must be descending order
440+
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
397441
public static final List<FeatureSet> ALL = Collections.unmodifiableList(Arrays.asList(ALL_SETS_ARRAY));
398442

399443
/**

0 commit comments

Comments
 (0)