[
https://issues.apache.org/jira/browse/SLING-2001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13001944#comment-13001944
]
Felix Meschberger commented on SLING-2001:
------------------------------------------
Acutally, if you know the symbolic names of the bundles you are installing, you
can do with out an API change. And of course you know the symbolic name by just
reading it from the manifest.
You can POST to /system/console/bundles/symbolic-name where "symbolic-name" is
the bundle's Bundle-SymbolicName to act upon that bundle. So you could do:
* Install all bundles, disposing off the response (just validating the status)
* for each bundle place POST to actually start that bundle.
> Sample Integration tests fail due to unpredictable install order of
> additional bundles
> --------------------------------------------------------------------------------------
>
> Key: SLING-2001
> URL: https://issues.apache.org/jira/browse/SLING-2001
> Project: Sling
> Issue Type: Bug
> Components: Testing
> Environment: $ mvn -v
> Apache Maven 3.0.2 (r1056850; 2011-01-09 01:58:10+0100)
> Java version: 1.5.0_21, vendor: Sun Microsystems Inc.
> Java home: /usr/java/jdk1.5.0_21/jre
> Default locale: de_CH, platform encoding: UTF-8
> OS name: "linux", version: "2.6.35-25-generic", arch: "amd64", family: "unix"
> Reporter: Felix Meschberger
> Assignee: Bertrand Delacretaz
> Attachments:
> org.apache.sling.testing.samples.testtools.http.OsgiConsoleTest.txt,
> org.apache.sling.testing.samples.testtools.serverside.FailingTestsTest.txt,
> org.apache.sling.testing.samples.testtools.serverside.JSONResponseTest.txt,
> org.apache.sling.testing.samples.testtools.serverside.ServerSideSampleTest.txt,
>
> org.apache.sling.testing.samples.testtools.serverside.SingleServerSideMethodTest.txt
>
>
> Running a trunk build aborts in the Sample Integration tests:
> Failed tests:
>
> initializationError(org.apache.sling.testing.samples.testtools.serverside.ServerSideSampleTest)
>
> testWithRetries(org.apache.sling.testing.samples.testtools.serverside.JSONResponseTest)
>
> testSomeConsolePaths(org.apache.sling.testing.samples.testtools.http.OsgiConsoleTest)
>
> initializationError(org.apache.sling.testing.samples.testtools.serverside.SingleServerSideMethodTest)
>
> testFailures(org.apache.sling.testing.samples.testtools.serverside.FailingTestsTest)
> Will attach the surefire data files
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira