Skip to content

Microservice build with Apache Camel. BDD testing (with Cucumber)

Notifications You must be signed in to change notification settings

gabrielSpassos/cliente_service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cliente Service

This is a microservice wrote in Java and Spring Boot. I'm using Apache Camel to create the flux of the data creating routes. To test this service I used a Test-Driven Development approach, so Cucumber was the tool that i choose to do it.

Usage

It's quite simple:

  • Clone this repository
  • Run the file database.sql in some MySql server
  • if needed You may need to change the file application.yml
  • if needed Change the fields url, password, username with your database information
  • Build the service with:
./gradlew clean build     --> Linux

OR

gradlew.bat clean build   --> Windows
  • Run the project with your IDE or with:
java -jar build/libs/cliente-service-0.0.1-SNAPSHOT.jar
  • Go to Swagger to see the service running with an UI
  • This the base url of the application:

http://localhost:9000/cliente-service/api/swagger-ui.html

Tests

  • Run the project with your IDE or with:
./gradlew clean test     --> Linux 

OR

gradlew.bat clean test   --> Windows
  • Check the features and the stepdefs files

About

Microservice build with Apache Camel. BDD testing (with Cucumber)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published