WFA App is an web application that is deployed in ‘Tomcat’ docker container.
Deployment Location:
- Host computer /user/webapps/wfa , which is virtual mount of docker container’s tomcat/webapps. When we deploy updates of WFA App, we need to unzip the app file into this location.Services WFA App Uses:
Dynamic Web Service (DWS):
- Dynamic Web Service that is a service layer middle ware. Most of the requests go through the DWS for WFA App.
- Located in tomcat webapps folder as ‘dws’. It is an java service application.VoucherCode Service (vcGen):
- VoucherCode Service handles generating voucher codes, store them in queue, and provides these voucher codes from queue to users in WFA App.
- This is a node.js service with storing data (voucherCode Queue) in mongoDb. The node.js service (vcGen) is running in nodeJs docker container.
- WFA App goes through DWS to access services of VoucherCode.