Class MockFeaturePackInitializer

java.lang.Object
org.wildfly.qa.tooling.featurepack.MockFeaturePackInitializer

public class MockFeaturePackInitializer extends Object
Initialize (build and install) a mock feature pack. Be aware that some side effects happen here including installing artifact in a maven repo.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Let's define a feature pack this one will have: - packages - package1 - foo/bar.txt with 'qix' content - package2 - qix/qux.txt with content equal to 'package2Content' param - layers - layer1 - specifying package1 as dependency - layer2 - specifying package2 as dependency - layer3 - specifying package1 as dependency + including configuration for JSF subsystem - config - standalone (no other model currently makes sense for WildFly's FPs, this might change in the future) - config1 - configures layer2 to be installed - standalone.xml (specified if hasDefaultConfig == true) - default per Galleon spec.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • initTestFeaturePack

      public void initTestFeaturePack() throws org.jboss.galleon.ProvisioningException, IOException
      Let's define a feature pack this one will have: - packages - package1 - foo/bar.txt with 'qix' content - package2 - qix/qux.txt with content equal to 'package2Content' param - layers - layer1 - specifying package1 as dependency - layer2 - specifying package2 as dependency - layer3 - specifying package1 as dependency + including configuration for JSF subsystem - config - standalone (no other model currently makes sense for WildFly's FPs, this might change in the future) - config1 - configures layer2 to be installed - standalone.xml (specified if hasDefaultConfig == true) - default per Galleon spec. Described config should be installed when no layer is specified. This feature pack will be installed to featurePackChannelRepo and it is dependent on the default WildFly feature pack to be able to edit WildFly's config since this FP defines all necessary specs.
      Throws:
      org.jboss.galleon.ProvisioningException
      IOException