On 05-Aug-16 04:29, Nadeesh Dilanga wrote:
Hi,
With the health check I hit on a road block and spent time to figure out
how. But could not get through. Hence asking for some help.
In my activity plugin, in executeAsynch(), I am reading action parameters
from map (Map<String, T2Reference> map). (Not from JsonNode set from
Activity.configure()). I thought that is the correct way(correct me if I am
wrong)
No. I think that is the right thing to do, at least for the first
version of the activity.
ex: action=start-container and name=myTestContainer1
action=inspect-image and image-id=img123
From HealthCheck visit() interface, how can I get hold to this input
parameter map similar to what I get in Activity#executeAsynch() .
You cannot. There is enough information in the DockerConfiguration to so
some checks.
Alan