Class MockFeaturePackInitializer
java.lang.Object
org.wildfly.qa.tooling.featurepack.MockFeaturePackInitializer
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidLet'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.
-
Constructor Details
-
MockFeaturePackInitializer
-
-
Method Details
-
initTestFeaturePack
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 tofeaturePackChannelRepoand 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.ProvisioningExceptionIOException
-