-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from Serhiy1/dev/serhiy/13-add-event-hash
Calculate and add hashes to events in the user response
- Loading branch information
Showing
12 changed files
with
220 additions
and
96 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
type: object | ||
properties: | ||
projectId: | ||
type: string | ||
format: uuid | ||
eventId: | ||
type: string | ||
format: uuid | ||
eventDate: | ||
type: string | ||
format: date | ||
eventName: | ||
type: string | ||
eventType: | ||
type: string | ||
eventCreator: | ||
$ref: './ProjectCollaborator.yaml' | ||
customMetaData: | ||
type: object | ||
additionalProperties: | ||
type: string | ||
attachments: | ||
type: array | ||
items: | ||
$ref: '../Request/AttachmentRequest.yaml' | ||
|
||
required: | ||
- eventCreator | ||
- projectId | ||
- eventId | ||
- eventDate | ||
- eventName | ||
- eventType |
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 |
---|---|---|
@@ -1,33 +1,10 @@ | ||
type: object | ||
properties: | ||
projectId: | ||
hash: | ||
type: string | ||
format: uuid | ||
eventId: | ||
type: string | ||
format: uuid | ||
eventDate: | ||
type: string | ||
format: date | ||
eventName: | ||
type: string | ||
eventType: | ||
type: string | ||
eventCreator: | ||
$ref: './ProjectCollaborator.yaml' | ||
customMetaData: | ||
type: object | ||
additionalProperties: | ||
type: string | ||
attachments: | ||
type: array | ||
items: | ||
$ref: '../Request/AttachmentRequest.yaml' | ||
description: Hash of the event, containing all the fields of the event + the projectId + eventId and createdDate, in SHA256 format | ||
event: | ||
$ref: './EventDetails.yaml' | ||
required: | ||
- eventCreator | ||
- projectId | ||
- eventId | ||
- eventDate | ||
- eventName | ||
- eventType | ||
- attachments | ||
- hash | ||
- event |
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.