refund-request-consumer

command module
v0.0.0-...-c8135df Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 22, 2025 License: MIT Imports: 15 Imported by: 0

README

refund-request-consumer

GoDoc Go Report Card

Consumer that reads the refund-request topic and starts the refund process in the payment service.

Running locally with Docker CHS

Clone docker-chs-development and follow the steps in the README.

Enable the refund-request-consumer service.

Send a kafka message to the refund-request topic

Development mode is available for this service in Docker CHS Development.

./bin/chs-dev development enable refund-request-consumer

Terraform ECS

What does this code do?

The code present in this repository is used to define and deploy a dockerised container in AWS ECS. This is done by calling a module from terraform-modules. Application specific attributes are injected and the service is then deployed using Terraform via the CICD platform 'Concourse'.

Application specific attributes Value Description
ECS Cluster payments-service ECS cluster (stack) the service belongs to
Load balancer N/A (consumer service) The load balancer that sits in front of the service
Concourse pipeline Pipeline link
Pipeline code
Concourse pipeline link in shared services
Contributing
Testing
  • Ensure the terraform runner local plan executes without issues. For information on terraform runners please see the Terraform Runner Quickstart guide.
  • If you encounter any issues or have questions, reach out to the team on the #platform slack channel.
Vault Configuration Updates
  • Any secrets required for this service will be stored in Vault. For any updates to the Vault configuration, please consult with the #platform team and submit a workflow request.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package config defines the environment variable and command-line flags supported by this service and includes default values for particular fields.
Package config defines the environment variable and command-line flags supported by this service and includes default values for particular fields.
Package data contains the required data structures.
Package data contains the required data structures.
Package payment is a generated GoMock package.
Package payment is a generated GoMock package.
Package service contains the controllers to consume and process kafka messages.
Package service contains the controllers to consume and process kafka messages.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL