Hi Alan,
Do you have an example link where we have used such Spring Configuration ?

On Mon, Jun 13, 2016 at 9:28 AM, Alan Williams <[email protected]>
wrote:

> On 10-Jun-16 02:49, Nadeesh Dilanga wrote:
>
>> Hi Stian,
>>
>> Following API can be used to attach to a remote Docker. Refer  "Attach to
>> a
>> container" for more details.
>>
>> POST /containers/(id or name)/attach
>>
>> Ok, it make sense to read it from some sort of a configuration instead
>> from
>> the input JSON for the activity plugin. Inside an activity plugin, how can
>> I access this configuration ?
>>
>
> The activity plugin has a DockerContainerConfiguration injected by the
> Spring configuration. You would need a setDockerContainerConfigfuration
> method. For simplicity, you can have the dockerContainerConfiguration field
> as static.
>
> @Stian - does that sound reasonable ?
>
> Alan
>
>

Reply via email to