1.5.2 • Published 2 years ago

cuor-order-patch-materializer v1.5.2

Weekly downloads
-
License
UNLICENSED
Repository
github
Last release
2 years ago

order-patch-materializer

Kafka consumer to process order creates and updates

Domain

cuor

Setting up

  • Ensure docker desktop is installed locally
  • Ensure node v12 and npm are installed locally
  • Run npm i

Docker

This consumer can be tested locally without creating a topic to consume from, using the localTesting folder. The testCreate and testUpdate files test creating and updating respectively, pulling the data from the orderCreatePayload.json and orderUpdatePayload.json

To Run

  • Run docker-compose up -d
    • This will begin a confluent kafka cluster. Go to http://localhost:9021, select the cluster that was created, and create the local_ihtl_load_upsert_json topic.
  • Run npm run create in order to test order creating
  • Run npm run update in order to test order updating
  • Note: the orderCreatePayload.json file will have to be updated with new order numbers as you create each order

Deploy

To deploy this consumer, bump the package version inside package.json. Each of this fields needs to have the version number updated:

Once the new image is pushed to ECR, update the dev and prod config yamls to point at the new image:

Once the config repo is updated to point to the new version, sync the application in Argo to deploy:

1.5.2

2 years ago

1.5.1

2 years ago

1.5.0

2 years ago

1.4.12

2 years ago

1.4.9

3 years ago

1.4.11

2 years ago

1.4.10

2 years ago

1.4.6

3 years ago

1.4.5

3 years ago

1.4.4

3 years ago

1.4.3

3 years ago

1.4.2

3 years ago

1.4.1

3 years ago

1.4.8

3 years ago

1.4.7

3 years ago

1.2.3

3 years ago

1.4.0

3 years ago

1.2.2

3 years ago

1.3.0

3 years ago

1.2.1

3 years ago

1.2.0

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago