Run elevator application on tomcat :
mvn clean install -Dmaven.tomcat.port=8292 tomcat:run-war
Application is secured with credentials for all requests need to pass credentials in the request headers
-
<applicationhosted>/list: Retrieves elements from database and displays in JSON format (GET) -
<applicationhosted>/push?i1=<value1>&i2=<value2>: Pass the two numbers for calculating GCD and persisting in database (POST)
-
<applicationhosted>/services/gcdprocessor?wsdl: SOAP WSDL``gcdList`` : Retrieves all GCD's present in database ``gcd`` : Retrieves GCD of the first JMS message ``gcdSum`` : Returns the sum of all GCD's in database
- Active MQ is used, for easy execution of application updated the configuration as embedded application
- Need to pre configure the database
gcdand setup tablegcd_numbers
- Planning to embed the database by default if not configured