[
https://issues.apache.org/jira/browse/CAMEL-22083?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Work on CAMEL-22083 started by Claus Ibsen.
-------------------------------------------
> 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
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 4.24.0
>
>
> 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
(v10.3.26#10030026)