davsclaus opened a new pull request, #27534: URL: https://github.com/apache/camel/pull/27534
https://issues.apache.org/jira/browse/CAMEL-25434 `camel get properties` showed an empty LOCATION for the properties of `application.properties`, and the camel-jbang monitor's Configuration tab an empty SOURCE. The properties dev console already reports the location (`"location": "application.properties"`). The loss was on the reading side: - **CLI:** `ListProperties.sanitizeLocation` gives readable names to `initial`, `SYS`, `ENV` and `CLI`. A defensive `default -> loc = ""` (added in Aug 2025) turned every other location, so every properties file, into an empty string. A location without a readable name is now kept as it is. - **Monitor:** the SOURCE column showed only the source a placeholder was resolved from, so a property that no route has used yet had none. It now falls back to the location (same readable names as the CLI), in the table, the detail pane and the sort. The column is widened from 20 to 28 so `file:application.properties` and `OS Environment Variable` fit. Tests: `ListPropertiesTest.testPropertiesFileLocationShown`, `ConfigurationTabRenderTest.sourceFallsBackToLocation` / `sourceOfPrefersResolvedSource`. Checked by hand: `camel run route.camel.yaml application.properties` then `camel get properties` shows `application.properties` as the LOCATION. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01STT6whBgK1AqsSsUKrnE8m -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
