[
https://issues.apache.org/jira/browse/SLING-10657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Radu Cotescu updated SLING-10657:
---------------------------------
Description:
The Schema Aggregator should read the available partials from the
{{Provide-Capability}} header of wired bundles. The wiring should be created by
having the provider bundles require
{{osgi.extender;filter:="(&(osgi.extender=sling.graphql-schema-aggregator)(version>=0.1)(!(version>=1.0)))"}}.
The capability describing a partial should look like:
{{Provide-Capability:
sling.graphql-schema-provider;partial:=String;version:=Version}}
The partials should be available in the provider bundles inside the
{{/graphql/partials}} folder.
was:
The Schema Aggregator should read the available partials from the
{{Provide-Capability}} header of wired bundles. The wiring should be created by
having the provider bundles require
{{osgi.extender;filter:="(&(osgi.extender=sling.graphql-schema-aggregator)(version>=0.1)(!(version>=1.0)))"}}.
The capability should look like:
{{Provide-Capability: sling.graphql-schema-provider;partials:=List<String>}}
The partials should be available in the provider bundles inside the
{{/graphql/partials}} folder.
> Read the available partials from the Provide-Capability header of wired
> bundles
> -------------------------------------------------------------------------------
>
> Key: SLING-10657
> URL: https://issues.apache.org/jira/browse/SLING-10657
> Project: Sling
> Issue Type: Sub-task
> Components: GraphQL
> Reporter: Radu Cotescu
> Assignee: Radu Cotescu
> Priority: Major
> Fix For: GraphQL Schema Aggregator 0.0.2
>
>
> The Schema Aggregator should read the available partials from the
> {{Provide-Capability}} header of wired bundles. The wiring should be created
> by having the provider bundles require
> {{osgi.extender;filter:="(&(osgi.extender=sling.graphql-schema-aggregator)(version>=0.1)(!(version>=1.0)))"}}.
> The capability describing a partial should look like:
> {{Provide-Capability:
> sling.graphql-schema-provider;partial:=String;version:=Version}}
> The partials should be available in the provider bundles inside the
> {{/graphql/partials}} folder.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)