Hi Alan,
Yes that's what I wanted to confirm. And big +1 for directly using Apache
HttpClient without over engineering. So I will take it as a +1 to starting
docker through REST from activity plugin.

I will assume I will get all required parameters to invoke the REST
API(what get finalized in the JSON format mail thread) from the
configuration bean an start writing an activity plugin. Please let me know
if there is any other concerns.


On Thu, Jun 9, 2016 at 7:30 AM, Alan Williams <[email protected]>
wrote:

> On 09-Jun-16 12:22, Nadeesh Dilanga wrote:
>
>> Hi Stian, Hi Alan,
>> Do you think we shouldn't use REST invocations to start Docker, but better
>> to use something else ?
>>
>
> Do you mean invocations of the REST activity? I think it would be better
> to use the Apache HttpClient directly. That will make it easier to debug
> and to maintain.
>
> If you are asking if it is best to talk to docker using the Docker Remote
> API or by executing command line calls, I think that the API is the better
> way to proceed.
>
>
> (Java API/use Taverna Command Line tool to execute
>> direct docker commands/anything else).
>>
>
> Alan
>
>

Reply via email to