blob: 630239de030aecec157f369a70d9319f03c8c790 [file] [log] [blame]
{
"#": "A comment",
"# array": ["array", "comment"],
"id": "org.apache.sling/test2/1.1",
"variables": {
"common.version": "1.2.3",
"contract.name": "JavaServlet",
"ab_config": "right!",
"c_config": "really?",
"includever": "9",
"ns": "contract",
"sling.gid": "org.apache.sling",
"something": "something",
"svc": "service",
"refvar": "${refvar}"
},
"includes" : [
{
"#": "comment",
"id" : "${sling.gid}/sling/10",
"removals" : {
"configurations" : [
],
"bundles" : [
],
"#": "comment",
"framework-properties" : [
]
}
}
],
"requirements" : [
{
"namespace" : "osgi.${ns}",
"#": "comment",
"directives" : {
"#": "comment",
"filter" : "(&(osgi.contract=${contract.name})(&(version>=3.0)(!(version>=4.0))))"
}
}
],
"capabilities" : [
{
"#": "comment",
"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.${svc}",
"attributes" : {
"#": "comment",
"objectClass:List<String>" : "org.osgi.${svc}.http.runtime.HttpServiceRuntime"
},
"directives" : {
"uses" : "org.osgi.${svc}.http.runtime,org.osgi.${svc}.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" : {
"# one": "comment",
"# two": "comment",
"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,
"#": "comment"
},
{
"id" : "org.apache.sling/application-bundle/2.0.0",
"start-order" : 1
},
{
"id" : "org.apache.sling/another-bundle/2.1.0",
"start-order" : 1
}
],
"configurations" : {
"#": "comment",
"my.pid" : {
"#": "comment",
"foo" : 5,
"bar" : "test",
"number:Integer" : 7
},
"my.pid2" : {
"a.value" : "aa${ab_config}",
"b.value" : "${ab_config}bb",
"c.value" : "c${c_config}c",
"refvar": "${refvar}"
}
}
}