[
https://issues.apache.org/jira/browse/CAMEL-22083?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen reassigned CAMEL-22083:
-----------------------------------
Fix Version/s: 4.24.0
(was: 4.x)
Assignee: Claus Ibsen (was: Federico Mariani)
Taking this over to finish it, as there has been no activity since May 2025.
Since then most test-infra services got methods named as the Camel options
(host, port, brokers, hosts, serverUrl, ...). What is left: camel infra run
prints the Java method names as JSON keys, so the old getX keys show up next to
the Camel ones (FTP prints getPort and port), and a few services (ClickHouse,
Neo4j, OpenSearch, Pinecone, Weaviate, OPA, OpenFGA, Apicurio Registry) have no
Camel names yet. PR to follow.
[~Federico Mariani] thanks for the first part.
_Claude Code on behalf of davsclaus_
> 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)