[Groonga-commit] groonga/gcs [master] Turn "deleted" flag to false for created domains (fix wrong responses from "being deleted" domain)

Zurück zum Archiv-Index

YUKI Hiroshi null+****@clear*****
Tue Nov 20 10:16:22 JST 2012


YUKI Hiroshi	2012-11-20 10:16:22 +0900 (Tue, 20 Nov 2012)

  New Revision: fb0e2822143893b333b43e695a074b41b0d0cdb6
  https://github.com/groonga/gcs/commit/fb0e2822143893b333b43e695a074b41b0d0cdb6

  Log:
    Turn "deleted" flag to false for created domains (fix wrong responses from "being deleted" domain)

  Modified files:
    test/response/CreateDomain/with-valid-name-for-existing-domain.txt
    test/response/CreateDomain/with-valid-name-with-valid-name.txt
    test/response/DeleteDomain/setup-to-be-deleted-domain-setup-to-be-deleted-domain.txt

  Modified: test/response/CreateDomain/with-valid-name-for-existing-domain.txt (+24 -24)
===================================================================
--- test/response/CreateDomain/with-valid-name-for-existing-domain.txt    2012-11-20 10:08:38 +0900 (3fb6706)
+++ test/response/CreateDomain/with-valid-name-for-existing-domain.txt    2012-11-20 10:16:22 +0900 (51a30db)
@@ -4,27 +4,27 @@ content-type: text/xml
 content-length: 917
 date: Mon, 19 Nov 2012 09:12:37 GMT
 
-<CreateDomainResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01">
-  <CreateDomainResult>
-    <DomainStatus>
-      <SearchPartitionCount>0</SearchPartitionCount>
-      <SearchService>
-        <Arn>arn:aws:cs:us-east-1:788574296432:search/companies</Arn>
-      </SearchService>
-      <NumSearchableDocs>0</NumSearchableDocs>
-      <Created>true</Created>
-      <DomainId>788574296432/companies</DomainId>
-      <Processing>false</Processing>
-      <SearchInstanceCount>0</SearchInstanceCount>
-      <DomainName>companies</DomainName>
-      <RequiresIndexDocuments>false</RequiresIndexDocuments>
-      <Deleted>true</Deleted>
-      <DocService>
-        <Arn>arn:aws:cs:us-east-1:788574296432:doc/companies</Arn>
-      </DocService>
-    </DomainStatus>
-  </CreateDomainResult>
-  <ResponseMetadata>
-    <RequestId>430476ea-3229-11e2-b1db-0b78855e0435</RequestId>
-  </ResponseMetadata>
-</CreateDomainResponse>
+<CreateDomainResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01">
+  <CreateDomainResult>
+    <DomainStatus>
+      <SearchPartitionCount>0</SearchPartitionCount>
+      <SearchService>
+        <Arn>arn:aws:cs:us-east-1:788574296432:search/companies</Arn>
+      </SearchService>
+      <NumSearchableDocs>0</NumSearchableDocs>
+      <Created>true</Created>
+      <DomainId>788574296432/companies</DomainId>
+      <Processing>false</Processing>
+      <SearchInstanceCount>0</SearchInstanceCount>
+      <DomainName>companies</DomainName>
+      <RequiresIndexDocuments>false</RequiresIndexDocuments>
+      <Deleted>false</Deleted>
+      <DocService>
+        <Arn>arn:aws:cs:us-east-1:788574296432:doc/companies</Arn>
+      </DocService>
+    </DomainStatus>
+  </CreateDomainResult>
+  <ResponseMetadata>
+    <RequestId>430476ea-3229-11e2-b1db-0b78855e0435</RequestId>
+  </ResponseMetadata>
+</CreateDomainResponse>

  Modified: test/response/CreateDomain/with-valid-name-with-valid-name.txt (+24 -24)
===================================================================
--- test/response/CreateDomain/with-valid-name-with-valid-name.txt    2012-11-20 10:08:38 +0900 (8b3fe75)
+++ test/response/CreateDomain/with-valid-name-with-valid-name.txt    2012-11-20 10:16:22 +0900 (c1a879a)
@@ -4,27 +4,27 @@ content-type: text/xml
 content-length: 917
 date: Mon, 19 Nov 2012 09:12:34 GMT
 
-<CreateDomainResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01">
-  <CreateDomainResult>
-    <DomainStatus>
-      <SearchPartitionCount>0</SearchPartitionCount>
-      <SearchService>
-        <Arn>arn:aws:cs:us-east-1:788574296432:search/companies</Arn>
-      </SearchService>
-      <NumSearchableDocs>0</NumSearchableDocs>
-      <Created>true</Created>
-      <DomainId>788574296432/companies</DomainId>
-      <Processing>false</Processing>
-      <SearchInstanceCount>0</SearchInstanceCount>
-      <DomainName>companies</DomainName>
-      <RequiresIndexDocuments>false</RequiresIndexDocuments>
-      <Deleted>true</Deleted>
-      <DocService>
-        <Arn>arn:aws:cs:us-east-1:788574296432:doc/companies</Arn>
-      </DocService>
-    </DomainStatus>
-  </CreateDomainResult>
-  <ResponseMetadata>
-    <RequestId>419e091d-3229-11e2-a9f9-b9c04fe63567</RequestId>
-  </ResponseMetadata>
-</CreateDomainResponse>
+<CreateDomainResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01">
+  <CreateDomainResult>
+    <DomainStatus>
+      <SearchPartitionCount>0</SearchPartitionCount>
+      <SearchService>
+        <Arn>arn:aws:cs:us-east-1:788574296432:search/companies</Arn>
+      </SearchService>
+      <NumSearchableDocs>0</NumSearchableDocs>
+      <Created>true</Created>
+      <DomainId>788574296432/companies</DomainId>
+      <Processing>false</Processing>
+      <SearchInstanceCount>0</SearchInstanceCount>
+      <DomainName>companies</DomainName>
+      <RequiresIndexDocuments>false</RequiresIndexDocuments>
+      <Deleted>false</Deleted>
+      <DocService>
+        <Arn>arn:aws:cs:us-east-1:788574296432:doc/companies</Arn>
+      </DocService>
+    </DomainStatus>
+  </CreateDomainResult>
+  <ResponseMetadata>
+    <RequestId>419e091d-3229-11e2-a9f9-b9c04fe63567</RequestId>
+  </ResponseMetadata>
+</CreateDomainResponse>

  Modified: test/response/DeleteDomain/setup-to-be-deleted-domain-setup-to-be-deleted-domain.txt (+24 -24)
===================================================================
--- test/response/DeleteDomain/setup-to-be-deleted-domain-setup-to-be-deleted-domain.txt    2012-11-20 10:08:38 +0900 (26897d3)
+++ test/response/DeleteDomain/setup-to-be-deleted-domain-setup-to-be-deleted-domain.txt    2012-11-20 10:16:22 +0900 (fd658ed)
@@ -4,27 +4,27 @@ content-type: text/xml
 content-length: 917
 date: Mon, 19 Nov 2012 11:27:18 GMT
 
-<CreateDomainResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01">
-  <CreateDomainResult>
-    <DomainStatus>
-      <SearchPartitionCount>0</SearchPartitionCount>
-      <SearchService>
-        <Arn>arn:aws:cs:us-east-1:788574296432:search/companies</Arn>
-      </SearchService>
-      <NumSearchableDocs>0</NumSearchableDocs>
-      <Created>true</Created>
-      <DomainId>788574296432/companies</DomainId>
-      <Processing>false</Processing>
-      <SearchInstanceCount>0</SearchInstanceCount>
-      <DomainName>companies</DomainName>
-      <RequiresIndexDocuments>false</RequiresIndexDocuments>
-      <Deleted>true</Deleted>
-      <DocService>
-        <Arn>arn:aws:cs:us-east-1:788574296432:doc/companies</Arn>
-      </DocService>
-    </DomainStatus>
-  </CreateDomainResult>
-  <ResponseMetadata>
-    <RequestId>1440e5f5-323c-11e2-a9f9-b9c04fe63567</RequestId>
-  </ResponseMetadata>
-</CreateDomainResponse>
+<CreateDomainResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01">
+  <CreateDomainResult>
+    <DomainStatus>
+      <SearchPartitionCount>0</SearchPartitionCount>
+      <SearchService>
+        <Arn>arn:aws:cs:us-east-1:788574296432:search/companies</Arn>
+      </SearchService>
+      <NumSearchableDocs>0</NumSearchableDocs>
+      <Created>true</Created>
+      <DomainId>788574296432/companies</DomainId>
+      <Processing>false</Processing>
+      <SearchInstanceCount>0</SearchInstanceCount>
+      <DomainName>companies</DomainName>
+      <RequiresIndexDocuments>false</RequiresIndexDocuments>
+      <Deleted>false</Deleted>
+      <DocService>
+        <Arn>arn:aws:cs:us-east-1:788574296432:doc/companies</Arn>
+      </DocService>
+    </DomainStatus>
+  </CreateDomainResult>
+  <ResponseMetadata>
+    <RequestId>1440e5f5-323c-11e2-a9f9-b9c04fe63567</RequestId>
+  </ResponseMetadata>
+</CreateDomainResponse>
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Zurück zum Archiv-Index