Giter Site home page Giter Site logo

spring-boot-apache-ignite's Introduction

Sample Apache Ignite - Spring Boot application

Example using Apache Ignite cache and sql queries over cache.

Used technologies

  • Java 8
  • Gradle
  • Spring Boot
  • Apache Ignite
  • RESTful services
  • Swagger

Clone

git clone [email protected]:a11exe/spring-boot-apache-ignite.git

Build

./gradlew clean build

Run

java -DIGNITE_QUIET=false -DIGNITE_JETTY_PORT=8081 -jar build/libs/spring-boot-ignite-*.jar

Use

Open swagger ui http://localhost:8080/swagger-ui.html

Get person by id:

curl -X GET "http://localhost:8080/person/1" -H "accept: */*"

Add person:

curl -X POST "http://localhost:8080/person" -H "accept: */*" -H "Content-Type: application/json" -d "{ \"age\": 30, \"firstName\": \"Alex\", \"id\": 22, \"lastName\": \"Musk\"}"

Change person:

curl -X PUT "http://localhost:8080/person/22" -H "accept: */*" -H "Content-Type: application/json" -d "{ \"age\": 35, \"firstName\": \"Bob\", \"id\": 22, \"lastName\": \"Musk\"}"

Search person:

curl -X GET "http://localhost:8080/person/search?age=35&firstName=Bob" -H "accept: */*"

Delete person:

curl -X DELETE "http://localhost:8080/person/22" -H "accept: */*"

spring-boot-apache-ignite's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.