taverna-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nadeesh Dilanga <nadeesh...@gmail.com>
Subject Re: Finalize Docker Invoke JSON format
Date Tue, 14 Jun 2016 04:04:16 GMT
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 <alaninmcr@googlemail.com>
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
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message