-
Notifications
You must be signed in to change notification settings - Fork 0
refactor: rename OCPP transport modules to include the "transport" in name #77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Warning Rate limit exceeded@juherr has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 25 minutes and 51 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📒 Files selected for processing (4)
WalkthroughReplaced non-transport OCPP modules with transport-based variants: removed Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
✨ Finishing Touches🧪 Generate unit tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
🧹 Nitpick comments (2)
steve-ocpp-transport-websocket/pom.xml (1)
18-20: Confirm intentional dependency on SOAP transportWebSocket transport depending on the SOAP transport may be intentional (shared OCPP bits), but it’s an unusual cross-transport coupling. If this is only for shared utilities, consider extracting a shared transport-common module to avoid hidden transitive pulls.
Would you confirm this dependency is required at runtime and not just for tests?
pom.xml (1)
29-44: Optional: centralize CXF version here for consistencyThe SOAP module defines its own cxf.version. Consider managing CXF at the parent to keep versions unified across modules.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
💡 Knowledge Base configuration:
- MCP integration is disabled by default for public repositories
- Jira integration is disabled by default for public repositories
- Linear integration is disabled by default for public repositories
You can enable these sources in your CodeRabbit configuration.
📒 Files selected for processing (4)
pom.xml(2 hunks)steve-ocpp-transport-soap/pom.xml(1 hunks)steve-ocpp-transport-websocket/pom.xml(2 hunks)steve/pom.xml(1 hunks)
🧰 Additional context used
🧠 Learnings (2)
📓 Common learnings
Learnt from: CR
PR: juherr/evolve#0
File: AGENTS.md:0-0
Timestamp: 2025-09-01T08:05:05.832Z
Learning: Applies to steve-ocpp-*/src/**/*.java : Put OCPP protocol and transport handling code in the steve-ocpp-* modules (e.g., soap/websocket)
📚 Learning: 2025-09-01T08:05:05.832Z
Learnt from: CR
PR: juherr/evolve#0
File: AGENTS.md:0-0
Timestamp: 2025-09-01T08:05:05.832Z
Learning: Applies to steve-ocpp-*/src/**/*.java : Put OCPP protocol and transport handling code in the steve-ocpp-* modules (e.g., soap/websocket)
Applied to files:
pom.xmlsteve-ocpp-transport-soap/pom.xmlsteve/pom.xmlsteve-ocpp-transport-websocket/pom.xml
🔇 Additional comments (4)
steve-ocpp-transport-soap/pom.xml (1)
10-10: Rename to transport-qualified artifactId looks goodThe artifactId rename to steve-ocpp-transport-soap aligns with the PR objective and parent/module naming. No functional concerns here.
steve-ocpp-transport-websocket/pom.xml (1)
10-10: ArtifactId rename is consistent and scoped correctlySwitching to steve-ocpp-transport-websocket matches the new module naming pattern. Good.
steve/pom.xml (1)
54-59: Dependency switches to transport artifacts are correctBoth references now target steve-ocpp-transport-* as intended. Looks consistent with parent dependencyManagement.
pom.xml (1)
75-82: dependencyManagement aligns with new transport artifactsThe managed entries now reference the transport-qualified artifactIds; version mediation remains via ${project.version}. Good.
| <module>steve-ocpp-transport-soap</module> | ||
| <module>steve-ocpp-transport-websocket</module> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Verification agent
🧩 Analysis chain
Modules list updated to transport variants
Adding steve-ocpp-transport-soap and steve-ocpp-transport-websocket matches the rename. Ensure old modules are removed from the repo to prevent accidental builds.
Run the script below to find any leftover mentions of the old module directories or artifactIds in build files and docs.
🏁 Script executed:
#!/bin/bash
# Find lingering references to old artifacts/modules
rg -nP --color=never '(steve-ocpp-(soap|websocket))' -g '!**/target/**' -C2
# Specifically check Maven POMs and CI/config files
rg -nP --color=never '(steve-ocpp-(soap|websocket))' --type pom -C2
rg -nP --color=never '(steve-ocpp-(soap|websocket))' **/*.md .github/ -C2 || trueLength of output: 824
Replace old module names in AGENTS.md
In AGENTS.md (around line 24), update the OCPP Adapters entry to list steve-ocpp-transport-soap and steve-ocpp-transport-websocket instead of steve-ocpp-soap and steve-ocpp-websocket.
🤖 Prompt for AI Agents
In AGENTS.md around line 24, the OCPP Adapters entry still uses the old module
names; update the list to replace steve-ocpp-soap and steve-ocpp-websocket with
the new module names steve-ocpp-transport-soap and
steve-ocpp-transport-websocket so the documentation matches the pom modules.
Summary by CodeRabbit
Refactor
Chores
Notes