/hb-campaign-api

Spring boot Campaign Api

Primary LanguageJava

hb-campaign-api

Spring boot Campaign Api

swagger

codecov

RestFul Service uses following Technologies:

  • Spring-boot
  • Hibernate,JPA
  • JaCoCo
  • H2 DB
  • Swagger2

Run Commands Samples:

On initial all command as listed below will be executed and write log to the console

  • create_product 1 100 1000
  • get_product_info 1
  • create_order 1 100
  • create_campaign NS 1 10 20 100
  • increase_time 2
  • get_campaign_info NS

Use swagger to run commands Whether file or direct commands as above

  • use file format as "commands.hb" with named under the resource folder to upload new steps

  • file name must be "file"

  • Run commands separately under command-controller like "get_product_info 1" as string command

Build

Run mvn clean install

SpringBootService

Run spring-boot-run.

Running Tests

Run mvn clean verify

Coverage

coverage

Documentation

To get more look at http://localhost:8080/swagger-ui.html#/