Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-1796

Fix the Pojo description providers for the improved validation in jboss-as-subsystem-test

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.Final
    • None
    • POJO
    • None

      I added a test called PojoSubsystemTestCase, which uses our subsystem testing framework which attempts to validate the description providers, this will be committed to upstream in the next few days.
      To make the 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. What I have added is a minimum of what is required for subsystem testing, the test framework allows you to do a lot of other stuff, see the jmx subsystem test for some examples.

      The wip lives at https://github.com/kabir/jboss-as/tree/subsystem-test-model-fixes

              tomazcerar Tomaž Cerar (Inactive)
              kkhan1@redhat.com Kabir Khan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: