This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Grace Period | |
| A Blueprint Container by default will wait for its dependencies in the grace | |
| period. However, this can be overridden with a directive on the Bundle-Sym- | |
| bolicName header of the Blueprint bundle: | |
| • | |
| blueprint.graceperiod (true|f alse) – If set to true, then the Blueprint | |
| Container must enter the grace period and wait for dependencies, this is | |
| the default. Otherwise, it must skip the grace period and progress to the | |
| next phase regardless if there are any unsatisfied service references. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| karaf@root> ls 112 | |
| OpenEngSB :: Core :: Services (112) provides: | |
| --------------------------------------------- | |
| objectClass = org.openengsb.core.api.WiringService | |
| service.id = 240 | |
| ---- | |
| service.pid = org.openengsb.persistence.config | |
| objectClass = org.osgi.service.cm.ManagedServiceFactory | |
| service.id = 241 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| javax.xml.ws.WebServiceException: Could not send Message. | |
| at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:135) | |
| at $Proxy52.getServices(Unknown Source) | |
| at at.sup.resourcex.features.terminal.internal.GinaServiceManagerPoller.run(GinaServiceManagerPoller.java:37) | |
| at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) | |
| at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) | |
| at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) | |
| at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor. | |
| at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor | |
| at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:20 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <beans xmlns="http://www.springframework.org/schema/beans" xmlns:jaxws="http://cxf.apache.org/jaxws" | |
| xmlns:osgi="http://www.springframework.org/schema/osgi" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation=" | |
| http://www.springframework.org/schema/beans | |
| http://www.springframework.org/schema/beans/spring-beans.xsd | |
| http://cxf.apache.org/jaxws | |
| http://cxf.apache.org/schemas/jaxws.xsd | |
| http://www.springframework.org/schema/osgi | |
| http://www.springframework.org/schema/osgi/spring-osgi.xsd"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -> % git diff | |
| diff --git a/features/core/src/main/java/org/apache/karaf/features/internal/FeaturesServiceImpl.java b/features/core/src/main/java/org/apache/karaf/features/internal/FeaturesServiceImpl.java | |
| index c8d74fc..2755fc2 100644 | |
| --- a/features/core/src/main/java/org/apache/karaf/features/internal/FeaturesServiceImpl.java | |
| +++ b/features/core/src/main/java/org/apache/karaf/features/internal/FeaturesServiceImpl.java | |
| @@ -458,7 +458,7 @@ public class FeaturesServiceImpl implements FeaturesService, FrameworkListener { | |
| Configuration cfg = findExistingConfiguration(configAdmin, pid[0], pid[1]); | |
| if (cfg == null) { | |
| cfg = createConfiguration(configAdmin, pid[0], pid[1]); | |
| - String key = (pid[1] == null ? pid[0] : pid[0] + "-" + pid[1]); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package cxf.equinox.failure.producer; | |
| import java.util.Hashtable; | |
| import java.util.Set; | |
| import java.util.concurrent.CopyOnWriteArraySet; | |
| import org.apache.cxf.Bus; | |
| import org.apache.cxf.aegis.databinding.AegisDatabinding; | |
| import org.apache.cxf.bus.spring.SpringBusFactory; | |
| import org.apache.cxf.databinding.DataBinding; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| protected Object invoke(Exchange exchange, final Object serviceObject, Method m, List<Object> params) { | |
| Object res; | |
| try { | |
| Object[] paramArray = new Object[]{}; | |
| if (params != null) { | |
| paramArray = params.toArray(); | |
| } | |
| res = performInvocation(exchange, serviceObject, m, paramArray); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @Test | |
| public void testPathToMvnUri() throws Exception { | |
| - URI uri = KarArtifactInstaller.pathToMvnUri("org/apache/geronimo/features/org.apache.geronimo.transaction.kar/3.1.1-SNAPSHOT/org.apache.geronimo.transaction.kar-3.1.1-SNAPSHOT-feature.xml"); | |
| - assert "mvn:org.apache.geronimo.features/org.apache.geronimo.transaction.kar/3.1.1-SNAPSHOT/xml/feature".equals(uri.toString()); | |
| + URI uri = KarArtifactInstaller.pathToMvnUri("org/apache/geronimo/features/org.apache.geronimo.transaction.kar/3.1.1-SNAPSHOT/org.apache.geronimo.transaction.kar-3.1.1-SNAPSHOT-features.xml"); | |
| + assert "mvn:org.apache.geronimo.features/org.apache.geronimo.transaction.kar/3.1.1-SNAPSHOT/xml/features".equals(uri.toString()); | |
| } | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.ports.openengsb.org/"> | |
| <soapenv:Header/> | |
| <soapenv:Body> | |
| <ws:receive> | |
| <arg0>{"callId":"1233","answer":true,"classes":["java.util.List","java.lang.String","java.lang.String","java.lang.String","java.lang.String"],"methodName":"lock","metaData":{"serviceId":"lockService", "contextId":"foo"},"args":[["egal1","egal2"],"a","b","c","d"]}</arg0> | |
| </ws:receive> | |
| </soapenv:Body> | |
| </soapenv:Envelope> | |
| <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/poms/bundle/pom.xml b/poms/bundle/pom.xml | |
| index 76a4f62..32d3333 100644 | |
| --- a/poms/bundle/pom.xml | |
| +++ b/poms/bundle/pom.xml | |
| @@ -73,6 +73,12 @@ | |
| <Bundle-Version>${project.version}</Bundle-Version> | |
| <Export-Package>!${bundle.namespace}.internal.*,${bundle.namespace}.*;version="${project.version}"</Export | |
| <Private-Package>${bundle.namespace}.internal.*</Private-Package> | |
| + <Import-Package> | |
| + org.openengsb.core.*;version="[${openengsb.version.min},${openengsb.version.max})", |