This project is a POC. I was willing to add a new Bonita Service to its engine, that would expose a GraphQL API, just by deploying a plug-in jar in the classpath. Possible or not?
Let's try...
./gradlew build
/!\ Some deps must be removed from jar: everything under org/ folder except bson/
cp build/libs/graphql-bdm-service-1.0-SNAPSHOT.jar /home/bonita/Versions/7.7/7.7.0-GA/BonitaStudioSubscription-7.7.0/workspace/tomcat/server/webapps/bonita/WEB-INF/lib
http://localhost:8080/bonita/graphql?query=%7B%0AallBooks%7B%0Aname%0A%7D%0A%7D This is the URL encoded version of http://localhost:8080/bonita/graphql?query={allBooks{name}} which list all the books from the system.
http://localhost:8080/bonita/graphql?query=%7BallLoans%7Bcustomer%2Ctype%2Cstatus%7D%7D
Exposing the endpoint on /API/graphql would allow to preview in the UID but requires to update REST API security