Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

jgjay/rxjava-api-composition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API Composition with RxJava

A demonstration of simple API composition with RxJava. The API composes upon the BBC's Linked Data Platform APIs to return information about the 5 most used tag concepts for the current day, along with a summary of the latest 5 creative works for each.

Prerequisites

To run natively:

To run in a vagrant virtual machine:

Getting Started

To access the Linked Data Platform APIs you'll need to have configured your certificate and the BBC truststore in JAVA_OPTS:

-Djavax.net.ssl.trustStore=certificates/jssecacerts
-Djavax.net.ssl.keyStore=/path/to/cert.p12
-Djavax.net.ssl.keyStorePassword=yourpassword
-Djavax.net.ssl.keyStoreType=PKCS12

If you're running on the Reith network from within the BBC you'll additionally need to have configured the proxy details:

-Dhttp.proxyHost=www-cache.reith.bbc.co.uk
-Dhttp.proxyPort=80

Assuming the above steps have been done, you can run the application. The first time you do this groovy will download the necessary dependencies (so be patient, it may take a little while).

$ groovy -Dgroovy.grape.report.downloads=true storylines.groovy

About

An example of simple RESTful API composition using RxJava

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors