You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Andras Salamon (JIRA)" <ji...@apache.org> on 2018/09/06 12:37:00 UTC

[jira] [Created] (OOZIE-3337) Improve the documentation of Web Services API / Standard Job Submission

Andras Salamon created OOZIE-3337:
-------------------------------------

             Summary: Improve the documentation of Web Services API / Standard Job Submission
                 Key: OOZIE-3337
                 URL: https://issues.apache.org/jira/browse/OOZIE-3337
             Project: Oozie
          Issue Type: Improvement
          Components: docs
    Affects Versions: trunk
            Reporter: Andras Salamon
            Assignee: Andras Salamon


The Web Services API documentation shows an example where two properties are defined ({{user.name}} and {{oozie.wf.application.path}}), but the first property is not used in the value tag of the second property.
  
{noformat}
<property>
    <name>user.name</name>
    <value>bansalm</value>
</property>
<property>
    <name>oozie.wf.application.path</name>
    <value>hdfs://foo:8020/user/bansalm/myapp/</value>
</property>
{noformat}
We should use {{$\{user.name}}} instead of {{bansalm}} in the second value.

We should also show an example where the {{workflow.xml}} contains some {{$\{variable}}} and the XML specifies the value for the {{variable}}. This will show that it is possible to submit parametrized jobs using the Web Services REST API.
  

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)