killbill-aplcache

util: advertise org.osgi.service.http from the System bundle Make

2/16/2013 6:46:45 PM

Details

diff --git a/util/src/main/java/com/ning/billing/util/config/OSGIConfig.java b/util/src/main/java/com/ning/billing/util/config/OSGIConfig.java
index fc184fb..46d7806 100644
--- a/util/src/main/java/com/ning/billing/util/config/OSGIConfig.java
+++ b/util/src/main/java/com/ning/billing/util/config/OSGIConfig.java
@@ -58,7 +58,9 @@ public interface OSGIConfig extends KillbillConfig {
              // Note: bundles should mark javax.servlet:servlet-api as provided
              "javax.servlet;version=3.0," +
              "javax.servlet.http;version=3.0," +
-             "org.osgi.service.log;version=1.3")
+             "org.osgi.service.log;version=1.3," +
+             // Let the world know the System bundle exposes the requirement (osgi.wiring.package=org.osgi.service.http)
+             "org.osgi.service.http")
     public String getSystemBundleExportPackages();
 
     // TODO FIXME OSGI