On 15-Jun-16 09:02, Nadeesh Dilanga wrote:
Hi Alan,
Thank you very much for the pointer. I went through and understood how
works.
1. Implement docker factory class to return an activity configuration.
2. Accept the configuration in the DockerActivity constructor.
Please correct me if I missed something.
I need a picture of what is being proposed :)
Also I am working on the implementation and commiting my code to my forked
repo at [1]. I will send pull requests once following TODOs finishes.
1. Test HTTPS invocation(right now I am having a SSL handshake issue and
working on it)
I am using SSLContext.getDefault() and gives me
javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find
valid certification path to requested target
I have a unit test to test this. I also tried setting system properties
javax.net.ssl.keyStore, javax.net.ssl.trustStore,
javax.net.ssl.keyStorePassword. But no luck.
What is the target of the HTTPS ? Does it have a valid certificate?
2. Enhance the activity class to read configuration injected by Spring.
[1] -
https://github.com/NadeeshDilanga/incubator-taverna-common-activities/commits/docker
Great.
Alan