arquillian / arquillian-core

Arquillian provides a component model for integration tests, which includes dependency injection and container life cycle management. Instead of managing a runtime in your test, Arquillian brings your test to the runtime.
http://arquillian.org
Apache License 2.0
366 stars 196 forks source link

DeploymentPackager has no acccess to the Protocol configuration #554

Closed starksm64 closed 1 week ago

starksm64 commented 1 week ago
Issue Overview

When a DeploymentPackager is called there is knowledge of the target DeployableContainer and a ProtocolDefinition which contains the default protocol configuration. This is not provided to the DeploymentPackager via the DeploymentDescription available from the TestDeployment argument to DeploymentPackager#generateDeployment()..

The DeployableContainer is also capable of overriding the protocol and configuration, so that value is what needs to be first looked at, and then fallback to the default ProtocolDefinition if none was specified at the container level. This needs to be specified on the TestDeployment.

Expected Behaviour

The TestDeployment should have the target protocol information available.

Current Behaviour

This information, while available at the time the DeploymentPackager is called, is not provided via the TestDeployment argument.