Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add results with test endpoint 127.0.0.1.xpi.io:3333
- Loading branch information
Showing
13 changed files
with
96 additions
and
0 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
test/fixture/response/configuration/CreateDomain-results/for-existing-domain.txt
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,8 @@ | ||
HTTP/1.1 200 OK | ||
x-powered-by: Express | ||
x-amzn-requestid: f8aa6414-8c82-4ee5-a0e4-abb1335ad03f | ||
content-type: application/xml | ||
content-length: 835 | ||
connection: keep-alive | ||
|
||
<?xml version="1.0"?><CreateDomainResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01"><CreateDomainResult><DomainStatus><Created>true</Created><Deleted>false</Deleted><DocService><Endpoint>doc-companies-pxc1edap2vp9g6r7qrfb81nkr3.127.0.0.1.xip.io:3333</Endpoint></DocService><DomainId>pxc1edap2vp9g6r7qrfb81nkr3/companies</DomainId><DomainName>companies</DomainName><NumSearchableDocs>0</NumSearchableDocs><RequiresIndexDocuments>false</RequiresIndexDocuments><SearchInstanceCount>0</SearchInstanceCount><SearchPartitionCount>0</SearchPartitionCount><SearchService><Endpoint>search-companies-pxc1edap2vp9g6r7qrfb81nkr3.127.0.0.1.xip.io:3333</Endpoint></SearchService></DomainStatus></CreateDomainResult><ResponseMetadata><RequestId>f8aa6414-8c82-4ee5-a0e4-abb1335ad03f</RequestId></ResponseMetadata></CreateDomainResponse> |
8 changes: 8 additions & 0 deletions
8
test/fixture/response/configuration/CreateDomain-results/with-too-long-name.txt
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,8 @@ | ||
HTTP/1.1 400 Bad Request | ||
x-powered-by: Express | ||
x-amzn-requestid: 45ed267b-38af-4de6-98ef-61084e51a8bf | ||
content-type: application/xml | ||
content-length: 387 | ||
connection: keep-alive | ||
|
||
<?xml version="1.0"?><Response><Errors><Error><Type>Sender</Type><Code>ValidationError</Code><Message>1 validation error detected: Value 'abcdefghijklmnopqrstuvwxyz0123456789' at 'domainName' failed to satisfy constraint: Member must have length less than or equal to 28</Message></Error></Errors><RequestID>45ed267b-38af-4de6-98ef-61084e51a8bf</RequestID></Response> |
8 changes: 8 additions & 0 deletions
8
test/fixture/response/configuration/CreateDomain-results/with-too-short-one-letter-name.txt
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,8 @@ | ||
HTTP/1.1 400 Bad Request | ||
x-powered-by: Express | ||
x-amzn-requestid: 74bea71a-8b5f-45a9-a3ed-faf7a58a2e21 | ||
content-type: application/xml | ||
content-length: 497 | ||
connection: keep-alive | ||
|
||
<?xml version="1.0"?><Response><Errors><Error><Type>Sender</Type><Code>ValidationError</Code><Message>2 validation errors detected: Value 'a' at 'domainName' failed to satisfy constraint: Member must satisfy regular expression pattern: [a-z][a-z0-9\-]+; Value 'a' at 'domainName' failed to satisfy constraint: Member must have length greater than or equal to 3</Message></Error></Errors><RequestID>74bea71a-8b5f-45a9-a3ed-faf7a58a2e21</RequestID></Response> |
8 changes: 8 additions & 0 deletions
8
test/fixture/response/configuration/CreateDomain-results/with-too-short-two-letters-name.txt
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,8 @@ | ||
HTTP/1.1 400 Bad Request | ||
x-powered-by: Express | ||
x-amzn-requestid: aa8a924e-ba43-46b5-b99f-6544977f4801 | ||
content-type: application/xml | ||
content-length: 355 | ||
connection: keep-alive | ||
|
||
<?xml version="1.0"?><Response><Errors><Error><Type>Sender</Type><Code>ValidationError</Code><Message>1 validation error detected: Value 'ab' at 'domainName' failed to satisfy constraint: Member must have length greater than or equal to 3</Message></Error></Errors><RequestID>aa8a924e-ba43-46b5-b99f-6544977f4801</RequestID></Response> |
8 changes: 8 additions & 0 deletions
8
test/fixture/response/configuration/CreateDomain-results/with-valid-name.txt
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,8 @@ | ||
HTTP/1.1 200 OK | ||
x-powered-by: Express | ||
x-amzn-requestid: ea56546c-7a3c-4ae8-8019-774095014026 | ||
content-type: application/xml | ||
content-length: 835 | ||
connection: keep-alive | ||
|
||
<?xml version="1.0"?><CreateDomainResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01"><CreateDomainResult><DomainStatus><Created>true</Created><Deleted>false</Deleted><DocService><Endpoint>doc-companies-pxc1edap2vp9g6r7qrfb81nkr3.127.0.0.1.xip.io:3333</Endpoint></DocService><DomainId>pxc1edap2vp9g6r7qrfb81nkr3/companies</DomainId><DomainName>companies</DomainName><NumSearchableDocs>0</NumSearchableDocs><RequiresIndexDocuments>false</RequiresIndexDocuments><SearchInstanceCount>0</SearchInstanceCount><SearchPartitionCount>0</SearchPartitionCount><SearchService><Endpoint>search-companies-pxc1edap2vp9g6r7qrfb81nkr3.127.0.0.1.xip.io:3333</Endpoint></SearchService></DomainStatus></CreateDomainResult><ResponseMetadata><RequestId>ea56546c-7a3c-4ae8-8019-774095014026</RequestId></ResponseMetadata></CreateDomainResponse> |
8 changes: 8 additions & 0 deletions
8
test/fixture/response/configuration/CreateDomain-results/without-domain-name.txt
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,8 @@ | ||
HTTP/1.1 400 Bad Request | ||
x-powered-by: Express | ||
x-amzn-requestid: 88f1ccf9-6a64-45bd-a0d8-8cde321a8c28 | ||
content-type: application/xml | ||
content-length: 495 | ||
connection: keep-alive | ||
|
||
<?xml version="1.0"?><Response><Errors><Error><Type>Sender</Type><Code>ValidationError</Code><Message>2 validation errors detected: Value '' at 'domainName' failed to satisfy constraint: Member must satisfy regular expression pattern: [a-z][a-z0-9\-]+; Value '' at 'domainName' failed to satisfy constraint: Member must have length greater than or equal to 3</Message></Error></Errors><RequestID>88f1ccf9-6a64-45bd-a0d8-8cde321a8c28</RequestID></Response> |
8 changes: 8 additions & 0 deletions
8
test/fixture/response/configuration/DeleteDomain-results/for-not-existing-domain.txt
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,8 @@ | ||
HTTP/1.1 200 OK | ||
x-powered-by: Express | ||
x-amzn-requestid: 0ebc6f5e-0cbb-4941-be79-fa92905df928 | ||
content-type: application/xml | ||
content-length: 239 | ||
connection: keep-alive | ||
|
||
<?xml version="1.0"?><DeleteDomainResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01"><DeleteDomainResult/><ResponseMetadata><RequestId>0ebc6f5e-0cbb-4941-be79-fa92905df928</RequestId></ResponseMetadata></DeleteDomainResponse> |
8 changes: 8 additions & 0 deletions
8
test/fixture/response/configuration/DeleteDomain-results/setup-to-be-deleted-domain.txt
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,8 @@ | ||
HTTP/1.1 200 OK | ||
x-powered-by: Express | ||
x-amzn-requestid: 1b649832-dd14-4081-9075-d9a4108d913e | ||
content-type: application/xml | ||
content-length: 835 | ||
connection: keep-alive | ||
|
||
<?xml version="1.0"?><CreateDomainResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01"><CreateDomainResult><DomainStatus><Created>true</Created><Deleted>false</Deleted><DocService><Endpoint>doc-companies-pxc1edap2vp9g6r7qrfb81nkr3.127.0.0.1.xip.io:3333</Endpoint></DocService><DomainId>pxc1edap2vp9g6r7qrfb81nkr3/companies</DomainId><DomainName>companies</DomainName><NumSearchableDocs>0</NumSearchableDocs><RequiresIndexDocuments>false</RequiresIndexDocuments><SearchInstanceCount>0</SearchInstanceCount><SearchPartitionCount>0</SearchPartitionCount><SearchService><Endpoint>search-companies-pxc1edap2vp9g6r7qrfb81nkr3.127.0.0.1.xip.io:3333</Endpoint></SearchService></DomainStatus></CreateDomainResult><ResponseMetadata><RequestId>1b649832-dd14-4081-9075-d9a4108d913e</RequestId></ResponseMetadata></CreateDomainResponse> |
8 changes: 8 additions & 0 deletions
8
test/fixture/response/configuration/DeleteDomain-results/with-too-long-name.txt
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,8 @@ | ||
HTTP/1.1 400 Bad Request | ||
x-powered-by: Express | ||
x-amzn-requestid: b2077039-273d-489f-ae3d-b57422f16193 | ||
content-type: application/xml | ||
content-length: 387 | ||
connection: keep-alive | ||
|
||
<?xml version="1.0"?><Response><Errors><Error><Type>Sender</Type><Code>ValidationError</Code><Message>1 validation error detected: Value 'abcdefghijklmnopqrstuvwxyz0123456789' at 'domainName' failed to satisfy constraint: Member must have length less than or equal to 28</Message></Error></Errors><RequestID>b2077039-273d-489f-ae3d-b57422f16193</RequestID></Response> |
8 changes: 8 additions & 0 deletions
8
test/fixture/response/configuration/DeleteDomain-results/with-too-short-one-letter-name.txt
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,8 @@ | ||
HTTP/1.1 400 Bad Request | ||
x-powered-by: Express | ||
x-amzn-requestid: 5e455691-4c48-4a15-bd9b-c9c987798162 | ||
content-type: application/xml | ||
content-length: 497 | ||
connection: keep-alive | ||
|
||
<?xml version="1.0"?><Response><Errors><Error><Type>Sender</Type><Code>ValidationError</Code><Message>2 validation errors detected: Value 'a' at 'domainName' failed to satisfy constraint: Member must satisfy regular expression pattern: [a-z][a-z0-9\-]+; Value 'a' at 'domainName' failed to satisfy constraint: Member must have length greater than or equal to 3</Message></Error></Errors><RequestID>5e455691-4c48-4a15-bd9b-c9c987798162</RequestID></Response> |
8 changes: 8 additions & 0 deletions
8
test/fixture/response/configuration/DeleteDomain-results/with-too-short-two-letters-name.txt
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,8 @@ | ||
HTTP/1.1 400 Bad Request | ||
x-powered-by: Express | ||
x-amzn-requestid: 0a6e01e3-71cb-405e-aeb0-72899bef0fad | ||
content-type: application/xml | ||
content-length: 355 | ||
connection: keep-alive | ||
|
||
<?xml version="1.0"?><Response><Errors><Error><Type>Sender</Type><Code>ValidationError</Code><Message>1 validation error detected: Value 'ab' at 'domainName' failed to satisfy constraint: Member must have length greater than or equal to 3</Message></Error></Errors><RequestID>0a6e01e3-71cb-405e-aeb0-72899bef0fad</RequestID></Response> |
8 changes: 8 additions & 0 deletions
8
test/fixture/response/configuration/DeleteDomain-results/with-valid-name.txt
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,8 @@ | ||
HTTP/1.1 200 OK | ||
x-powered-by: Express | ||
x-amzn-requestid: 7cf5b7b4-0d81-4a54-81d5-4e4ceb54d517 | ||
content-type: application/xml | ||
content-length: 835 | ||
connection: keep-alive | ||
|
||
<?xml version="1.0"?><DeleteDomainResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01"><DeleteDomainResult><DomainStatus><Created>false</Created><Deleted>true</Deleted><DocService><Endpoint>doc-companies-pxc1edap2vp9g6r7qrfb81nkr3.127.0.0.1.xip.io:3333</Endpoint></DocService><DomainId>pxc1edap2vp9g6r7qrfb81nkr3/companies</DomainId><DomainName>companies</DomainName><NumSearchableDocs>0</NumSearchableDocs><RequiresIndexDocuments>false</RequiresIndexDocuments><SearchInstanceCount>0</SearchInstanceCount><SearchPartitionCount>0</SearchPartitionCount><SearchService><Endpoint>search-companies-pxc1edap2vp9g6r7qrfb81nkr3.127.0.0.1.xip.io:3333</Endpoint></SearchService></DomainStatus></DeleteDomainResult><ResponseMetadata><RequestId>7cf5b7b4-0d81-4a54-81d5-4e4ceb54d517</RequestId></ResponseMetadata></DeleteDomainResponse> |
Empty file.