@@ -181,6 +181,60 @@ protected ModelTestModelControllerService(final ProcessType processType, final R
181
181
this .runningModeControl = runningModeControl ;
182
182
}
183
183
184
+ /**
185
+ * This is the constructor to use for WildFly 31.0.0 core model tests
186
+ */
187
+ protected ModelTestModelControllerService (final ProcessType processType , Stability stability , final RunningModeControl runningModeControl , final TransformerRegistry transformerRegistry ,
188
+ final StringConfigurationPersister persister , final ModelTestOperationValidatorFilter validateOpsFilter ,
189
+ final ResourceDefinition rootResourceDefinition , final ControlledProcessState processState ,
190
+ final ExpressionResolver expressionResolver , final CapabilityRegistry capabilityRegistry , final Controller31x version ) {
191
+ super (null ,
192
+ null ,
193
+ processType ,
194
+ stability ,
195
+ runningModeControl ,
196
+ persister ,
197
+ processState == null ? new ControlledProcessState (true ) : processState , rootResourceDefinition ,
198
+ null ,
199
+ expressionResolver ,
200
+ AuditLogger .NO_OP_LOGGER ,
201
+ new DelegatingConfigurableAuthorizer (),
202
+ new ManagementSecurityIdentitySupplier (),
203
+ capabilityRegistry ,
204
+ null );
205
+
206
+ this .persister = persister ;
207
+ this .transformerRegistry = transformerRegistry ;
208
+ this .validateOpsFilter = validateOpsFilter ;
209
+ this .runningModeControl = runningModeControl ;
210
+ }
211
+
212
+ /**
213
+ * This is the constructor to use for WildFly 31.0.0 subsystem tests
214
+ */
215
+ protected ModelTestModelControllerService (final ProcessType processType , Stability stability , final RunningModeControl runningModeControl , final TransformerRegistry transformerRegistry ,
216
+ final StringConfigurationPersister persister , final ModelTestOperationValidatorFilter validateOpsFilter ,
217
+ final ResourceDefinition resourceDefinition , final ExpressionResolver expressionResolver , final ControlledProcessState processState ,
218
+ final CapabilityRegistry capabilityRegistry , final Controller31x version ) {
219
+ super (null ,
220
+ null ,
221
+ processType ,
222
+ stability ,
223
+ runningModeControl ,
224
+ persister ,
225
+ processState == null ? new ControlledProcessState (true ) : processState ,
226
+ resourceDefinition , null ,
227
+ expressionResolver != null ? expressionResolver : ExpressionResolver .TEST_RESOLVER ,
228
+ AuditLogger .NO_OP_LOGGER , new DelegatingConfigurableAuthorizer (),
229
+ new ManagementSecurityIdentitySupplier (),
230
+ capabilityRegistry ,
231
+ null );
232
+ this .persister = persister ;
233
+ this .transformerRegistry = transformerRegistry ;
234
+ this .validateOpsFilter = validateOpsFilter ;
235
+ this .runningModeControl = runningModeControl ;
236
+ }
237
+
184
238
185
239
/**
186
240
* This is the constructor to use for current core model tests
@@ -481,4 +535,10 @@ public static class Controller29x {
481
535
private Controller29x () {
482
536
}
483
537
}
538
+
539
+ public static class Controller31x {
540
+ public static Controller31x INSTANCE = new Controller31x ();
541
+ private Controller31x () {
542
+ }
543
+ }
484
544
}
0 commit comments