Project to show how to use Netflix OSS at SAP HANA Cloud Platform
Use Java 7 to compile this code
Use 'mvn install' to create a WAR that will be deployed to SAP HANA Cloud
To deploy use the SAP HANA Cloud Client Tool
At deploy directory has a sample properties that I've used to deploy the demo
$neo deploy netflixosshc_war.properties
Sample Output:
SAP HANA Cloud Console Client
Requesting deployment for:
application : netflixosshc
account : s0004616922trial
source : netflixosshc.war
elasticity data : [1 .. 1]
severity : error
host : https://hanatrial.ondemand.com
SDK version : 2.14.26.2
user : s0004616922
Password for your user:
[Thu Sep 12 22:16:36 BRT 2013] Deployment started...............
[Thu Sep 12 22:17:15 BRT 2013] Deployment finished successfully
If you have a trial account you can't run 2 applications at same time, so I suggest you to run Hystrix-Dashboard on your local machine and the netflixosshc on SAP HANA Cloud
To run Hystrix-Dashboard see this instructions:
Clone https://github.com/Netflix/Hystrix project, after follow this instructions https://github.com/Netflix/Hystrix/tree/master/hystrix-dashboard
After Dashboard is running put the address of hystrix.stream that was deployed on SAP HANA Cloud.
Example: http://netflixosshcs0004616922trial.hanatrial.ondemand.com/netflixosshc/hystrix.stream
On the next image we have the Hystrix-Dashboard in action
To make request for services you can use the script and data for Apache AB on 'ab' directory or use JMeter located at 'jmeter' directory