Hi Yi-Wen,

The http request includes secure identity information about the submitting
user.
Have you looked at DUCC's API javadoc?  Please see
http://uima.apache.org/d/uima-ducc-2.0.0/api/index.html

Regards,
Eddie


On Sat, Nov 28, 2015 at 5:57 AM, Yi-Wen Liu <[email protected]> wrote:

> Hi,
>
> I have some questions regarding the job submission method, appreciate any
> suggestion!
>
> In my java program I can submit job through executing this command:
> java -cp $DUCC_HOME/lib/uima-ducc-cli.jar
> org.apache.uima.ducc.cli.DuccJobSubmit *options*
> But I am wondering if ducc_submit can be done by http request, like PUT
> from user?
>
> Because the CLI employs HTTP to send requests to the DUCC controller, I am
> expecting to find something like
> PUT http://localhost:8080/ducc/submit
> to submit jobfiles programmically to the server.
> I checked some related files like ducc_base.py and ducc_submit, but didn't
> find what I am looking for.
>
>
> Any suggestion is appreciated, thanks for your time!
>
> Thanks,
> Yi-Wen
>

Reply via email to