gpe-mw-training / advanced-process-development-labs-etc

3 stars 9 forks source link

web services on container #5

Open diego-torres opened 4 years ago

diego-torres commented 4 years ago

flight web service and hotel web service exemplify the use of external web services interaction in the different labs of advanced process dev. In current OCP implementation they are hosted along with the kie-server.war in the same EAP, allowing localhost to respond to their invocation. I raise this issue to analyze the modernization and abstraction of these web services. By using the same EAP some cxf libraries cause warnings in the EAP server logs; and using micro-services orchestration approach like the Red Hat Summit Demo for 2019 would be great. @btison, please approve the modernization of these web services or provide feedback on your argument to let them as they are. Thank you.

diego-torres commented 4 years ago

warning on EAP hosting kie-server with flight and hotel web services: WARN [org.jboss.modules.define] (default task-1) Failed to define class org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder in Module "deployment.ROOT.war" from Service Module Loader: java.lang.NoClassDefFoundError: Failed to link org/apache/cxf/transport/http/policy/HTTPClientAssertionBuilder (Module "deployment.ROOT.war" from Service Module Loader): org/apache/cxf/ws/policy/builder/jaxb/JaxbAssertionBuilder