comtihon / survey_requests

Service for handling survey responses.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Survey requests service Build Status

Gets answered questions, validates and puts to kafka.

Run

Ensure that Kafka is accessible before running the service.
Access urls are specified in application.properties for spring.kafka.bootstrap-servers.

In docker

sudo ./gradlew build buildDocker
sudo docker run -p 8080:8080 -t com.surveyor.requests

In OS

./gradlew bootRun

Protocol

POST /respond/{surveyId} with body: [{"id" : "answerId1"}, ... , {"id" : "answerIdN"}]

About

Service for handling survey responses.


Languages

Language:Java 100.0%