Use the container API of network-modification-server - #1117
Conversation
Read the modifications, count, export, verification and references of a group through the /containers/... endpoints, and stop sending errorOnGroupNotFound. Signed-off-by: Florent MILLOT <florent.millot_externe@rte-france.com>
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 4 minutes. View limit detailsLimit details: You’ve used the included review currently available. Review configuration: ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (8)
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughNetwork-modification retrieval and related requests now use container endpoints. Modification deletion requests no longer include the ChangesNetwork modification container API
Suggested reviewers: Priority: ➖ Normal Merge Risk: ⚪ Minimal · up to The route migration is supported by the available evidence, with no concrete incompatible request found. Ship this change with the companion network-modification-server update as specified. Security Architecture ReviewSecurity architecture risk: 🔵 Low · up to The client-side identity propagation and checks before mutation are preserved, and no newly introduced security bypass was established. Risk remains in compatibility between service versions: the receiving server’s container scope, missing-group behavior, and rollback support could not be confirmed. Retained concerns
Security review detailsSecurity Blast Radius
Trust Boundaries and Controls
Hardening Proposals
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1⚔️ Resolve merge conflicts 💡
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 |
|
NetworkModificationService::hasModificationReferences and NetworkModificationService::assertReferencedModificationsAreWritable could also use the newly added CONTAINERS constant |
Signed-off-by: Florent MILLOT <75525996+flomillot@users.noreply.github.com>
…ner-api Signed-off-by: Florent MILLOT <75525996+flomillot@users.noreply.github.com> # Conflicts: # src/test/java/org/gridsuite/study/server/NetworkModificationTest.java # src/test/java/org/gridsuite/study/server/NetworkModificationTreeTest.java
…ner-api Signed-off-by: Florent MILLOT <75525996+flomillot@users.noreply.github.com>
|



Follows gridsuite/network-modification-server#908, which reads groups and composites through the same
/containers/...API./containers/...endpoints.errorOnGroupNotFoundis no longer sent: network-modification-server now always tolerates a missing group.The API exposed to the front-end is unchanged.
Must be deployed with gridsuite/network-modification-server#908 and gridsuite/explore-server#226.