Simple IBM Bluemix Sample accessing IBM Connections

I’ve published a simple sample application that shows how to access IBM Connections Social Cloud from IBM Bluemix. You can find some screenshots on GitHub.

The sample uses AngularJS in the frontend which invokes a REST API returning JSON. The Java backend implementation uses a subset of the Social Business Toolkit SDK to handle the authentication and to easily invoke the Connections REST APIs via the SDK’s endpoints and the generic service.
 
The application uses basic authentication so that the same application can be run on a local Liberty server and on Bluemix without having to change anything. You can also use OAuth but would then have to change the callback. Additionally in order to run the sample without any additional setup you can use test users on the Connections development environment. You can also use your own Connections organization if you have already one or get your own test environment.

You can easily install and run the sample yourselves by following the instructions. There is only one Eclipse project that can be imported into the Eclipse IDE. All dependencies are pulled in via Maven and CDN.

The sample only invokes one REST API to read profile information of the current user.

  • Michel Jonker

    Hi Niklas, Do you know if there are plans to provide a connections (cloud) services from IBM ?

    • Niklas Heidloff

      Michael, sorry, I’m not up to date with Connections app dev anymore. Could you ask on the Connections Developer site?