camunda-community-hub / camunda-platform-7-graphql

GraphQL for Camunda Platform 7
Apache License 2.0
113 stars 44 forks source link

wildfly deployment of graphQL server #13

Closed zerounix closed 7 years ago

zerounix commented 7 years ago

Hi guys,

I tried running the .war file on a fresh camunda wildfly installation which actually failed because of a missing dependency to camunda bpm engine jboss module. I added this via a jboss-deployment-structure.xml and finally got it working.

Do you have any plans to add this feature, like via a build profile or something, in the future?

I read that you have plans to have some sample ui application, is there already something to have a peek at, because I really plan to use graphql with react for our next workflow application?

hloydl commented 7 years ago

Hi @zerounix we never tested camunda-bpm-graphql on a Wildfly installation, pretty much sticked to Tomcat for no special reason, just to stay focused. Great to hear that you got it working. We do not have any plans yet to add this feature. We would appreciate your contribution so that other Wildfly installations could benefit from your findings.
Regarding a sample ui application - well, yes, we are preparing a show case "Camunda GraphQL Tasklist" based on React and the Apollo client. We can render forms

Anyway, what we struggle with is the rendering of task forms based on React (or let it be Angular 2) inside the existing Camunda Tasklist or our "Camunda GraphQL Tasklist". The problem is the loading and execution of React components or JavaScript during runtime without exposing a potential security hole (i.e. using the evil Javascript eval()-function). Maybe there is no simple solution, maybe it's so simple we do not see it yet...