Hi @olegd52630483,
What @giuseppebag is right!
- The
com.adobe.aem.graphql.api
package is part of AEM as a Cloud Service (AEMaaCS) internal APIs. Adobe does not publicly expose all GraphQL-related APIs, especially low-level ones like QueryEndpointProvider
, in the Uber JAR.
- These GraphQL APIs are designed for AEMaaCS only, where Adobe manages the runtime. Therefore:
Only selected APIs are exported and marked as public/stable for use in custom code. Many internal services and interfaces, especially those involving GraphQL endpoints and indexing, are:
-
OSGi-only internal services
-
Not meant for direct consumption
-
Meant to be used via GraphQL schemas/models/components, not Java code
If You're on AEMaaCS and need GraphQL:
-
Use GraphQL APIs through HTTP endpoints exposed by AEM:
-
Use Model-based GraphQL via Sling Models and @GraphQLField
annotations (available in core.wcm.components.models
).
-
For advanced use, write a custom GraphQL servlet rather than trying to implement QueryEndpointProvider
.
Hope that helps!
Santosh Sai

