Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
SOLVED

How to add /content/cq:graphql to the vault package

Avatar

Level 4

Adobe Experience Manager 2022.11.9850.20221116T162329Z-220900

 

I am trying to include the GraphQL endpoint in my content package. I have the path in the filter.xml of my maven project but when I attempt to build, I am getting a jackrabbit validation error.

 

[ERROR] ValidationViolation: "jackrabbit-filter: Node '/content/cq:graphql' is not contained in any of the filter rules", filePath=jcr_root\content\_cq_graphql\.content.xml
[ERROR] ValidationViolation: "jackrabbit-filter: Node '/content/cq:graphql/myproject' is not contained in any of the filter rules", filePath=jcr_root\content\_cq_graphql\myproject\.content.xml

 

The filter in the filter.xml is as follows:

<filter root="/content/_cq_graphql"/>

 

What do I need to do extra to get this to build?

 

Thanks in advance. 

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi @Robert-Harper ,

 

Have you tried this?

<filter root="/content/cq:graphql"/>

 

This seems to be working.

 

Regards,

Nitesh

0 Replies

Avatar

Correct answer by
Employee

Hi @Robert-Harper ,

 

Have you tried this?

<filter root="/content/cq:graphql"/>

 

This seems to be working.

 

Regards,

Nitesh