Skip to content

fix: let users pass page HRID for plan general condition#16339

Merged
kamiiiel merged 1 commit intomasterfrom
gko-2609-general-condition
Apr 20, 2026
Merged

fix: let users pass page HRID for plan general condition#16339
kamiiiel merged 1 commit intomasterfrom
gko-2609-general-condition

Conversation

@kamiiiel
Copy link
Copy Markdown
Contributor

@kamiiiel kamiiiel requested a review from a team as a code owner April 10, 2026 13:49
@kamiiiel kamiiiel force-pushed the gko-2609-general-condition branch from e6bdec5 to 7fc6cc4 Compare April 10, 2026 13:49
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request modifies the ImportApiCRDUseCase to persist pages before the API update, ensuring that plan general-condition references are resolvable. It also updates ApiServiceImpl to use setReferenceId and setReferenceType for plans. The review feedback suggests that while moving page creation earlier is necessary, the deletion of removed pages should still occur after the API update to maintain data consistency and avoid reference violations.

@kamiiiel kamiiiel force-pushed the gko-2609-general-condition branch from 7fc6cc4 to bf5f1a9 Compare April 10, 2026 13:54
@kamiiiel kamiiiel enabled auto-merge (rebase) April 10, 2026 16:39
@kamiiiel kamiiiel force-pushed the gko-2609-general-condition branch 2 times, most recently from 4930e42 to ef9240e Compare April 10, 2026 19:48
@kamiiiel kamiiiel force-pushed the gko-2609-general-condition branch from ef9240e to 1d5c055 Compare April 10, 2026 19:49
@gravitee-io gravitee-io deleted a comment from gemini-code-assist Bot Apr 10, 2026
Copy link
Copy Markdown
Member

@a-cordier a-cordier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we do a quick test of the fix with TF ?

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants