The following demo expsoing Telstra SMS API described at https://dev.telstra.com/content/sms-api-0
You need a T.DEV account at the link here to use this API
- Clone project as follows
git clone https://github.com/papicella/TelstraSMSAPIPublic.git
- Package as follows [This may take a while if downloaded maven repos is required]
$ cd TelstraSMSAPIPublic
$ mvn package
- Edit manifest.yml to ensure HOST is unique
applications:
- name: springboot-telstrasms
memory: 512M
instances: 1
host: apples-springboot-telstrasms
path: ./target/TelstraSMSAPIPublic-0.0.1-SNAPSHOT.jar
- Deploy as follows, once you have a unique HOSTNAME Route to use
$ cf push -f manifest.yml
Once deployed it will look as follows in Pivotal Apps manager
Note: Make sure you use the correct HOSTNAME route you used in manifest.yml
http://apples-springboot-telstrasms.pcfdemo.net/swagger-ui.html
Eg:
http://apples-springboot-telstrasms.pcfdemo.net/v2/api-docs?group=telstra
Pas Apicella [papicella at pivotal.io] is a Senior Platform Architect at Pivotal Australia