-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding update and delete validation tests
- Loading branch information
1 parent
ab08fc3
commit 6afb106
Showing
6 changed files
with
109 additions
and
10 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 |
---|---|---|
|
@@ -296,5 +296,5 @@ | |
} | ||
] | ||
}, | ||
"generated_at": "2024-10-07T15:02:23Z" | ||
"generated_at": "2024-12-09T11:44:50Z" | ||
} |
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
2 changes: 1 addition & 1 deletion
2
...er/src/integration-test/resources/expected-hxinsight-requests/create-document-request.yml
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
14 changes: 14 additions & 0 deletions
14
...er/src/integration-test/resources/expected-hxinsight-requests/delete-document-request.yml
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,14 @@ | ||
url: /v1/ingestion-events | ||
headers: | ||
authorization: string | ||
content-type: application/json | ||
hxp-environment: string | ||
user-agent: string | ||
body: [ | ||
{ | ||
"objectId": "d71dd823-82c7-477c-8490-04cb0e826e65", | ||
"sourceId" : "alfresco-dummy-source-id-0a63de491876", | ||
"eventType": "delete", | ||
"sourceTimestamp": 1611656982995 | ||
} | ||
] |
69 changes: 69 additions & 0 deletions
69
...er/src/integration-test/resources/expected-hxinsight-requests/update-document-request.yml
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,69 @@ | ||
url: /v1/ingestion-events | ||
headers: | ||
authorization: string | ||
content-type: application/json | ||
hxp-environment: string | ||
user-agent: string | ||
body: [ | ||
{ | ||
"objectId": "d71dd823-82c7-477c-8490-04cb0e826e65", | ||
"sourceId": "alfresco-dummy-source-id-0a63de491876", | ||
"eventType": "update", | ||
"sourceTimestamp": 1611656982995, | ||
"properties": { | ||
"cm:title": { | ||
"value": "Purchase Order" | ||
}, | ||
"aspectsNames": { | ||
"value": [ | ||
"cm:versionable", | ||
"cm:author", | ||
"cm:titled" | ||
] | ||
}, | ||
"modifiedBy": { | ||
"value": "abeecher" | ||
}, | ||
"createdAt": { | ||
"value": 1611227655695 | ||
}, | ||
"modifiedAt": { | ||
"value": 1611227655695 | ||
}, | ||
"cm:versionLabel": { | ||
"value": "1.0" | ||
}, | ||
"createdBy": { | ||
"value": "admin" | ||
}, | ||
"ALLOW_ACCESS": { | ||
"value": [ | ||
"GROUP_EVERYONE" | ||
] | ||
}, | ||
"cm:name": { | ||
"value": "purchase-order-scan.pdf", | ||
"annotation": "name" | ||
}, | ||
"type": { | ||
"value": "cm:content" | ||
}, | ||
"DENY_ACCESS": { | ||
"value": [] | ||
}, | ||
"cm:content": { | ||
"file": { | ||
"content-metadata": { | ||
"size": 531152, | ||
"name": "purchase-order-scan.pdf", | ||
"content-type": "application/pdf" | ||
} | ||
} | ||
} | ||
}, | ||
"removedProperties": [ | ||
"cm:versionType", | ||
"cm:description" | ||
] | ||
} | ||
] |