Skip to content

[MODORDERS-1461] Performance optimizations when opening an order#1338

Open
damien-git wants to merge 3 commits into
masterfrom
MODORDERS-1461
Open

[MODORDERS-1461] Performance optimizations when opening an order#1338
damien-git wants to merge 3 commits into
masterfrom
MODORDERS-1461

Conversation

@damien-git

@damien-git damien-git commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Purpose

MODORDERS-1461 - Optimize opening an order

Approach

  • Avoid processing in updatePoLines() when no line was passed in the po (which is usually the case when opening an order)
  • Save lines in batch in openOrderUpdatePoLinesSummary()
  • Avoid using a regular expression in combineCqlExpressions()
  • Updated unit tests

Pre-Review Checklist

  • Self-reviewed Code — Reviewed code for issues, unnecessary parts, and overall quality.
  • Change Notes — NEWS.md updated with clear description and issue key.
  • Testing — Confirmed changes were tested locally or on dev environment.
  • Logging: Confirmed that logging is appropriately handled.
  • Breaking Changes — Handled all required actions if changes affect API, DB, or interface versions.
    • API/schema changes
    • Interface version updates
    • DB schema changes / migration scripts
  • New Properties / Environment Variables — Updated README.md if new configs were added.

@damien-git damien-git requested a review from a team as a code owner June 26, 2026 15:10
@damien-git damien-git self-assigned this Jun 26, 2026
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant