Repository navigation
Fix RabbitMQ and DB connector response examples - #2517
Open
HesandaLiyanage wants to merge 1 commit into
Open
HesandaLiyanage wants to merge 1 commit into
HesandaLiyanage wants to merge 1 commit into
Conversation
Contributor
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.
Purpose
Correct the RabbitMQ AMQP 1.0 and DB connector response examples so readers can copy valid JSON and expand the DB sample in its disclosure block.
Goals
Make all three response examples valid JSON, align RabbitMQ response fields with the connector implementation, and render the DB response within step 2's disclosure.
Approach
messageIdin both RabbitMQ success-response examples. This matches the connector's response builder and the example's existing pass-through payload. Preserve the string value"true".User stories
As a connector user following these guides, I can copy valid response JSON and compare its fields with the connector's actual output.
Release note
Corrected RabbitMQ AMQP 1.0 response fields and JSON syntax, and fixed DB response JSON and disclosure formatting. Documentation-only correction.
Documentation
This PR updates these documentation sources:
Training
N/A — no training material or runtime behavior changes.
Certification
N/A — example syntax and formatting corrections do not change certification content.
Marketing
N/A — no new feature or marketing content.
Automation tests
Unit/integration test coverage: N/A for runtime code; no runtime code changed. Performed focused documentation checks:
git diff --checkpassed.No full MkDocs site build or live RabbitMQ/database integration was run. No runtime connector code changes.
Security checks
Samples
Corrected the two RabbitMQ success-response examples and the DB generated-key response example in the pages linked above. No executable sample implementation changes.
Related PRs
N/A — this correction is independent; no dependent PRs.
Migrations (if applicable)
N/A — no runtime, configuration, or data migration.
Test environment
macOS; Python 3.14, Python-Markdown 3.11.2, pymdown-extensions 10.16.1. No JDK, database, RabbitMQ server, or browser integration was exercised.
Learning
Checked the RabbitMQ response builder linked under Approach to confirm
messageIdand the string value"true". Used Python's JSON parser and the relevant configured Markdown/pymdownx extensions to verify example syntax and rendered disclosure/list nesting.