Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
05-04-2017 02:30 PM
I'm working on AppDynamic and ServiceNow integration : new serviceNow ticket by RESTful API when APPDynamic alert is triggered.
My serivceNow instance running on OAuth authentication method, here is an example of the authentication:
I'm following this sample for my integration:
https://community.appdynamics.com/t5/tkb/articleprintpage/tkb-id/knowledge-base/article-id/118
My question is : how can I catch response value in HTTP Template and pass it to other templates?
Thanks,
Solved! Go to Solution.
05-05-2017 05:56 AM - edited 05-05-2017 06:04 AM
Hi Kevin,
There is no way to pass reponse of one HTTP template to another in Controller unless the API being called itself is coded in a way to invoke another API. We can only define success and failure criteria based on response.
https://docs.appdynamics.com/display/PRO42/HTTP+Request+Actions+and+Templates
Regards,
Saradhi
05-05-2017 10:06 AM
Is there any solution for the OAuth setup?
Thanks,
05-09-2017 07:07 AM
Hi Kevin,
Currently there is no way to achieve this using the HTTP request templates.
@Satish.Muddam Our ServiceNow extensions expert is looking at providing this feature to integrate with OAuth using the Service Now REST API alerting extension but there is no ETA on this yet.
Regards,
Saradhi
05-09-2017 07:15 AM
Thanks for the update.
I'm now working on a customize alert to figure it out. Hope it works for my case.
05-09-2017 08:19 PM
Hi Kevin,
Once you configure the custom alert could you please share your solution here so that it would help other customers till the OAuth support is implemented?
Regards,
Saradhi
05-10-2017 07:27 AM
Sure, I would like to share my solution on github (code) and update the link here.
Thanks,
05-17-2017 02:27 PM - edited 05-18-2017 07:52 PM
I have finished a simple application for OAuth authentication sample for reference.
https://github.com/NetBrainDev/AppDynamics-CustomAlert
I'll add detail description later.
Thanks,
Update this on airplane, Because of some legal stuff, I have to remove my sample shortly. I would like to provide another sample once I have minutes. Sorry for the inconvenience.
05-17-2017 06:33 PM
Thank you Kevin.
Regards,
Saradhi
User | Count |
---|---|
4 | |
3 | |
3 | |
1 | |
1 | |
1 |
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form