Skip to content

project for testing Twilio service with spring cloud connector to ibm cloud

License

Notifications You must be signed in to change notification settings

tnixa/spring-cloud-connector-twilio-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test project for Spring Cloud Connectors with Twilio on IBM Cloud

This project is a quick test to verify the behavior of the Spring Cloud Connector for Twilio on IBM Cloud, as provided by https://github.com/IBM-Cloud/bluemix-cloud-connectors. This project provides a simple REST endpoint that will verify that a bound Twilio service is detected appropriately, and be used by the application, by sending an SMS message

Setup

  1. You will need ibm cloud CLI from https://cloud.ibm.com/docs/cli/reference/ibmcloud?topic=cloud-cli-install-ibmcloud-cli#install_use and bx cf installed and configured to talk to the appropriate cf org/space etc.
  2. You will need to create a Twilio account and phone number and have another phone number capable of accepting SMS.
  3. You will need to edit TestRestController.java and use the Twilio phone number for "From" and the other phone number for "To"

Build

./mvnw clean package

Deploy

bx cf push -b java_buildpack -p target/testapp-0.0.1-SNAPSHOT.jar YourAppname

Verify

  1. navigate to http://YourAppname.mybluemix.net/test
  2. SMS message should be sent/received
  3. check log:
bx cf logs YourAppname --recent

About

project for testing Twilio service with spring cloud connector to ibm cloud

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages