Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

feat: Webhook notifier now sends JSON #523

Merged

Conversation

DRK3
Copy link
Contributor

@DRK3 DRK3 commented Oct 18, 2019

Closes #472

Webhook notifier now sends arbitrary JSON messages. The ticker was removed.

The actual triggering of webhook notifications has to be done in another story since the REST Api is still in-progress.

Signed-off-by: Derek Trider derek.trider@securekey.com

@codecov
Copy link

codecov bot commented Oct 18, 2019

Codecov Report

Merging #523 into master will increase coverage by 0.53%.
The diff coverage is 93.1%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #523      +/-   ##
==========================================
+ Coverage   90.07%   90.61%   +0.53%     
==========================================
  Files          77       77              
  Lines        4020     3973      -47     
==========================================
- Hits         3621     3600      -21     
+ Misses        222      204      -18     
+ Partials      177      169       -8
Impacted Files Coverage Δ
pkg/restapi/operation/didexchange/didexchange.go 85.16% <100%> (+1.39%) ⬆️
cmd/aries-agentd/startcmd/start.go 69.01% <100%> (ø) ⬆️
pkg/restapi/webhook/webhook.go 94.44% <100%> (+9.59%) ⬆️
pkg/restapi/restapi.go 86.66% <75%> (-13.34%) ⬇️
pkg/didcomm/protocol/didexchange/persistence.go 89.47% <0%> (-1.64%) ⬇️
pkg/didcomm/protocol/didexchange/service.go 92.74% <0%> (+4.92%) ⬆️
pkg/client/didexchange/client.go 95.08% <0%> (+7.37%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1e6b282...329ced1. Read the comment docs.

@DRK3 DRK3 force-pushed the webhookSupplyRealData-472 branch 6 times, most recently from ac1256f to 29450d4 Compare October 21, 2019 15:38
@DRK3 DRK3 marked this pull request as ready for review October 21, 2019 15:45
@DRK3
Copy link
Contributor Author

DRK3 commented Oct 21, 2019

Rolson suggested adding the actual structs for the various JSON messages, so I'm doing that now.

@DRK3 DRK3 force-pushed the webhookSupplyRealData-472 branch 5 times, most recently from 73482cc to c27b941 Compare October 21, 2019 18:27
@DRK3 DRK3 force-pushed the webhookSupplyRealData-472 branch 2 times, most recently from 91257df to 2934294 Compare October 22, 2019 00:16
cmd/aries-agentd/startcmd/start.go Outdated Show resolved Hide resolved
pkg/restapi/operation/didexchange/didexchange.go Outdated Show resolved Hide resolved
pkg/restapi/restapi.go Outdated Show resolved Hide resolved
pkg/restapi/restapi.go Outdated Show resolved Hide resolved
pkg/restapi/webhook/payloads.go Show resolved Hide resolved
pkg/restapi/webhook/webhook.go Show resolved Hide resolved
pkg/restapi/webhook/webhook.go Outdated Show resolved Hide resolved
pkg/restapi/webhook/webhook_test.go Outdated Show resolved Hide resolved
pkg/restapi/webhook/webhook_test.go Show resolved Hide resolved
@DRK3 DRK3 force-pushed the webhookSupplyRealData-472 branch 5 times, most recently from 6668573 to b098589 Compare October 22, 2019 19:10
Webhook notifier now sends arbitrary JSON messages. The ticker was removed.

Signed-off-by: Derek Trider <derek.trider@securekey.com>
@fqutishat fqutishat merged commit c4b1d88 into hyperledger-archives:master Oct 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Make webhook supply real data
4 participants