Details
-
Feature Request
-
Resolution: Done
-
Major
-
None
-
None
Description
I am adding some more validation of the model. This will be committed to upstream in the next few days. To make the security tests pass I had to override AdditionalInitialization.getModelValidationConfiguration() as follows:
@Override protected ValidationConfiguration getModelValidationConfiguration() { return null; }
Returning null basically turns off validation of the providers. These are the errors that happen (this might change a bit before I commit the final version of the validation stuff):
VALIDATION ERRORS IN MODEL: Invalid key 'attributes' found for child type 'configuration' @[("subsystem" => "osgi")] No value-type for type=OBJECT {"description" => "The configuration data associated with the PID.","type" => OBJECT,"required" => true,"acces s-type" => "read-only","storage" => "configuration"} for attribute 'entries'[ ("subsystem" => "osgi"), ("configuration" => "*") ] No value-type for type=OBJECT {"description" => "The configuration data associated with the PID.","type" => OBJECT,"required" => true} for o peration parameter 'add.entries' @[ ("subsystem" => "osgi"), ("configuration" => "*") ] Invalid key 'attributes' found for child type 'property' @[("subsystem" => "osgi")] Invalid key 'attributes' found for child type 'module' @[("subsystem" => "osgi")]
The work in progress lives at https://github.com/kabir/jboss-as/tree/subsystem-test-model-fixes
Attachments
Issue Links
- clones
-
AS7-1787 Fix JGroups description providers for the improved validation in jboss-as-subsystem-test
- Resolved