forked from Azure/azure-sdk-for-java
-
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.
DocumentModelAdministrationClient tests file recordings
- Loading branch information
Showing
16 changed files
with
406 additions
and
381 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
...cords/DocumentModelAdministrationClientTest.beginBuildModelFailsWithInvalidPrefix[1].json
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,25 @@ | ||
{ | ||
"networkCallRecords" : [ { | ||
"Method" : "POST", | ||
"Uri" : "https://REDACTED.cognitiveservices.azure.com/formrecognizer/documentModels:build?api-version=2022-06-30-preview", | ||
"Headers" : { | ||
"User-Agent" : "azsdk-java-azure-ai-formrecognizer/4.0.0-beta.6 (11.0.10; Windows 10; 10.0)", | ||
"x-ms-client-request-id" : "5de1f8eb-05fe-4dcd-b062-f3df83a3bc3a", | ||
"Content-Type" : "application/json" | ||
}, | ||
"Response" : { | ||
"Transfer-Encoding" : "chunked", | ||
"x-envoy-upstream-service-time" : "664", | ||
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", | ||
"x-content-type-options" : "nosniff", | ||
"apim-request-id" : "6ea4a482-899b-46ca-9a0e-e30ecd444e4e", | ||
"retry-after" : "0", | ||
"StatusCode" : "400", | ||
"Body" : "{\n \"error\": {\n \"code\": \"InvalidRequest\",\n \"message\": \"Invalid request.\",\n \"innererror\": {\n \"code\": \"TrainingContentMissing\",\n \"message\": \"Training data is missing: Could not find any training data at the given path.\"\n }\n }\n}", | ||
"Date" : "Fri, 17 Jun 2022 21:07:49 GMT", | ||
"Content-Type" : "application/json" | ||
}, | ||
"Exception" : null | ||
} ], | ||
"variables" : [ ] | ||
} |
12 changes: 6 additions & 6 deletions
12
...delAdministrationClientTest.beginBuildModelIncludeSubfolderWithNonExistPrefixName[1].json
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
42 changes: 21 additions & 21 deletions
42
...n-records/DocumentModelAdministrationClientTest.beginBuildModelWithJPGTrainingSet[1].json
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.