<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: How to set basic auth on headers in oozie workflow callback url. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-set-basic-auth-on-headers-in-oozie-workflow-callback/m-p/133327#M47728</link>
    <description>&lt;P&gt;Hello &lt;A rel="user" href="https://community.cloudera.com/users/14646/vikramnanjundaswamy.html" nodeid="14646"&gt;@Vikram&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;I looked into Oozie workflow spefification &lt;A href="https://oozie.apache.org/docs/4.0.1/WorkflowFunctionalSpec.html#a5_Workflow_Notifications"&gt;here&lt;/A&gt; and source code &lt;A href="https://git-wip-us.apache.org/repos/asf?p=oozie.git;a=blob;f=core/src/main/java/org/apache/oozie/command/wf/WorkflowNotificationXCommand.java;h=62bf9b5b3ed67d1a8edbff7fa4182464f2f1baf0;hb=master"&gt;here&lt;/A&gt; to check how this URL is handled. As mentioned in the documentation, Oozie just makes a get request to "oozie.wf.workflow.notification.url" URL. This means, as long as you can specify a fully qualified URL with required basic authentication info (maybe via query-string and token), Oozie should be able to deliver that.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
    <pubDate>Sat, 03 Dec 2016 22:54:07 GMT</pubDate>
    <dc:creator>VR46</dc:creator>
    <dc:date>2016-12-03T22:54:07Z</dc:date>
    <item>
      <title>How to set basic auth on headers in oozie workflow callback url.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-set-basic-auth-on-headers-in-oozie-workflow-callback/m-p/133326#M47727</link>
      <description>&lt;P&gt;oozie.wf.workflow.notification.url=http://yourserver.com/some/path/&lt;/P&gt;&lt;P&gt;In oozie job.properties we can include this property to get workflow notification. In our use case we have the callback url (rest service) which requires basic auth. Is it possible to set basic auth in the header when oozie calls back this url ? If so can you point me to the documentation. Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2016 02:18:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-set-basic-auth-on-headers-in-oozie-workflow-callback/m-p/133326#M47727</guid>
      <dc:creator>vikram_nanjunda</dc:creator>
      <dc:date>2016-12-02T02:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to set basic auth on headers in oozie workflow callback url.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-set-basic-auth-on-headers-in-oozie-workflow-callback/m-p/133327#M47728</link>
      <description>&lt;P&gt;Hello &lt;A rel="user" href="https://community.cloudera.com/users/14646/vikramnanjundaswamy.html" nodeid="14646"&gt;@Vikram&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;I looked into Oozie workflow spefification &lt;A href="https://oozie.apache.org/docs/4.0.1/WorkflowFunctionalSpec.html#a5_Workflow_Notifications"&gt;here&lt;/A&gt; and source code &lt;A href="https://git-wip-us.apache.org/repos/asf?p=oozie.git;a=blob;f=core/src/main/java/org/apache/oozie/command/wf/WorkflowNotificationXCommand.java;h=62bf9b5b3ed67d1a8edbff7fa4182464f2f1baf0;hb=master"&gt;here&lt;/A&gt; to check how this URL is handled. As mentioned in the documentation, Oozie just makes a get request to "oozie.wf.workflow.notification.url" URL. This means, as long as you can specify a fully qualified URL with required basic authentication info (maybe via query-string and token), Oozie should be able to deliver that.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Sat, 03 Dec 2016 22:54:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-set-basic-auth-on-headers-in-oozie-workflow-callback/m-p/133327#M47728</guid>
      <dc:creator>VR46</dc:creator>
      <dc:date>2016-12-03T22:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to set basic auth on headers in oozie workflow callback url.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-set-basic-auth-on-headers-in-oozie-workflow-callback/m-p/133328#M47729</link>
      <description>&lt;P&gt;Customer confirmed that this worked.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2016 17:57:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-set-basic-auth-on-headers-in-oozie-workflow-callback/m-p/133328#M47729</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2016-12-09T17:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to set basic auth on headers in oozie workflow callback url.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-set-basic-auth-on-headers-in-oozie-workflow-callback/m-p/133329#M47730</link>
      <description>&lt;P&gt; I am using this oozie.wf.workflow.notification.url property but I am facing an issue :&lt;/P&gt;&lt;P&gt;&lt;A href="https://myknoxurl:8443/gateway/default/myproject/services/job/?user.name=tejwinder_singh" target="_blank"&gt;https://myknoxurl:8443/gateway/default/myproject/services/job/?user.name=tejwinder_singh&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I am using knox to connect to remote tomcat (which will capture oozie's statuses)&lt;/P&gt;&lt;P&gt;How do I add my password to the URL ? Or Is there a better solution to do this via Knox ?&lt;/P&gt;</description>
      <pubDate>Sat, 28 Jan 2017 02:37:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-set-basic-auth-on-headers-in-oozie-workflow-callback/m-p/133329#M47730</guid>
      <dc:creator>tejwinder91</dc:creator>
      <dc:date>2017-01-28T02:37:28Z</dc:date>
    </item>
  </channel>
</rss>

