[ 
https://issues.apache.org/jira/browse/CAMEL-24087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Federico Mariani updated CAMEL-24087:
-------------------------------------
    Description: 
Add UI support to the {{camel infra run}} command. When a service is started 
via {{camel infra run}}, a companion web UI container is automatically started 
alongside it (e.g., Kafka UI for Kafka). For services that already ship a 
built-in UI (Artemis, RabbitMQ, etc.), the UI URL is exposed in the JSON output.

Changes:
* Add {{uiSupported}} field to {{@InfraService}} annotation, propagated to 
{{metadata.json}} catalog
* Add {{isWithUi()}} method to {{ContainerEnvironmentUtil}} gated on 
{{isFixedPort()}} so UI containers never start during tests
* Add UI column to {{camel infra list}} output
* Add {{uiUrl()}} default method to 16 service interfaces with built-in UIs 
(Artemis, MinIO, RabbitMQ, Jaeger, Neo4j, Couchbase, IBM MQ, Keycloak, Consul, 
Solr, CouchDB, ArangoDB, Vault, Qdrant, Infinispan)
* Add companion UI containers for 5 services:
** Kafka -> Kafka UI (Apache 2.0) on port 9080
** MongoDB -> Mongo Express (MIT) on port 8081
** PostgreSQL -> pgAdmin (PostgreSQL License) on port 5050
** OpenSearch -> OpenSearch Dashboards (Apache 2.0) on port 5601
** Redis -> Redis Commander (MIT) on port 8082
* All images use {{mirror.gcr.io}} (no docker.io)
* Excluded Kibana (SSPL - Category X for ASF)

  was:
Add UI support to the {{camel infra run}} command:

* Add {{--with-ui}} flag to start companion UI containers alongside services 
(e.g., Kafka UI for Kafka, Mongo Express for MongoDB, pgAdmin for PostgreSQL)
* Add {{uiSupported}} field to {{@InfraService}} annotation so the catalog and 
{{camel infra list}} show which services support a UI
* Expose {{uiUrl()}} in service interfaces for services with built-in UIs 
(Artemis, RabbitMQ, Jaeger, MinIO, Neo4j, etc.) so the JSON output includes the 
UI link
* Gate companion UI container startup on {{isFixedPort() AND isWithUi()}} to 
ensure UI containers are never started during tests
* Use only OSS-licensed UI images via {{mirror.gcr.io}} (Apache 2.0, MIT, 
PostgreSQL License)

Companion UI containers: Kafka UI, Mongo Express, pgAdmin, OpenSearch 
Dashboards, Redis Commander.


> camel-test-infra - Add --with-ui flag and companion UI containers to camel 
> infra run
> ------------------------------------------------------------------------------------
>
>                 Key: CAMEL-24087
>                 URL: https://issues.apache.org/jira/browse/CAMEL-24087
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-test-infra
>            Reporter: Federico Mariani
>            Assignee: Federico Mariani
>            Priority: Major
>
> Add UI support to the {{camel infra run}} command. When a service is started 
> via {{camel infra run}}, a companion web UI container is automatically 
> started alongside it (e.g., Kafka UI for Kafka). For services that already 
> ship a built-in UI (Artemis, RabbitMQ, etc.), the UI URL is exposed in the 
> JSON output.
> Changes:
> * Add {{uiSupported}} field to {{@InfraService}} annotation, propagated to 
> {{metadata.json}} catalog
> * Add {{isWithUi()}} method to {{ContainerEnvironmentUtil}} gated on 
> {{isFixedPort()}} so UI containers never start during tests
> * Add UI column to {{camel infra list}} output
> * Add {{uiUrl()}} default method to 16 service interfaces with built-in UIs 
> (Artemis, MinIO, RabbitMQ, Jaeger, Neo4j, Couchbase, IBM MQ, Keycloak, 
> Consul, Solr, CouchDB, ArangoDB, Vault, Qdrant, Infinispan)
> * Add companion UI containers for 5 services:
> ** Kafka -> Kafka UI (Apache 2.0) on port 9080
> ** MongoDB -> Mongo Express (MIT) on port 8081
> ** PostgreSQL -> pgAdmin (PostgreSQL License) on port 5050
> ** OpenSearch -> OpenSearch Dashboards (Apache 2.0) on port 5601
> ** Redis -> Redis Commander (MIT) on port 8082
> * All images use {{mirror.gcr.io}} (no docker.io)
> * Excluded Kibana (SSPL - Category X for ASF)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to