Fix #378: Rename Spring RabbitMQ properties to forage.rabbitmq.*#379
Fix #378: Rename Spring RabbitMQ properties to forage.rabbitmq.*#379JiriOndrusek wants to merge 1 commit into
Conversation
….rabbitmq.* to forage.rabbitmq.* Align Spring RabbitMQ property naming with the established forage convention (forage.<technology>.<property>) used by all other modules (jdbc, jms, openai, etc.).
📝 WalkthroughWalkthroughThis PR aligns the Spring RabbitMQ module's configuration property namespace with forage's naming convention by renaming all properties from ChangesProperty Namespace Alignment
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Warning Review ran into problems🔥 ProblemsStopped waiting for pipeline failures after 30000ms. One of your pipelines takes longer than our 30000ms fetch window to run, so review may not consider pipeline-failure results for inline comments if any failures occurred after the fetch window. Increase the timeout if you want to wait longer or run a Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
integration-tests/messaging/src/test/java/io/kaoto/forage/messaging/springrabbitmq/SpringRabbitMQNamedTest.java (1)
25-25:⚠️ Potential issue | 🟡 Minor | ⚡ Quick winUpdate the Javadoc to reflect the new property namespace.
The Javadoc comment still references the old property pattern
forage.mq1.spring.rabbitmq.host, but the code has been updated to useforage.mq1.rabbitmq.host. This creates a documentation inconsistency.📝 Proposed fix
- * Verifies that prefixed properties (e.g., {`@code` forage.mq1.spring.rabbitmq.host}) + * Verifies that prefixed properties (e.g., {`@code` forage.mq1.rabbitmq.host})🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@integration-tests/messaging/src/test/java/io/kaoto/forage/messaging/springrabbitmq/SpringRabbitMQNamedTest.java` at line 25, The Javadoc on the SpringRabbitMQNamedTest class refers to the old property namespace forage.mq1.spring.rabbitmq.host; update that comment to the current property namespace forage.mq1.rabbitmq.host so the Javadoc matches the code and test expectations (search for SpringRabbitMQNamedTest and the Javadoc line mentioning forage.mq1.spring.rabbitmq.host and replace it accordingly).
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Outside diff comments:
In
`@integration-tests/messaging/src/test/java/io/kaoto/forage/messaging/springrabbitmq/SpringRabbitMQNamedTest.java`:
- Line 25: The Javadoc on the SpringRabbitMQNamedTest class refers to the old
property namespace forage.mq1.spring.rabbitmq.host; update that comment to the
current property namespace forage.mq1.rabbitmq.host so the Javadoc matches the
code and test expectations (search for SpringRabbitMQNamedTest and the Javadoc
line mentioning forage.mq1.spring.rabbitmq.host and replace it accordingly).
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 2bd89152-9b92-4f11-854f-30d1e6ca2930
📒 Files selected for processing (12)
integration-tests/messaging/src/test/java/io/kaoto/forage/messaging/springrabbitmq/SpringRabbitMQHealthMetricsTest.javaintegration-tests/messaging/src/test/java/io/kaoto/forage/messaging/springrabbitmq/SpringRabbitMQNamedTest.javaintegration-tests/messaging/src/test/java/io/kaoto/forage/messaging/springrabbitmq/SpringRabbitMQTest.javaintegration-tests/messaging/src/test/resources/io/kaoto/forage/messaging/springrabbitmq/SpringRabbitMQHealthMetricsTest/forage-spring-rabbitmq.properties.templateintegration-tests/messaging/src/test/resources/io/kaoto/forage/messaging/springrabbitmq/SpringRabbitMQNamedTest/forage-spring-rabbitmq.properties.templateintegration-tests/messaging/src/test/resources/io/kaoto/forage/messaging/springrabbitmq/SpringRabbitMQTest/forage-spring-rabbitmq.properties.templatelibrary/messaging/forage-spring-rabbitmq-common/src/main/java/io/kaoto/forage/messaging/spring/rabbitmq/common/SpringRabbitMQConfigEntries.javalibrary/messaging/forage-spring-rabbitmq-common/src/main/java/io/kaoto/forage/messaging/spring/rabbitmq/common/SpringRabbitMQConstants.javalibrary/messaging/forage-spring-rabbitmq/src/main/java/io/kaoto/forage/messaging/spring/rabbitmq/SpringRabbitMQBeanFactory.javalibrary/messaging/forage-spring-rabbitmq/src/main/resources/forage-spring-rabbitmq.propertieslibrary/messaging/spring-boot/forage-spring-rabbitmq-starter/src/main/java/io/kaoto/forage/springboot/messaging/springrabbitmq/ForageSpringRabbitMQAutoConfiguration.javawebsite/docs/modules/spring-rabbitmq.md
orpiske
left a comment
There was a problem hiding this comment.
LGTM. I'll have to remember to adjust some stuff on Wanaku, but it looks much better this way. Thanks
Fixes #378
Rename Spring RabbitMQ property prefix from forage.spring.rabbitmq.* to forage.rabbitmq.* to align
with the established forage..* naming convention
SpringRabbitMQConstants.MODULE_PREFIX
Summary by CodeRabbit
Refactor
forage.spring.rabbitmq.*toforage.rabbitmq.*across all configuration settings (host, port, username, password, virtual host, cache settings, and connection options).Documentation