We've got 18.0.11 & the latest PTFs installed on our sandbox system, we've set up the Tomcat server and managed to get the CA Endevor Eclipse plugin working (hurrah!). I want to have a quick go with the webhooks to see how they operate but I don't know where to start. I don't have ALC or a DevOps Jenkins Server to hand so how might I put together a quick "rig" to test it.
From a web browser (I use Mozilla Firefox for this) enter:
http://hostname:port/mfwebhookserver/#!/webhooks
and you should see a configuration display called CA Mainframe Webhooks Server.
Hi Bernie,
I couldn't get this to work, do you know where it's documented?
Cheers,
Ed
It doesn’t render in IE if you are using that.
Try chrome
Yes, I was trying in chrome but nothing appeared.
Sorry, do you have a link?
Sorry Edward, are you asking for a wiki link or a webhook link?
I was after the documentation link and it turns out I had two issues. One was that I didn't have access to the ALC wiki and the other was that I hadn't set up webhooks. Nativity on my part, I assumed that when we set up the web services the webhooks would be part of the package. I'm not sure why this isn't documented under Endevor as well?
https://docops.ca.com/ca-alc/3-0/en/mainframe-webhook-server
Have you configured the web hook to have email notification?
That will let you know if something fails and the USS log won’t be empty.
Stuart
Not yet, this is all new to me so I'll go have a look at that bit of the documentation.
I've now got the Webhook Server Installed and can access the configuration pages via a browser. I've set up two 'dummy' Webhooks to give it a go with real email and directory values but with dummy Payload URL and API Key. The status of these webhooks keeps reverting to inactive, will I need a valid End Point to test these?
Sadly , the answer is yes
That is why I raised an ideation for a validation transaction.
There is a generic webhook plugin for Jenkins that you can use as an endpoint.
For LBG you might want to look at the plugins provided by your test tool provider
Thanks Stuart, we've got some dev teams with Jenkins so I'll get them to have a look, just a shame I can't validate it myself. Also I've added a STMP server name that I 'think' will work but it would be good if you could send a test email.
Is there any security around the webhooks config or for consuming webhooks? I've not had to give any username or password.
You will probably need to complete the API key field with some value provided by your Jenkins people.
The E2E log file needs to have the correct security for the Web server to delete entries