snicaise / cd-pricing

Voir https://github.com/snicaise/cd-infrastructure

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pricing

Service REST permettant de connaitre le prix d'un vol.

Composant pricing de la démo GoCD-Ansible. Pour plus d'information voir cd-infrastructure

Usage

Prérequis : maven 3 et java 8

Build et tests

mvn clean package

Execution

cd pricing-core
java -jar target/pricing-core.jar server server.yml

curl -v http://localhost:8060/pricing/price?origin=paris&destination=londres

Tests

Executer les tests unitaire :

mvn test

Executer les tests composant :

mvn test -Pcomponent-tests

Executer les tests d'intégration :

mvn test -Pintegration-tests

Executer tous les tests :

mvn test -Pall-tests

About

Voir https://github.com/snicaise/cd-infrastructure


Languages

Language:Java 100.0%