Skip to content
This repository has been archived by the owner on Sep 10, 2019. It is now read-only.

Steps to create a HTTP service

Ajay Divakaran edited this page Jul 28, 2017 · 5 revisions

HTTP service

A maven based Spring Boot Web application.

Steps to create a new HTTP service

  1. The Spring Boot Web version should be 1.5.1.RELEASE or later.
  2. The endpoints (controller actions) URI are not RESTful in nature.
  3. Include the tracer library for access to correlation id and logging of interactions with other HTTP services and/or Kafka.
  4. Refer to folder-structure to understand the folder structure convention.

Endpoint URI conventions

  • Create (POST) request "/{context-path}/{entity-name}/v{version-number}/_create"
  • Update (PUT) request "/{context-path}/{entity-name}/v{version-number}/_update"
  • Retrieval (GET) request "//{entity-name}/v{version-number}/_search"