Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added persisted web hooks log including REST API. close #2283
- Loading branch information
1 parent
f64b67a
commit 2d5a69d
Showing
27 changed files
with
5,519 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
925 changes: 925 additions & 0 deletions
925
j-lawyer-server-entities/src/java/com/jdimension/jlawyer/persistence/IntegrationHookLog.java
Large diffs are not rendered by default.
Oops, something went wrong.
20 changes: 20 additions & 0 deletions
20
j-lawyer-server-entities/src/java/db/migration/V2_6_1_4__AddWebHooksLog.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
CREATE TABLE integration_hooks_log ( | ||
`hook_id` VARCHAR(50) BINARY NOT NULL, | ||
`hook_type` VARCHAR(100) BINARY NOT NULL, | ||
`date_request` datetime default NULL, | ||
`payload_size` BIGINT DEFAULT 0, | ||
`duration` BIGINT DEFAULT 0, | ||
`status` INTEGER DEFAULT 0, | ||
`url` VARCHAR(750) BINARY NOT NULL, | ||
`auth_user` VARCHAR(100) BINARY DEFAULT NULL, | ||
`failed` BIT(1) DEFAULT 0, | ||
`fail_message` VARCHAR(2500) BINARY DEFAULT NULL, | ||
`response` VARCHAR(4500) BINARY DEFAULT NULL, | ||
|
||
CONSTRAINT `pk_integration_hooks_log` PRIMARY KEY (`hook_id`) | ||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; | ||
|
||
alter table integration_hooks_log add index `IDX_INTHOOKSLOG_DREQ` (date_request); | ||
|
||
insert into server_settings(settingKey, settingValue) values('jlawyer.server.database.version','2.6.1.4') ON DUPLICATE KEY UPDATE settingValue = '2.6.1.4'; | ||
commit; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
682 changes: 682 additions & 0 deletions
682
j-lawyer-server/j-lawyer-io/src/java/org/jlawyer/io/rest/v7/WebHooksEndpointLocalV7.java
Large diffs are not rendered by default.
Oops, something went wrong.
784 changes: 784 additions & 0 deletions
784
j-lawyer-server/j-lawyer-io/src/java/org/jlawyer/io/rest/v7/WebHooksEndpointV7.java
Large diffs are not rendered by default.
Oops, something went wrong.
841 changes: 841 additions & 0 deletions
841
...er-server/j-lawyer-io/src/java/org/jlawyer/io/rest/v7/pojo/RestfulIntegrationHookLog.java
Large diffs are not rendered by default.
Oops, something went wrong.
737 changes: 737 additions & 0 deletions
737
...r/j-lawyer-io/src/java/org/jlawyer/io/rest/v7/pojo/RestfulIntegrationHookLogOverview.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.