aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From csie...@apache.org
Subject [29/50] [abbrv] aries-jax-rs-whiteboard git commit: augments
Date Thu, 24 Nov 2016 10:53:33 GMT
augments


Project: http://git-wip-us.apache.org/repos/asf/aries-jax-rs-whiteboard/repo
Commit: http://git-wip-us.apache.org/repos/asf/aries-jax-rs-whiteboard/commit/854ba8fb
Tree: http://git-wip-us.apache.org/repos/asf/aries-jax-rs-whiteboard/tree/854ba8fb
Diff: http://git-wip-us.apache.org/repos/asf/aries-jax-rs-whiteboard/diff/854ba8fb

Branch: refs/heads/master
Commit: 854ba8fb1b84543cbc9dbd54e20caea1cc7f02a8
Parents: bbd8291
Author: Raymond Auge <raymond.auge@liferay.com>
Authored: Fri Oct 28 02:46:16 2016 +0200
Committer: Raymond Auge <raymond.auge@liferay.com>
Committed: Fri Oct 28 02:46:16 2016 +0200

----------------------------------------------------------------------
 bndrun/augments.bnd                           | 82 ++++++++++++++++++++++
 bndrun/org.apache.aries.jax-rs.example.bndrun |  3 +-
 2 files changed, 84 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/aries-jax-rs-whiteboard/blob/854ba8fb/bndrun/augments.bnd
----------------------------------------------------------------------
diff --git a/bndrun/augments.bnd b/bndrun/augments.bnd
new file mode 100644
index 0000000..4a16ea5
--- /dev/null
+++ b/bndrun/augments.bnd
@@ -0,0 +1,82 @@
+-augment.javax.servlet-api: \
+	javax.servlet-api; \
+		requirement:="osgi.implementation;filter:='(osgi.implementation=osgi.http)'"
+
+-augment.javax.ws.rs-api: \
+	javax.ws.rs-api; \
+		requirement:="osgi.implementation;filter:='(osgi.implementation=osgi.http)'"
+
+-augment.org.apache.aries.jax-rs.cxf-common: \
+	org.apache.aries.jax-rs.cxf-common; \
+		requirement:="osgi.extender;filter:='(&(osgi.extender=aries.jax-rs)(version>=1.0.0)(!(version>=2.0.0)))',
\
+		              osgi.implementation;filter:='(osgi.implementation=osgi.http)'"
+
+-augment.org.apache.commons.fileupload: \
+	org.apache.commons.fileupload; \
+		capability:=" generic.dependency;generic.dependency='commons.fileupload'"
+
+-augment.org.apache.felix.gogo.command: \
+	org.apache.felix.gogo.command; \
+		capability:=" generic.dependency;generic.dependency='gogo.shell.command';version:Version='1.0.0'";
\
+		version='1.0.0'
+
+-augment.org.apache.felix.gogo.shell: \
+	org.apache.felix.gogo.shell; \
+		capability:=" osgi.implementation;osgi.implementation='gogo.shell';version:Version='1.0.0'";
\
+		requirement:="generic.dependency;filter:='(generic.dependency=gogo.shell.command)';effective:=active";
\
+		version='1.0.0'
+
+-augment.org.apache.felix.gogo.jline: \
+	org.apache.felix.gogo.jline; \
+		capability:=" osgi.implementation;osgi.implementation='gogo.jline';version:Version='1.0.0'";
\
+		requirement:="generic.dependency;filter:='(generic.dependency=gogo.shell.command)';effective:=active";
\
+		version='1.0.0'
+
+-augment.org.apache.felix.log: \
+	org.apache.felix.log; \
+		capability:=" osgi.implementation;osgi.implementation=osgi.log"
+
+-augment.org.apache.felix.scr: \
+	org.apache.felix.scr; \
+		requirement:="osgi.implementation;filter:='(osgi.implementation=osgi.metatype)'"
+
+-augment.org.eclipse.equinox.coordinator: \
+	org.eclipse.equinox.coordinator; \
+		capability:=" osgi.service;objectClass=org.osgi.service.coordinator.Coordinator;effective:=active,
\
+		              osgi.implementation;osgi.implementation=osgi.coordinator"
+
+-augment.org.eclipse.equinox.event: \
+	org.eclipse.equinox.event; \
+		capability:=" osgi.service;objectClass=org.osgi.service.event.EventAdmin;effective:=active,
\
+					  osgi.implementation;osgi.implementation=osgi.event"; \
+		requirement:="osgi.extender;filter:='(osgi.extender=osgi.component)'"
+
+-augment.org.eclipse.equinox.http.jetty: \
+	org.eclipse.equinox.http.jetty; \
+		capability:=" equinox.module.data;activation.policy=eager, \
+					  generic.dependency;generic.dependency='osgi.servlet.container';version:Version='1.0.0'"
+
+-augment.org.eclipse.equinox.http.servlet: \
+	org.eclipse.equinox.http.servlet; \
+		capability:=" equinox.module.data;activation.policy=eager"; \
+		requirement:="generic.dependency;filter:='(generic.dependency=commons.fileupload)';effective:=active,\
+		              generic.dependency;filter:='(generic.dependency=osgi.servlet.container)';effective:=active"
+
+-augment.org.knopflerfish.bundle.useradmin: \
+	org.knopflerfish.bundle.useradmin; \
+		capability:=" osgi.service;objectClass:List<String>=org.osgi.service.useradmin.UserAdmin;effective:=active,
\
+					  osgi.implementation;osgi.implementation=osgi.useradmin"
+
+-augment.org.osgi.service.event: \
+	org.osgi.service.event; \
+		requirement:="osgi.implementation;filter:='(osgi.implementation=osgi.event)'"
+
+-augment.org.osgi.service.metatype: \
+	org.osgi.service.metatype; \
+		requirement:="osgi.implementation;filter:='(osgi.implementation=osgi.metatype)'"
+
+-augment.org.osgi.service.remoteserviceadmin: \
+	org.osgi.service.remoteserviceadmin; \
+		requirement:="osgi.remoteserviceadmin.distribution;filter:='(configs=*)', \
+		              osgi.remoteserviceadmin.topology;filter:='(policy=*)', \
+		              osgi.remoteserviceadmin.discovery;filter:='(protocols=*)'"
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/aries-jax-rs-whiteboard/blob/854ba8fb/bndrun/org.apache.aries.jax-rs.example.bndrun
----------------------------------------------------------------------
diff --git a/bndrun/org.apache.aries.jax-rs.example.bndrun b/bndrun/org.apache.aries.jax-rs.example.bndrun
index df887ad..27ef6ab 100644
--- a/bndrun/org.apache.aries.jax-rs.example.bndrun
+++ b/bndrun/org.apache.aries.jax-rs.example.bndrun
@@ -1,4 +1,5 @@
 -standalone:
+-include: ${.}/augments.bnd
 
 -plugin.pom.repo = \
 	aQute.bnd.repository.maven.pom.provider.BndPomRepository; \
@@ -44,4 +45,4 @@
 	osgi.console.enable.builtin=false, \
 	osgi.console=, \
 	org.osgi.service.http.port=8080
--runsystemcapabilities.dflt: 	${native_capability}
\ No newline at end of file
+-runsystemcapabilities.dflt: 	${native_capability}


Mime
View raw message