| { |
| "id" : "org.apache.sling/test-feature/1.1", |
| "description": "The feature description", |
| |
| "prototype" : |
| { |
| "id" : "org.apache.sling/sling/9", |
| "removals" : { |
| "configurations" : [ |
| ], |
| "bundles" : [ |
| ], |
| "framework-properties" : [ |
| ] |
| } |
| } |
| , |
| "requirements" : [ |
| { |
| "namespace" : "osgi.contract", |
| "directives" : { |
| "filter" : "(&(osgi.contract=JavaServlet)(&(version>=3.0)(!(version>=4.0))))" |
| } |
| } |
| ], |
| "capabilities" : [ |
| { |
| "namespace" : "osgi.implementation", |
| "attributes" : { |
| "osgi.implementation" : "osgi.http", |
| "version:Version" : "1.1" |
| }, |
| "directives" : { |
| "uses" : "javax.servlet,javax.servlet.http,org.osgi.service.http.context,org.osgi.service.http.whiteboard" |
| } |
| }, |
| { |
| "namespace" : "osgi.service", |
| "attributes" : { |
| "objectClass:List<String>" : "org.osgi.service.http.runtime.HttpServiceRuntime" |
| }, |
| "directives" : { |
| "uses" : "org.osgi.service.http.runtime,org.osgi.service.http.runtime.dto" |
| } |
| }, |
| { |
| "namespace" : "osgi.contract", |
| "attributes" : { |
| "osgi.contract" : "JavaServlet", |
| "osgi.implementation" : "osgi.http", |
| "version:Version" : "3.1" |
| }, |
| "directives" : { |
| "uses" : "org.osgi.service.http.runtime,org.osgi.service.http.runtime.dto" |
| } |
| } |
| ], |
| "framework-properties" : { |
| "foo" : 1, |
| "brave" : "something", |
| "org.apache.felix.scr.directory" : "launchpad/scr" |
| }, |
| "bundles" :[ |
| { |
| "id" : "org.apache.sling/oak-server/1.0.0", |
| "hash" : "4632463464363646436", |
| "start-order" : 1 |
| }, |
| { |
| "id" : "org.apache.sling/application-bundle/2.0.0", |
| "start-order" : 1 |
| }, |
| { |
| "id" : "org.apache.sling/another-bundle/2.1.0", |
| "start-order" : 1 |
| }, |
| { |
| "id" : "org.apache.sling/foo-xyz/1.2.3", |
| "start-order" : 2 |
| } |
| ], |
| "configurations" : { |
| "my.pid" : { |
| "foo" : 5, |
| "bar" : "test", |
| "number:Integer" : 7 |
| }, |
| "my.factory.pid~name" : { |
| "a.value" : "yeah" |
| } |
| } |
| } |