Closed
Conversation
Added the upc field to the product_created Kafka event payload to allow consumers to receive the UPC code without needing to look it up separately. Also updated the integration test to validate that the upc field is present in the published event. Fixes #19 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
|
Overview
Environment Variables (1 changes)
NODE_ENV=production
-NODE_VERSION=22.13.0
+NODE_VERSION=18.20.8
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
YARN_VERSION=1.22.22Labels (3 changes)
-org.opencontainers.image.created=2025-01-15T22:47:28.805Z
+org.opencontainers.image.created=2025-10-23T04:09:53.662Z
org.opencontainers.image.description=
org.opencontainers.image.licenses=CC0-1.0
-org.opencontainers.image.revision=781663d8eeebad7825a85796e942c08bc774cbd0
+org.opencontainers.image.revision=cfbe816c9dd437175ce79a9455386f0ae33ff6f2
org.opencontainers.image.source=https://github.com/dockersamples/catalog-service-node
org.opencontainers.image.title=catalog-service-node
org.opencontainers.image.url=https://github.com/dockersamples/catalog-service-node
-org.opencontainers.image.version=v0.2.0
+org.opencontainers.image.version=pr-63Policies (0 improved, 3 worsened, 2 missing data)
Packages and Vulnerabilities (778 package changes and 179 vulnerability changes)
Changes for packages of type
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Package | Versiondockerdevrel/catalog-service-node:latest |
Versiondockerdevrel/catalog-service-node:pr-63 |
|
|---|---|---|---|
| ➖ | node | 22.13.0 |
|
| Removed vulnerabilities (6): |
|||
Changes for packages of type github (1 changes)
| Package | Versiondockerdevrel/catalog-service-node:latest |
Versiondockerdevrel/catalog-service-node:pr-63 |
|
|---|---|---|---|
| ➕ | node | 18.20.8 |
Changes for packages of type npm (300 changes)
Changes for packages of type pypi (1 changes)
| Package | Versiondockerdevrel/catalog-service-node:latest |
Versiondockerdevrel/catalog-service-node:pr-63 |
|
|---|---|---|---|
| ➕ | mercurial | 6.3.2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds the
upcfield to theproduct_createdKafka event payload, addressing issue #19.Changes
upcfield to the event payload inProductService.jswhen publishing theproduct_createdeventupcfield is present in the published Kafka messageEvent Structure
The
product_createdevent now includes:{ "action": "product_created", "id": 123, "name": "Sample product", "upc": "100000000002", "price": 100, "description": "Product description" }Test plan
upcfield is present in the Kafka eventFixes #19
🤖 Generated with Claude Code