Croway opened a new pull request, #16851:
URL: https://github.com/apache/camel/pull/16851

   - Use ~/.camel to handler process, the infra process start with infra- and 
have the following structure infra-{serviceName}-{pid}.log
   - Add camel-test-infra-common to camel-jbang-core, this will add 
testcontainer as a dependency, @davsclaus is it doable? otherwise, I'll 
refactor the code to use reflection heavily.
   - By default the log file will contain the container log, I added a flag 
--log that output the log to the stdout.
   - Added a stop command, can be used like `camel infra stop minio` that will 
delete the file and kill the process (@davsclaus I used a slightly different 
workflow compared to StopProcess).
   - Added a --running parameter to the list command that shows only the 
running services
   
   ```
   $ camel infra run minio
   Starting service minio
   {
     "accessKey" : "testAccessKey",
     "host" : "localhost",
     "port" : 32835,
     "secretKey" : "testSecretKey"
   }
   Press any key to stop the execution
   
   $ camel infra list --running
    ALIAS             IMPLEMENTATION  DESCRIPTION
    minio                             MinIO Object Storage, S3 compatible
    
   $ camel infra stop minio
   Shutting down service minio (PID: 28844)
   ```


-- 
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: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to