taverna-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Williams <alanin...@googlemail.com>
Subject Re: Finalize Docker Invoke JSON format
Date Mon, 13 Jun 2016 13:28:03 GMT
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
View raw message