YUKI Hiroshi
null+****@clear*****
Tue Dec 4 13:25:53 JST 2012
YUKI Hiroshi 2012-12-04 13:25:53 +0900 (Tue, 04 Dec 2012) New Revision: 902b22617b9aaea3d680510f599f765630375901 https://github.com/groonga/gcs/commit/902b22617b9aaea3d680510f599f765630375901 Log: Don't output "Endpoint" as a part of DomainStatus Modified files: lib/api/2011-02-01/configuration.js test/xml-responses.js tools/scenario-runner.js Modified: lib/api/2011-02-01/configuration.js (+0 -2) =================================================================== --- lib/api/2011-02-01/configuration.js 2012-11-29 12:20:24 +0900 (ec4183f) +++ lib/api/2011-02-01/configuration.js 2012-12-04 13:25:53 +0900 (92a977c) @@ -135,7 +135,6 @@ function createDomainStatus(options) { .element('Created').text('true').up() // always true, for compatibility with ACS .element('Deleted').text(options.deleted || 'false').up() .element('DocService') - .element('Endpoint').text(options.domain.getDocumentsEndpoint(options.hostAndPort)).up() .element('Arn').text(options.domain.documentsArn).up() .up() .element('DomainId') @@ -158,7 +157,6 @@ function createDomainStatus(options) { .text(options.domain.searchPartitionCount) .up() .element('SearchService') - .element('Endpoint').text(options.domain.getSearchEndpoint(options.hostAndPort)).up() .element('Arn').text(options.domain.searchArn).up() .up(); return domainStatus; Modified: test/xml-responses.js (+0 -2) =================================================================== --- test/xml-responses.js 2012-11-29 12:20:24 +0900 (687eaf2) +++ test/xml-responses.js 2012-12-04 13:25:53 +0900 (991c66c) @@ -24,12 +24,10 @@ function defineGenericResponse(action, result) { var DocService = exports.DocService = { - Endpoint: '', Arn: '' }; var SearchService = exports.SearchService = { - Endpoint: '', Arn: '' }; var DomainStatus = Modified: tools/scenario-runner.js (+0 -3) =================================================================== --- tools/scenario-runner.js 2012-11-29 12:20:24 +0900 (3e1b45a) +++ tools/scenario-runner.js 2012-12-04 13:25:53 +0900 (6e52ba3) @@ -384,9 +384,6 @@ Response.prototype = { normalized = value.replace(/^.+\//, '%DOMAIN_ID%/'); break; - case 'Endpoint': - return; // this doesn't appear in ACS's response! - case 'Arn': normalized = value.replace(/^(arn:aws:cs:us-east-1:)[^:]+(:[^\/]+\/[^\/]+)$/, '$1%DOMAIN_ID%$2'); break; -------------- next part -------------- HTML����������������������������... Download