We're still at the restaurant to create a user interface for the ACME Restaurant waiter. Following a very special recipe, we will create those UIs with the technology of our choice - other than the Bonita UI Designer - and connect them to Bonita. During this session we will be using the exact same project we created at the previous stop and create an external UI using Angular.
Questions Answered During this Session
- How can I connect to Bonita from my external user interface?
- What is the X-Bonita-API-Token used for?
- Is there an easy way to debug my API calls?
- How can I verify the requirements of the Bonita REST APIs?
- How can I enable CORS on my Bonita Tomcat bundle?
- Do I need to use HTTPS?
- What is the difference with the interfaces created with the UI Designer?
- Is there any limitation on the technology that I can use for creating my user interfaces?
- Can I do exactly the same from my external UI than the ones created with the UI Designer?
- How can I retrieve the users task?
- How can I execute a task using the REST APIs?
- How can I retrieve the variables of a process instance (a.k.a. case)?
Useful links shown during this session
- Our Bonita project on Github: https://github.com/Bonitasoft-Community/restaurant-order-example
- Our sample Angular UI on Github: https://github.com/Bonitasoft-Community/restaurant-employee-angular-UI-example
- Bonita Login API Documentation: https://api-documentation.bonitasoft.com/latest/#tag/PortalAuthentication/operation/login
- Enabling CORS on Bonita Tomcat: https://documentation.bonitasoft.com/bonita/latest/security/enable-cors-in-tomcat-bundle
- SSL Configuration on Bonita: https://documentation.bonitasoft.com/bonita/latest/identity/ssl
- Cross-Origin Resource Sharing (CORS): https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
- SameSite=None; Secure Cookie Settings: https://blog.chromium.org/2019/10/developers-get-ready-for-new.html
- Postman: https://www.postman.com/
Did you miss the live session?
WATCH THE REPLAY IN ENGLISH
VE LA GRABACIÓN EN ESPAÑOL
REGARDEZ LE REPLAY EN FRANÇAIS