Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 12-01-2016 06:18 PM
oozie.wf.workflow.notification.url=http://yourserver.com/some/path/
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.
Created 12-03-2016 02:54 PM
Hello @Vikram,
I looked into Oozie workflow spefification here and source code here 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.
Hope this helps.
Created 12-03-2016 02:54 PM
Hello @Vikram,
I looked into Oozie workflow spefification here and source code here 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.
Hope this helps.
Created 12-09-2016 09:57 AM
Customer confirmed that this worked.
Created 01-27-2017 06:37 PM
I am using this oozie.wf.workflow.notification.url property but I am facing an issue :
https://myknoxurl:8443/gateway/default/myproject/services/job/?user.name=tejwinder_singh
I am using knox to connect to remote tomcat (which will capture oozie's statuses)
How do I add my password to the URL ? Or Is there a better solution to do this via Knox ?