YUKI Hiroshi
null+****@clear*****
Wed Nov 21 13:58:32 JST 2012
YUKI Hiroshi 2012-11-21 13:58:32 +0900 (Wed, 21 Nov 2012) New Revision: a43e7516437b6ed3a8a622b6eb6c0a22dce8b2ee https://github.com/groonga/gcs/commit/a43e7516437b6ed3a8a622b6eb6c0a22dce8b2ee Log: Return "true" as the value of "created" flag of domain statuses permanently Modified files: lib/api/2011-02-01/configuration.js Modified: lib/api/2011-02-01/configuration.js (+2 -3) =================================================================== --- lib/api/2011-02-01/configuration.js 2012-11-21 12:32:35 +0900 (efb8897) +++ lib/api/2011-02-01/configuration.js 2012-11-21 13:58:32 +0900 (f0d86e7) @@ -123,7 +123,7 @@ function createGenericResponse(action, result, requestId) { function createDomainStatus(options) { var domainStatus = xmlbuilder.create(); domainStatus.begin(options.element || 'DomainStatus', { version: '1.0' }) - .element('Created').text(options.created || 'false').up() + .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() @@ -163,8 +163,7 @@ handlers.CreateDomain = function(context, request, response, config) { domain.createSync(); var result = createDomainStatus({ domain: domain, - hostAndPort: getBaseHostAndPort(config, request), - created: true + hostAndPort: getBaseHostAndPort(config, request) }); response.contentType('application/xml'); response.send(createGenericResponse('CreateDomain', result, request.id)); -------------- next part -------------- HTML����������������������������...ダウンロード