Commit Graph

162 Commits

Author SHA1 Message Date
Inal Arsanukaev
b72ca559eb HOOK-24: Removed constraint from table webhook_to_events (#13)
* HOOK-24: Removed constraint from table webhook_to_events

* added test

* fixed version, added new migration script
2017-05-03 18:42:32 +03:00
Yevgeniy Poluektov
aaea2003a3 up version (#12)
* up version

* up version

* fix test error
refactor logs
2017-05-03 15:16:36 +03:00
Yevgeniy Poluektov
51e62d07f6 fix null pointer (#11) 2017-04-28 16:06:30 +03:00
Inal Arsanukaev
799d6994c9 HOOK-19: Fixed logs, minor refactoring (#10)
* HOOK-19: Fixed logs, minor refactoring

* some fixes after comments

* fixed after comments

* fixed after comments. v345

* fix
2017-04-27 15:29:02 +03:00
Yevgeniy Poluektov
a5b1b87b92 add caches (#7)
https://rbkmoney.atlassian.net/browse/HOOK-21
2017-04-26 17:00:29 +03:00
Yevgeniy Poluektov
ebdf492a69 fix (#8)
* fix
remove task for disabled hooks
2017-04-26 15:44:58 +03:00
Inal Arsanukaev
7679cd5066 Ft/hook 18/fix gen webhook key (#9)
* HOOK-18: fixed bug with webhook generating webhook key

* fixed hookDaoImpl

* fix test and minor improving code
2017-04-26 15:16:06 +03:00
Inal Arsanukaev
4865b6ca20 HOOK-18: added eventTime field, minor refactoring (#6) 2017-04-25 16:46:33 +03:00
Inal Arsanukaev
eaa9c3e0e4 HOOK-18: fixed error http-status (#5) 2017-04-24 19:31:58 +03:00
Yevgeniy Poluektov
6e55b2fc57 Hooker-2 (#3)
* add mock methods

* add TODOs

* https://rbkmoney.atlassian.net/browse/HOOK-9
add internal Hook model
clean webhook dao

* refactor core entities

* fix tests

* cleaning

* implement and refactor DAO methods

* implement task creator

* implement task creator

* start develop retry policies

* fix hook dao

* refactor

* refactor

* reset stats for hook after success post

* create worker tasks and put them to queue

* add message sender + refactor

* clean webhook dao

* make POST

* add readme

* clean properties

* add granularity

* refactor

* add post-request error logic

* fixed http-code policy

* improve performance

* add data flow test: Draft

* fix test

* Added some logs

* fix race condition

* fix

* removed log

* fix exception error

* add transactional

* fix +-1 issue

* Fixed after swag protocol changes

* refactor

* fixed some bugs

* Fix some bugs v2

* fix test

* up version of eventstock
2017-04-24 18:06:30 +03:00
Inal Arsanukaev
ba90c93b9f HOOK-2: initial commit (#1)
* HOOK-2: initial commit

* Refactoring, added tests

* Added postgres for tests

* Fixed after comments. Added indicies. v1

* Fixed after comments. v2

* Fixed after comments. v3

* Fixed logs

* Changed database structure, fixed dao-classes

* Fixed table name, added foreign key

* add enabled field

* Added some params to post-request

* Fix path condition

* refactor WebhookDao

* Add logs to WebhookHttpPostSender

* Add test for signer

* Added readme

* Fixed readme

* fix readme

* tiny refactoring

* tiny refactoring

* add tables required for resending of messages

* Fixed after comments, changed webhook id type

* Added batch operation

* scheduler draft

* add scheduled task dao interface

* disable scheduler
2017-04-13 12:38:34 +03:00
Inal Arsanukaev
566f276944 Initial commit 2017-03-28 15:16:10 +03:00