Skip to content

Preserve ${...} placeholders when removing/modifying networkConnectors in RuntimeConfigurationPlugin#2123

Open
jbonofre wants to merge 1 commit into
apache:mainfrom
jbonofre:fix/runtime-config-preserve-placeholders
Open

Preserve ${...} placeholders when removing/modifying networkConnectors in RuntimeConfigurationPlugin#2123
jbonofre wants to merge 1 commit into
apache:mainfrom
jbonofre:fix/runtime-config-preserve-placeholders

Conversation

@jbonofre

@jbonofre jbonofre commented Jun 16, 2026

Copy link
Copy Markdown
Member

Fix NetworkConnectorProcessor.configMatch so it resolves ${...} placeholders on the DTO side before comparing against the live NetworkConnector (whose attributes are already resolved by Spring). Without this, a networkConnector declared with placeholders could never be matched for removal or modification by the RuntimeConfigurationPlugin.

Adds a test covering uri, userName, and password placeholders across removal.

NetworkConnectorProcessor.configMatch compared raw DTO values (still
holding ${...} placeholders) against the live NetworkConnector whose
attributes had already been resolved by Spring. A connector declared
with placeholders could therefore never be matched for removal or
modification by the RuntimeConfigurationPlugin. Filter the DTO props
through placeHolderUtil before comparing.
@jbonofre jbonofre requested a review from cshannon June 16, 2026 19:13
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