- JDK 1.7 or higher
- npm 3.5.x
- maven 3.3.x
- Do the configurations in the application.properties and log4j.properties files
- mvn clean install
- Get th built jar from target directory
- java -jar simulator-1.0-SNAPSHOT.jar
- Access the simulator from http://localhost:8080
{
"outboundUSSDMessageRequest": {
"address": "tel:+914892834792",
"shortCode": "tel:1721",
"keyword": "3456",
"outboundUSSDMessage": "To register with Mobile Connect?\n1. OK\n2. Cancel",
"clientCorrelator": "914892834792",
"responseRequest": {
"notifyURL": "https://localhost:9443/UserRegistration-1.0-SNAPSHOT/webresources/endpoint/ussd/push/receive",
"callbackData": ""
},
"ussdAction": "mtinit",
"deliveryStatus": "SENT"
}
}