YUKI Hiroshi
null+****@clear*****
Wed Nov 14 20:09:57 JST 2012
YUKI Hiroshi 2012-11-14 20:09:57 +0900 (Wed, 14 Nov 2012) New Revision: fd628ade046acc76acbd4bdb049a914567b3ef89 https://github.com/groonga/gcs/commit/fd628ade046acc76acbd4bdb049a914567b3ef89 Log: Normalize "Endpoint" and "Arn" of domain statuses Modified files: tools/scenario-runner.js Modified: tools/scenario-runner.js (+7 -0) =================================================================== --- tools/scenario-runner.js 2012-11-14 20:09:38 +0900 (ede86e3) +++ tools/scenario-runner.js 2012-11-14 20:09:57 +0900 (7fce604) @@ -220,6 +220,13 @@ 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; + default: normalized = this._normalize(value); break; -------------- next part -------------- HTML����������������������������... Download