Reason/Context
The required function to set up the AMQP connection is already present in the connections package, but not yet exported under the ensemble package.
After forking the repo and adding this function I was able to get RabbitMQ events sent by our application validated using microcks-testcontainers-go, so the used containers seem to support this as well.
Description
As mentioned above, I was able to successfully validate events that were sent from our application to rabbitMQ using AMQP. Some small 'bumps' that I ran into in the process:
Implementation ideas
Export a function to set AMQP connection
// WithAMQPConnection configures a connection to an AMQP Broker.
func WithAMQPConnection(connection generic.Connection) Option {
return func(e *MicrocksContainersEnsemble) error {
e.asyncMinionContainerOptions.Add(async.WithAMQPConnection(connection))
return nil
}
}
Add simple testcase with ensemble and RabbitMQ
Would make sense to include a testcase that spins up RMQ with ensemble next to it, so as to validate the proper behaviour of the above function
ExternalSecrets
As mentioned, using the ExternalSecrets function did not work out because the asyncminion is being addressed instead of the Microcks container. After changing this locally I was not able to get it running either. Did not see any testcases surrounding the ExternalSecrets function, so perhaps it is not working as expected? I think it would make more sense to handle this in a separate issue description (if so, please let me known so I can add a separate issue for that then).
Reason/Context
The required function to set up the AMQP connection is already present in the connections package, but not yet exported under the ensemble package.
After forking the repo and adding this function I was able to get RabbitMQ events sent by our application validated using microcks-testcontainers-go, so the used containers seem to support this as well.
Description
As mentioned above, I was able to successfully validate events that were sent from our application to rabbitMQ using AMQP. Some small 'bumps' that I ran into in the process:
Implementation ideas
Export a function to set AMQP connection
Add simple testcase with ensemble and RabbitMQ
Would make sense to include a testcase that spins up RMQ with ensemble next to it, so as to validate the proper behaviour of the above function
ExternalSecrets
As mentioned, using the ExternalSecrets function did not work out because the asyncminion is being addressed instead of the Microcks container. After changing this locally I was not able to get it running either. Did not see any testcases surrounding the ExternalSecrets function, so perhaps it is not working as expected? I think it would make more sense to handle this in a separate issue description (if so, please let me known so I can add a separate issue for that then).