Skip to content

papicella/TelstraSMSAPIPublic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot Sample with Swagger for Telstra Public SMS API

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

https://dev.telstra.com/

Deploy to Pivotal Cloud Foundry

  • 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

alt tag

Access Swagger UI

Note: Make sure you use the correct HOSTNAME route you used in manifest.yml

http://apples-springboot-telstrasms.pcfdemo.net/swagger-ui.html

Eg:

alt tag

Import Swagger Defintions for API Consumption

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

About

Exposing Telstra SMS Api

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages