Skip to content

paulojeronimo/kogito-quickstart-with-docker-compose

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

README

Start a terminal session.

Clone this project locally and change to its directory:

$ git clone https://github.com/paulojeronimo/kogito-quickstart-with-docker-compose && cd `basename $_`

Use Docker Compose to build the project:

$ docker-compose up

Open another terminal session and test the application by copying the curl commands showed to it.

Sample test:

$ curl -X POST http://localhost:8080/persons \
    -H 'content-type: application/json' \
    -H 'accept: application/json' \
    -d '{"person": {"name":"John Quark", "age": 20}}'
{"id":"22bc188b-5d96-4630-bd91-083166153bba","person":{"name":"John Quark","age":20,"adult":true}}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages