-
1. Re: Jberet-ui in Wildfly
cfang Aug 19, 2019 7:35 PM (in response to josecfrade)the most important part is to configure restUrl, which tells where your server is. The configured value will be substituted when building the project.
Please see the project README.md for details.
-
2. Re: Jberet-ui in Wildfly
josecfrade Aug 20, 2019 4:24 AM (in response to cfang)Thank you! I just compile Wildfly from the maste(like jberet-ui)r, in the standard version what is the URL to set in the restUrl in the file config.json? I did try http://localhost:8080/api but no success.
-
3. Re: Jberet-ui in Wildfly
cfang Aug 20, 2019 4:51 AM (in response to josecfrade)you need to have a web app that is already deployed to WildFly server to provide the REST API service. Then jberet-ui can connect to that web app to view and exchange data thru rest api.
The deployed web app contains your batch application, and jberet-rest library, which exposes batch processing REST API in a format that jberet-ui understands.
So the restUrl points to that deployed web app's rest service, for ex: http://localhost:8080/restAPI/api , here your web app has context root restAPI.
http://localhost:8080/api will work only if you deployed your batch web app as a root app.
-
4. Re: Jberet-ui in Wildfly
josecfrade Aug 22, 2019 10:46 AM (in response to josecfrade)Hi !
I had the job Numbers-chunk already deployed in my Wildlfy 18 Beta, once I realized that, I changed the config.json and I got jberet ui working.
Undeploy Numbers-chunk...
Meanwhile with the RestApi 1.3.5.Final-SNAPSHOT and executing the instructions I manage to deploy Jberet UI at the first try.
Thank you!
-
5. Re: Jberet-ui in Wildfly
cfang Aug 22, 2019 9:29 PM (in response to josecfrade)Glad it worked for you. Feel free to post here if you have other questions.