Skip to content

Latest commit

 

History

History
52 lines (43 loc) · 1.31 KB

consumer_service.md

File metadata and controls

52 lines (43 loc) · 1.31 KB

Consumer Service

Business Logic

APIs

RESTful APIs

API Documentation (Swagger UI)

Method URL Request Response Description
POST /consumers CreateConsumerRequest JSON CreateConsumerResponse JSON Add a new consumer.
GET /consumers/{consumerId} GetConsumerResponse JSON Get a consumer by consumer ID.

gRPC APIs

None

Commands

Outbound Commands

Inbound Commands

  • Inbound command channel name: consumerService
Command Description
ValidateOrderByConsumerCommand

Events

Outbound Events

Event Target Service(s) Description
ConsumerCreatedEvent

Inbound Events

None

Database

  • consumer
    Column Type Properties
    id bigint(20) PRI
    first_name varchar(255)
    last_name varchar(255)