You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by kw...@apache.org on 2017/02/21 09:10:48 UTC

svn commit: r1783850 - /sling/site/trunk/content/documentation/bundles/org-apache-sling-junit-bundles.mdtext

Author: kwin
Date: Tue Feb 21 09:10:48 2017
New Revision: 1783850

URL: http://svn.apache.org/viewvc?rev=1783850&view=rev
Log:
SLING-6068 update documentation about default customizer to make clear that bootstrapping a sling server is even possible outside of a `slingstart` module.

Modified:
    sling/site/trunk/content/documentation/bundles/org-apache-sling-junit-bundles.mdtext

Modified: sling/site/trunk/content/documentation/bundles/org-apache-sling-junit-bundles.mdtext
URL: http://svn.apache.org/viewvc/sling/site/trunk/content/documentation/bundles/org-apache-sling-junit-bundles.mdtext?rev=1783850&r1=1783849&r2=1783850&view=diff
==============================================================================
--- sling/site/trunk/content/documentation/bundles/org-apache-sling-junit-bundles.mdtext (original)
+++ sling/site/trunk/content/documentation/bundles/org-apache-sling-junit-bundles.mdtext Tue Feb 21 09:10:48 2017
@@ -147,7 +147,7 @@ The following customizers are currently
 | ClientSideTeleporter.serverUsername | the username with which to send requests to the Sling server. | no | admin |
 | ClientSideTeleporter.serverPassword | the password with which to send requests to the Sling server. | no | admin |
 
-The provisioning of an appropriate instance can be done with the [slingstart-maven-plugin]({{ refs.slingstart.path }}). An example for that is given at [`testing/samples/module-with-it`](https://svn.apache.org/viewvc/sling/trunk/testing/samples/module-with-it). Unfortunately the `slingstart-maven-plugin` currently only allows to bootstrap a Sling Server from a model.txt for packaging `slingstart` which requires the ITs to be located in a dedicated Maven module (see [SLING-6068](https://issues.apache.org/jira/browse/SLING-6068)).
+The provisioning of an appropriate instance can be done with the [slingstart-maven-plugin]({{ refs.slingstart.path }}). An example for that is given at [`testing/samples/module-with-it`](https://svn.apache.org/viewvc/sling/trunk/testing/samples/module-with-it). Since `slingstart-maven-plugin` 1.5.0 it is possible to bootstrap a Sling Server from a `model.txt` below `src/test/provisioning` independent of the packaging (see [SLING-6068](https://issues.apache.org/jira/browse/SLING-6068)).
 
 #### LaunchpadCustomizer ####
 The *[`LaunchpadCustomizer.java`](https://svn.apache.org/repos/asf/sling/trunk/launchpad/integration-tests/src/main/java/org/apache/sling/junit/teleporter/customizers/LaunchpadCustomizer.java)* only verifies that a Sling instance is ready at a given port and configures the `ClientSideTeleporter` to deploy to `http://localhost:8888` with the credentials `admin`:`admin`. `LaunchpadCustomizer` uses the `HttpTestBase` therefore some parameters are customizable through system properties. There is no bootstrapping of an instance done here, so this must be done separately!