You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2025/05/19 12:08:00 UTC
[jira] [Updated] (CAMEL-22083) Align test infra interfaces to match Camel properties
[ https://issues.apache.org/jira/browse/CAMEL-22083?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-22083:
--------------------------------
Component/s: camel-jbang
test-infra
> Align test infra interfaces to match Camel properties
> -----------------------------------------------------
>
> Key: CAMEL-22083
> URL: https://issues.apache.org/jira/browse/CAMEL-22083
> Project: Camel
> Issue Type: Improvement
> Components: camel-jbang, test-infra
> Reporter: Federico Mariani
> Priority: Major
> Fix For: 4.x
>
>
> When using _camel infra run $SERVICE_ the resulting json properties should match the Camel ones. For example, right now _camel infra run ftp_ print
> {code:java}
> {
> "getFtpRootDir" : "file:///private/tmp/test/target/ftp/camel-test-infra-test-directory/camel-test-infra-configuration-test-directory",
> "getPort" : 49894
> } {code}
> This json has some issues:
> * Wrong naming convention, _getPort_ should be _port_ to match the property in Camel
> * The hostname is missing (in this case can be a constant, localhost)
> * The directoryName is missing as well (any constant string would be ok)
> * Username and password are needed as well since the underlying implementation needs those.
> Each test service runnable via camel jbang should be reviewed and updated.
> This way, the command will be _tool-friendly_ and tools may automagically configure routes for fast prototyping.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)