Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a 'Ping' feature to the Webhook Subscriptions #1185

Closed
HollyJoyPhillips opened this issue May 11, 2020 · 1 comment · Fixed by #1235 or #1250
Closed

Add a 'Ping' feature to the Webhook Subscriptions #1185

HollyJoyPhillips opened this issue May 11, 2020 · 1 comment · Fixed by #1235 or #1250
Assignees
Labels
feature New feature or request front-end Relates to front end issues marketplace Relates to the Marketplace

Comments

@HollyJoyPhillips
Copy link
Contributor

HollyJoyPhillips commented May 11, 2020

Summary: We now have the ability for developers to test their webhook subscription using a ‘Ping’ method.

Location: https://dev.marketplace.reapit.cloud/developer/webhooks

Relates to ticket: #1162

Endpoint: https://dev.platform.reapit.cloud/webhooks/swagger/index.html
/subscriptions/{id}/ping

Task: To link the ‘Ping’ on subscriptions to the /subscriptions/{id}/ping endpoint for developers to test their webhook

  • ‘Ping’ should be hyperlinked (underlined, bold and in Reapit blue #0061a8)

  • When clicked should populate a modal:

  • Title: Test Webhook Subscription

  • Message: To test your Webhook subscription, please select a ‘Subscription Topic’ below:

  • Subscription Topic field should display the TOPICID(s) associated to that webhook.

  • Should only be able to select 1 topic

  • Buttons: Cancel (closes modal) & ‘Test’ (should POST to the endpoint with the subscription ‘ID’ and ‘TOPICID’)
    See mockup:
    image

  • If success, should show success modal with message ‘Connection successful’

  • Message: ‘We have successfully established a connection to the URL provided’

  • Button to close

  • Button to close
    See mockup:
    image

  • If it fails, should show modal with message ‘Unfortunately the connection was unsuccessful, please check to ensure you have entered a valid URL’
    See mockup:
    image

@HollyJoyPhillips HollyJoyPhillips added feature New feature or request marketplace Relates to the Marketplace front-end Relates to front end issues labels May 11, 2020
@HollyJoyPhillips HollyJoyPhillips added this to the Web Hooks Dashboard milestone May 11, 2020
@ant066 ant066 self-assigned this May 11, 2020
ant066 pushed a commit that referenced this issue May 13, 2020
@ant066 ant066 linked a pull request May 13, 2020 that will close this issue
ant066 pushed a commit that referenced this issue May 13, 2020
ant066 pushed a commit that referenced this issue May 13, 2020
@HollyJoyPhillips
Copy link
Contributor Author

Hi @ant066 thanks for merging this. Just one small change please:

‘Ping’ should be hyperlinked (underlined, bold and in Reapit blue #0061a8)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request front-end Relates to front end issues marketplace Relates to the Marketplace
Projects
None yet
2 participants