Skip to content

orangeRat/test-ignite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test Apache Ignite app

Build

mvn clean package

Start App

The app uses Ignite server. Please, download Apache Ignite and unzip it on your local machine. After that run it with command bin/ignite.sh examples/config/example-ignite.xml and start the app with command java -jar test-ignite-0.0.1.jar

Prefill cache

In initialData folder stored some random data. You can just run the ./load-initial.sh YOUR_IP (where YOUR_IP - is IP address of server) script and test the app

API

  • GET /cell/{id} - get cell info

  • GET /cell/{cellId}/numbers - list of numbers for cell

  • POST /cell/add-number - put one number+cell tuple

  • POST /cell/add-number-batch - put batch of number+cell tuples

  • GET /profile/{cnt} - get client's profile from cache

  • GET /profile/by-cell/{cellId} - get profile list for target cell

  • POST /profile - put one client's profile to cache

  • POST /profile/batch - put batch of profiles to cache

Docker

Docker image

For start type sudo docker run -it mrdru/test-ignite

Service will be available on port 8080

About

Yet another Apache Ignite test app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published