You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Josh Kurz (JIRA)" <ji...@apache.org> on 2014/05/14 22:41:14 UTC

[jira] [Updated] (OOZIE-1841) Allow for specifications of wf/coordinator propertey files from web api

     [ https://issues.apache.org/jira/browse/OOZIE-1841?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Josh Kurz updated OOZIE-1841:
-----------------------------

    Description: 
I would like to be able to post to oozie/v1/jobs and just set a configuration path. The xml files for each coordinator job that could be created are already created and are on the uzi box (for my use case). Is there a way to just tell oozie that I would like to use one of those pre made xml files vs submitting xml with an http post. 

curl -X POST -H "Content-Type: application/json" -d {"configUrl": "/path/to/uzi/configuration"} "http://uzibox:11000/oozie/v1/jobs?action=start"

  was:
I would like to be able to post to oozie/v1/jobs and just set a configuration path. The xml files for each coordinator job that could be created are already created and are on the uzi box (for my use case). Is there a way to just tell oozie that I would like to use one of those pre made xml files vs submitting xml with an http post. 

curl -X POST -H "Content-Type: application/xml" -u /path/to/uzi/configuration "http://uzibox:11000/oozie/v1/jobs?action=start"


> Allow for specifications of wf/coordinator propertey files from web api
> -----------------------------------------------------------------------
>
>                 Key: OOZIE-1841
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1841
>             Project: Oozie
>          Issue Type: New Feature
>            Reporter: Josh Kurz
>
> I would like to be able to post to oozie/v1/jobs and just set a configuration path. The xml files for each coordinator job that could be created are already created and are on the uzi box (for my use case). Is there a way to just tell oozie that I would like to use one of those pre made xml files vs submitting xml with an http post. 
> curl -X POST -H "Content-Type: application/json" -d {"configUrl": "/path/to/uzi/configuration"} "http://uzibox:11000/oozie/v1/jobs?action=start"



--
This message was sent by Atlassian JIRA
(v6.2#6252)