Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 1.09 KB

README.md

File metadata and controls

20 lines (14 loc) · 1.09 KB

restful-gs-spark

RESTFul Service for GigaSpaces data using SparkJava

Steps to run this example

  • Clone the project to your local folder
  • Install GigaSpaces jars into your local repository using the gigaspaces-xap-premium-xxx-ga/tools/maven/installmavenrep.sh/bat script
  • Run "mvn package" inside the gs-spark project
  • Run "mvn jetty:run" inside the gs-spark project

Using a RESTful client invoke following methods,

If you launch a GigaSpaces UI, you can see the data being stored in GigaSpaces.

A good RESTful client that I used for my testing is a Google Chrome plugin called Advanced REST client and can be downloaded from here, https://chrome.google.com/webstore/detail/advanced-rest-client/hgmloofddffdnphfgcellkdfbfbjeloo?hl=en-US.