This is an automated email from the ASF dual-hosted git repository.
bdelacretaz pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-graphql-schema-aggregator.git
The following commit(s) were added to refs/heads/master by this push:
new 04474a2 SLING-10551 - add Require-Capability info
04474a2 is described below
commit 04474a2fe16389c0df60471922f38e7dcfc637ef
Author: Bertrand Delacretaz <[email protected]>
AuthorDate: Thu Jul 15 18:11:46 2021 +0200
SLING-10551 - add Require-Capability info
---
README.md | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/README.md b/README.md
index 0e5d6f3..9fdf696 100644
--- a/README.md
+++ b/README.md
@@ -35,6 +35,15 @@ specific set of queries, mutations and types.
To provide partials, a bundle sets a `Sling-GraphQL-Schema` header in its OSGi
manifest, with a value that
points to a path under which partials are found in the bundle resources.
+A provider bundle also needs to declare the following requirement, to allow
the schema aggregator to receive
+its bundle start event:
+
+ Require-Capability:
+ osgi.extender;
+
filter:="(&(osgi.extender=sling.graphql-schema-aggregator)(version>=0.1)(!(version>=1.0)))"
+
+The version number range must be consistent with this module's version.
+
A partial is a text file with the structure described below. As usual, The
Truth Is In The Tests, see
the [example partial in the test
sources](./src/test/resources/partials/example.partial.txt) for a
reference that's guaranteed to be valid.