Sign inSign up

thibaudma/iktos-test

By thibaudma

Updated almost 7 years ago

Image
0

172

thibaudma/iktos-test repository overview

Iktos test

Requirements

Installation

Build the image.

docker build . -t iktos-test 

You can also pull the image from the Docker Hub.

docker pull thibaudma/iktos-test

Usage

Start a Docker container.

docker run --rm -p 5000:5000 iktos-test:latest 

Describe a schema for a dataset named "persons".

curl \
    -d '{"id":"int", "nom":"string", "prenom":"string", "date_naissance":"date"}' \
    -H "Content-Type: application/json" \
    -X POST http://localhost:5000/schemas/persons

Send "persons" dataset.

curl \
    -d $'id|nom|prenom|date_naissance\n1|dupont|pierre|1990-03-05\n2|martin|marie|' \
    -H "Content-Type: text/plain" \
    -X POST http://localhost:5000/datasets/persons

Get "persons" dataset with only valid rows.

curl http://localhost:5000/datasets/persons

Get logs.

curl http://localhost:5000/logs

Tag summary

Content type

Image

Digest

Size

122.2 MB

Last updated

almost 7 years ago

docker pull thibaudma/iktos-test