From 87fab8a60996e45616ba94a4126810a15a64e8aa Mon Sep 17 00:00:00 2001 From: Andre Rodrigues Date: Fri, 10 May 2013 18:13:50 +0100 Subject: [PATCH 1/2] Fixes for notification hubs --- lib/services/serviceBus/apnsservice.js | 87 +- lib/services/serviceBus/wnsservice.js | 107 +- test/azure-tests.js | 4 +- .../apnsservice-registrations-tests.nock.js | 512 ++++++-- .../wnsservice-registrations-tests.nock.js | 1064 ++++++++++------- .../apnsservice-registrations-tests.js | 52 +- .../serviceBus/notificationhubs-tests.js | 51 +- .../wnsservice-registrations-tests.js | 38 +- 8 files changed, 1265 insertions(+), 650 deletions(-) diff --git a/lib/services/serviceBus/apnsservice.js b/lib/services/serviceBus/apnsservice.js index 19638c447..1e6a0ec23 100644 --- a/lib/services/serviceBus/apnsservice.js +++ b/lib/services/serviceBus/apnsservice.js @@ -94,21 +94,20 @@ ApnsService.prototype.send = function (tags, payload, callback) { /** * Creates a native registration. * -* @param {string} token The device token. -* @param {object|function} [optionsOrCallback] The request options or callback function. -* @param {function(error, response)} callback The callback function. +* @param {string} token The device token. +* @param {string|array} tags The tags. +* @param {object|function} [optionsOrCallback] The request options or callback function. +* @param {string} [optionsOrCallback.registrationId] The registration identifier. +* @param {function(error, response)} callback The callback function. * @return {undefined} */ -ApnsService.prototype.createNativeRegistration = function (token, optionsOrCallback, callback) { +ApnsService.prototype.createNativeRegistration = function (token, tags, optionsOrCallback, callback) { var options; azureutil.normalizeArgs(optionsOrCallback, callback, function (o, c) { options = o; callback = c; }); validate.isValidFunction(callback); - var registrationXml = registrationResult.serialize('AppleRegistrationDescription', { - DeviceToken: token - }); - + var registrationXml = this._createBody('AppleRegistrationDescription', token, tags, null, options); var webResource = WebResource.post(this.notificationHubService.hubName + '/registrations'); this.notificationHubService._executeRequest(webResource, registrationXml, registrationResult, null, callback); @@ -200,8 +199,8 @@ ApnsService.prototype.listRegistrationsByToken = function (token, optionsOrCallb validate.isValidFunction(callback); - var webResource = WebResource.get(this.hubName + '/registrations/') - .withQueryOption('$filter', 'deviceToken eq \'' + token + '\''); + var webResource = WebResource.get(this.notificationHubService.hubName + '/registrations/') + .withQueryOption('$filter', 'DeviceToken eq \'' + token.toUpperCase() + '\''); if (options) { if (options.top) { @@ -213,42 +212,66 @@ ApnsService.prototype.listRegistrationsByToken = function (token, optionsOrCallb } } - this._executeRequest(webResource, null, registrationResult, null, callback); + this.notificationHubService._executeRequest(webResource, null, registrationResult, null, callback); }; /** * Creates a template registration body. * -* @param {string} token The device token. -* @param {json} template The template for the registration. +* @param {string} elementName The element name. +* @param {string} token The device token. +* @param {string|array} tags The tags. * @return {string} The template body. */ -ApnsService.prototype._createTemplateBody = function (token, tags, template) { - var registration = { - DeviceToken: token - }; +ApnsService.prototype._createBody = function (elementName, token, tags, template) { + var registration = {}; - var payload = _.clone(template); - if (payload.payload) { - Object.keys(payload.payload).forEach(function (property) { - payload[property] = payload.payload[property]; - }); + if (tags) { + if (_.isArray(tags)) { + tags = tags.join(','); + } - delete payload.payload; + registration.Tags = tags; } - if (payload.expiry) { - registration['Expiry'] = payload.expiry; - delete payload.expiry; + registration.DeviceToken = token; + + if (template) { + var payload = _.clone(template); + if (payload.payload) { + Object.keys(payload.payload).forEach(function (property) { + payload[property] = payload.payload[property]; + }); + + delete payload.payload; + } + + if (payload.expiry) { + registration['Expiry'] = payload.expiry; + delete payload.expiry; + } + + if (!_.isString(payload)) { + payload = JSON.stringify({ aps: payload }); + } + + registration.BodyTemplate = ''; } - if (!_.isString(payload)) { - payload = JSON.stringify({ aps: payload }); - } + return registrationResult.serialize(elementName, registration); +}; - registration['BodyTemplate'] = ''; - - return registrationResult.serialize('AppleTemplateRegistrationDescription', registration); +/** +* Creates a template registration body. +* +* @param {string} token The device token. +* @param {string|array} tags The tags. +* @param {json} template The template for the registration. +* @param {object|function} [options] The request options or callback function. +* @return {string} The template body. +*/ +ApnsService.prototype._createTemplateBody = function (token, tags, template, options) { + return this._createBody('AppleTemplateRegistrationDescription', token, tags, template, options); }; module.exports = ApnsService; \ No newline at end of file diff --git a/lib/services/serviceBus/wnsservice.js b/lib/services/serviceBus/wnsservice.js index 993e88a1e..542473d3a 100644 --- a/lib/services/serviceBus/wnsservice.js +++ b/lib/services/serviceBus/wnsservice.js @@ -339,30 +339,18 @@ WnsService.prototype.send = function (tags, payload, type, optionsOrCallback, ca * Sends an APNS notification. * * @param {string} channel The device channel uri. +* @param {string|array} tags The tags. * @param {object|function} [optionsOrCallback] The request options or callback function. -* @param {string} [optionsOrCallback.registrationId] The registration identifier. * @param {function(error, response)} callback The callback function. * @return {undefined} */ -WnsService.prototype.createNativeRegistration = function (channel, optionsOrCallback, callback) { +WnsService.prototype.createNativeRegistration = function (channel, tags, optionsOrCallback, callback) { var options; azureutil.normalizeArgs(optionsOrCallback, callback, function (o, c) { options = o; callback = c; }); validate.isValidFunction(callback); - var registration = { - ChannelUri: channel - }; - - var registrationXml; - if (options && options.registrationId) { - registrationXml = registrationResult.serialize('WindowsRegistrationDescription', registration, { - id: 'https://ciserversb.servicebus.windows.net/' + this.notificationHubService.hubName + '/Registrations/' + options.registrationId, - title: options.registrationId - }); - } else { - registrationXml = registrationResult.serialize('WindowsRegistrationDescription', registration); - } + var registrationXml = this._createBody('WindowsRegistrationDescription', channel, tags, null, options); var webResource = WebResource.post(this.notificationHubService.hubName + '/registrations') .withHeader(HeaderConstants.CONTENT_TYPE, 'application/atom+xml;type=entry;charset=utf-8') @@ -449,8 +437,8 @@ WnsService.prototype.listRegistrationsByChannel = function (channel, optionsOrCa validate.isValidFunction(callback); - var webResource = WebResource.get(this.hubName + '/registrations/') - .withQueryOption('$filter', 'ChannelUri eq \'' + encodeURIComponent(channel) + '\''); + var webResource = WebResource.get(this.notificationHubService.hubName + '/registrations/') + .withQueryOption('$filter', 'ChannelUri eq \'' + channel + '\''); if (options) { if (options.top) { @@ -462,31 +450,25 @@ WnsService.prototype.listRegistrationsByChannel = function (channel, optionsOrCa } } - this._executeRequest(webResource, null, registrationResult, null, callback); + this.notificationHubService._executeRequest(webResource, null, registrationResult, null, callback); }; /** * Creates a template registration body. * +* @param {string} elementName The element name. * @param {string} channel The device channel uri. -* @param {string|array} tags The device channel uri. +* @param {string|array} tags The tags. * @param {json} template The template for the registration. * @param {object|function} [options] The request options or callback function. * @param {object|function} [options.pnsCredentialName] The pns credentials to use. * @param {object|function} [options.headers] The wns headers to include. * @return {undefined} */ -WnsService.prototype._createTemplateBody = function (channel, tags, template, options) { - var registration = { - ChannelUri: channel, - BodyTemplate: '' - }; +WnsService.prototype._createBody = function (elementName, channel, tags, template, options) { + var registration = { }; if (options) { - if (options.pnsCredentialName) { - registration['PnsCredentialName'] = options.pnsCredentialName; - } - if (options.expirationTime) { if (_.isDate(options.expirationTime)) { options.expirationTime = new Date(options.expirationTime); @@ -495,27 +477,60 @@ WnsService.prototype._createTemplateBody = function (channel, tags, template, op registration['ExpirationTime'] = options.expirationTime.toISOString(); } - if (options.headers) { - registration['WnsHeaders'] = []; - Object.keys(options.headers).forEach(function (headerName) { - registration['WnsHeaders'].push({ WnsHeader: { Header: headerName, Value: options.headers[headerName] } }); - }); - } - - if (tags) { - if (_.isArray(tags)) { - tags = tags.join(','); - } - - if (!registration['WnsHeaders']) { - registration['WnsHeaders'] = []; - } - - registration['WnsHeaders'].push({ WnsHeader: { Header: 'X-WNS-Tag', Value: tags } }); + if (options.pnsCredentialName) { + registration['PnsCredentialName'] = options.pnsCredentialName; } } - return registrationResult.serialize('WindowsTemplateRegistrationDescription', registration); + if (tags) { + if (_.isArray(tags)) { + tags = tags.join(','); + } + + registration.Tags = tags; + } + + registration.ChannelUri = channel; + + if (template) { + registration.BodyTemplate = ''; + } + + if (options) { + if (options.headers) { + registration.WnsHeaders = { WnsHeader: [] }; + Object.keys(options.headers).forEach(function (headerName) { + registration.WnsHeaders.WnsHeader.push({ Header: headerName, Value: options.headers[headerName] }); + }); + } + } + + var registrationXml; + if (options && options.registrationId) { + registrationXml = registrationResult.serialize(elementName, registration, { + id: 'https://ciserversb.servicebus.windows.net/' + this.notificationHubService.hubName + '/Registrations/' + options.registrationId, + title: options.registrationId + }); + } else { + registrationXml = registrationResult.serialize(elementName, registration); + } + + return registrationXml; +}; + +/** +* Creates a template registration body. +* +* @param {string} channel The device channel uri. +* @param {string|array} tags The tags. +* @param {json} template The template for the registration. +* @param {object|function} [options] The request options or callback function. +* @param {object|function} [options.pnsCredentialName] The pns credentials to use. +* @param {object|function} [options.headers] The wns headers to include. +* @return {undefined} +*/ +WnsService.prototype._createTemplateBody = function (channel, tags, template, options) { + return this._createBody('WindowsTemplateRegistrationDescription', channel, tags, template, options); }; module.exports = WnsService; \ No newline at end of file diff --git a/test/azure-tests.js b/test/azure-tests.js index fffd46980..1722485f4 100644 --- a/test/azure-tests.js +++ b/test/azure-tests.js @@ -58,7 +58,7 @@ suite('azure', function () { } if (!originalAzureStorageDnsSuffix && process.env[ServiceClient.EnvironmentVariables.AZURE_STORAGE_DNS_SUFFIX]) { - originalAzureStorageDnsSuffix = process.env[ServiceClient.EnvironmentVariables.AZURE_STORAGE_DNS_SUFFIX]; + originalAzureStorageDnsSuffix = process.env[ServiceClient.EnvironmentVariables.AZURE_STORAGE_DNS_SUFFIX]; } // On the first run store the previous azure storage account / azure storage access key from the environment if (!originalServiceBusNamespace && process.env[ServiceClient.EnvironmentVariables.AZURE_SERVICEBUS_NAMESPACE]) { @@ -140,7 +140,7 @@ suite('azure', function () { process.env[ServiceClient.EnvironmentVariables.AZURE_STORAGE_ACCOUNT] = environmentAzureStorageAccount; process.env[ServiceClient.EnvironmentVariables.AZURE_STORAGE_ACCESS_KEY] = environmentAzureStorageAccessKey; process.env[ServiceClient.EnvironmentVariables.AZURE_STORAGE_DNS_SUFFIX] = environmentAzureStorageDnsSuffix; - + var blobService1 = azure.createBlobService(); assert.equal(blobService1.host, environmentAzureStorageAccount + '.' + ServiceClient.CLOUD_BLOB_HOST); assert.equal(blobService1.usePathStyleUri, false); diff --git a/test/recordings/apnsservice-registrations-tests.nock.js b/test/recordings/apnsservice-registrations-tests.nock.js index 57f09da10..bfb5fbfd5 100644 --- a/test/recordings/apnsservice-registrations-tests.nock.js +++ b/test/recordings/apnsservice-registrations-tests.nock.js @@ -5,117 +5,139 @@ var result = nock('https://ciserversb-sb.accesscontrol.windows.net:443') .filteringRequestBody(function (path) { return '*';}) .post('/WRAPv0.9/', '*') - .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252f%2524Resources%252fNotificationHubs%253fapi-version%253d2013-04%26ExpiresOn%3d1366416695%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dqB1fOdCJ7iebV4mcnumvtPSNJAnrbpJU1o3oexnESs4%253d&wrap_access_token_expires_in=1200", { 'cache-control': 'no-cache, no-store', + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252f%2524Resources%252fNotificationHubs%253fapi-version%253d2013-04%26ExpiresOn%3d1368454133%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dD2421vuI2GEybUSxFyFAKZz0hG8rte97vKQWd08a41w%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', pragma: 'no-cache', 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', expires: '-1', - 'request-id': 'bee6f7d0-21e8-4c91-a4fd-100db3bb7bcf', + 'request-id': '3a2bdf65-5535-4bc4-99c1-652ab5564915', 'x-content-type-options': 'nosniff', - date: 'Fri, 19 Apr 2013 23:51:35 GMT', + date: 'Mon, 13 May 2013 13:48:52 GMT', 'content-length': '592' }); return result; }, function (nock) { var result = nock('https://ciserversb.servicebus.windows.net:443') .get('/$Resources/NotificationHubs?api-version=2013-04') - .reply(200, "NotificationHubshttps://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2013-042013-04-19T23:51:36Zhttps://ciserversb.servicebus.windows.net/myhub?api-version=2013-04myhub2013-02-23T00:22:23Z2013-02-28T14:27:57ZciserversbP90DPackageSidms-app://s-1-15-2-3624382523-3073449496-1584155076-733487050-1832530571-3873708642-3859416007SecretKeyBlz9qc7m94s6lM0nO7xwybMY0bDLy+aaWindowsLiveEndpointhttps://login.live.com/accesstoken.srfSharedAccessKeyNoneListenDefaultListenSharedAccessSignaturecVV3cmNZOCkkdXktXl8qbQ==SharedAccessKeyNoneListenManageSendDefaultFullSharedAccessSignatureKj5FUlB4UmM1KXAybD1RPQ==https://ciserversb.servicebus.windows.net/myhubnice?api-version=2013-04myhubnice2013-04-19T22:54:43Z2013-04-19T22:54:43ZciserversbP90DPackageSidasdSecretKeysdSharedAccessKeyNoneListen2013-04-19T22:54:43.8746206Z2013-04-19T22:54:43.8746206ZDefaultListenSharedAccessSignaturel0cdsU/cHy570dBeVeDnF6SifM1dkMGNs8N/oOVDXog=SharedAccessKeyNoneListenManageSend2013-04-19T22:54:43.8746206Z2013-04-19T22:54:43.8746206ZDefaultFullSharedAccessSignatureF7hqEsUNzb1ZDV6ITjX0pMP4+A1mfCaiACAvjrjoqKk=", { 'transfer-encoding': 'chunked', + .reply(200, "NotificationHubshttps://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2013-042013-05-13T13:48:54Zhttps://ciserversb.servicebus.windows.net/myhub?api-version=2013-04myhub2013-04-26T18:02:22Z2013-04-26T18:10:31ZciserversbP90DPackageSidms-app://s-1-15-2-2060948854-1555579440-2624401838-1061041892-4152237894-3341387579-3741301639SecretKey1t/f1uWV3ehU8Wo/+vRRusLPlmwUOYudWindowsLiveEndpointhttps://login.live.com/accesstoken.srfSharedAccessKeyNoneListenDefaultListenSharedAccessSignaturef7ReDRk4hzKRfLtXHjrl3vTNabq8xPKi8OpvTKlokBU=SharedAccessKeyNoneListenManageSendDefaultFullSharedAccessSignaturev7WXGFfWuD+6uVY40Y13h6gjt0Q/qb5QdIREMw5MtO0=https://ciserversb.servicebus.windows.net/myhub2?api-version=2013-04myhub22013-05-13T12:31:11Z2013-05-13T12:31:11ZciserversbP90DSharedAccessKeyNoneListen2013-05-13T12:31:11.0727424Z2013-05-13T12:31:11.0727424ZDefaultListenSharedAccessSignaturewSEu4/IJLTn9X0ce7NBD1aFIsUEuL2H+Pa/3Cp36pcA=SharedAccessKeyNoneListenManageSend2013-05-13T12:31:11.0727424Z2013-05-13T12:31:11.0727424ZDefaultFullSharedAccessSignatureFI8DkfgSZJCJ1BH/W7cIJf4oXPkM6HwuWuABvL88Znk=https://ciserversb.servicebus.windows.net/xplathubnxt9?api-version=2013-04xplathubnxt92013-05-13T13:48:21Z2013-05-13T13:48:21ZciserversbP90DSharedAccessKeyNoneListen2013-05-13T13:48:21.4851949Z2013-05-13T13:48:21.4851949ZDefaultListenSharedAccessSignatureqJfpwBmOa1dVz4BeftuJ+AFygGDtVAIhJT7OLcqOKus=SharedAccessKeyNoneListenManageSend2013-05-13T13:48:21.4851949Z2013-05-13T13:48:21.4851949ZDefaultFullSharedAccessSignatureGX8Vhyg8ieh+pRp0ByAT4u0Q9+oMjSsGMZsCxwbzevE=", { 'transfer-encoding': 'chunked', 'content-type': 'application/atom+xml;type=feed;charset=utf-8', server: 'Microsoft-HTTPAPI/2.0', - date: 'Fri, 19 Apr 2013 23:51:36 GMT' }); + date: 'Mon, 13 May 2013 13:48:53 GMT' }); return result; }, function (nock) { var result = nock('https://ciserversb-sb.accesscontrol.windows.net:443') .filteringRequestBody(function (path) { return '*';}) .post('/WRAPv0.9/', '*') - .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt1%253fapi-version%253d2013-04%26ExpiresOn%3d1366416698%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dlu0pJZXnKqU%252fNsX3v%252f11BW3Q3FgOwWZ1iQumrXvoITs%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt9%253fapi-version%253d2013-04%26ExpiresOn%3d1368454136%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dXsddKLgQ78NOlPFQO%252bdpUHHTl3Q90GyQKvmd3JsXxvc%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', pragma: 'no-cache', 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', expires: '-1', - 'request-id': 'b55e88c8-7c54-4c03-a6e2-40ef3eeb07e8', + 'request-id': 'ac35a3d6-d2e0-4409-8c14-3485eb5dd6d1', 'x-content-type-options': 'nosniff', - date: 'Fri, 19 Apr 2013 23:51:38 GMT', - 'content-length': '577' }); + date: 'Mon, 13 May 2013 13:48:55 GMT', + 'content-length': '573' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb-sb.accesscontrol.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.post('/WRAPv0.9/', '*') + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt1%253fapi-version%253d2013-04%26ExpiresOn%3d1368454135%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3d5kIojul9RTr4laZ4FQ0B1Z63qWmKqETZthQuLuGu0l4%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', + pragma: 'no-cache', + 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', + expires: '-1', + 'request-id': 'ff62f828-c7a4-4f08-9d53-d39aafead7f5', + 'x-content-type-options': 'nosniff', + date: 'Mon, 13 May 2013 13:48:55 GMT', + 'content-length': '569' }); return result; }, function (nock) { var result = nock('https://ciserversb.servicebus.windows.net:443') .filteringRequestBody(function (path) { return '*';}) .put('/xplathubnxt1?api-version=2013-04', '*') - .reply(201, "https://ciserversb.servicebus.windows.net/xplathubnxt1?api-version=2013-04xplathubnxt12013-04-19T23:51:39Z2013-04-19T23:51:39ZciserversbApnsCertificateMIIKaAIBAzCCCi4GCSqGSIb3DQEHAaCCCh8EggobMIIKFzCCBJcGCSqGSIb3DQEHBqCCBIgwggSEAgEAMIIEfQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQYwDgQIWGoWgJ5f7psCAggAgIIEUEgM4C5KBq7AeDbr4YsE3S7kblLwJzPKeed1X7jzrhwDDUiGKYlDFKmiSOkQ8mMIU3i5HvjVUMo4KTxSB2UjWYUl3G9DnYSia/HAz0IOuPPC6DmB3pEUEQ+XFAnQ6U7JAVatHRX/5iRjuIfniiSzDl669YojLOgRgHSZJGWW4HnzEA2K09JtFVY+cwkN4uDhQsnq/z5D/uyqq9n9zN34tyd5H9eI4NYFrKXUs8gtCq+Rwxfl/jzwndUAOqm57wCTQfQSvO8qR7B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0h1GIDOMg+veXHKs+PydRdS10mT3mUWHpuM0TnJdahVPbLQQfXVyXnV2xrHbx0/GJ0/vQl81xC9DzDO9fhexz1eHY1o6WUNQyxkOGgupnqAo1RtY3lHf4cjQ7RqgbN3bIv2aeVjbloHjGNGvidv5UVjwDQ3pF5As8LPQg37qOalWGpHsepO/9ClFdnDhu5OmqTAwa4VnQ1BOh/wgRR85JVcEZ5DW0xQZefrBpv6vMSTXKQdXo84VNiGRfZUggDZw7gFEKQsdoJhwW9kKCAmU9bk7F/hLxC8En/larQE9KPEDHhNoC5lDBgQ871xkpPZQUoS57KyKx+BZG+IrzZJ45O+jtpU5TajSjGY399YBJbnKf6gwVnguV4lzs33k4GqGUuQyMqWIQlNonhnruRB25tszsf7/jClKQtnHx4WpU1WxWp2nV+0XK/6B/5lIhrSSPhDPntzaYBqknPybO7snNLTDaKVXib/c6OFmM/EHHArESfGqiCe+MRk0BI+GlnmypyElFXUecBUxIQj0Wly21tcISgaZhCxuXSsay9AgYuGZhizk83RT1ST4rqwZygatkkaTyq64gMuGFejvLWIDtFFw2/N1clG7+9LxVm+efFtiNmTaetOAL+OztmsYyOEQurE5oaW60I+pzBu8WqrHvv7T1MUIkfZI58WBbmsX+uKBGqZFJ7fjTCNLGafJ4Rx7/mf7vQC8h68oztvHZHRX/lDoLfzvUSElUdzNnyaFBr9g/HVZhSj6/y5b6FDjm3xQzI+a9txP8rfVzH+5vJe09a4y1ZhMoMzjKKooXYZMVwwIwYJKoZIhvcNAQkVMRYEFEy9ClbuXklnr4IYc7A0OVi5CGuGMDUGCSqGSIb3DQEJFDEoHiYATQB5ACAAUwBlAGwAZgAgAFMAaQBnAG4AZQBkACAAQwBlAHIAdDAxMCEwCQYFKw4DAhoFAAQU5CHWESZpMgul1RafRMoAv+V6tLMECKZ/KM3TIM49AgIIAA==CertificateKey12345Endpointgateway.push.apple.comP90DSharedAccessKeyNoneListen2013-04-19T23:51:39.5952396Z2013-04-19T23:51:39.5952396ZDefaultListenSharedAccessSignaturefRm19gbxJ0auiJhP9KpX2VlqO26+Msxm4hDKmOxtkYw=SharedAccessKeyNoneListenManageSend2013-04-19T23:51:39.5952396Z2013-04-19T23:51:39.5952396ZDefaultFullSharedAccessSignatureIBGU5iPFKl+26TFd3HLn8flkrqwkA2CXJJ0J5pTGgAg=", { 'transfer-encoding': 'chunked', + .reply(201, "https://ciserversb.servicebus.windows.net/xplathubnxt1?api-version=2013-04xplathubnxt12013-05-13T13:48:57Z2013-05-13T13:48:57ZciserversbApnsCertificateMIIKaAIBAzCCCi4GCSqGSIb3DQEHAaCCCh8EggobMIIKFzCCBJcGCSqGSIb3DQEHBqCCBIgwggSEAgEAMIIEfQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQYwDgQIWGoWgJ5f7psCAggAgIIEUEgM4C5KBq7AeDbr4YsE3S7kblLwJzPKeed1X7jzrhwDDUiGKYlDFKmiSOkQ8mMIU3i5HvjVUMo4KTxSB2UjWYUl3G9DnYSia/HAz0IOuPPC6DmB3pEUEQ+XFAnQ6U7JAVatHRX/5iRjuIfniiSzDl669YojLOgRgHSZJGWW4HnzEA2K09JtFVY+cwkN4uDhQsnq/z5D/uyqq9n9zN34tyd5H9eI4NYFrKXUs8gtCq+Rwxfl/jzwndUAOqm57wCTQfQSvO8qR7Bl/aOZvIzfBejT8qDLod6FAedSdd5jQX1zdyF6GtWM6AmAGLywZIz1iQcFd2kOfjIaj0/+QNAug3UF5+5FEy8GcO5dAPNxcLquySXf0MExdc7ZpIpy3oJ2/25xJKbYEe7vQqKKFBT30qCtZDYUo6dDRLDG0IM2fGAN5h2GfP6zQI3N8qKYYB03tdkTLoZMYXyTDgdjHboaJ6Bvtx1FXaVMTzbdopGB57xOO3sBYq4P3jafS4rgqXMGUwkN+DX7/cMUKDTOi42KF+En2U1dIbctNojtUjkmblXMIAZ4dksUHAuH6tP0PfzB5QM7xB5VOVi3VJamVpp67yIidSNZocJyYmwjq27RwTG4DPzwk8/xqtFSQbM8Z7Uf0A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33k4GqGUuQyMqWIQlNonhnruRB25tszsf7/jClKQtnHx4WpU1WxWp2nV+0XK/6B/5lIhrSSPhDPntzaYBqknPybO7snNLTDaKVXib/c6OFmM/EHHArESfGqiCe+MRk0BI+GlnmypyElFXUecBUxIQj0Wly21tcISgaZhCxuXSsay9AgYuGZhizk83RT1ST4rqwZygatkkaTyq64gMuGFejvLWIDtFFw2/N1clG7+9LxVm+efFtiNmTaetOAL+OztmsYyOEQurE5oaW60I+pzBu8WqrHvv7T1MUIkfZI58WBbmsX+uKBGqZFJ7fjTCNLGafJ4Rx7/mf7vQC8h68oztvHZHRX/lDoLfzvUSElUdzNnyaFBr9g/HVZhSj6/y5b6FDjm3xQzI+a9txP8rfVzH+5vJe09a4y1ZhMoMzjKKooXYZMVwwIwYJKoZIhvcNAQkVMRYEFEy9ClbuXklnr4IYc7A0OVi5CGuGMDUGCSqGSIb3DQEJFDEoHiYATQB5ACAAUwBlAGwAZgAgAFMAaQBnAG4AZQBkACAAQwBlAHIAdDAxMCEwCQYFKw4DAhoFAAQU5CHWESZpMgul1RafRMoAv+V6tLMECKZ/KM3TIM49AgIIAA==CertificateKey12345Endpointgateway.push.apple.comP90DSharedAccessKeyNoneListen2013-05-13T13:48:57.3333686Z2013-05-13T13:48:57.3333686ZDefaultListenSharedAccessSignatureF6hf/OtaEMtfAH7CVHRC7AVa5tqdL0xPOCfE+wUZ6Sc=SharedAccessKeyNoneListenManageSend2013-05-13T13:48:57.3333686Z2013-05-13T13:48:57.3333686ZDefaultFullSharedAccessSignatureID1mocjKseAmdyDVJ1brH4N/EKjUO5SZUM8ZEw73UnE=", { 'transfer-encoding': 'chunked', 'content-type': 'application/atom+xml;type=entry;charset=utf-8', server: 'Microsoft-HTTPAPI/2.0', - date: 'Fri, 19 Apr 2013 23:51:39 GMT' }); + date: 'Mon, 13 May 2013 13:48:56 GMT' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .delete('/xplathubnxt9?api-version=2013-04') + .reply(200, "", { 'content-length': '0', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 13 May 2013 13:48:56 GMT' }); return result; }, function (nock) { var result = nock('https://ciserversb-sb.accesscontrol.windows.net:443') .filteringRequestBody(function (path) { return '*';}) .post('/WRAPv0.9/', '*') - .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt1%252fregistrations%253fapi-version%253d2013-04%26ExpiresOn%3d1366416700%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dUdkj4PNmDyJCwtx6MAEj1ypSmShadtTxSDd%252b%252fCaMPlM%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt1%252fregistrations%253fapi-version%253d2013-04%26ExpiresOn%3d1368454139%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dM5RKz0PS48oeraJFuxlWblXgLa4c0lM%252fvBYZSf8YHaY%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', pragma: 'no-cache', 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', expires: '-1', - 'request-id': '83fad555-20cc-4a6f-ae37-b91eda54b583', + 'request-id': '2c058631-b3b8-4aa0-ab61-173ad83dea6c', 'x-content-type-options': 'nosniff', - date: 'Fri, 19 Apr 2013 23:51:40 GMT', - 'content-length': '595' }); + date: 'Mon, 13 May 2013 13:48:58 GMT', + 'content-length': '591' }); return result; }, function (nock) { var result = nock('https://ciserversb.servicebus.windows.net:443') .filteringRequestBody(function (path) { return '*';}) .post('/xplathubnxt1/registrations?api-version=2013-04', '*') - .reply(200, "https://ciserversb.servicebus.windows.net/xplathubnxt1/registrations/907255544683905790-1414615163772011302?api-version=2013-04907255544683905790-14146151637720113022013-04-19T23:51:42Z2013-04-19T23:51:42Z12013-07-18T23:51:42.427Z907255544683905790-14146151637720113020F744707BEBCF74F9B7C25D48E3358945F6AA01DA5DDB387462C7EAF61BBAD78", { 'transfer-encoding': 'chunked', + .reply(200, "https://ciserversb.servicebus.windows.net/xplathubnxt1/registrations/6681720493759534936-8178368910246072049?api-version=2013-046681720493759534936-81783689102460720492013-05-13T13:49:00Z2013-05-13T13:49:00Z12013-08-11T13:49:00.742Z6681720493759534936-81783689102460720490F744707BEBCF74F9B7C25D48E3358945F6AA01DA5DDB387462C7EAF61BBAD78", { 'transfer-encoding': 'chunked', 'content-type': 'application/atom+xml;type=entry;charset=utf-8', - 'content-location': 'https://ciserversb.servicebus.windows.net/xplathubnxt1/registrations/907255544683905790-1414615163772011302?api-version=2013-04', + 'content-location': 'https://ciserversb.servicebus.windows.net/xplathubnxt1/registrations/6681720493759534936-8178368910246072049?api-version=2013-04', etag: 'W/"1"', server: 'Microsoft-HTTPAPI/2.0', - date: 'Fri, 19 Apr 2013 23:51:42 GMT' }); + date: 'Mon, 13 May 2013 13:48:59 GMT' }); return result; }, function (nock) { var result = nock('https://ciserversb-sb.accesscontrol.windows.net:443') .filteringRequestBody(function (path) { return '*';}) .post('/WRAPv0.9/', '*') - .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt1%252fregistrations%252f907255544683905790-1414615163772011302%253fapi-version%253d2013-04%26ExpiresOn%3d1366416703%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3djFxZd9gMerIECtSWOVeZGdXZ9pdZxJKjKKBOHF4tFe0%253d&wrap_access_token_expires_in=1200", { 'cache-control': 'no-cache, no-store', + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt1%252fregistrations%252f6681720493759534936-8178368910246072049%253fapi-version%253d2013-04%26ExpiresOn%3d1368454142%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dzjfzJ6BMRTRz80SpjEbAzRHJat7Ng3q9ZA8vOzcv0lc%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', pragma: 'no-cache', 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', expires: '-1', - 'request-id': '781b0d4c-2ea1-4f5f-b8a6-a8b1aea13367', + 'request-id': 'c87a6c4b-78a9-4e09-bf6d-ef3b8fe22bf7', 'x-content-type-options': 'nosniff', - date: 'Fri, 19 Apr 2013 23:51:43 GMT', - 'content-length': '630' }); + date: 'Mon, 13 May 2013 13:49:02 GMT', + 'content-length': '631' }); return result; }, function (nock) { var result = nock('https://ciserversb.servicebus.windows.net:443') - .delete('/xplathubnxt1/registrations/907255544683905790-1414615163772011302?api-version=2013-04') + .delete('/xplathubnxt1/registrations/6681720493759534936-8178368910246072049?api-version=2013-04') .reply(200, "", { 'content-length': '0', server: 'Microsoft-HTTPAPI/2.0', - date: 'Fri, 19 Apr 2013 23:51:44 GMT' }); + date: 'Mon, 13 May 2013 13:49:03 GMT' }); return result; }], [function (nock) { var result = nock('https://ciserversb.servicebus.windows.net:443') .get('/$Resources/NotificationHubs?api-version=2013-04') - .reply(200, "NotificationHubshttps://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2013-042013-04-19T23:51:46Zhttps://ciserversb.servicebus.windows.net/myhub?api-version=2013-04myhub2013-02-23T00:22:23Z2013-02-28T14:27:57ZciserversbP90DPackageSidms-app://s-1-15-2-3624382523-3073449496-1584155076-733487050-1832530571-3873708642-3859416007SecretKeyBlz9qc7m94s6lM0nO7xwybMY0bDLy+aaWindowsLiveEndpointhttps://login.live.com/accesstoken.srfSharedAccessKeyNoneListenDefaultListenSharedAccessSignaturecVV3cmNZOCkkdXktXl8qbQ==SharedAccessKeyNoneListenManageSendDefaultFullSharedAccessSignatureKj5FUlB4UmM1KXAybD1RPQ==https://ciserversb.servicebus.windows.net/myhubnice?api-version=2013-04myhubnice2013-04-19T22:54:43Z2013-04-19T22:54:43ZciserversbP90DPackageSidasdSecretKeysdSharedAccessKeyNoneListen2013-04-19T22:54:43.8746206Z2013-04-19T22:54:43.8746206ZDefaultListenSharedAccessSignaturel0cdsU/cHy570dBeVeDnF6SifM1dkMGNs8N/oOVDXog=SharedAccessKeyNoneListenManageSend2013-04-19T22:54:43.8746206Z2013-04-19T22:54:43.8746206ZDefaultFullSharedAccessSignatureF7hqEsUNzb1ZDV6ITjX0pMP4+A1mfCaiACAvjrjoqKk=", { 'transfer-encoding': 'chunked', + .reply(200, "NotificationHubshttps://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2013-042013-05-13T13:49:05Zhttps://ciserversb.servicebus.windows.net/myhub?api-version=2013-04myhub2013-04-26T18:02:22Z2013-04-26T18:10:31ZciserversbP90DPackageSidms-app://s-1-15-2-2060948854-1555579440-2624401838-1061041892-4152237894-3341387579-3741301639SecretKey1t/f1uWV3ehU8Wo/+vRRusLPlmwUOYudWindowsLiveEndpointhttps://login.live.com/accesstoken.srfSharedAccessKeyNoneListenDefaultListenSharedAccessSignaturef7ReDRk4hzKRfLtXHjrl3vTNabq8xPKi8OpvTKlokBU=SharedAccessKeyNoneListenManageSendDefaultFullSharedAccessSignaturev7WXGFfWuD+6uVY40Y13h6gjt0Q/qb5QdIREMw5MtO0=https://ciserversb.servicebus.windows.net/myhub2?api-version=2013-04myhub22013-05-13T12:31:11Z2013-05-13T12:31:11ZciserversbP90DSharedAccessKeyNoneListen2013-05-13T12:31:11.0727424Z2013-05-13T12:31:11.0727424ZDefaultListenSharedAccessSignaturewSEu4/IJLTn9X0ce7NBD1aFIsUEuL2H+Pa/3Cp36pcA=SharedAccessKeyNoneListenManageSend2013-05-13T12:31:11.0727424Z2013-05-13T12:31:11.0727424ZDefaultFullSharedAccessSignatureFI8DkfgSZJCJ1BH/W7cIJf4oXPkM6HwuWuABvL88Znk=", { 'transfer-encoding': 'chunked', 'content-type': 'application/atom+xml;type=feed;charset=utf-8', server: 'Microsoft-HTTPAPI/2.0', - date: 'Fri, 19 Apr 2013 23:51:45 GMT' }); + date: 'Mon, 13 May 2013 13:49:04 GMT' }); return result; }, function (nock) { var result = nock('https://ciserversb-sb.accesscontrol.windows.net:443') .filteringRequestBody(function (path) { return '*';}) .post('/WRAPv0.9/', '*') - .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt2%253fapi-version%253d2013-04%26ExpiresOn%3d1366416708%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3d4I6ZywNKo1aZEZLzXmf9No02jbEcyN%252fVtokfnOlsH%252fw%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt2%253fapi-version%253d2013-04%26ExpiresOn%3d1368454146%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dnNo6kN6nANnk73YvlVwD%252boe6WnVfdpxSVGRyds%252fEoz8%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', pragma: 'no-cache', 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', expires: '-1', - 'request-id': 'c43da824-c554-42a9-ba14-8211776ac0ab', + 'request-id': '430f231f-4b2f-4136-963c-af17ab8e7b35', 'x-content-type-options': 'nosniff', - date: 'Fri, 19 Apr 2013 23:51:48 GMT', + date: 'Mon, 13 May 2013 13:49:05 GMT', 'content-length': '577' }); return result; }, function (nock) { @@ -123,23 +145,23 @@ var result = nock('https://ciserversb.servicebus.windows.net:443') .filteringRequestBody(function (path) { return '*';}) .put('/xplathubnxt2?api-version=2013-04', '*') - .reply(201, "https://ciserversb.servicebus.windows.net/xplathubnxt2?api-version=2013-04xplathubnxt22013-04-19T23:51:49Z2013-04-19T23:51:49ZciserversbApnsCertificateMIIKaAIBAzCCCi4GCSqGSIb3DQEHAaCCCh8EggobMIIKFzCCBJcGCSqGSIb3DQEHBqCCBIgwggSEAgEAMIIEfQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQYwDgQIWGoWgJ5f7psCAggAgIIEUEgM4C5KBq7AeDbr4YsE3S7kblLwJzPKeed1X7jzrhwDDUiGKYlDFKmiSOkQ8mMIU3i5HvjVUMo4KTxSB2UjWYUl3G9DnYSia/HAz0IOuPPC6DmB3pEUEQ+XFAnQ6U7JAVatHRX/5iRjuIfniiSzDl669YojLOgRgHSZJGWW4HnzEA2K09JtFV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ertificateKey12345Endpointgateway.push.apple.comP90DSharedAccessKeyNoneListen2013-04-19T23:51:50.0214108Z2013-04-19T23:51:50.0214108ZDefaultListenSharedAccessSignature7nubojq0QRgKQpWXkCID3eDLuB80EyU8OXgfjyGexuo=SharedAccessKeyNoneListenManageSend2013-04-19T23:51:50.0214108Z2013-04-19T23:51:50.0214108ZDefaultFullSharedAccessSignature7CsTHLqacfogs8vtITspjwHg2jXzMrvrKdG9VqYPrvU=", { 'transfer-encoding': 'chunked', + .reply(201, "https://ciserversb.servicebus.windows.net/xplathubnxt2?api-version=2013-04xplathubnxt22013-05-13T13:49:07Z2013-05-13T13:49:07ZciserversbApnsCertificateMIIKaAIBAzCCCi4GCSqGSIb3DQEHAaCCCh8EggobMIIKFzCCBJcGCSqGSIb3DQEHBqCCBIgwggSEAgEAMIIEfQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQYwDgQIWGoWgJ5f7psCAggAgIIEUEgM4C5KBq7AeDbr4YsE3S7kblLwJzPKeed1X7jzrhwDDUiGKYlDFKmiSOkQ8mMIU3i5HvjVUMo4KTxSB2UjWYUl3G9DnYSia/HAz0IOuPPC6DmB3pEUEQ+XFAnQ6U7JAVatHRX/5iRjuIfniiSzDl669YojLOgRgHSZJGWW4HnzEA2K09JtFVY+cwkN4uDhQsnq/z5D/uyqq9n9zN34tyd5H9eI4NYFrKXUs8gtCq+Rwxfl/jzwndUAOqm57wCTQfQSvO8qR7Bl/aOZvIzfBejT8qDLod6FAedSdd5jQX1zdyF6GtWM6AmAGLywZIz1iQcFd2kOfjIaj0/+QNAug3UF5+5FEy8GcO5dAPNxcLquySXf0MExdc7ZpIpy3oJ2/25xJKbYEe7vQqKKFBT30qCtZDYUo6dDRLDG0IM2fGAN5h2GfP6zQI3N8qKYYB03tdkTLoZMYXyTDgdjHboaJ6Bvtx1FXaVMTzbdopGB57xOO3sBYq4P3jafS4rgqXMGUwkN+DX7/cMUKDTOi42KF+En2U1dIbctNojtUjkmblXMIAZ4dks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9KPEDHhNoC5lDBgQ871xkpPZQUoS57KyKx+BZG+IrzZJ45O+jtpU5TajSjGY399YBJbnKf6gwVnguV4lzs33k4GqGUuQyMqWIQlNonhnruRB25tszsf7/jClKQtnHx4WpU1WxWp2nV+0XK/6B/5lIhrSSPhDPntzaYBqknPybO7snNLTDaKVXib/c6OFmM/EHHArESfGqiCe+MRk0BI+GlnmypyElFXUecBUxIQj0Wly21tcISgaZhCxuXSsay9AgYuGZhizk83RT1ST4rqwZygatkkaTyq64gMuGFejvLWIDtFFw2/N1clG7+9LxVm+efFtiNmTaetOAL+OztmsYyOEQurE5oaW60I+pzBu8WqrHvv7T1MUIkfZI58WBbmsX+uKBGqZFJ7fjTCNLGafJ4Rx7/mf7vQC8h68oztvHZHRX/lDoLfzvUSElUdzNnyaFBr9g/HVZhSj6/y5b6FDjm3xQzI+a9txP8rfVzH+5vJe09a4y1ZhMoMzjKKooXYZMVwwIwYJKoZIhvcNAQkVMRYEFEy9ClbuXklnr4IYc7A0OVi5CGuGMDUGCSqGSIb3DQEJFDEoHiYATQB5ACAAUwBlAGwAZgAgAFMAaQBnAG4AZQBkACAAQwBlAHIAdDAxMCEwCQYFKw4DAhoFAAQU5CHWESZpMgul1RafRMoAv+V6tLMECKZ/KM3TIM49AgIIAA==CertificateKey12345Endpointgateway.push.apple.comP90DSharedAccessKeyNoneListen2013-05-13T13:49:07.8436798Z2013-05-13T13:49:07.8436798ZDefaultListenSharedAccessSignaturea/ibkGM5z3NoCvTqq/rrSyC8d95KniJ9T3P4XFFe+4c=SharedAccessKeyNoneListenManageSend2013-05-13T13:49:07.8436798Z2013-05-13T13:49:07.8436798ZDefaultFullSharedAccessSignatureHtVU63kd9ct15rbfjJZNhQ60zLA3H0eTj+S8IUCnxGg=", { 'transfer-encoding': 'chunked', 'content-type': 'application/atom+xml;type=entry;charset=utf-8', server: 'Microsoft-HTTPAPI/2.0', - date: 'Fri, 19 Apr 2013 23:51:49 GMT' }); + date: 'Mon, 13 May 2013 13:49:07 GMT' }); return result; }, function (nock) { var result = nock('https://ciserversb-sb.accesscontrol.windows.net:443') .filteringRequestBody(function (path) { return '*';}) .post('/WRAPv0.9/', '*') - .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt2%252fregistrations%253fapi-version%253d2013-04%26ExpiresOn%3d1366416711%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3d3nFsqHGB8U62z9T6%252bUe4qT9Oo%252bi1ORgEaW0CSJ10oJk%253d&wrap_access_token_expires_in=1200", { 'cache-control': 'no-cache, no-store', + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt2%252fregistrations%253fapi-version%253d2013-04%26ExpiresOn%3d1368454148%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dBBOGKzJwsbNsXY8B9w%252bqs673tWehCbc%252bJC2FP1z3E6E%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', pragma: 'no-cache', 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', expires: '-1', - 'request-id': 'cd601ce2-aa13-42bf-a4e9-ccb56fb82740', + 'request-id': 'a1a19e72-1024-439d-8b27-0e0ff12b3772', 'x-content-type-options': 'nosniff', - date: 'Fri, 19 Apr 2013 23:51:51 GMT', + date: 'Mon, 13 May 2013 13:49:08 GMT', 'content-length': '595' }); return result; }, function (nock) { @@ -147,124 +169,456 @@ var result = nock('https://ciserversb.servicebus.windows.net:443') .filteringRequestBody(function (path) { return '*';}) .post('/xplathubnxt2/registrations?api-version=2013-04', '*') - .reply(200, "https://ciserversb.servicebus.windows.net/xplathubnxt2/registrations/2434624609781586532-1043121499747651153?api-version=2013-042434624609781586532-10431214997476511532013-04-19T23:51:53Z2013-04-19T23:51:53Z12013-07-18T23:51:53.779Z2434624609781586532-10431214997476511530F744707BEBCF74F9B7C25D48E3358945F6AA01DA5DDB387462C7EAF61BBAD78", { 'transfer-encoding': 'chunked', + .reply(200, "https://ciserversb.servicebus.windows.net/xplathubnxt2/registrations/7340569757990595214-2357291793090745724?api-version=2013-047340569757990595214-23572917930907457242013-05-13T13:49:10Z2013-05-13T13:49:10Z12013-08-11T13:49:10.867Z7340569757990595214-2357291793090745724mytag0F744707BEBCF74F9B7C25D48E3358945F6AA01DA5DDB387462C7EAF61BBAD78", { 'transfer-encoding': 'chunked', 'content-type': 'application/atom+xml;type=entry;charset=utf-8', - 'content-location': 'https://ciserversb.servicebus.windows.net/xplathubnxt2/registrations/2434624609781586532-1043121499747651153?api-version=2013-04', + 'content-location': 'https://ciserversb.servicebus.windows.net/xplathubnxt2/registrations/7340569757990595214-2357291793090745724?api-version=2013-04', etag: 'W/"1"', server: 'Microsoft-HTTPAPI/2.0', - date: 'Fri, 19 Apr 2013 23:51:53 GMT' }); - return result; }, -function (nock) { -var result = -nock('https://ciserversb-sb.accesscontrol.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.post('/WRAPv0.9/', '*') - .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt2%252fregistrations%252f2434624609781586532-1043121499747651153%253fapi-version%253d2013-04%26ExpiresOn%3d1366416715%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dhcOsypp239HKpSwxZN8uS9EnFNhU%252bY5l4Vu2cvvx9JU%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', - pragma: 'no-cache', - 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', - expires: '-1', - 'request-id': '9d5157eb-cbdd-4cdb-835a-9744d537981f', - 'x-content-type-options': 'nosniff', - date: 'Fri, 19 Apr 2013 23:51:55 GMT', - 'content-length': '635' }); + date: 'Mon, 13 May 2013 13:49:10 GMT' }); return result; }, function (nock) { var result = nock('https://ciserversb.servicebus.windows.net:443') - .delete('/xplathubnxt2/registrations/2434624609781586532-1043121499747651153?api-version=2013-04') - .reply(200, "", { 'content-length': '0', + .get('/xplathubnxt2/registrations?api-version=2013-04') + .reply(200, "Registrationshttps://ciserversb.servicebus.windows.net/xplathubnxt2/registrations?api-version=2013-042013-05-13T13:49:11Zhttps://ciserversb.servicebus.windows.net/xplathubnxt2/registrations/7340569757990595214-2357291793090745724?api-version=2013-047340569757990595214-23572917930907457242013-05-13T13:49:11Z2013-05-13T13:49:11Z12013-08-11T13:49:10.867Z7340569757990595214-2357291793090745724mytag0F744707BEBCF74F9B7C25D48E3358945F6AA01DA5DDB387462C7EAF61BBAD78", { 'transfer-encoding': 'chunked', + 'content-type': 'application/atom+xml;type=feed;charset=utf-8', server: 'Microsoft-HTTPAPI/2.0', - date: 'Fri, 19 Apr 2013 23:51:55 GMT' }); + date: 'Mon, 13 May 2013 13:49:10 GMT' }); return result; }], [function (nock) { var result = nock('https://ciserversb.servicebus.windows.net:443') .get('/$Resources/NotificationHubs?api-version=2013-04') - .reply(200, "NotificationHubshttps://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2013-042013-04-19T23:51:57Zhttps://ciserversb.servicebus.windows.net/myhub?api-version=2013-04myhub2013-02-23T00:22:23Z2013-02-28T14:27:57ZciserversbP90DPackageSidms-app://s-1-15-2-3624382523-3073449496-1584155076-733487050-1832530571-3873708642-3859416007SecretKeyBlz9qc7m94s6lM0nO7xwybMY0bDLy+aaWindowsLiveEndpointhttps://login.live.com/accesstoken.srfSharedAccessKeyNoneListenDefaultListenSharedAccessSignaturecVV3cmNZOCkkdXktXl8qbQ==SharedAccessKeyNoneListenManageSendDefaultFullSharedAccessSignatureKj5FUlB4UmM1KXAybD1RPQ==https://ciserversb.servicebus.windows.net/myhubnice?api-version=2013-04myhubnice2013-04-19T22:54:43Z2013-04-19T22:54:43ZciserversbP90DPackageSidasdSecretKeysdSharedAccessKeyNoneListen2013-04-19T22:54:43.8746206Z2013-04-19T22:54:43.8746206ZDefaultListenSharedAccessSignaturel0cdsU/cHy570dBeVeDnF6SifM1dkMGNs8N/oOVDXog=SharedAccessKeyNoneListenManageSend2013-04-19T22:54:43.8746206Z2013-04-19T22:54:43.8746206ZDefaultFullSharedAccessSignatureF7hqEsUNzb1ZDV6ITjX0pMP4+A1mfCaiACAvjrjoqKk=", { 'transfer-encoding': 'chunked', + .reply(200, "NotificationHubshttps://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2013-042013-05-13T13:49:13Zhttps://ciserversb.servicebus.windows.net/myhub?api-version=2013-04myhub2013-04-26T18:02:22Z2013-04-26T18:10:31ZciserversbP90DPackageSidms-app://s-1-15-2-2060948854-1555579440-2624401838-1061041892-4152237894-3341387579-3741301639SecretKey1t/f1uWV3ehU8Wo/+vRRusLPlmwUOYudWindowsLiveEndpointhttps://login.live.com/accesstoken.srfSharedAccessKeyNoneListenDefaultListenSharedAccessSignaturef7ReDRk4hzKRfLtXHjrl3vTNabq8xPKi8OpvTKlokBU=SharedAccessKeyNoneListenManageSendDefaultFullSharedAccessSignaturev7WXGFfWuD+6uVY40Y13h6gjt0Q/qb5QdIREMw5MtO0=https://ciserversb.servicebus.windows.net/myhub2?api-version=2013-04myhub22013-05-13T12:31:11Z2013-05-13T12:31:11ZciserversbP90DSharedAccessKeyNoneListen2013-05-13T12:31:11.0727424Z2013-05-13T12:31:11.0727424ZDefaultListenSharedAccessSignaturewSEu4/IJLTn9X0ce7NBD1aFIsUEuL2H+Pa/3Cp36pcA=SharedAccessKeyNoneListenManageSend2013-05-13T12:31:11.0727424Z2013-05-13T12:31:11.0727424ZDefaultFullSharedAccessSignatureFI8DkfgSZJCJ1BH/W7cIJf4oXPkM6HwuWuABvL88Znk=https://ciserversb.servicebus.windows.net/xplathubnxt2?api-version=2013-04xplathubnxt22013-05-13T13:49:07Z2013-05-13T13:49:07ZciserversbApnsCertificateMIIKaAIBAzCCCi4GCSqGSIb3DQEHAaCCCh8EggobMIIKFzCCBJcGCSqGSIb3DQEHBqCCBIgwggSEAgEAMIIEfQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQYwDgQIWGoWgJ5f7psCAggAgIIEUEgM4C5KBq7AeDbr4YsE3S7kblLwJzPKeed1X7jzrhwDDUiGKYlDFKmiSOkQ8mMIU3i5HvjVUMo4KTxSB2UjWYUl3G9DnYSia/HAz0IOuPPC6DmB3pEUEQ+XFAnQ6U7JAVatHRX/5iRjuIfniiSzDl669YojLOgRgHSZJGWW4HnzEA2K09JtFVY+cwkN4uDhQsnq/z5D/uyqq9n9zN34tyd5H9eI4NYFrKXUs8gtCq+Rwxfl/jzwndUAOqm57wCTQfQSvO8qR7Bl/aOZvIzfBejT8qDLod6FAedSdd5jQX1zdyF6GtWM6AmAGLywZIz1iQcFd2kOfjIaj0/+QNAug3UF5+5FEy8GcO5dAPNxcLquySXf0MExdc7ZpIpy3oJ2/25xJKbYEe7vQqKKFBT30qCtZDYUo6dDRLDG0IM2fGAN5h2GfP6zQI3N8qKYYB03tdkTLoZMYXyTDgdjHboaJ6Bvtx1FXaVMTzbdopGB57xOO3sBYq4P3jafS4rgqXMGUwkN+DX7/cMUKDTOi42KF+En2U1dIbctNojtUjkmblXMIAZ4dksUHAuH6tP0PfzB5QM7xB5VOVi3VJamVpp67yIidSNZoc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zZJ45O+jtpU5TajSjGY399YBJbnKf6gwVnguV4lzs33k4GqGUuQyMqWIQlNonhnruRB25tszsf7/jClKQtnHx4WpU1WxWp2nV+0XK/6B/5lIhrSSPhDPntzaYBqknPybO7snNLTDaKVXib/c6OFmM/EHHArESfGqiCe+MRk0BI+GlnmypyElFXUecBUxIQj0Wly21tcISgaZhCxuXSsay9AgYuGZhizk83RT1ST4rqwZygatkkaTyq64gMuGFejvLWIDtFFw2/N1clG7+9LxVm+efFtiNmTaetOAL+OztmsYyOEQurE5oaW60I+pzBu8WqrHvv7T1MUIkfZI58WBbmsX+uKBGqZFJ7fjTCNLGafJ4Rx7/mf7vQC8h68oztvHZHRX/lDoLfzvUSElUdzNnyaFBr9g/HVZhSj6/y5b6FDjm3xQzI+a9txP8rfVzH+5vJe09a4y1ZhMoMzjKKooXYZMVwwIwYJKoZIhvcNAQkVMRYEFEy9ClbuXklnr4IYc7A0OVi5CGuGMDUGCSqGSIb3DQEJFDEoHiYATQB5ACAAUwBlAGwAZgAgAFMAaQBnAG4AZQBkACAAQwBlAHIAdDAxMCEwCQYFKw4DAhoFAAQU5CHWESZpMgul1RafRMoAv+V6tLMECKZ/KM3TIM49AgIIAA==CertificateKey12345Endpointgateway.push.apple.comP90DSharedAccessKeyNoneListen2013-05-13T13:49:07.8436798Z2013-05-13T13:49:07.8436798ZDefaultListenSharedAccessSignaturea/ibkGM5z3NoCvTqq/rrSyC8d95KniJ9T3P4XFFe+4c=SharedAccessKeyNoneListenManageSend2013-05-13T13:49:07.8436798Z2013-05-13T13:49:07.8436798ZDefaultFullSharedAccessSignatureHtVU63kd9ct15rbfjJZNhQ60zLA3H0eTj+S8IUCnxGg=", { 'transfer-encoding': 'chunked', 'content-type': 'application/atom+xml;type=feed;charset=utf-8', server: 'Microsoft-HTTPAPI/2.0', - date: 'Fri, 19 Apr 2013 23:51:56 GMT' }); + date: 'Mon, 13 May 2013 13:49:12 GMT' }); return result; }, function (nock) { var result = nock('https://ciserversb-sb.accesscontrol.windows.net:443') .filteringRequestBody(function (path) { return '*';}) .post('/WRAPv0.9/', '*') - .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt3%253fapi-version%253d2013-04%26ExpiresOn%3d1366416718%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dtqPcqSE%252bCStYxg4suyw1z90OxftYIFHIdlxJnQ02ut0%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt3%253fapi-version%253d2013-04%26ExpiresOn%3d1368454155%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3djPHtORxqzlO40KXWQhGtm55eYYXA2tElWXy0SiXs01Q%253d&wrap_access_token_expires_in=1200", { 'cache-control': 'no-cache, no-store', pragma: 'no-cache', 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', expires: '-1', - 'request-id': '83b72438-0edd-4f08-a595-6f9c306d79a6', + 'request-id': 'bd00b16c-3c87-4a53-84a2-c3f91da24444', 'x-content-type-options': 'nosniff', - date: 'Fri, 19 Apr 2013 23:51:57 GMT', - 'content-length': '573' }); + date: 'Mon, 13 May 2013 13:49:15 GMT', + 'content-length': '569' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .delete('/xplathubnxt2?api-version=2013-04') + .reply(404, "404No service is hosted at the specified address..TrackingId:65f64889-73ed-4b46-a697-63bcb9bb7c8b_G4,TimeStamp:5/13/2013 1:49:15 PM", { 'transfer-encoding': 'chunked', + 'content-type': 'application/xml; charset=utf-8', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 13 May 2013 13:49:15 GMT' }); return result; }, function (nock) { var result = nock('https://ciserversb.servicebus.windows.net:443') .filteringRequestBody(function (path) { return '*';}) .put('/xplathubnxt3?api-version=2013-04', '*') - .reply(201, "https://ciserversb.servicebus.windows.net/xplathubnxt3?api-version=2013-04xplathubnxt32013-04-19T23:51:59Z2013-04-19T23:51:59ZciserversbApnsCertificateMIIKaAIBAzCCCi4GCSqGSIb3DQEHAaCCCh8EggobMIIKFzCCBJcGCSqGSIb3DQEHBqCCBIgwggSEAgEAMIIEfQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQYwDgQIWGoWgJ5f7psCAggAgIIEUEgM4C5KBq7AeDbr4YsE3S7kblLwJzPKeed1X7jzrhwDDUiGKYlDFKmiSOkQ8mMIU3i5HvjVUMo4KTxSB2UjWYUl3G9DnYSia/HAz0IOuPPC6DmB3pEUEQ+XFAnQ6U7JAVatHRX/5iRjuIfniiSzDl669YojLOgRgHSZJGWW4HnzEA2K09JtFVY+cwkN4uDhQsnq/z5D/uyqq9n9zN34tyd5H9eI4NYFrKXUs8gtCq+Rwxfl/jzwndUAOqm57wCTQfQSvO8qR7Bl/aOZvIzfBejT8qDLod6FAedSdd5jQX1zdyF6GtWM6AmAGLywZIz1iQcFd2kOfjIaj0/+QNAug3UF5+5FEy8GcO5dAPNxcLquySXf0MExdc7ZpIpy3oJ2/25xJKbYEe7vQqKKFBT30qCtZDYUo6dDRLDG0IM2fGAN5h2GfP6zQI3N8qKYYB03tdkTLoZMYXyTDgdjHboaJ6Bvtx1FXaVMTzbdopGB57xOO3sBYq4P3jafS4rgqXMGUwkN+DX7/cMUKDTOi42KF+En2U1dIbctNojtUjkmblXMIAZ4dksUHA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EDHhNoC5lDBgQ871xkpPZQUoS57KyKx+BZG+IrzZJ45O+jtpU5TajSjGY399YBJbnKf6gwVnguV4lzs33k4GqGUuQyMqWIQlNonhnruRB25tszsf7/jClKQtnHx4WpU1WxWp2nV+0XK/6B/5lIhrSSPhDPntzaYBqknPybO7snNLTDaKVXib/c6OFmM/EHHArESfGqiCe+MRk0BI+GlnmypyElFXUecBUxIQj0Wly21tcISgaZhCxuXSsay9AgYuGZhizk83RT1ST4rqwZygatkkaTyq64gMuGFejvLWIDtFFw2/N1clG7+9LxVm+efFtiNmTaetOAL+OztmsYyOEQurE5oaW60I+pzBu8WqrHvv7T1MUIkfZI58WBbmsX+uKBGqZFJ7fjTCNLGafJ4Rx7/mf7vQC8h68oztvHZHRX/lDoLfzvUSElUdzNnyaFBr9g/HVZhSj6/y5b6FDjm3xQzI+a9txP8rfVzH+5vJe09a4y1ZhMoMzjKKooXYZMVwwIwYJKoZIhvcNAQkVMRYEFEy9ClbuXklnr4IYc7A0OVi5CGuGMDUGCSqGSIb3DQEJFDEoHiYATQB5ACAAUwBlAGwAZgAgAFMAaQBnAG4AZQBkACAAQwBlAHIAdDAxMCEwCQYFKw4DAhoFAAQU5CHWESZpMgul1RafRMoAv+V6tLMECKZ/KM3TIM49AgIIAA==CertificateKey12345Endpointgateway.push.apple.comP90DSharedAccessKeyNoneListen2013-04-19T23:51:59.8493471Z2013-04-19T23:51:59.8493471ZDefaultListenSharedAccessSignatureN58hRZLGn7Gn6gvoCV4AE06TE/pahlAyb9Y0n0nvhwE=SharedAccessKeyNoneListenManageSend2013-04-19T23:51:59.8493471Z2013-04-19T23:51:59.8493471ZDefaultFullSharedAccessSignatureCS8L8onVdxzQKn+391q5TZOFGM7JnQA7/nOia7WN0m4=", { 'transfer-encoding': 'chunked', + .reply(201, "https://ciserversb.servicebus.windows.net/xplathubnxt3?api-version=2013-04xplathubnxt32013-05-13T13:49:16Z2013-05-13T13:49:16ZciserversbApnsCertificateMIIKaAIBAzCCCi4GC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CNLGafJ4Rx7/mf7vQC8h68oztvHZHRX/lDoLfzvUSElUdzNnyaFBr9g/HVZhSj6/y5b6FDjm3xQzI+a9txP8rfVzH+5vJe09a4y1ZhMoMzjKKooXYZMVwwIwYJKoZIhvcNAQkVMRYEFEy9ClbuXklnr4IYc7A0OVi5CGuGMDUGCSqGSIb3DQEJFDEoHiYATQB5ACAAUwBlAGwAZgAgAFMAaQBnAG4AZQBkACAAQwBlAHIAdDAxMCEwCQYFKw4DAhoFAAQU5CHWESZpMgul1RafRMoAv+V6tLMECKZ/KM3TIM49AgIIAA==CertificateKey12345Endpointgateway.push.apple.comP90DSharedAccessKeyNoneListen2013-05-13T13:49:16.9899992Z2013-05-13T13:49:16.9899992ZDefaultListenSharedAccessSignatureV3+V3pXTzihRmEhF+RjkX1qsMc4JjPP4u5BNTcylhlU=SharedAccessKeyNoneListenManageSend2013-05-13T13:49:16.9899992Z2013-05-13T13:49:16.9899992ZDefaultFullSharedAccessSignatureKmIMfhOhPuNe4KwzGlhx4II619kpmyQFUXt130mGIRs=", { 'transfer-encoding': 'chunked', 'content-type': 'application/atom+xml;type=entry;charset=utf-8', server: 'Microsoft-HTTPAPI/2.0', - date: 'Fri, 19 Apr 2013 23:51:59 GMT' }); + date: 'Mon, 13 May 2013 13:49:16 GMT' }); return result; }, function (nock) { var result = nock('https://ciserversb-sb.accesscontrol.windows.net:443') .filteringRequestBody(function (path) { return '*';}) .post('/WRAPv0.9/', '*') - .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt3%252fregistrations%253fapi-version%253d2013-04%26ExpiresOn%3d1366416720%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dry2MYXrI3ICLrgqP%252fxigoZAKWqbMsjYBErUHdFToZBM%253d&wrap_access_token_expires_in=1200", { 'cache-control': 'no-cache, no-store', + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt3%252fregistrations%253fapi-version%253d2013-04%26ExpiresOn%3d1368454158%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3damDg%252f6lBk%252frWAKO0%252fP24OMTCQ5BrXO9ygHQAn5qP7zc%253d&wrap_access_token_expires_in=1200", { 'cache-control': 'no-cache, no-store', pragma: 'no-cache', 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', expires: '-1', - 'request-id': '931e44f6-4ff8-4902-a454-61ac27d8d2e1', + 'request-id': '5a227dc4-a466-4478-8b38-ca8e83537e2d', 'x-content-type-options': 'nosniff', - date: 'Fri, 19 Apr 2013 23:52:00 GMT', - 'content-length': '591' }); + date: 'Mon, 13 May 2013 13:49:18 GMT', + 'content-length': '599' }); return result; }, function (nock) { var result = nock('https://ciserversb.servicebus.windows.net:443') .filteringRequestBody(function (path) { return '*';}) .post('/xplathubnxt3/registrations?api-version=2013-04', '*') - .reply(200, "https://ciserversb.servicebus.windows.net/xplathubnxt3/registrations/8229404852169683010-3188109723213992599?api-version=2013-048229404852169683010-31881097232139925992013-04-19T23:52:02Z2013-04-19T23:52:02Z12013-07-18T23:52:02.467Z8229404852169683010-31881097232139925990F744707BEBCF74F9B7C25D48E3358945F6AA01DA5DDB387462C7EAF61BBAD78", { 'transfer-encoding': 'chunked', + .reply(200, "https://ciserversb.servicebus.windows.net/xplathubnxt3/registrations/4253073823066480046-6022282962053815640?api-version=2013-044253073823066480046-60222829620538156402013-05-13T13:49:20Z2013-05-13T13:49:20Z12013-08-11T13:49:20.126Z4253073823066480046-6022282962053815640mytag0F744707BEBCF74F9B7C25D48E3358945F6AA01DA5DDB387462C7EAF61BBAD78", { 'transfer-encoding': 'chunked', 'content-type': 'application/atom+xml;type=entry;charset=utf-8', - 'content-location': 'https://ciserversb.servicebus.windows.net/xplathubnxt3/registrations/8229404852169683010-3188109723213992599?api-version=2013-04', + 'content-location': 'https://ciserversb.servicebus.windows.net/xplathubnxt3/registrations/4253073823066480046-6022282962053815640?api-version=2013-04', etag: 'W/"1"', server: 'Microsoft-HTTPAPI/2.0', - date: 'Fri, 19 Apr 2013 23:52:01 GMT' }); + date: 'Mon, 13 May 2013 13:49:20 GMT' }); return result; }, function (nock) { var result = nock('https://ciserversb-sb.accesscontrol.windows.net:443') .filteringRequestBody(function (path) { return '*';}) .post('/WRAPv0.9/', '*') - .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt3%252fregistrations%252f8229404852169683010-3188109723213992599%253fapi-version%253d2013-04%26ExpiresOn%3d1366416723%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dz%252fVFOzM%252b3cLLNx%252bRi1dx03G%252fwEf0zkWqj7ouNp1jF7U%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt3%252ftags%252ftag%252fregistrations%253f%252524top%253d10%2526api-version%253d2013-04%26ExpiresOn%3d1368454161%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dF%252fvtc4QH5zsx6pSQBAO44hQDBB9WcAP%252bulQc9yRRzp0%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', pragma: 'no-cache', 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', expires: '-1', - 'request-id': 'fb76a4f9-57b2-42cb-97ee-7ecb4b55120f', + 'request-id': '88b2e684-2863-49a4-9dd5-407a147b515c', 'x-content-type-options': 'nosniff', - date: 'Fri, 19 Apr 2013 23:52:03 GMT', - 'content-length': '647' }); + date: 'Mon, 13 May 2013 13:49:21 GMT', + 'content-length': '634' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .get('/xplathubnxt3/tags/tag/registrations?%24top=10&api-version=2013-04') + .reply(200, "Registrationshttps://ciserversb.servicebus.windows.net/xplathubnxt3/tags/tag/registrations?%24top=10&api-version=2013-042013-05-13T13:49:23Z", { 'transfer-encoding': 'chunked', + 'content-type': 'application/atom+xml;type=feed;charset=utf-8', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 13 May 2013 13:49:22 GMT' }); + return result; }], +[function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .get('/$Resources/NotificationHubs?api-version=2013-04') + .reply(200, "NotificationHubshttps://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2013-042013-05-13T13:49:24Zhttps://ciserversb.servicebus.windows.net/myhub?api-version=2013-04myhub2013-04-26T18:02:22Z2013-04-26T18:10:31ZciserversbP90DPackageSidms-app://s-1-15-2-2060948854-1555579440-2624401838-1061041892-4152237894-3341387579-3741301639SecretKey1t/f1uWV3ehU8Wo/+vRRusLPlmwUOYudWindowsLiveEndpointhttps://login.live.com/accesstoken.srfSharedAccessKeyNoneListenDefaultListenSharedAccessSignaturef7ReDRk4hzKRfLtXHjrl3vTNabq8xPKi8OpvTKlokBU=SharedAccessKeyNoneListenManageSendDefaultFullSharedAccessSignaturev7WXGFfWuD+6uVY40Y13h6gjt0Q/qb5QdIREMw5MtO0=https://ciserversb.servicebus.windows.net/myhub2?api-version=2013-04myhub22013-05-13T12:31:11Z2013-05-13T12:31:11ZciserversbP90DSharedAccessKeyNoneListen2013-05-13T12:31:11.0727424Z2013-05-13T12:31:11.0727424ZDefaultListenSharedAccessSignaturewSEu4/IJLTn9X0ce7NBD1aFIsUEuL2H+Pa/3Cp36pcA=SharedAccessKeyNoneListenManageSend2013-05-13T12:31:11.0727424Z2013-05-13T12:31:11.0727424ZDefaultFullSharedAccessSignatureFI8DkfgSZJCJ1BH/W7cIJf4oXPkM6HwuWuABvL88Znk=", { 'transfer-encoding': 'chunked', + 'content-type': 'application/atom+xml;type=feed;charset=utf-8', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 13 May 2013 13:49:24 GMT' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb-sb.accesscontrol.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.post('/WRAPv0.9/', '*') + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt4%253fapi-version%253d2013-04%26ExpiresOn%3d1368454166%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3d3f28mXhbwmw6k3iTaktKNOB2dbHCi%252fZmD5AS95lAlmU%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', + pragma: 'no-cache', + 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', + expires: '-1', + 'request-id': 'b0093dd5-3205-43a9-b58e-a5f3455053b2', + 'x-content-type-options': 'nosniff', + date: 'Mon, 13 May 2013 13:49:26 GMT', + 'content-length': '573' }); return result; }, function (nock) { var result = nock('https://ciserversb.servicebus.windows.net:443') .filteringRequestBody(function (path) { return '*';}) -.put('/xplathubnxt3/registrations/8229404852169683010-3188109723213992599?api-version=2013-04', '*') - .reply(200, "https://ciserversb.servicebus.windows.net/xplathubnxt3/registrations/8229404852169683010-3188109723213992599?api-version=2013-048229404852169683010-31881097232139925992013-04-19T23:52:05Z2013-04-19T23:52:05Z12013-07-18T23:52:05.139Z8229404852169683010-31881097232139925990F744707BEBCF74F9B7C25D48E3358945F6AA01DA5DDB387462C7EAF61BBAD78", { 'transfer-encoding': 'chunked', +.put('/xplathubnxt4?api-version=2013-04', '*') + .reply(201, "https://ciserversb.servicebus.windows.net/xplathubnxt4?api-version=2013-04xplathubnxt42013-05-13T13:49:28Z2013-05-13T13:49:28ZciserversbApnsCertificateMIIKaAIBAzCCCi4GCSqGSIb3DQEHAaCCCh8EggobMIIKFzCCBJcGCSqGSIb3DQEHBqCCBIgwggSEAgEAMIIEfQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQYwDgQIWGoWgJ5f7psCAggAgIIEUEgM4C5KBq7AeDbr4YsE3S7kblLwJzPKeed1X7jzrhwDDUiGKYlDFKmiSOkQ8mMIU3i5HvjVUMo4KTxSB2UjWYUl3G9DnYSia/HAz0IOuPPC6DmB3pEUEQ+XFAnQ6U7JAVatHRX/5iRjuIfniiSzDl669YojLOgRgHSZJGWW4HnzEA2K09JtFVY+cwkN4uDhQsnq/z5D/uyqq9n9zN34tyd5H9eI4NYFrKXUs8gtCq+Rwxfl/jzwndUAOqm57wCTQfQSvO8qR7Bl/aOZvIzfBejT8qDLod6FAedSdd5jQX1zdyF6GtWM6AmAGLywZIz1iQcFd2kOfjIaj0/+QNAug3UF5+5FEy8GcO5dAPNxcLquySXf0MExdc7ZpIpy3oJ2/25xJKbYEe7vQqKKFBT30qCtZDYUo6dDRLDG0IM2fGAN5h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PQg37qOalWGpHsepO/9ClFdnDhu5OmqTAwa4VnQ1BOh/wgRR85JVcEZ5DW0xQZefrBpv6vMSTXKQdXo84VNiGRfZUggDZw7gFEKQsdoJhwW9kKCAmU9bk7F/hLxC8En/larQE9KPEDHhNoC5lDBgQ871xkpPZQUoS57KyKx+BZG+IrzZJ45O+jtpU5TajSjGY399YBJbnKf6gwVnguV4lzs33k4GqGUuQyMqWIQlNonhnruRB25tszsf7/jClKQtnHx4WpU1WxWp2nV+0XK/6B/5lIhrSSPhDPntzaYBqknPybO7snNLTDaKVXib/c6OFmM/EHHArESfGqiCe+MRk0BI+GlnmypyElFXUecBUxIQj0Wly21tcISgaZhCxuXSsay9AgYuGZhizk83RT1ST4rqwZygatkkaTyq64gMuGFejvLWIDtFFw2/N1clG7+9LxVm+efFtiNmTaetOAL+OztmsYyOEQurE5oaW60I+pzBu8WqrHvv7T1MUIkfZI58WBbmsX+uKBGqZFJ7fjTCNLGafJ4Rx7/mf7vQC8h68oztvHZHRX/lDoLfzvUSElUdzNnyaFBr9g/HVZhSj6/y5b6FDjm3xQzI+a9txP8rfVzH+5vJe09a4y1ZhMoMzjKKooXYZMVwwIwYJKoZIhvcNAQkVMRYEFEy9ClbuXklnr4IYc7A0OVi5CGuGMDUGCSqGSIb3DQEJFDEoHiYATQB5ACAAUwBlAGwAZgAgAFMAaQBnAG4AZQBkACAAQwBlAHIAdDAxMCEwCQYFKw4DAhoFAAQU5CHWESZpMgul1RafRMoAv+V6tLMECKZ/KM3TIM49AgIIAA==CertificateKey12345Endpointgateway.push.apple.comP90DSharedAccessKeyNoneListen2013-05-13T13:49:28.1804437Z2013-05-13T13:49:28.1804437ZDefaultListenSharedAccessSignatureqWyeA73KJZrKDxWY54jef4d/qEm66aEr/MuuIvbT0n8=SharedAccessKeyNoneListenManageSend2013-05-13T13:49:28.1804437Z2013-05-13T13:49:28.1804437ZDefaultFullSharedAccessSignaturejdndrgirLUk3uFT/sTgleUR2H5toYxseAkRPKoA2GVU=", { 'transfer-encoding': 'chunked', 'content-type': 'application/atom+xml;type=entry;charset=utf-8', - etag: 'W/"1"', server: 'Microsoft-HTTPAPI/2.0', - date: 'Fri, 19 Apr 2013 23:52:05 GMT' }); + date: 'Mon, 13 May 2013 13:49:28 GMT' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb-sb.accesscontrol.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.post('/WRAPv0.9/', '*') + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt4%252fregistrations%253fapi-version%253d2013-04%26ExpiresOn%3d1368454170%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dFNMiP85s0hgXcoGWUHvKg3BHPUzL1m7fYFAH%252fz%252f7cFI%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', + pragma: 'no-cache', + 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', + expires: '-1', + 'request-id': '02def507-8a8a-4711-b4fa-15caadd93989', + 'x-content-type-options': 'nosniff', + date: 'Mon, 13 May 2013 13:49:30 GMT', + 'content-length': '595' }); return result; }, function (nock) { var result = nock('https://ciserversb.servicebus.windows.net:443') - .delete('/xplathubnxt3/registrations/8229404852169683010-3188109723213992599?api-version=2013-04') + .filteringRequestBody(function (path) { return '*';}) +.post('/xplathubnxt4/registrations?api-version=2013-04', '*') + .reply(200, "https://ciserversb.servicebus.windows.net/xplathubnxt4/registrations/8997424194846565390-959924989368880026?api-version=2013-048997424194846565390-9599249893688800262013-05-13T13:49:32Z2013-05-13T13:49:32Z12013-08-11T13:49:31.961Z8997424194846565390-959924989368880026mytag0F744707BEBCF74F9B7C25D48E3358945F6AA01DA5DDB387462C7EAF61BBAD78", { 'transfer-encoding': 'chunked', + 'content-type': 'application/atom+xml;type=entry;charset=utf-8', + 'content-location': 'https://ciserversb.servicebus.windows.net/xplathubnxt4/registrations/8997424194846565390-959924989368880026?api-version=2013-04', + etag: 'W/"1"', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 13 May 2013 13:49:31 GMT' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb-sb.accesscontrol.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.post('/WRAPv0.9/', '*') + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt4%252ftags%252fmytag%252fregistrations%253f%252524top%253d10%2526api-version%253d2013-04%26ExpiresOn%3d1368454173%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dQUgJ3q%252fIgeKTDZbRlBARgJKyQ%252fjesQxAL6F1eVDpzCI%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', + pragma: 'no-cache', + 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', + expires: '-1', + 'request-id': '164cf6ea-2aab-42fe-9565-1ef841c11fa2', + 'x-content-type-options': 'nosniff', + date: 'Mon, 13 May 2013 13:49:32 GMT', + 'content-length': '636' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .get('/xplathubnxt4/tags/mytag/registrations?%24top=10&api-version=2013-04') + .reply(200, "Registrationshttps://ciserversb.servicebus.windows.net/xplathubnxt4/tags/mytag/registrations?%24top=10&api-version=2013-042013-05-13T13:49:34Zhttps://ciserversb.servicebus.windows.net/xplathubnxt4/tags/mytag/registrations/8997424194846565390-959924989368880026?%24top=10&api-version=2013-048997424194846565390-9599249893688800262013-05-13T13:49:34Z2013-05-13T13:49:34Z12013-08-11T13:49:31.961Z8997424194846565390-959924989368880026mytag0F744707BEBCF74F9B7C25D48E3358945F6AA01DA5DDB387462C7EAF61BBAD78", { 'transfer-encoding': 'chunked', + 'content-type': 'application/atom+xml;type=feed;charset=utf-8', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 13 May 2013 13:49:34 GMT' }); + return result; }], +[function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .get('/$Resources/NotificationHubs?api-version=2013-04') + .reply(200, "NotificationHubshttps://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2013-042013-05-13T13:49:36Zhttps://ciserversb.servicebus.windows.net/myhub?api-version=2013-04myhub2013-04-26T18:02:22Z2013-04-26T18:10:31ZciserversbP90DPackageSidms-app://s-1-15-2-2060948854-1555579440-2624401838-1061041892-4152237894-3341387579-3741301639SecretKey1t/f1uWV3ehU8Wo/+vRRusLPlmwUOYudWindowsLiveEndpointhttps://login.live.com/accesstoken.srfSharedAccessKeyNoneListenDefaultListenSharedAccessSignaturef7ReDRk4hzKRfLtXHjrl3vTNabq8xPKi8OpvTKlokBU=SharedAccessKeyNoneListenManageSendDefaultFullSharedAccessSignaturev7WXGFfWuD+6uVY40Y13h6gjt0Q/qb5QdIREMw5MtO0=https://ciserversb.servicebus.windows.net/myhub2?api-version=2013-04myhub22013-05-13T12:31:11Z2013-05-13T12:31:11ZciserversbP90DSharedAccessKeyNoneListen2013-05-13T12:31:11.0727424Z2013-05-13T12:31:11.0727424ZDefaultListenSharedAccessSignaturewSEu4/IJLTn9X0ce7NBD1aFIsUEuL2H+Pa/3Cp36pcA=SharedAccessKeyNoneListenManageSend2013-05-13T12:31:11.0727424Z2013-05-13T12:31:11.0727424ZDefaultFullSharedAccessSignatureFI8DkfgSZJCJ1BH/W7cIJf4oXPkM6HwuWuABvL88Znk=https://ciserversb.servicebus.windows.net/xplathubnxt4?api-version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mTaetOAL+OztmsYyOEQurE5oaW60I+pzBu8WqrHvv7T1MUIkfZI58WBbmsX+uKBGqZFJ7fjTCNLGafJ4Rx7/mf7vQC8h68oztvHZHRX/lDoLfzvUSElUdzNnyaFBr9g/HVZhSj6/y5b6FDjm3xQzI+a9txP8rfVzH+5vJe09a4y1ZhMoMzjKKooXYZMVwwIwYJKoZIhvcNAQkVMRYEFEy9ClbuXklnr4IYc7A0OVi5CGuGMDUGCSqGSIb3DQEJFDEoHiYATQB5ACAAUwBlAGwAZgAgAFMAaQBnAG4AZQBkACAAQwBlAHIAdDAxMCEwCQYFKw4DAhoFAAQU5CHWESZpMgul1RafRMoAv+V6tLMECKZ/KM3TIM49AgIIAA==CertificateKey12345Endpointgateway.push.apple.comP90DSharedAccessKeyNoneListen2013-05-13T13:49:28.1804437Z2013-05-13T13:49:28.1804437ZDefaultListenSharedAccessSignatureqWyeA73KJZrKDxWY54jef4d/qEm66aEr/MuuIvbT0n8=SharedAccessKeyNoneListenManageSend2013-05-13T13:49:28.1804437Z2013-05-13T13:49:28.1804437ZDefaultFullSharedAccessSignaturejdndrgirLUk3uFT/sTgleUR2H5toYxseAkRPKoA2GVU=", { 'transfer-encoding': 'chunked', + 'content-type': 'application/atom+xml;type=feed;charset=utf-8', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 13 May 2013 13:49:35 GMT' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb-sb.accesscontrol.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.post('/WRAPv0.9/', '*') + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt5%253fapi-version%253d2013-04%26ExpiresOn%3d1368454179%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3duzeEf0cjhXyQsEgj62WMLWdwDvs9HAO3L5Hw5FeOGq0%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', + pragma: 'no-cache', + 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', + expires: '-1', + 'request-id': '33974fde-8414-44dc-87cd-fbab4bc4b281', + 'x-content-type-options': 'nosniff', + date: 'Mon, 13 May 2013 13:49:38 GMT', + 'content-length': '569' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .delete('/xplathubnxt4?api-version=2013-04') + .reply(404, "404No service is hosted at the specified address..TrackingId:557e4a42-febd-4a96-95a3-7d68a07138fa_G5,TimeStamp:5/13/2013 1:49:39 PM", { 'transfer-encoding': 'chunked', + 'content-type': 'application/xml; charset=utf-8', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 13 May 2013 13:49:39 GMT' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.put('/xplathubnxt5?api-version=2013-04', '*') + .reply(201, "https://ciserversb.servicebus.windows.net/xplathubnxt5?api-version=2013-04xplathubnxt52013-05-13T13:49:43Z2013-05-13T13:49:43ZciserversbApnsCertificateMIIKaAIBAzCCCi4GCSqGSIb3DQEHAaCCCh8EggobMIIKFzCCBJcGCSqGSIb3DQEHBqCCBIgwggSEAgEAMIIEfQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQYwDgQIWGoWgJ5f7psCAggAgIIEUEgM4C5KBq7AeDbr4YsE3S7kblLwJzPKeed1X7jzrhwDDUiGKYlDFKmiSOkQ8mMIU3i5HvjVUMo4KTxSB2UjWYUl3G9DnYSia/HAz0IOuPPC6DmB3pEUEQ+XFAnQ6U7JAVatHRX/5iRjuIfniiSzDl669YojLOgRgHSZJGWW4HnzEA2K09JtFVY+cwkN4uDhQsnq/z5D/uyqq9n9zN34tyd5H9eI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en2013-05-13T13:49:42.9114067Z2013-05-13T13:49:42.9114067ZDefaultListenSharedAccessSignatureoRA9Pk5Zaxp08VesjYt3GZK4MXdsxw4Qi9M+KSQv5V4=SharedAccessKeyNoneListenManageSend2013-05-13T13:49:42.9114067Z2013-05-13T13:49:42.9114067ZDefaultFullSharedAccessSignatureB5H6tKJ1Eesxtwp+vNyh4xBq0xFg1MeqC9XjR3cAWSw=", { 'transfer-encoding': 'chunked', + 'content-type': 'application/atom+xml;type=entry;charset=utf-8', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 13 May 2013 13:49:42 GMT' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb-sb.accesscontrol.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.post('/WRAPv0.9/', '*') + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt5%252fregistrations%253fapi-version%253d2013-04%26ExpiresOn%3d1368454185%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3d7%252fr4E%252fI2sqmSjjMX319OwVGzFpxqvdQNkpmDWz3v1vk%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', + pragma: 'no-cache', + 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', + expires: '-1', + 'request-id': '668941b5-a5cd-405c-840e-06c83accc5a3', + 'x-content-type-options': 'nosniff', + date: 'Mon, 13 May 2013 13:49:44 GMT', + 'content-length': '595' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.post('/xplathubnxt5/registrations?api-version=2013-04', '*') + .reply(200, "https://ciserversb.servicebus.windows.net/xplathubnxt5/registrations/7896648084925574291-3901917261305533508?api-version=2013-047896648084925574291-39019172613055335082013-05-13T13:49:46Z2013-05-13T13:49:46Z12013-08-11T13:49:46.717Z7896648084925574291-3901917261305533508mytag0F744707BEBCF74F9B7C25D48E3358945F6AA01DA5DDB387462C7EAF61BBAD78", { 'transfer-encoding': 'chunked', + 'content-type': 'application/atom+xml;type=entry;charset=utf-8', + 'content-location': 'https://ciserversb.servicebus.windows.net/xplathubnxt5/registrations/7896648084925574291-3901917261305533508?api-version=2013-04', + etag: 'W/"1"', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 13 May 2013 13:49:46 GMT' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb-sb.accesscontrol.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.post('/WRAPv0.9/', '*') + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt5%252fregistrations%252f%253f%252524filter%253dDeviceToken%252520eq%252520%2525270F744707BEBCF74F9B7C25D48E3358945F6AA01DA5DDB387462C7EAF61BBAD78%252527%2526%252524top%253d10%2526api-version%253d2013-04%26ExpiresOn%3d1368454187%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3djT0ax2jwryT7msqffz09%252bUTN%252fDRpDLyfJz%252b7xtqI12g%253d&wrap_access_token_expires_in=1200", { 'cache-control': 'no-cache, no-store', + pragma: 'no-cache', + 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', + expires: '-1', + 'request-id': '5798d5b6-ccbf-4be0-923e-a850f8e700ad', + 'x-content-type-options': 'nosniff', + date: 'Mon, 13 May 2013 13:49:47 GMT', + 'content-length': '754' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .get('/xplathubnxt5/registrations/?%24filter=DeviceToken%20eq%20%270F744707BEBCF74F9B7C25D48E3358945F6AA01DA5DDB387462C7EAF61BBAD78%27&%24top=10&api-version=2013-04') + .reply(200, "Registrationshttps://ciserversb.servicebus.windows.net/xplathubnxt5/registrations/?%24filter=DeviceToken%20eq%20%270F744707BEBCF74F9B7C25D48E3358945F6AA01DA5DDB387462C7EAF61BBAD78%27&%24top=10&api-version=2013-042013-05-13T13:49:49Zhttps://ciserversb.servicebus.windows.net/xplathubnxt5/registrations/7896648084925574291-3901917261305533508?%24filter=DeviceToken%20eq%20%270F744707BEBCF74F9B7C25D48E3358945F6AA01DA5DDB387462C7EAF61BBAD78%27&%24top=10&api-version=2013-047896648084925574291-39019172613055335082013-05-13T13:49:49Z2013-05-13T13:49:49Z12013-08-11T13:49:46.717Z7896648084925574291-3901917261305533508mytag0F744707BEBCF74F9B7C25D48E3358945F6AA01DA5DDB387462C7EAF61BBAD78", { 'transfer-encoding': 'chunked', + 'content-type': 'application/atom+xml;type=feed;charset=utf-8', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 13 May 2013 13:49:49 GMT' }); + return result; }], +[function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .get('/$Resources/NotificationHubs?api-version=2013-04') + .reply(200, "NotificationHubshttps://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2013-042013-05-13T13:49:51Zhttps://ciserversb.servicebus.windows.net/myhub?api-version=2013-04myhub2013-04-26T18:02:22Z2013-04-26T18:10:31ZciserversbP90DPackageSidms-app://s-1-15-2-2060948854-1555579440-2624401838-1061041892-4152237894-3341387579-3741301639SecretKey1t/f1uWV3ehU8Wo/+vRRusLPlmwUOYudWindowsLiveEndpointhttps://login.live.com/accesstoken.srfSharedAccessKeyNoneListenDefaultListenSharedAccessSignaturef7ReDRk4hzKRfLtXHjrl3vTNabq8xPKi8OpvTKlokBU=SharedAccessKeyNoneListenManageSendDefaultFullSharedAccessSignaturev7WXGFfWuD+6uVY40Y13h6gjt0Q/qb5QdIREMw5MtO0=https://ciserversb.servicebus.windows.net/myhub2?api-version=2013-04myhub22013-05-13T12:31:11Z2013-05-13T12:31:11ZciserversbP90DSharedAccessKeyNoneListen2013-05-13T12:31:11.0727424Z2013-05-13T12:31:11.0727424ZDefaultListenSharedAccessSignaturewSEu4/IJLTn9X0ce7NBD1aFIsUEuL2H+Pa/3Cp36pcA=SharedAccessKeyNoneListenManageSend2013-05-13T12:31:11.0727424Z2013-05-13T12:31:11.0727424ZDefaultFullSharedAccessSignatureFI8DkfgSZJCJ1BH/W7cIJf4oXPkM6HwuWuABvL88Znk=", { 'transfer-encoding': 'chunked', + 'content-type': 'application/atom+xml;type=feed;charset=utf-8', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 13 May 2013 13:49:50 GMT' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb-sb.accesscontrol.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.post('/WRAPv0.9/', '*') + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt6%253fapi-version%253d2013-04%26ExpiresOn%3d1368454195%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dC0VJVYIRlM2GvfWKrsOsCWp1bX4xggwHHXiumU4e048%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', + pragma: 'no-cache', + 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', + expires: '-1', + 'request-id': 'dd600aa1-305b-48b9-ba10-50f49c3a42a8', + 'x-content-type-options': 'nosniff', + date: 'Mon, 13 May 2013 13:49:54 GMT', + 'content-length': '569' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.put('/xplathubnxt6?api-version=2013-04', '*') + .reply(201, "https://ciserversb.servicebus.windows.net/xplathubnxt6?api-version=2013-04xplathubnxt62013-05-13T13:49:57Z2013-05-13T13:49:57ZciserversbApnsCertificateMIIKaAIBAzCCCi4GCSqGSIb3DQEHAaCCCh8EggobMIIKFzCCBJcGCSqGSIb3DQEHBqCCBIgwggSEAgEAMIIEfQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQYwDgQIWGoWgJ5f7psCAggAgIIEUEgM4C5KBq7AeDbr4YsE3S7kblLwJzPKeed1X7jzrhwDDUiGKYlDFKmiSOkQ8mMIU3i5HvjVUMo4KTxSB2UjWYUl3G9DnYSia/HAz0IOuPPC6DmB3pEUEQ+XFAnQ6U7JAVatHRX/5iRjuIfniiSzDl669YojLOgRgHSZJGWW4HnzEA2K09JtFVY+cwkN4uDhQsnq/z5D/uyqq9n9zN34tyd5H9eI4NYFrKXUs8gtCq+Rwxfl/jzwndUAOqm57wCTQfQSvO8qR7Bl/aOZvIzfBejT8qDLod6FAedSdd5jQX1zdyF6GtWM6AmAGLywZIz1iQcFd2kOfjIaj0/+QNAug3UF5+5FEy8GcO5dAPNxcLquySXf0MExdc7ZpIpy3oJ2/25xJKbYEe7vQqKKFBT30qCtZDYUo6dDRLDG0IM2fGAN5h2GfP6zQI3N8qKYYB03tdkTLoZMYXyTDgdjHboaJ6Bvtx1FXaVMTzbdopGB57xOO3sBYq4P3jafS4rgqXMGUwkN+DX7/cMUKDTOi42KF+En2U1dIbctNojtUjkmblXMIAZ4dksUHAuH6tP0PfzB5QM7xB5VOVi3VJamVpp67yIidSNZocJyYmwjq27RwTG4DPzwk8/xqtFSQbM8Z7Uf0A4pRRbzNy6k5d+DMgpruvInUwj60fncoExUof1TtZs0FFw5T7aFqhyqwrPKzG7paikQ2DnurJEnMZvcFGrgr/Egv8gfv0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DaKVXib/c6OFmM/EHHArESfGqiCe+MRk0BI+GlnmypyElFXUecBUxIQj0Wly21tcISgaZhCxuXSsay9AgYuGZhizk83RT1ST4rqwZygatkkaTyq64gMuGFejvLWIDtFFw2/N1clG7+9LxVm+efFtiNmTaetOAL+OztmsYyOEQurE5oaW60I+pzBu8WqrHvv7T1MUIkfZI58WBbmsX+uKBGqZFJ7fjTCNLGafJ4Rx7/mf7vQC8h68oztvHZHRX/lDoLfzvUSElUdzNnyaFBr9g/HVZhSj6/y5b6FDjm3xQzI+a9txP8rfVzH+5vJe09a4y1ZhMoMzjKKooXYZMVwwIwYJKoZIhvcNAQkVMRYEFEy9ClbuXklnr4IYc7A0OVi5CGuGMDUGCSqGSIb3DQEJFDEoHiYATQB5ACAAUwBlAGwAZgAgAFMAaQBnAG4AZQBkACAAQwBlAHIAdDAxMCEwCQYFKw4DAhoFAAQU5CHWESZpMgul1RafRMoAv+V6tLMECKZ/KM3TIM49AgIIAA==CertificateKey12345Endpointgateway.push.apple.comP90DSharedAccessKeyNoneListen2013-05-13T13:49:57.7744701Z2013-05-13T13:49:57.7744701ZDefaultListenSharedAccessSignaturefYSMCt2ObgXkRPuA8Kthzlq7+q9/vsaG7TyvI0X7D2I=SharedAccessKeyNoneListenManageSend2013-05-13T13:49:57.7744701Z2013-05-13T13:49:57.7744701ZDefaultFullSharedAccessSignatureC4x5TuQIhqGu5sk1qFeTHugBlx33KryMsnjNqIxb6gU=", { 'transfer-encoding': 'chunked', + 'content-type': 'application/atom+xml;type=entry;charset=utf-8', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 13 May 2013 13:49:57 GMT' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb-sb.accesscontrol.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.post('/WRAPv0.9/', '*') + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt6%252fregistrations%253fapi-version%253d2013-04%26ExpiresOn%3d1368454202%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3d2aNCNB4XuSUNW3Q2EAfIoKNmjNrv%252frYRGiFt5Av10j8%253d&wrap_access_token_expires_in=1200", { 'cache-control': 'no-cache, no-store', + pragma: 'no-cache', + 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', + expires: '-1', + 'request-id': '23f79f17-fdfb-4f99-88af-1fcbe819e502', + 'x-content-type-options': 'nosniff', + date: 'Mon, 13 May 2013 13:50:02 GMT', + 'content-length': '591' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.post('/xplathubnxt6/registrations?api-version=2013-04', '*') + .reply(200, "https://ciserversb.servicebus.windows.net/xplathubnxt6/registrations/822336596821324625-3231086195890932215?api-version=2013-04822336596821324625-32310861958909322152013-05-13T13:50:05Z2013-05-13T13:50:05Z12013-08-11T13:50:05.832Z822336596821324625-32310861958909322150F744707BEBCF74F9B7C25D48E3358945F6AA01DA5DDB387462C7EAF61BBAD78", { 'transfer-encoding': 'chunked', + 'content-type': 'application/atom+xml;type=entry;charset=utf-8', + 'content-location': 'https://ciserversb.servicebus.windows.net/xplathubnxt6/registrations/822336596821324625-3231086195890932215?api-version=2013-04', + etag: 'W/"1"', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 13 May 2013 13:50:05 GMT' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb-sb.accesscontrol.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.post('/WRAPv0.9/', '*') + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt6%252fregistrations%252f822336596821324625-3231086195890932215%253fapi-version%253d2013-04%26ExpiresOn%3d1368454206%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dOKzwI%252bITEEzuZKT28WMpdWQWKjOP%252f4ltUsvn0ZNN5h0%253d&wrap_access_token_expires_in=1200", { 'cache-control': 'no-cache, no-store', + pragma: 'no-cache', + 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', + expires: '-1', + 'request-id': 'f25f506a-27e7-46ca-bce4-4c36f131eff2', + 'x-content-type-options': 'nosniff', + date: 'Mon, 13 May 2013 13:50:06 GMT', + 'content-length': '638' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .delete('/xplathubnxt6/registrations/822336596821324625-3231086195890932215?api-version=2013-04') .reply(200, "", { 'content-length': '0', server: 'Microsoft-HTTPAPI/2.0', - date: 'Fri, 19 Apr 2013 23:52:06 GMT' }); + date: 'Mon, 13 May 2013 13:50:07 GMT' }); + return result; }], +[function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .get('/$Resources/NotificationHubs?api-version=2013-04') + .reply(200, "NotificationHubshttps://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2013-042013-05-13T13:50:12Zhttps://ciserversb.servicebus.windows.net/myhub?api-version=2013-04myhub2013-04-26T18:02:22Z2013-04-26T18:10:31ZciserversbP90DPackageSidms-app://s-1-15-2-2060948854-1555579440-2624401838-1061041892-4152237894-3341387579-3741301639SecretKey1t/f1uWV3ehU8Wo/+vRRusLPlmwUOYudWindowsLiveEndpointhttps://login.live.com/accesstoken.srfSharedAccessKeyNoneListenDefaultListenSharedAccessSignaturef7ReDRk4hzKRfLtXHjrl3vTNabq8xPKi8OpvTKlokBU=SharedAccessKeyNoneListenManageSendDefaultFullSharedAccessSignaturev7WXGFfWuD+6uVY40Y13h6gjt0Q/qb5QdIREMw5MtO0=https://ciserversb.servicebus.windows.net/myhub2?api-version=2013-04myhub22013-05-13T12:31:11Z2013-05-13T12:31:11ZciserversbP90DSharedAccessKeyNoneListen2013-05-13T12:31:11.0727424Z2013-05-13T12:31:11.0727424ZDefaultListenSharedAccessSignaturewSEu4/IJLTn9X0ce7NBD1aFIsUEuL2H+Pa/3Cp36pcA=SharedAccessKeyNoneListenManageSend2013-05-13T12:31:11.0727424Z2013-05-13T12:31:11.0727424ZDefaultFullSharedAccessSignatureFI8DkfgSZJCJ1BH/W7cIJf4oXPkM6HwuWuABvL88Znk=", { 'transfer-encoding': 'chunked', + 'content-type': 'application/atom+xml;type=feed;charset=utf-8', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 13 May 2013 13:50:11 GMT' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb-sb.accesscontrol.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.post('/WRAPv0.9/', '*') + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt7%253fapi-version%253d2013-04%26ExpiresOn%3d1368454213%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3d87ijZzCcXbsv48VcBHnWuVWXZQWeQNEaEp3hqVDZ7as%253d&wrap_access_token_expires_in=1200", { 'cache-control': 'no-cache, no-store', + pragma: 'no-cache', + 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', + expires: '-1', + 'request-id': 'c91bf4d9-34f6-4f40-ac74-9f798698d1a3', + 'x-content-type-options': 'nosniff', + date: 'Mon, 13 May 2013 13:50:13 GMT', + 'content-length': '569' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.put('/xplathubnxt7?api-version=2013-04', '*') + .reply(201, "https://ciserversb.servicebus.windows.net/xplathubnxt7?api-version=2013-04xplathubnxt72013-05-13T13:50:15Z2013-05-13T13:50:15ZciserversbApnsCertificateMIIKaAIBAzCCCi4GCSqGSIb3DQEHAaCCCh8EggobMIIKFzCCBJcGCSqGSIb3DQEHBqCCBIgwggSEAgEAMIIEfQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQYwDgQIWGoWgJ5f7psCAggAgIIEUEgM4C5KBq7AeDbr4YsE3S7kblLwJzPKeed1X7jzrhwDDUiGKYlDFKmiSOkQ8mMIU3i5HvjVUMo4KTxSB2UjWYUl3G9DnYSia/HAz0IOuPPC6DmB3pEUEQ+XFAnQ6U7JAVatHRX/5iRjuIfniiSzDl669YojLOgRgHSZJGWW4HnzEA2K09JtFVY+cwkN4uDhQsnq/z5D/uyqq9n9zN34tyd5H9eI4NYFrKXUs8gtCq+Rwxfl/jzwndUAOqm57wCTQfQSvO8qR7Bl/aOZvIzfBejT8qDLod6FAedSdd5jQX1zdyF6GtWM6AmAGLywZIz1iQcFd2kOfjIaj0/+QNAug3UF5+5FEy8GcO5dAPNxcLquySXf0MExdc7ZpIpy3oJ2/25xJKbYEe7vQqKKFBT30qCtZDYUo6dDRLDG0IM2fGAN5h2GfP6zQI3N8qKYYB03tdkTLoZMYXyTDgdjHboaJ6Bvtx1FXaVMTzbdopGB57xOO3sBYq4P3jafS4rgqXMGUwkN+DX7/cMUKDTOi42KF+En2U1dIbctNojtUjkmblXMIAZ4dksUHAuH6tP0PfzB5QM7xB5VOVi3VJamVpp67yIidSNZocJyYmwjq27RwTG4DPzwk8/xqtFSQbM8Z7Uf0A4pRRbzNy6k5d+DMgpruvInUwj60fncoExUof1TtZs0FFw5T7aFqhyqwrPKzG7paikQ2DnurJEnMZvcFGrg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qknPybO7snNLTDaKVXib/c6OFmM/EHHArESfGqiCe+MRk0BI+GlnmypyElFXUecBUxIQj0Wly21tcISgaZhCxuXSsay9AgYuGZhizk83RT1ST4rqwZygatkkaTyq64gMuGFejvLWIDtFFw2/N1clG7+9LxVm+efFtiNmTaetOAL+OztmsYyOEQurE5oaW60I+pzBu8WqrHvv7T1MUIkfZI58WBbmsX+uKBGqZFJ7fjTCNLGafJ4Rx7/mf7vQC8h68oztvHZHRX/lDoLfzvUSElUdzNnyaFBr9g/HVZhSj6/y5b6FDjm3xQzI+a9txP8rfVzH+5vJe09a4y1ZhMoMzjKKooXYZMVwwIwYJKoZIhvcNAQkVMRYEFEy9ClbuXklnr4IYc7A0OVi5CGuGMDUGCSqGSIb3DQEJFDEoHiYATQB5ACAAUwBlAGwAZgAgAFMAaQBnAG4AZQBkACAAQwBlAHIAdDAxMCEwCQYFKw4DAhoFAAQU5CHWESZpMgul1RafRMoAv+V6tLMECKZ/KM3TIM49AgIIAA==CertificateKey12345Endpointgateway.push.apple.comP90DSharedAccessKeyNoneListen2013-05-13T13:50:15.4673814Z2013-05-13T13:50:15.4673814ZDefaultListenSharedAccessSignatureSqEuUFtSHNpeCzy5MWfdoUpPLM0VtnCtPmctQkSGGjM=SharedAccessKeyNoneListenManageSend2013-05-13T13:50:15.4673814Z2013-05-13T13:50:15.4673814ZDefaultFullSharedAccessSignatureTotFhrAQDbeKqhT9pKppXyOe1NWKO8nOkvj5DuOwGp0=", { 'transfer-encoding': 'chunked', + 'content-type': 'application/atom+xml;type=entry;charset=utf-8', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 13 May 2013 13:50:15 GMT' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb-sb.accesscontrol.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.post('/WRAPv0.9/', '*') + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt7%252fregistrations%253fapi-version%253d2013-04%26ExpiresOn%3d1368454217%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dxwrBQq%252f%252f9mqWCccRNzpjh37zr%252brguL0AVCZr3SZyIZA%253d&wrap_access_token_expires_in=1200", { 'cache-control': 'no-cache, no-store', + pragma: 'no-cache', + 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', + expires: '-1', + 'request-id': '8c909032-2665-4c15-9640-fbd3a297acac', + 'x-content-type-options': 'nosniff', + date: 'Mon, 13 May 2013 13:50:17 GMT', + 'content-length': '599' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.post('/xplathubnxt7/registrations?api-version=2013-04', '*') + .reply(200, "https://ciserversb.servicebus.windows.net/xplathubnxt7/registrations/714899198275815338-2389027155067757128?api-version=2013-04714899198275815338-23890271550677571282013-05-13T13:50:18Z2013-05-13T13:50:18Z12013-08-11T13:50:18.13Z714899198275815338-23890271550677571280F744707BEBCF74F9B7C25D48E3358945F6AA01DA5DDB387462C7EAF61BBAD78", { 'transfer-encoding': 'chunked', + 'content-type': 'application/atom+xml;type=entry;charset=utf-8', + 'content-location': 'https://ciserversb.servicebus.windows.net/xplathubnxt7/registrations/714899198275815338-2389027155067757128?api-version=2013-04', + etag: 'W/"1"', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 13 May 2013 13:50:17 GMT' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb-sb.accesscontrol.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.post('/WRAPv0.9/', '*') + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt7%252fregistrations%252f714899198275815338-2389027155067757128%253fapi-version%253d2013-04%26ExpiresOn%3d1368454220%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3djHQfY%252bemOukEhgeYMv2u5LAL9b3fMVVhXMbR%252f8sfgrc%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', + pragma: 'no-cache', + 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', + expires: '-1', + 'request-id': 'c08507b8-480e-417c-8230-8c65e582e183', + 'x-content-type-options': 'nosniff', + date: 'Mon, 13 May 2013 13:50:19 GMT', + 'content-length': '638' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.put('/xplathubnxt7/registrations/714899198275815338-2389027155067757128?api-version=2013-04', '*') + .reply(200, "https://ciserversb.servicebus.windows.net/xplathubnxt7/registrations/714899198275815338-2389027155067757128?api-version=2013-04714899198275815338-23890271550677571282013-05-13T13:50:21Z2013-05-13T13:50:21Z12013-08-11T13:50:21.264Z714899198275815338-23890271550677571280F744707BEBCF74F9B7C25D48E3358945F6AA01DA5DDB387462C7EAF61BBAD78", { 'transfer-encoding': 'chunked', + 'content-type': 'application/atom+xml;type=entry;charset=utf-8', + etag: 'W/"1"', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 13 May 2013 13:50:20 GMT' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .delete('/xplathubnxt7/registrations/714899198275815338-2389027155067757128?api-version=2013-04') + .reply(200, "", { 'content-length': '0', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 13 May 2013 13:50:21 GMT' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/wnsservice-registrations-tests.nock.js b/test/recordings/wnsservice-registrations-tests.nock.js index 300a01ff2..a5f48471d 100644 --- a/test/recordings/wnsservice-registrations-tests.nock.js +++ b/test/recordings/wnsservice-registrations-tests.nock.js @@ -5,36 +5,36 @@ var result = nock('https://ciserversb-sb.accesscontrol.windows.net:443') .filteringRequestBody(function (path) { return '*';}) .post('/WRAPv0.9/', '*') - .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252f%2524Resources%252fNotificationHubs%253fapi-version%253d2013-04%26ExpiresOn%3d1366417510%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3d0I89ht%252fOomfHt6mHXMVHrOdrTEnMW3loLB0E74Yoefo%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252f%2524Resources%252fNotificationHubs%253fapi-version%253d2013-04%26ExpiresOn%3d1368454227%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3d8sY3py4GgVEs7GBcE28sNASMw%252bzkRKDfQonYWmGKN9A%253d&wrap_access_token_expires_in=1200", { 'cache-control': 'no-cache, no-store', pragma: 'no-cache', 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', expires: '-1', - 'request-id': '9d253611-a2be-457b-9029-c52b869156c8', + 'request-id': 'f7cdc19c-52f9-4cb6-9b4d-667784fcc3ee', 'x-content-type-options': 'nosniff', - date: 'Sat, 20 Apr 2013 00:05:09 GMT', + date: 'Mon, 13 May 2013 13:50:26 GMT', 'content-length': '596' }); return result; }, function (nock) { var result = nock('https://ciserversb.servicebus.windows.net:443') .get('/$Resources/NotificationHubs?api-version=2013-04') - .reply(200, "NotificationHubshttps://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2013-042013-04-20T00:05:10Zhttps://ciserversb.servicebus.windows.net/myhub?api-version=2013-04myhub2013-02-23T00:22:23Z2013-02-28T14:27:57ZciserversbP90DPackageSidms-app://s-1-15-2-3624382523-3073449496-1584155076-733487050-1832530571-3873708642-3859416007SecretKeyBlz9qc7m94s6lM0nO7xwybMY0bDLy+aaWindowsLiveEndpointhttps://login.live.com/accesstoken.srfSharedAccessKeyNoneListenDefaultListenSharedAccessSignaturecVV3cmNZOCkkdXktXl8qbQ==SharedAccessKeyNoneListenManageSendDefaultFullSharedAccessSignatureKj5FUlB4UmM1KXAybD1RPQ==https://ciserversb.servicebus.windows.net/myhubnice?api-version=2013-04myhubnice2013-04-19T22:54:43Z2013-04-19T22:54:43ZciserversbP90DPackageSidasdSecretKeysdSharedAccessKeyNoneListen2013-04-19T22:54:43.8746206Z2013-04-19T22:54:43.8746206ZDefaultListenSharedAccessSignaturel0cdsU/cHy570dBeVeDnF6SifM1dkMGNs8N/oOVDXog=SharedAccessKeyNoneListenManageSend2013-04-19T22:54:43.8746206Z2013-04-19T22:54:43.8746206ZDefaultFullSharedAccessSignatureF7hqEsUNzb1ZDV6ITjX0pMP4+A1mfCaiACAvjrjoqKk=", { 'transfer-encoding': 'chunked', + .reply(200, "NotificationHubshttps://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2013-042013-05-13T13:50:28Zhttps://ciserversb.servicebus.windows.net/myhub?api-version=2013-04myhub2013-04-26T18:02:22Z2013-04-26T18:10:31ZciserversbP90DPackageSidms-app://s-1-15-2-2060948854-1555579440-2624401838-1061041892-4152237894-3341387579-3741301639SecretKey1t/f1uWV3ehU8Wo/+vRRusLPlmwUOYudWindowsLiveEndpointhttps://login.live.com/accesstoken.srfSharedAccessKeyNoneListenDefaultListenSharedAccessSignaturef7ReDRk4hzKRfLtXHjrl3vTNabq8xPKi8OpvTKlokBU=SharedAccessKeyNoneListenManageSendDefaultFullSharedAccessSignaturev7WXGFfWuD+6uVY40Y13h6gjt0Q/qb5QdIREMw5MtO0=https://ciserversb.servicebus.windows.net/myhub2?api-version=2013-04myhub22013-05-13T12:31:11Z2013-05-13T12:31:11ZciserversbP90DSharedAccessKeyNoneListen2013-05-13T12:31:11.0727424Z2013-05-13T12:31:11.0727424ZDefaultListenSharedAccessSignaturewSEu4/IJLTn9X0ce7NBD1aFIsUEuL2H+Pa/3Cp36pcA=SharedAccessKeyNoneListenManageSend2013-05-13T12:31:11.0727424Z2013-05-13T12:31:11.0727424ZDefaultFullSharedAccessSignatureFI8DkfgSZJCJ1BH/W7cIJf4oXPkM6HwuWuABvL88Znk=", { 'transfer-encoding': 'chunked', 'content-type': 'application/atom+xml;type=feed;charset=utf-8', server: 'Microsoft-HTTPAPI/2.0', - date: 'Sat, 20 Apr 2013 00:05:10 GMT' }); + date: 'Mon, 13 May 2013 13:50:28 GMT' }); return result; }, function (nock) { var result = nock('https://ciserversb-sb.accesscontrol.windows.net:443') .filteringRequestBody(function (path) { return '*';}) .post('/WRAPv0.9/', '*') - .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt1%253fapi-version%253d2013-04%26ExpiresOn%3d1366417512%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3db7p3HXJkjpKXFUIICLTZTsHBwUIJXlBIT5Fs2AtDwDY%253d&wrap_access_token_expires_in=1200", { 'cache-control': 'no-cache, no-store', + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt1%253fapi-version%253d2013-04%26ExpiresOn%3d1368454229%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dmMBNIjToDni55lxarf4PL9rwYhuF9xZEJ5GnvN7yYaw%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', pragma: 'no-cache', 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', expires: '-1', - 'request-id': '8eb58a52-7769-4000-953d-a9a8f0579396', + 'request-id': '2bf6a331-1a8a-44b3-a00c-9653a3d9df28', 'x-content-type-options': 'nosniff', - date: 'Sat, 20 Apr 2013 00:05:12 GMT', + date: 'Mon, 13 May 2013 13:50:29 GMT', 'content-length': '569' }); return result; }, function (nock) { @@ -42,23 +42,23 @@ var result = nock('https://ciserversb.servicebus.windows.net:443') .filteringRequestBody(function (path) { return '*';}) .put('/xplathubnxt1?api-version=2013-04', '*') - .reply(201, "https://ciserversb.servicebus.windows.net/xplathubnxt1?api-version=2013-04xplathubnxt12013-04-20T00:05:14Z2013-04-20T00:05:14ZciserversbP90DSharedAccessKeyNoneListen2013-04-20T00:05:14.402505Z2013-04-20T00:05:14.402505ZDefaultListenSharedAccessSignature3CNuj+gXYm9FkMhVHfuRAmrmSQb950kKsFqO4Eu7O4A=SharedAccessKeyNoneListenManageSend2013-04-20T00:05:14.402505Z2013-04-20T00:05:14.402505ZDefaultFullSharedAccessSignaturezCQVGUny/HvDXQuIo/32+XjHInBbmpdwuLm71Pa0O7Y=", { 'transfer-encoding': 'chunked', + .reply(201, "https://ciserversb.servicebus.windows.net/xplathubnxt1?api-version=2013-04xplathubnxt12013-05-13T13:50:31Z2013-05-13T13:50:31ZciserversbP90DSharedAccessKeyNoneListen2013-05-13T13:50:31.8749141Z2013-05-13T13:50:31.8749141ZDefaultListenSharedAccessSignaturefFEw8XiXsWiJvJ8lsrb5CfOAuhbKTccaMLzEK99xMNs=SharedAccessKeyNoneListenManageSend2013-05-13T13:50:31.8749141Z2013-05-13T13:50:31.8749141ZDefaultFullSharedAccessSignatureE/YVqeaZxkOl+SdhoZFK7F01pX0SfLB6xWsmEjmoCHA=", { 'transfer-encoding': 'chunked', 'content-type': 'application/atom+xml;type=entry;charset=utf-8', server: 'Microsoft-HTTPAPI/2.0', - date: 'Sat, 20 Apr 2013 00:05:14 GMT' }); + date: 'Mon, 13 May 2013 13:50:31 GMT' }); return result; }, function (nock) { var result = nock('https://ciserversb-sb.accesscontrol.windows.net:443') .filteringRequestBody(function (path) { return '*';}) .post('/WRAPv0.9/', '*') - .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt1%252fregistrations%253fapi-version%253d2013-04%26ExpiresOn%3d1366417516%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dnm3Fl3158G1LKGABhx02Tw1RKys5LRc2JN2gAJzwx2M%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt1%252fregistrations%253fapi-version%253d2013-04%26ExpiresOn%3d1368454234%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dyOmGpCrLHl4RGKORHFUsUflOPyUkfZv9ij29GZItXow%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', pragma: 'no-cache', 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', expires: '-1', - 'request-id': 'b0da5407-aa23-47d6-84a5-6795bd089846', + 'request-id': '63cb8774-23fc-497f-a813-49934f7cdc2b', 'x-content-type-options': 'nosniff', - date: 'Sat, 20 Apr 2013 00:05:16 GMT', + date: 'Mon, 13 May 2013 13:50:33 GMT', 'content-length': '587' }); return result; }, function (nock) { @@ -66,528 +66,692 @@ var result = nock('https://ciserversb.servicebus.windows.net:443') .filteringRequestBody(function (path) { return '*';}) .post('/xplathubnxt1/registrations?api-version=2013-04', '*') - .reply(200, "https://ciserversb.servicebus.windows.net/xplathubnxt1/registrations/3692384680617669933-7075296722649196203?api-version=2013-043692384680617669933-70752967226491962032013-04-20T00:05:17Z2013-04-20T00:05:17Z12013-07-19T00:05:17.074Z3692384680617669933-7075296722649196203http://db3.notify.windows.com/fake/superfake", { 'transfer-encoding': 'chunked', + .reply(200, "https://ciserversb.servicebus.windows.net/xplathubnxt1/registrations/7466951557781835764-2982478588389823031?api-version=2013-047466951557781835764-29824785883898230312013-05-13T13:50:36Z2013-05-13T13:50:36Z12013-08-11T13:50:36.221Z7466951557781835764-2982478588389823031http://db3.notify.windows.com/fake/superfake", { 'transfer-encoding': 'chunked', 'content-type': 'application/atom+xml;type=entry;charset=utf-8', - 'content-location': 'https://ciserversb.servicebus.windows.net/xplathubnxt1/registrations/3692384680617669933-7075296722649196203?api-version=2013-04', + 'content-location': 'https://ciserversb.servicebus.windows.net/xplathubnxt1/registrations/7466951557781835764-2982478588389823031?api-version=2013-04', etag: 'W/"1"', server: 'Microsoft-HTTPAPI/2.0', - date: 'Sat, 20 Apr 2013 00:05:16 GMT' }); + date: 'Mon, 13 May 2013 13:50:35 GMT' }); return result; }, function (nock) { var result = nock('https://ciserversb-sb.accesscontrol.windows.net:443') .filteringRequestBody(function (path) { return '*';}) .post('/WRAPv0.9/', '*') - .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt1%252fregistrations%252f3692384680617669933-7075296722649196203%253fapi-version%253d2013-04%26ExpiresOn%3d1366417518%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3d5cwO94VJvP0wn7ZdFfW4tEcW41tGXvjWy5Rw4tlvL9o%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt1%252fregistrations%252f7466951557781835764-2982478588389823031%253fapi-version%253d2013-04%26ExpiresOn%3d1368454238%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dFOB87VL9Dqbn8RZtsDlqisZVfXjLYAWbAL8dMJixNB4%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', pragma: 'no-cache', 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', expires: '-1', - 'request-id': '75162b65-4732-42d3-9e41-3dec6dbb289e', + 'request-id': '315c8b21-e153-4606-83b4-2a4c1e34949f', 'x-content-type-options': 'nosniff', - date: 'Sat, 20 Apr 2013 00:05:18 GMT', + date: 'Mon, 13 May 2013 13:50:37 GMT', 'content-length': '631' }); return result; }, function (nock) { var result = nock('https://ciserversb.servicebus.windows.net:443') - .delete('/xplathubnxt1/registrations/3692384680617669933-7075296722649196203?api-version=2013-04') + .delete('/xplathubnxt1/registrations/7466951557781835764-2982478588389823031?api-version=2013-04') .reply(200, "", { 'content-length': '0', server: 'Microsoft-HTTPAPI/2.0', - date: 'Sat, 20 Apr 2013 00:05:19 GMT' }); + date: 'Mon, 13 May 2013 13:50:39 GMT' }); return result; }], [function (nock) { var result = nock('https://ciserversb.servicebus.windows.net:443') .get('/$Resources/NotificationHubs?api-version=2013-04') - .reply(200, "NotificationHubshttps://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2013-042013-04-20T00:05:20Zhttps://ciserversb.servicebus.windows.net/myhub?api-version=2013-04myhub2013-02-23T00:22:23Z2013-02-28T14:27:57ZciserversbP90DPackageSidms-app://s-1-15-2-3624382523-3073449496-1584155076-733487050-1832530571-3873708642-3859416007SecretKeyBlz9qc7m94s6lM0nO7xwybMY0bDLy+aaWindowsLiveEndpointhttps://login.live.com/accesstoken.srfSharedAccessKeyNoneListenDefaultListenSharedAccessSignaturecVV3cmNZOCkkdXktXl8qbQ==SharedAccessKeyNoneListenManageSendDefaultFullSharedAccessSignatureKj5FUlB4UmM1KXAybD1RPQ==https://ciserversb.servicebus.windows.net/myhubnice?api-version=2013-04myhubnice2013-04-19T22:54:43Z2013-04-19T22:54:43ZciserversbP90DPackageSidasdSecretKeysdSharedAccessKeyNoneListen2013-04-19T22:54:43.8746206Z2013-04-19T22:54:43.8746206ZDefaultListenSharedAccessSignaturel0cdsU/cHy570dBeVeDnF6SifM1dkMGNs8N/oOVDXog=SharedAccessKeyNoneListenManageSend2013-04-19T22:54:43.8746206Z2013-04-19T22:54:43.8746206ZDefaultFullSharedAccessSignatureF7hqEsUNzb1ZDV6ITjX0pMP4+A1mfCaiACAvjrjoqKk=", { 'transfer-encoding': 'chunked', + .reply(200, "NotificationHubshttps://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2013-042013-05-13T13:50:41Zhttps://ciserversb.servicebus.windows.net/myhub?api-version=2013-04myhub2013-04-26T18:02:22Z2013-04-26T18:10:31ZciserversbP90DPackageSidms-app://s-1-15-2-2060948854-1555579440-2624401838-1061041892-4152237894-3341387579-3741301639SecretKey1t/f1uWV3ehU8Wo/+vRRusLPlmwUOYudWindowsLiveEndpointhttps://login.live.com/accesstoken.srfSharedAccessKeyNoneListenDefaultListenSharedAccessSignaturef7ReDRk4hzKRfLtXHjrl3vTNabq8xPKi8OpvTKlokBU=SharedAccessKeyNoneListenManageSendDefaultFullSharedAccessSignaturev7WXGFfWuD+6uVY40Y13h6gjt0Q/qb5QdIREMw5MtO0=https://ciserversb.servicebus.windows.net/myhub2?api-version=2013-04myhub22013-05-13T12:31:11Z2013-05-13T12:31:11ZciserversbP90DSharedAccessKeyNoneListen2013-05-13T12:31:11.0727424Z2013-05-13T12:31:11.0727424ZDefaultListenSharedAccessSignaturewSEu4/IJLTn9X0ce7NBD1aFIsUEuL2H+Pa/3Cp36pcA=SharedAccessKeyNoneListenManageSend2013-05-13T12:31:11.0727424Z2013-05-13T12:31:11.0727424ZDefaultFullSharedAccessSignatureFI8DkfgSZJCJ1BH/W7cIJf4oXPkM6HwuWuABvL88Znk=", { 'transfer-encoding': 'chunked', 'content-type': 'application/atom+xml;type=feed;charset=utf-8', server: 'Microsoft-HTTPAPI/2.0', - date: 'Sat, 20 Apr 2013 00:05:20 GMT' }); + date: 'Mon, 13 May 2013 13:50:40 GMT' }); return result; }, function (nock) { var result = nock('https://ciserversb-sb.accesscontrol.windows.net:443') .filteringRequestBody(function (path) { return '*';}) .post('/WRAPv0.9/', '*') - .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt2%253fapi-version%253d2013-04%26ExpiresOn%3d1366417522%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dH2iIh9c18T8GqgYWlhSJsD0v5S2hsViWGr%252fJy4ibQV0%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt2%253fapi-version%253d2013-04%26ExpiresOn%3d1368454242%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dyUJskBBSklGu%252bcu%252fNPqUBtf5KAxZcdEGsZdNbv3hZG0%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', pragma: 'no-cache', 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', expires: '-1', - 'request-id': '79429562-03f0-4b84-8ad9-741977bfe754', + 'request-id': '2d7dbf02-3431-4ddf-a8f7-38718b8861e7', 'x-content-type-options': 'nosniff', - date: 'Sat, 20 Apr 2013 00:05:21 GMT', - 'content-length': '573' }); - return result; }, -function (nock) { -var result = -nock('https://ciserversb.servicebus.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.put('/xplathubnxt2?api-version=2013-04', '*') - .reply(201, "https://ciserversb.servicebus.windows.net/xplathubnxt2?api-version=2013-04xplathubnxt22013-04-20T00:05:23Z2013-04-20T00:05:23ZciserversbP90DSharedAccessKeyNoneListen2013-04-20T00:05:23.3029777Z2013-04-20T00:05:23.3029777ZDefaultListenSharedAccessSignaturesDJ09nbeE2ctGVGlU/BzrtNYQe9YazCVF0PsULC0aUw=SharedAccessKeyNoneListenManageSend2013-04-20T00:05:23.3029777Z2013-04-20T00:05:23.3029777ZDefaultFullSharedAccessSignatureZvmEkD1bSW1XYaPrOBU780v9hUp660f+7l5IzLTiUOo=", { 'transfer-encoding': 'chunked', - 'content-type': 'application/atom+xml;type=entry;charset=utf-8', - server: 'Microsoft-HTTPAPI/2.0', - date: 'Sat, 20 Apr 2013 00:05:22 GMT' }); - return result; }, -function (nock) { -var result = -nock('https://ciserversb-sb.accesscontrol.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.post('/WRAPv0.9/', '*') - .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt2%252fregistrations%253fapi-version%253d2013-04%26ExpiresOn%3d1366417525%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dR%252fKWj9A9TW8U98iNDsiFvzq1w1QZ0b4K9oSE9uNKxcg%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', - pragma: 'no-cache', - 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', - expires: '-1', - 'request-id': '987ee875-2b0a-4734-979e-8d90fac8bd2c', - 'x-content-type-options': 'nosniff', - date: 'Sat, 20 Apr 2013 00:05:25 GMT', - 'content-length': '591' }); - return result; }, -function (nock) { -var result = -nock('https://ciserversb.servicebus.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.post('/xplathubnxt2/registrations?api-version=2013-04', '*') - .reply(200, "https://ciserversb.servicebus.windows.net/xplathubnxt2/registrations/233351182994225424-7136149167829306754?api-version=2013-04233351182994225424-71361491678293067542013-04-20T00:05:26Z2013-04-20T00:05:26Z12013-07-19T00:05:26.382Z233351182994225424-7136149167829306754http://db3.notify.windows.com/fake/superfake", { 'transfer-encoding': 'chunked', - 'content-type': 'application/atom+xml;type=entry;charset=utf-8', - 'content-location': 'https://ciserversb.servicebus.windows.net/xplathubnxt2/registrations/233351182994225424-7136149167829306754?api-version=2013-04', - etag: 'W/"1"', - server: 'Microsoft-HTTPAPI/2.0', - date: 'Sat, 20 Apr 2013 00:05:25 GMT' }); - return result; }, -function (nock) { -var result = -nock('https://ciserversb-sb.accesscontrol.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.post('/WRAPv0.9/', '*') - .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt2%252fregistrations%252f233351182994225424-7136149167829306754%253fapi-version%253d2013-04%26ExpiresOn%3d1366417527%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3d5Wh8aEQxOd9xcz085RZmF%252brt6BoRozDpmyMnAHdmxFY%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', - pragma: 'no-cache', - 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', - expires: '-1', - 'request-id': '6d281c51-7f62-4d14-849a-04d937b1ecde', - 'x-content-type-options': 'nosniff', - date: 'Sat, 20 Apr 2013 00:05:27 GMT', - 'content-length': '634' }); - return result; }, -function (nock) { -var result = -nock('https://ciserversb.servicebus.windows.net:443') - .delete('/xplathubnxt2/registrations/233351182994225424-7136149167829306754?api-version=2013-04') - .reply(200, "", { 'content-length': '0', - server: 'Microsoft-HTTPAPI/2.0', - date: 'Sat, 20 Apr 2013 00:05:29 GMT' }); - return result; }], -[function (nock) { -var result = -nock('https://ciserversb.servicebus.windows.net:443') - .get('/$Resources/NotificationHubs?api-version=2013-04') - .reply(200, "NotificationHubshttps://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2013-042013-04-20T00:05:30Zhttps://ciserversb.servicebus.windows.net/myhub?api-version=2013-04myhub2013-02-23T00:22:23Z2013-02-28T14:27:57ZciserversbP90DPackageSidms-app://s-1-15-2-3624382523-3073449496-1584155076-733487050-1832530571-3873708642-3859416007SecretKeyBlz9qc7m94s6lM0nO7xwybMY0bDLy+aaWindowsLiveEndpointhttps://login.live.com/accesstoken.srfSharedAccessKeyNoneListenDefaultListenSharedAccessSignaturecVV3cmNZOCkkdXktXl8qbQ==SharedAccessKeyNoneListenManageSendDefaultFullSharedAccessSignatureKj5FUlB4UmM1KXAybD1RPQ==https://ciserversb.servicebus.windows.net/myhubnice?api-version=2013-04myhubnice2013-04-19T22:54:43Z2013-04-19T22:54:43ZciserversbP90DPackageSidasdSecretKeysdSharedAccessKeyNoneListen2013-04-19T22:54:43.8746206Z2013-04-19T22:54:43.8746206ZDefaultListenSharedAccessSignaturel0cdsU/cHy570dBeVeDnF6SifM1dkMGNs8N/oOVDXog=SharedAccessKeyNoneListenManageSend2013-04-19T22:54:43.8746206Z2013-04-19T22:54:43.8746206ZDefaultFullSharedAccessSignatureF7hqEsUNzb1ZDV6ITjX0pMP4+A1mfCaiACAvjrjoqKk=https://ciserversb.servicebus.windows.net/xplathubnxt2?api-version=2013-04xplathubnxt22013-04-20T00:05:23Z2013-04-20T00:05:23ZciserversbP90DSharedAccessKeyNoneListen2013-04-20T00:05:23.3029777Z2013-04-20T00:05:23.3029777ZDefaultListenSharedAccessSignaturesDJ09nbeE2ctGVGlU/BzrtNYQe9YazCVF0PsULC0aUw=SharedAccessKeyNoneListenManageSend2013-04-20T00:05:23.3029777Z2013-04-20T00:05:23.3029777ZDefaultFullSharedAccessSignatureZvmEkD1bSW1XYaPrOBU780v9hUp660f+7l5IzLTiUOo=", { 'transfer-encoding': 'chunked', - 'content-type': 'application/atom+xml;type=feed;charset=utf-8', - server: 'Microsoft-HTTPAPI/2.0', - date: 'Sat, 20 Apr 2013 00:05:29 GMT' }); - return result; }, -function (nock) { -var result = -nock('https://ciserversb-sb.accesscontrol.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.post('/WRAPv0.9/', '*') - .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt3%253fapi-version%253d2013-04%26ExpiresOn%3d1366417531%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dbAyK5JccqwNpgmQsmGzVOFNhQf6DpXRl4eFZNSG%252fQ2w%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', - pragma: 'no-cache', - 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', - expires: '-1', - 'request-id': '5a079340-0cf9-4bcd-8307-e57bc73fbf6d', - 'x-content-type-options': 'nosniff', - date: 'Sat, 20 Apr 2013 00:05:31 GMT', - 'content-length': '573' }); - return result; }, -function (nock) { -var result = -nock('https://ciserversb.servicebus.windows.net:443') - .delete('/xplathubnxt2?api-version=2013-04') - .reply(404, "404No service is hosted at the specified address..TrackingId:7dfcf521-a163-4c48-a7d0-1f257182d245_G3,TimeStamp:4/20/2013 12:05:32 AM", { 'transfer-encoding': 'chunked', - 'content-type': 'application/xml; charset=utf-8', - server: 'Microsoft-HTTPAPI/2.0', - date: 'Sat, 20 Apr 2013 00:05:31 GMT' }); - return result; }, -function (nock) { -var result = -nock('https://ciserversb.servicebus.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.put('/xplathubnxt3?api-version=2013-04', '*') - .reply(201, "https://ciserversb.servicebus.windows.net/xplathubnxt3?api-version=2013-04xplathubnxt32013-04-20T00:05:33Z2013-04-20T00:05:33ZciserversbP90DSharedAccessKeyNoneListen2013-04-20T00:05:33.3892369Z2013-04-20T00:05:33.3892369ZDefaultListenSharedAccessSignatureovNU4U1vxaXeIUmAOGFJtqkLyKWNHIARP0EOjqslKmo=SharedAccessKeyNoneListenManageSend2013-04-20T00:05:33.3892369Z2013-04-20T00:05:33.3892369ZDefaultFullSharedAccessSignaturevpVOrmIAJoww1+KpBd3cJaFDgJjGYAEdCVHF3VdRc48=", { 'transfer-encoding': 'chunked', - 'content-type': 'application/atom+xml;type=entry;charset=utf-8', - server: 'Microsoft-HTTPAPI/2.0', - date: 'Sat, 20 Apr 2013 00:05:33 GMT' }); - return result; }, -function (nock) { -var result = -nock('https://ciserversb-sb.accesscontrol.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.post('/WRAPv0.9/', '*') - .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt3%252fregistrations%253fapi-version%253d2013-04%26ExpiresOn%3d1366417534%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dYDqFb2CWfPOYsvFvB%252fx4JjV4GVkobIoqrLPxJOzzUMQ%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', - pragma: 'no-cache', - 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', - expires: '-1', - 'request-id': 'e3ea2894-1ba2-458d-b9e7-6216c04033ba', - 'x-content-type-options': 'nosniff', - date: 'Sat, 20 Apr 2013 00:05:34 GMT', - 'content-length': '591' }); - return result; }, -function (nock) { -var result = -nock('https://ciserversb.servicebus.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.post('/xplathubnxt3/registrations?api-version=2013-04', '*') - .reply(200, "https://ciserversb.servicebus.windows.net/xplathubnxt3/registrations/8067645554147515478-4016924769186917771?api-version=2013-048067645554147515478-40169247691869177712013-04-20T00:05:36Z2013-04-20T00:05:36Z12013-07-19T00:05:36.009Z8067645554147515478-4016924769186917771http://db3.notify.windows.com/fake/superfake", { 'transfer-encoding': 'chunked', - 'content-type': 'application/atom+xml;type=entry;charset=utf-8', - 'content-location': 'https://ciserversb.servicebus.windows.net/xplathubnxt3/registrations/8067645554147515478-4016924769186917771?api-version=2013-04', - etag: 'W/"1"', - server: 'Microsoft-HTTPAPI/2.0', - date: 'Sat, 20 Apr 2013 00:05:35 GMT' }); - return result; }, -function (nock) { -var result = -nock('https://ciserversb-sb.accesscontrol.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.post('/WRAPv0.9/', '*') - .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt3%252fregistrations%252f8067645554147515478-4016924769186917771%253fapi-version%253d2013-04%26ExpiresOn%3d1366417537%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dSRn1qwb9ctgBkfQFGiP9cdRhfgciiWHsL4WaMoVpdZ4%253d&wrap_access_token_expires_in=1200", { 'cache-control': 'no-cache, no-store', - pragma: 'no-cache', - 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', - expires: '-1', - 'request-id': 'd54cc3f2-e3f9-41a5-b099-72d51c9e1503', - 'x-content-type-options': 'nosniff', - date: 'Sat, 20 Apr 2013 00:05:37 GMT', - 'content-length': '631' }); - return result; }, -function (nock) { -var result = -nock('https://ciserversb.servicebus.windows.net:443') - .get('/xplathubnxt3/registrations/8067645554147515478-4016924769186917771?api-version=2013-04') - .reply(200, "https://ciserversb.servicebus.windows.net/xplathubnxt3/registrations/8067645554147515478-4016924769186917771?api-version=2013-048067645554147515478-40169247691869177712013-04-20T00:05:39Z2013-04-20T00:05:39Z12013-07-19T00:05:36.009Z8067645554147515478-4016924769186917771http://db3.notify.windows.com/fake/superfake", { 'transfer-encoding': 'chunked', - 'content-type': 'application/atom+xml;type=entry;charset=utf-8', - etag: 'W/"1"', - server: 'Microsoft-HTTPAPI/2.0', - date: 'Sat, 20 Apr 2013 00:05:38 GMT' }); - return result; }], -[function (nock) { -var result = -nock('https://ciserversb.servicebus.windows.net:443') - .get('/$Resources/NotificationHubs?api-version=2013-04') - .reply(200, "NotificationHubshttps://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2013-042013-04-20T00:05:40Zhttps://ciserversb.servicebus.windows.net/myhub?api-version=2013-04myhub2013-02-23T00:22:23Z2013-02-28T14:27:57ZciserversbP90DPackageSidms-app://s-1-15-2-3624382523-3073449496-1584155076-733487050-1832530571-3873708642-3859416007SecretKeyBlz9qc7m94s6lM0nO7xwybMY0bDLy+aaWindowsLiveEndpointhttps://login.live.com/accesstoken.srfSharedAccessKeyNoneListenDefaultListenSharedAccessSignaturecVV3cmNZOCkkdXktXl8qbQ==SharedAccessKeyNoneListenManageSendDefaultFullSharedAccessSignatureKj5FUlB4UmM1KXAybD1RPQ==https://ciserversb.servicebus.windows.net/myhubnice?api-version=2013-04myhubnice2013-04-19T22:54:43Z2013-04-19T22:54:43ZciserversbP90DPackageSidasdSecretKeysdSharedAccessKeyNoneListen2013-04-19T22:54:43.8746206Z2013-04-19T22:54:43.8746206ZDefaultListenSharedAccessSignaturel0cdsU/cHy570dBeVeDnF6SifM1dkMGNs8N/oOVDXog=SharedAccessKeyNoneListenManageSend2013-04-19T22:54:43.8746206Z2013-04-19T22:54:43.8746206ZDefaultFullSharedAccessSignatureF7hqEsUNzb1ZDV6ITjX0pMP4+A1mfCaiACAvjrjoqKk=", { 'transfer-encoding': 'chunked', - 'content-type': 'application/atom+xml;type=feed;charset=utf-8', - server: 'Microsoft-HTTPAPI/2.0', - date: 'Sat, 20 Apr 2013 00:05:40 GMT' }); - return result; }, -function (nock) { -var result = -nock('https://ciserversb-sb.accesscontrol.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.post('/WRAPv0.9/', '*') - .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt4%253fapi-version%253d2013-04%26ExpiresOn%3d1366417541%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dVkB9UJVKOJ1I3D8Yqf%252f%252bRfWHz5rKhZ2SYoBHV2M9%252bfc%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', - pragma: 'no-cache', - 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', - expires: '-1', - 'request-id': '0f8ef05c-509f-4f6b-92ba-0c624ddf3e8e', - 'x-content-type-options': 'nosniff', - date: 'Sat, 20 Apr 2013 00:05:40 GMT', - 'content-length': '581' }); - return result; }, -function (nock) { -var result = -nock('https://ciserversb.servicebus.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.put('/xplathubnxt4?api-version=2013-04', '*') - .reply(201, "https://ciserversb.servicebus.windows.net/xplathubnxt4?api-version=2013-04xplathubnxt42013-04-20T00:05:43Z2013-04-20T00:05:43ZciserversbP90DSharedAccessKeyNoneListen2013-04-20T00:05:43.0327579Z2013-04-20T00:05:43.0327579ZDefaultListenSharedAccessSignature1hYJKUW9qyS/0to5X55C83GPyLnBqEMh/U6qu/o1r+M=SharedAccessKeyNoneListenManageSend2013-04-20T00:05:43.0327579Z2013-04-20T00:05:43.0327579ZDefaultFullSharedAccessSignatureHqotOG7IbEQGeziPzQecVrZCw4QU/tyAxwcuJA5QEeM=", { 'transfer-encoding': 'chunked', - 'content-type': 'application/atom+xml;type=entry;charset=utf-8', - server: 'Microsoft-HTTPAPI/2.0', - date: 'Sat, 20 Apr 2013 00:05:42 GMT' }); - return result; }, -function (nock) { -var result = -nock('https://ciserversb-sb.accesscontrol.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.post('/WRAPv0.9/', '*') - .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt4%252fregistrations%253fapi-version%253d2013-04%26ExpiresOn%3d1366417544%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3duGQVzdbXW27zjS68TULGkEp4li%252feQTAFCQL%252flqO95Ys%253d&wrap_access_token_expires_in=1200", { 'cache-control': 'no-cache, no-store', - pragma: 'no-cache', - 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', - expires: '-1', - 'request-id': '7d103446-f024-4ca1-a022-e44ace1ade0e', - 'x-content-type-options': 'nosniff', - date: 'Sat, 20 Apr 2013 00:05:44 GMT', - 'content-length': '595' }); - return result; }, -function (nock) { -var result = -nock('https://ciserversb.servicebus.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.post('/xplathubnxt4/registrations?api-version=2013-04', '*') - .reply(200, "https://ciserversb.servicebus.windows.net/xplathubnxt4/registrations/8914417345935842192-218064102193332704?api-version=2013-048914417345935842192-2180641021933327042013-04-20T00:05:46Z2013-04-20T00:05:46Z12013-07-19T00:05:46.417Z8914417345935842192-218064102193332704http://db3.notify.windows.com/fake/superfake", { 'transfer-encoding': 'chunked', - 'content-type': 'application/atom+xml;type=entry;charset=utf-8', - 'content-location': 'https://ciserversb.servicebus.windows.net/xplathubnxt4/registrations/8914417345935842192-218064102193332704?api-version=2013-04', - etag: 'W/"1"', - server: 'Microsoft-HTTPAPI/2.0', - date: 'Sat, 20 Apr 2013 00:05:46 GMT' }); - return result; }, -function (nock) { -var result = -nock('https://ciserversb.servicebus.windows.net:443') - .get('/xplathubnxt4/registrations?api-version=2013-04') - .reply(200, "Registrationshttps://ciserversb.servicebus.windows.net/xplathubnxt4/registrations?api-version=2013-042013-04-20T00:05:47Zhttps://ciserversb.servicebus.windows.net/xplathubnxt4/registrations/8914417345935842192-218064102193332704?api-version=2013-048914417345935842192-2180641021933327042013-04-20T00:05:47Z2013-04-20T00:05:47Z12013-07-19T00:05:46.417Z8914417345935842192-218064102193332704http://db3.notify.windows.com/fake/superfake", { 'transfer-encoding': 'chunked', - 'content-type': 'application/atom+xml;type=feed;charset=utf-8', - server: 'Microsoft-HTTPAPI/2.0', - date: 'Sat, 20 Apr 2013 00:05:46 GMT' }); - return result; }], -[function (nock) { -var result = -nock('https://ciserversb.servicebus.windows.net:443') - .get('/$Resources/NotificationHubs?api-version=2013-04') - .reply(200, "NotificationHubshttps://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2013-042013-04-20T00:05:49Zhttps://ciserversb.servicebus.windows.net/myhub?api-version=2013-04myhub2013-02-23T00:22:23Z2013-02-28T14:27:57ZciserversbP90DPackageSidms-app://s-1-15-2-3624382523-3073449496-1584155076-733487050-1832530571-3873708642-3859416007SecretKeyBlz9qc7m94s6lM0nO7xwybMY0bDLy+aaWindowsLiveEndpointhttps://login.live.com/accesstoken.srfSharedAccessKeyNoneListenDefaultListenSharedAccessSignaturecVV3cmNZOCkkdXktXl8qbQ==SharedAccessKeyNoneListenManageSendDefaultFullSharedAccessSignatureKj5FUlB4UmM1KXAybD1RPQ==https://ciserversb.servicebus.windows.net/myhubnice?api-version=2013-04myhubnice2013-04-19T22:54:43Z2013-04-19T22:54:43ZciserversbP90DPackageSidasdSecretKeysdSharedAccessKeyNoneListen2013-04-19T22:54:43.8746206Z2013-04-19T22:54:43.8746206ZDefaultListenSharedAccessSignaturel0cdsU/cHy570dBeVeDnF6SifM1dkMGNs8N/oOVDXog=SharedAccessKeyNoneListenManageSend2013-04-19T22:54:43.8746206Z2013-04-19T22:54:43.8746206ZDefaultFullSharedAccessSignatureF7hqEsUNzb1ZDV6ITjX0pMP4+A1mfCaiACAvjrjoqKk=", { 'transfer-encoding': 'chunked', - 'content-type': 'application/atom+xml;type=feed;charset=utf-8', - server: 'Microsoft-HTTPAPI/2.0', - date: 'Sat, 20 Apr 2013 00:05:49 GMT' }); - return result; }, -function (nock) { -var result = -nock('https://ciserversb-sb.accesscontrol.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.post('/WRAPv0.9/', '*') - .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt5%253fapi-version%253d2013-04%26ExpiresOn%3d1366417550%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dIvbS8VJCPMo2Rq6rjnRFbsx%252fecl2SnpjUzyBvwf31TY%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', - pragma: 'no-cache', - 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', - expires: '-1', - 'request-id': '15aa6ba6-3aa1-4209-a15b-6e4536948572', - 'x-content-type-options': 'nosniff', - date: 'Sat, 20 Apr 2013 00:05:50 GMT', - 'content-length': '573' }); - return result; }, -function (nock) { -var result = -nock('https://ciserversb.servicebus.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.put('/xplathubnxt5?api-version=2013-04', '*') - .reply(201, "https://ciserversb.servicebus.windows.net/xplathubnxt5?api-version=2013-04xplathubnxt52013-04-20T00:05:52Z2013-04-20T00:05:52ZciserversbP90DSharedAccessKeyNoneListen2013-04-20T00:05:52.1784737Z2013-04-20T00:05:52.1784737ZDefaultListenSharedAccessSignaturezLz7jQlIglu5LcyBgGm1tnnLbj8TRAQzubTF285dPcc=SharedAccessKeyNoneListenManageSend2013-04-20T00:05:52.1784737Z2013-04-20T00:05:52.1784737ZDefaultFullSharedAccessSignaturesG4Iss608fTvxKYCqO/wQbomw6/2/S9gJrXaY8iUhEg=", { 'transfer-encoding': 'chunked', - 'content-type': 'application/atom+xml;type=entry;charset=utf-8', - server: 'Microsoft-HTTPAPI/2.0', - date: 'Sat, 20 Apr 2013 00:05:51 GMT' }); - return result; }, -function (nock) { -var result = -nock('https://ciserversb-sb.accesscontrol.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.post('/WRAPv0.9/', '*') - .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt5%252fregistrations%253fapi-version%253d2013-04%26ExpiresOn%3d1366417553%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dPUqT9oKm%252fsIw6DUXn%252bQn0hlQnLR47ceryU7Y7H4DMkA%253d&wrap_access_token_expires_in=1200", { 'cache-control': 'no-cache, no-store', - pragma: 'no-cache', - 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', - expires: '-1', - 'request-id': 'd00246de-7cfc-4e2d-b727-9b17a5aa2c85', - 'x-content-type-options': 'nosniff', - date: 'Sat, 20 Apr 2013 00:05:53 GMT', - 'content-length': '595' }); - return result; }, -function (nock) { -var result = -nock('https://ciserversb.servicebus.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.post('/xplathubnxt5/registrations?api-version=2013-04', '*') - .reply(200, "https://ciserversb.servicebus.windows.net/xplathubnxt5/registrations/2625962088161860677-2920811583186347455?api-version=2013-042625962088161860677-29208115831863474552013-04-20T00:05:55Z2013-04-20T00:05:55Z12013-07-19T00:05:55.099Z2625962088161860677-2920811583186347455http://db3.notify.windows.com/fake/superfake", { 'transfer-encoding': 'chunked', - 'content-type': 'application/atom+xml;type=entry;charset=utf-8', - 'content-location': 'https://ciserversb.servicebus.windows.net/xplathubnxt5/registrations/2625962088161860677-2920811583186347455?api-version=2013-04', - etag: 'W/"1"', - server: 'Microsoft-HTTPAPI/2.0', - date: 'Sat, 20 Apr 2013 00:05:55 GMT' }); - return result; }, -function (nock) { -var result = -nock('https://ciserversb-sb.accesscontrol.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.post('/WRAPv0.9/', '*') - .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt5%252ftags%252ftag%252fregistrations%253fapi-version%253d2013-04%26ExpiresOn%3d1366417556%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dFcGo24ukk0HbA1fpPnviZ0vQl16BuHLH2Y1pSI%252fArgI%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', - pragma: 'no-cache', - 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', - expires: '-1', - 'request-id': 'f00a25af-dcef-4914-b4aa-f09766473dad', - 'x-content-type-options': 'nosniff', - date: 'Sat, 20 Apr 2013 00:05:56 GMT', - 'content-length': '608' }); - return result; }, -function (nock) { -var result = -nock('https://ciserversb.servicebus.windows.net:443') - .get('/xplathubnxt5/tags/tag/registrations?api-version=2013-04') - .reply(200, "Registrationshttps://ciserversb.servicebus.windows.net/xplathubnxt5/tags/tag/registrations?api-version=2013-042013-04-20T00:05:57Z", { 'transfer-encoding': 'chunked', - 'content-type': 'application/atom+xml;type=feed;charset=utf-8', - server: 'Microsoft-HTTPAPI/2.0', - date: 'Sat, 20 Apr 2013 00:05:57 GMT' }); - return result; }], -[function (nock) { -var result = -nock('https://ciserversb.servicebus.windows.net:443') - .get('/$Resources/NotificationHubs?api-version=2013-04') - .reply(200, "NotificationHubshttps://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2013-042013-04-20T00:05:59Zhttps://ciserversb.servicebus.windows.net/myhub?api-version=2013-04myhub2013-02-23T00:22:23Z2013-02-28T14:27:57ZciserversbP90DPackageSidms-app://s-1-15-2-3624382523-3073449496-1584155076-733487050-1832530571-3873708642-3859416007SecretKeyBlz9qc7m94s6lM0nO7xwybMY0bDLy+aaWindowsLiveEndpointhttps://login.live.com/accesstoken.srfSharedAccessKeyNoneListenDefaultListenSharedAccessSignaturecVV3cmNZOCkkdXktXl8qbQ==SharedAccessKeyNoneListenManageSendDefaultFullSharedAccessSignatureKj5FUlB4UmM1KXAybD1RPQ==https://ciserversb.servicebus.windows.net/myhubnice?api-version=2013-04myhubnice2013-04-19T22:54:43Z2013-04-19T22:54:43ZciserversbP90DPackageSidasdSecretKeysdSharedAccessKeyNoneListen2013-04-19T22:54:43.8746206Z2013-04-19T22:54:43.8746206ZDefaultListenSharedAccessSignaturel0cdsU/cHy570dBeVeDnF6SifM1dkMGNs8N/oOVDXog=SharedAccessKeyNoneListenManageSend2013-04-19T22:54:43.8746206Z2013-04-19T22:54:43.8746206ZDefaultFullSharedAccessSignatureF7hqEsUNzb1ZDV6ITjX0pMP4+A1mfCaiACAvjrjoqKk=", { 'transfer-encoding': 'chunked', - 'content-type': 'application/atom+xml;type=feed;charset=utf-8', - server: 'Microsoft-HTTPAPI/2.0', - date: 'Sat, 20 Apr 2013 00:05:58 GMT' }); - return result; }, -function (nock) { -var result = -nock('https://ciserversb-sb.accesscontrol.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.post('/WRAPv0.9/', '*') - .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt6%253fapi-version%253d2013-04%26ExpiresOn%3d1366417561%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dfnaiiMt2mmOsSre6ytbnjjzhuGs4KyVVVnuuJdicgGk%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', - pragma: 'no-cache', - 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', - expires: '-1', - 'request-id': 'bd445c7e-234f-4d71-8a58-c35a5e9f260f', - 'x-content-type-options': 'nosniff', - date: 'Sat, 20 Apr 2013 00:06:01 GMT', - 'content-length': '569' }); - return result; }, -function (nock) { -var result = -nock('https://ciserversb.servicebus.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.put('/xplathubnxt6?api-version=2013-04', '*') - .reply(201, "https://ciserversb.servicebus.windows.net/xplathubnxt6?api-version=2013-04xplathubnxt62013-04-20T00:06:02Z2013-04-20T00:06:02ZciserversbP90DSharedAccessKeyNoneListen2013-04-20T00:06:02.8685573Z2013-04-20T00:06:02.8685573ZDefaultListenSharedAccessSignaturezF23c7HjaNR0nPGvy4XvbtsmCCWAHMc0N6Ufgbj1KbA=SharedAccessKeyNoneListenManageSend2013-04-20T00:06:02.8685573Z2013-04-20T00:06:02.8685573ZDefaultFullSharedAccessSignaturedJsOTODndTeV3B/29zCAjEFHP4yZ72HsA3nlT44RWnE=", { 'transfer-encoding': 'chunked', - 'content-type': 'application/atom+xml;type=entry;charset=utf-8', - server: 'Microsoft-HTTPAPI/2.0', - date: 'Sat, 20 Apr 2013 00:06:02 GMT' }); - return result; }, -function (nock) { -var result = -nock('https://ciserversb-sb.accesscontrol.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.post('/WRAPv0.9/', '*') - .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt6%252fregistrations%253fapi-version%253d2013-04%26ExpiresOn%3d1366417563%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dx83VsDeSFQhLD0E31pCmCvZseiFPn5uB%252fWDiRnV%252f1d4%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', - pragma: 'no-cache', - 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', - expires: '-1', - 'request-id': 'f96d6834-fd1e-4eec-881e-fbf587d3e058', - 'x-content-type-options': 'nosniff', - date: 'Sat, 20 Apr 2013 00:06:03 GMT', - 'content-length': '595' }); - return result; }, -function (nock) { -var result = -nock('https://ciserversb.servicebus.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.post('/xplathubnxt6/registrations?api-version=2013-04', '*') - .reply(200, "https://ciserversb.servicebus.windows.net/xplathubnxt6/registrations/7596465708435543347-7160018039555518278?api-version=2013-047596465708435543347-71600180395555182782013-04-20T00:06:05Z2013-04-20T00:06:05Z12013-07-19T00:06:05.317Z7596465708435543347-7160018039555518278http://db3.notify.windows.com/fake/superfake\"$(myImageProp2)\"/$(myTextProp1)$(myTextProp2)$(myTextProp3)$(myTextProp4)]]>
X-WNS-Type
wns/tile
", { 'transfer-encoding': 'chunked', - 'content-type': 'application/atom+xml;type=entry;charset=utf-8', - 'content-location': 'https://ciserversb.servicebus.windows.net/xplathubnxt6/registrations/7596465708435543347-7160018039555518278?api-version=2013-04', - etag: 'W/"1"', - server: 'Microsoft-HTTPAPI/2.0', - date: 'Sat, 20 Apr 2013 00:06:04 GMT' }); - return result; }, -function (nock) { -var result = -nock('https://ciserversb-sb.accesscontrol.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.post('/WRAPv0.9/', '*') - .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt6%252fregistrations%252f7596465708435543347-7160018039555518278%253fapi-version%253d2013-04%26ExpiresOn%3d1366417566%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3ddLH98psYS%252bKVS7zIR4g6z84RjPunDDo1vtMZk79tobg%253d&wrap_access_token_expires_in=1200", { 'cache-control': 'no-cache, no-store', - pragma: 'no-cache', - 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', - expires: '-1', - 'request-id': '57854594-c933-44b1-b172-2ce3ffdfdd42', - 'x-content-type-options': 'nosniff', - date: 'Sat, 20 Apr 2013 00:06:06 GMT', - 'content-length': '635' }); - return result; }, -function (nock) { -var result = -nock('https://ciserversb.servicebus.windows.net:443') - .delete('/xplathubnxt6/registrations/7596465708435543347-7160018039555518278?api-version=2013-04') - .reply(200, "", { 'content-length': '0', - server: 'Microsoft-HTTPAPI/2.0', - date: 'Sat, 20 Apr 2013 00:06:06 GMT' }); - return result; }], -[function (nock) { -var result = -nock('https://ciserversb.servicebus.windows.net:443') - .get('/$Resources/NotificationHubs?api-version=2013-04') - .reply(200, "NotificationHubshttps://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2013-042013-04-20T00:06:09Zhttps://ciserversb.servicebus.windows.net/myhub?api-version=2013-04myhub2013-02-23T00:22:23Z2013-02-28T14:27:57ZciserversbP90DPackageSidms-app://s-1-15-2-3624382523-3073449496-1584155076-733487050-1832530571-3873708642-3859416007SecretKeyBlz9qc7m94s6lM0nO7xwybMY0bDLy+aaWindowsLiveEndpointhttps://login.live.com/accesstoken.srfSharedAccessKeyNoneListenDefaultListenSharedAccessSignaturecVV3cmNZOCkkdXktXl8qbQ==SharedAccessKeyNoneListenManageSendDefaultFullSharedAccessSignatureKj5FUlB4UmM1KXAybD1RPQ==https://ciserversb.servicebus.windows.net/myhubnice?api-version=2013-04myhubnice2013-04-19T22:54:43Z2013-04-19T22:54:43ZciserversbP90DPackageSidasdSecretKeysdSharedAccessKeyNoneListen2013-04-19T22:54:43.8746206Z2013-04-19T22:54:43.8746206ZDefaultListenSharedAccessSignaturel0cdsU/cHy570dBeVeDnF6SifM1dkMGNs8N/oOVDXog=SharedAccessKeyNoneListenManageSend2013-04-19T22:54:43.8746206Z2013-04-19T22:54:43.8746206ZDefaultFullSharedAccessSignatureF7hqEsUNzb1ZDV6ITjX0pMP4+A1mfCaiACAvjrjoqKk=", { 'transfer-encoding': 'chunked', - 'content-type': 'application/atom+xml;type=feed;charset=utf-8', - server: 'Microsoft-HTTPAPI/2.0', - date: 'Sat, 20 Apr 2013 00:06:09 GMT' }); - return result; }, -function (nock) { -var result = -nock('https://ciserversb-sb.accesscontrol.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.post('/WRAPv0.9/', '*') - .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt7%253fapi-version%253d2013-04%26ExpiresOn%3d1366417570%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3d%252fpw2VigvmoRYjHjxI4QLnL%252fCmg6gfC4VmuZDN43Wovg%253d&wrap_access_token_expires_in=1200", { 'cache-control': 'no-cache, no-store', - pragma: 'no-cache', - 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', - expires: '-1', - 'request-id': 'db8832c2-1152-4fa1-98e6-5abfc1d2ac34', - 'x-content-type-options': 'nosniff', - date: 'Sat, 20 Apr 2013 00:06:10 GMT', + date: 'Mon, 13 May 2013 13:50:42 GMT', 'content-length': '577' }); return result; }, function (nock) { var result = nock('https://ciserversb.servicebus.windows.net:443') .filteringRequestBody(function (path) { return '*';}) -.put('/xplathubnxt7?api-version=2013-04', '*') - .reply(201, "https://ciserversb.servicebus.windows.net/xplathubnxt7?api-version=2013-04xplathubnxt72013-04-20T00:06:11Z2013-04-20T00:06:11ZciserversbP90DSharedAccessKeyNoneListen2013-04-20T00:06:11.8343463Z2013-04-20T00:06:11.8343463ZDefaultListenSharedAccessSignatureBePOvrBAohnXoDfs9MKPMMcniPcTAtp2FMmfVyrp4Ec=SharedAccessKeyNoneListenManageSend2013-04-20T00:06:11.8343463Z2013-04-20T00:06:11.8343463ZDefaultFullSharedAccessSignatureOPT1VIPwOXzwchTw1ijnr1wFKMP7GTy2ip+mknLHMNI=", { 'transfer-encoding': 'chunked', +.put('/xplathubnxt2?api-version=2013-04', '*') + .reply(201, "https://ciserversb.servicebus.windows.net/xplathubnxt2?api-version=2013-04xplathubnxt22013-05-13T13:50:44Z2013-05-13T13:50:44ZciserversbP90DSharedAccessKeyNoneListen2013-05-13T13:50:44.0177976Z2013-05-13T13:50:44.0177976ZDefaultListenSharedAccessSignaturepmhstX9lovkWN/Y5nmWXpk99oLk7twZbJaYkP6BHc5s=SharedAccessKeyNoneListenManageSend2013-05-13T13:50:44.0177976Z2013-05-13T13:50:44.0177976ZDefaultFullSharedAccessSignaturetO45NysQDRKC6Gy89lEOi0k5lYh5JyuXsKOK/kcrr9g=", { 'transfer-encoding': 'chunked', 'content-type': 'application/atom+xml;type=entry;charset=utf-8', server: 'Microsoft-HTTPAPI/2.0', - date: 'Sat, 20 Apr 2013 00:06:11 GMT' }); + date: 'Mon, 13 May 2013 13:50:43 GMT' }); return result; }, function (nock) { var result = nock('https://ciserversb-sb.accesscontrol.windows.net:443') .filteringRequestBody(function (path) { return '*';}) .post('/WRAPv0.9/', '*') - .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt7%252fregistrations%253fapi-version%253d2013-04%26ExpiresOn%3d1366417572%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3ddaEKtA6T8Zr6%252fr4YwGU5hPrD9dGZ%252fUdXAS2e8PsabSg%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt2%252fregistrations%253fapi-version%253d2013-04%26ExpiresOn%3d1368454245%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dSWfV2BRW63t1vuy2YSipzizKrfX4VHBnmFO89nSwXWM%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', pragma: 'no-cache', 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', expires: '-1', - 'request-id': 'c794fa2c-cfd6-47e8-8218-bf5708a43a65', + 'request-id': '9fb5cd91-293c-4c81-9ba5-34820af09dc9', 'x-content-type-options': 'nosniff', - date: 'Sat, 20 Apr 2013 00:06:12 GMT', + date: 'Mon, 13 May 2013 13:50:45 GMT', + 'content-length': '587' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.post('/xplathubnxt2/registrations?api-version=2013-04', '*') + .reply(200, "https://ciserversb.servicebus.windows.net/xplathubnxt2/registrations/998664179536332404-388917394269567818?api-version=2013-04998664179536332404-3889173942695678182013-05-13T13:50:47Z2013-05-13T13:50:47Z12013-08-11T13:50:47.388Z998664179536332404-388917394269567818http://db3.notify.windows.com/fake/superfake", { 'transfer-encoding': 'chunked', + 'content-type': 'application/atom+xml;type=entry;charset=utf-8', + 'content-location': 'https://ciserversb.servicebus.windows.net/xplathubnxt2/registrations/998664179536332404-388917394269567818?api-version=2013-04', + etag: 'W/"1"', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 13 May 2013 13:50:46 GMT' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb-sb.accesscontrol.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.post('/WRAPv0.9/', '*') + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt2%252fregistrations%252f998664179536332404-388917394269567818%253fapi-version%253d2013-04%26ExpiresOn%3d1368454249%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3deBNQTDZzxVzquKF2k2eZ2h4Sa9DK86jY%252bS1mnyhdHPM%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', + pragma: 'no-cache', + 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', + expires: '-1', + 'request-id': '056a4e67-6c20-4329-8a1e-c2a1a207be46', + 'x-content-type-options': 'nosniff', + date: 'Mon, 13 May 2013 13:50:48 GMT', + 'content-length': '633' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .delete('/xplathubnxt2/registrations/998664179536332404-388917394269567818?api-version=2013-04') + .reply(200, "", { 'content-length': '0', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 13 May 2013 13:50:50 GMT' }); + return result; }], +[function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .get('/$Resources/NotificationHubs?api-version=2013-04') + .reply(200, "NotificationHubshttps://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2013-042013-05-13T13:50:52Zhttps://ciserversb.servicebus.windows.net/myhub?api-version=2013-04myhub2013-04-26T18:02:22Z2013-04-26T18:10:31ZciserversbP90DPackageSidms-app://s-1-15-2-2060948854-1555579440-2624401838-1061041892-4152237894-3341387579-3741301639SecretKey1t/f1uWV3ehU8Wo/+vRRusLPlmwUOYudWindowsLiveEndpointhttps://login.live.com/accesstoken.srfSharedAccessKeyNoneListenDefaultListenSharedAccessSignaturef7ReDRk4hzKRfLtXHjrl3vTNabq8xPKi8OpvTKlokBU=SharedAccessKeyNoneListenManageSendDefaultFullSharedAccessSignaturev7WXGFfWuD+6uVY40Y13h6gjt0Q/qb5QdIREMw5MtO0=https://ciserversb.servicebus.windows.net/myhub2?api-version=2013-04myhub22013-05-13T12:31:11Z2013-05-13T12:31:11ZciserversbP90DSharedAccessKeyNoneListen2013-05-13T12:31:11.0727424Z2013-05-13T12:31:11.0727424ZDefaultListenSharedAccessSignaturewSEu4/IJLTn9X0ce7NBD1aFIsUEuL2H+Pa/3Cp36pcA=SharedAccessKeyNoneListenManageSend2013-05-13T12:31:11.0727424Z2013-05-13T12:31:11.0727424ZDefaultFullSharedAccessSignatureFI8DkfgSZJCJ1BH/W7cIJf4oXPkM6HwuWuABvL88Znk=", { 'transfer-encoding': 'chunked', + 'content-type': 'application/atom+xml;type=feed;charset=utf-8', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 13 May 2013 13:50:51 GMT' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb-sb.accesscontrol.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.post('/WRAPv0.9/', '*') + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt3%253fapi-version%253d2013-04%26ExpiresOn%3d1368454253%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dJk%252fz%252fX7gpNEQQc2rVF9xk0FKZGoJOQNx4ZcnD5DA4j4%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', + pragma: 'no-cache', + 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', + expires: '-1', + 'request-id': '989e319f-e89c-45c8-b9cd-c149ec3adec6', + 'x-content-type-options': 'nosniff', + date: 'Mon, 13 May 2013 13:50:53 GMT', + 'content-length': '577' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.put('/xplathubnxt3?api-version=2013-04', '*') + .reply(201, "https://ciserversb.servicebus.windows.net/xplathubnxt3?api-version=2013-04xplathubnxt32013-05-13T13:50:55Z2013-05-13T13:50:55ZciserversbP90DSharedAccessKeyNoneListen2013-05-13T13:50:55.5193574Z2013-05-13T13:50:55.5193574ZDefaultListenSharedAccessSignatureUlJWz8O8uLd/hnZvznkcG9s6rPrMH1k1WFQGaZg/xYE=SharedAccessKeyNoneListenManageSend2013-05-13T13:50:55.5193574Z2013-05-13T13:50:55.5193574ZDefaultFullSharedAccessSignatureDI5V3TA5QUVYLqkg9NMU1wrrMJkYDlrpkMj7UhHkLEk=", { 'transfer-encoding': 'chunked', + 'content-type': 'application/atom+xml;type=entry;charset=utf-8', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 13 May 2013 13:50:54 GMT' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb-sb.accesscontrol.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.post('/WRAPv0.9/', '*') + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt3%252fregistrations%253fapi-version%253d2013-04%26ExpiresOn%3d1368454257%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dDHjnscHHL01xTaJUEW%252fN1FvBuDpfAPVa%252ft9mMldLRvQ%253d&wrap_access_token_expires_in=1200", { 'cache-control': 'no-cache, no-store', + pragma: 'no-cache', + 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', + expires: '-1', + 'request-id': '4d60475d-394f-45df-b403-b62a323a627f', + 'x-content-type-options': 'nosniff', + date: 'Mon, 13 May 2013 13:50:57 GMT', 'content-length': '595' }); return result; }, function (nock) { var result = nock('https://ciserversb.servicebus.windows.net:443') .filteringRequestBody(function (path) { return '*';}) -.post('/xplathubnxt7/registrations?api-version=2013-04', '*') - .reply(200, "https://ciserversb.servicebus.windows.net/xplathubnxt7/registrations/2538500143964117204-853382056535885463?api-version=2013-042538500143964117204-8533820565358854632013-04-20T00:06:14Z2013-04-20T00:06:14Z12013-07-19T00:06:14.419Z2538500143964117204-853382056535885463http://db3.notify.windows.com/fake/superfake\"$(myImageProp2)\"/$(myTextProp1)$(myTextProp2)$(myTextProp3)$(myTextProp4)]]>
X-WNS-Type
wns/tile
", { 'transfer-encoding': 'chunked', +.post('/xplathubnxt3/registrations?api-version=2013-04', '*') + .reply(200, "https://ciserversb.servicebus.windows.net/xplathubnxt3/registrations/7906859900609146240-8225207808953464948?api-version=2013-047906859900609146240-82252078089534649482013-05-13T13:50:58Z2013-05-13T13:50:58Z12013-08-11T13:50:58.895Z7906859900609146240-8225207808953464948http://db3.notify.windows.com/fake/superfake", { 'transfer-encoding': 'chunked', 'content-type': 'application/atom+xml;type=entry;charset=utf-8', - 'content-location': 'https://ciserversb.servicebus.windows.net/xplathubnxt7/registrations/2538500143964117204-853382056535885463?api-version=2013-04', + 'content-location': 'https://ciserversb.servicebus.windows.net/xplathubnxt3/registrations/7906859900609146240-8225207808953464948?api-version=2013-04', etag: 'W/"1"', server: 'Microsoft-HTTPAPI/2.0', - date: 'Sat, 20 Apr 2013 00:06:14 GMT' }); + date: 'Mon, 13 May 2013 13:50:58 GMT' }); return result; }, function (nock) { var result = nock('https://ciserversb-sb.accesscontrol.windows.net:443') .filteringRequestBody(function (path) { return '*';}) .post('/WRAPv0.9/', '*') - .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt7%252fregistrations%252f2538500143964117204-853382056535885463%253fapi-version%253d2013-04%26ExpiresOn%3d1366417575%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dWZ%252fBNqKyeBuoqYGDkYCapIE7i5ExbWWONRkU4C5ojLE%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt3%252fregistrations%252f7906859900609146240-8225207808953464948%253fapi-version%253d2013-04%26ExpiresOn%3d1368454262%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dAYtbSPVe0mvAa3HeD2MW8pJ44MNE1PAqxra4vVWLKyk%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', pragma: 'no-cache', 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', expires: '-1', - 'request-id': '8bc84644-8aad-4159-ba13-beb5c6dc354f', + 'request-id': '44658894-62d9-4475-a0e4-01c942c1f90e', 'x-content-type-options': 'nosniff', - date: 'Sat, 20 Apr 2013 00:06:15 GMT', - 'content-length': '634' }); + date: 'Mon, 13 May 2013 13:51:01 GMT', + 'content-length': '631' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .get('/xplathubnxt3/registrations/7906859900609146240-8225207808953464948?api-version=2013-04') + .reply(200, "https://ciserversb.servicebus.windows.net/xplathubnxt3/registrations/7906859900609146240-8225207808953464948?api-version=2013-047906859900609146240-82252078089534649482013-05-13T13:51:03Z2013-05-13T13:51:03Z12013-08-11T13:50:58.895Z7906859900609146240-8225207808953464948http://db3.notify.windows.com/fake/superfake", { 'transfer-encoding': 'chunked', + 'content-type': 'application/atom+xml;type=entry;charset=utf-8', + etag: 'W/"1"', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 13 May 2013 13:51:03 GMT' }); + return result; }], +[function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .get('/$Resources/NotificationHubs?api-version=2013-04') + .reply(200, "NotificationHubshttps://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2013-042013-05-13T13:51:06Zhttps://ciserversb.servicebus.windows.net/myhub?api-version=2013-04myhub2013-04-26T18:02:22Z2013-04-26T18:10:31ZciserversbP90DPackageSidms-app://s-1-15-2-2060948854-1555579440-2624401838-1061041892-4152237894-3341387579-3741301639SecretKey1t/f1uWV3ehU8Wo/+vRRusLPlmwUOYudWindowsLiveEndpointhttps://login.live.com/accesstoken.srfSharedAccessKeyNoneListenDefaultListenSharedAccessSignaturef7ReDRk4hzKRfLtXHjrl3vTNabq8xPKi8OpvTKlokBU=SharedAccessKeyNoneListenManageSendDefaultFullSharedAccessSignaturev7WXGFfWuD+6uVY40Y13h6gjt0Q/qb5QdIREMw5MtO0=https://ciserversb.servicebus.windows.net/myhub2?api-version=2013-04myhub22013-05-13T12:31:11Z2013-05-13T12:31:11ZciserversbP90DSharedAccessKeyNoneListen2013-05-13T12:31:11.0727424Z2013-05-13T12:31:11.0727424ZDefaultListenSharedAccessSignaturewSEu4/IJLTn9X0ce7NBD1aFIsUEuL2H+Pa/3Cp36pcA=SharedAccessKeyNoneListenManageSend2013-05-13T12:31:11.0727424Z2013-05-13T12:31:11.0727424ZDefaultFullSharedAccessSignatureFI8DkfgSZJCJ1BH/W7cIJf4oXPkM6HwuWuABvL88Znk=", { 'transfer-encoding': 'chunked', + 'content-type': 'application/atom+xml;type=feed;charset=utf-8', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 13 May 2013 13:51:06 GMT' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb-sb.accesscontrol.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.post('/WRAPv0.9/', '*') + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt4%253fapi-version%253d2013-04%26ExpiresOn%3d1368454271%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dBHu4bJB60kmsJtwzXbnr89%252frr2mnrIL7WbECD5SCEg0%253d&wrap_access_token_expires_in=1200", { 'cache-control': 'no-cache, no-store', + pragma: 'no-cache', + 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', + expires: '-1', + 'request-id': '5425bbe6-da46-41f0-980f-bfbd20d15460', + 'x-content-type-options': 'nosniff', + date: 'Mon, 13 May 2013 13:51:10 GMT', + 'content-length': '573' }); return result; }, function (nock) { var result = nock('https://ciserversb.servicebus.windows.net:443') .filteringRequestBody(function (path) { return '*';}) -.put('/xplathubnxt7/registrations/2538500143964117204-853382056535885463?api-version=2013-04', '*') - .reply(200, "https://ciserversb.servicebus.windows.net/xplathubnxt7/registrations/2538500143964117204-853382056535885463?api-version=2013-042538500143964117204-8533820565358854632013-04-20T00:06:17Z2013-04-20T00:06:17Z12013-07-19T00:06:17.68Z2538500143964117204-853382056535885463http://db3.notify.windows.com/fake/superfake\"$(myImageProp2)\"/$(myTextProp1)$(myTextProp2)$(myTextProp3)$(myNewTextProp)]]>
X-WNS-Type
wns/tile
", { 'transfer-encoding': 'chunked', +.put('/xplathubnxt4?api-version=2013-04', '*') + .reply(201, "https://ciserversb.servicebus.windows.net/xplathubnxt4?api-version=2013-04xplathubnxt42013-05-13T13:51:12Z2013-05-13T13:51:12ZciserversbP90DSharedAccessKeyNoneListen2013-05-13T13:51:12.2825181Z2013-05-13T13:51:12.2825181ZDefaultListenSharedAccessSignatureTnkucL/B1U/vCDPC6g61HL/zPFtkl7URoJnDP/zEaNc=SharedAccessKeyNoneListenManageSend2013-05-13T13:51:12.2825181Z2013-05-13T13:51:12.2825181ZDefaultFullSharedAccessSignatureLkNQ1VOXdQETm9d2nP5jUVsnjoPCLyiTmTxnC3GnzBE=", { 'transfer-encoding': 'chunked', 'content-type': 'application/atom+xml;type=entry;charset=utf-8', - etag: 'W/"1"', server: 'Microsoft-HTTPAPI/2.0', - date: 'Sat, 20 Apr 2013 00:06:17 GMT' }); + date: 'Mon, 13 May 2013 13:51:11 GMT' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb-sb.accesscontrol.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.post('/WRAPv0.9/', '*') + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt4%252fregistrations%253fapi-version%253d2013-04%26ExpiresOn%3d1368454274%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dbnWryJ63vyeaZGwV4l7ENPGOAAvWXXRJfHZ9Lw6c8Ps%253d&wrap_access_token_expires_in=1200", { 'cache-control': 'no-cache, no-store', + pragma: 'no-cache', + 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', + expires: '-1', + 'request-id': 'e8f01356-4034-44c9-83c0-4a22f083b9cc', + 'x-content-type-options': 'nosniff', + date: 'Mon, 13 May 2013 13:51:13 GMT', + 'content-length': '587' }); return result; }, function (nock) { var result = nock('https://ciserversb.servicebus.windows.net:443') - .delete('/xplathubnxt7/registrations/2538500143964117204-853382056535885463?api-version=2013-04') + .filteringRequestBody(function (path) { return '*';}) +.post('/xplathubnxt4/registrations?api-version=2013-04', '*') + .reply(200, "https://ciserversb.servicebus.windows.net/xplathubnxt4/registrations/5877260509811863903-5338056324060333023?api-version=2013-045877260509811863903-53380563240603330232013-05-13T13:51:16Z2013-05-13T13:51:16Z12013-08-11T13:51:16.223Z5877260509811863903-5338056324060333023mytaghttp://db3.notify.windows.com/fake/superfake", { 'transfer-encoding': 'chunked', + 'content-type': 'application/atom+xml;type=entry;charset=utf-8', + 'content-location': 'https://ciserversb.servicebus.windows.net/xplathubnxt4/registrations/5877260509811863903-5338056324060333023?api-version=2013-04', + etag: 'W/"1"', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 13 May 2013 13:51:15 GMT' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .get('/xplathubnxt4/registrations?api-version=2013-04') + .reply(200, "Registrationshttps://ciserversb.servicebus.windows.net/xplathubnxt4/registrations?api-version=2013-042013-05-13T13:51:18Zhttps://ciserversb.servicebus.windows.net/xplathubnxt4/registrations/5877260509811863903-5338056324060333023?api-version=2013-045877260509811863903-53380563240603330232013-05-13T13:51:18Z2013-05-13T13:51:18Z12013-08-11T13:51:16.223Z5877260509811863903-5338056324060333023mytaghttp://db3.notify.windows.com/fake/superfake", { 'transfer-encoding': 'chunked', + 'content-type': 'application/atom+xml;type=feed;charset=utf-8', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 13 May 2013 13:51:18 GMT' }); + return result; }], +[function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .get('/$Resources/NotificationHubs?api-version=2013-04') + .reply(200, "NotificationHubshttps://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2013-042013-05-13T13:51:20Zhttps://ciserversb.servicebus.windows.net/myhub?api-version=2013-04myhub2013-04-26T18:02:22Z2013-04-26T18:10:31ZciserversbP90DPackageSidms-app://s-1-15-2-2060948854-1555579440-2624401838-1061041892-4152237894-3341387579-3741301639SecretKey1t/f1uWV3ehU8Wo/+vRRusLPlmwUOYudWindowsLiveEndpointhttps://login.live.com/accesstoken.srfSharedAccessKeyNoneListenDefaultListenSharedAccessSignaturef7ReDRk4hzKRfLtXHjrl3vTNabq8xPKi8OpvTKlokBU=SharedAccessKeyNoneListenManageSendDefaultFullSharedAccessSignaturev7WXGFfWuD+6uVY40Y13h6gjt0Q/qb5QdIREMw5MtO0=https://ciserversb.servicebus.windows.net/myhub2?api-version=2013-04myhub22013-05-13T12:31:11Z2013-05-13T12:31:11ZciserversbP90DSharedAccessKeyNoneListen2013-05-13T12:31:11.0727424Z2013-05-13T12:31:11.0727424ZDefaultListenSharedAccessSignaturewSEu4/IJLTn9X0ce7NBD1aFIsUEuL2H+Pa/3Cp36pcA=SharedAccessKeyNoneListenManageSend2013-05-13T12:31:11.0727424Z2013-05-13T12:31:11.0727424ZDefaultFullSharedAccessSignatureFI8DkfgSZJCJ1BH/W7cIJf4oXPkM6HwuWuABvL88Znk=https://ciserversb.servicebus.windows.net/xplathubnxt4?api-version=2013-04xplathubnxt42013-05-13T13:51:12Z2013-05-13T13:51:12ZciserversbP90DSharedAccessKeyNoneListen2013-05-13T13:51:12.2825181Z2013-05-13T13:51:12.2825181ZDefaultListenSharedAccessSignatureTnkucL/B1U/vCDPC6g61HL/zPFtkl7URoJnDP/zEaNc=SharedAccessKeyNoneListenManageSend2013-05-13T13:51:12.2825181Z2013-05-13T13:51:12.2825181ZDefaultFullSharedAccessSignatureLkNQ1VOXdQETm9d2nP5jUVsnjoPCLyiTmTxnC3GnzBE=", { 'transfer-encoding': 'chunked', + 'content-type': 'application/atom+xml;type=feed;charset=utf-8', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 13 May 2013 13:51:19 GMT' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .delete('/xplathubnxt4?api-version=2013-04') + .reply(404, "404No service is hosted at the specified address..TrackingId:322f6a07-dc36-4402-88e8-138f26241936_G5,TimeStamp:5/13/2013 1:51:21 PM", { 'transfer-encoding': 'chunked', + 'content-type': 'application/xml; charset=utf-8', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 13 May 2013 13:51:21 GMT' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb-sb.accesscontrol.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.post('/WRAPv0.9/', '*') + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt5%253fapi-version%253d2013-04%26ExpiresOn%3d1368454283%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dxwWFye7s80GP47YqZqmM76tYOZ2taBLyDBoOocdFFHE%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', + pragma: 'no-cache', + 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', + expires: '-1', + 'request-id': 'fd6cc02c-ec47-4fe9-82c9-043d9fea49f5', + 'x-content-type-options': 'nosniff', + date: 'Mon, 13 May 2013 13:51:22 GMT', + 'content-length': '569' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.put('/xplathubnxt5?api-version=2013-04', '*') + .reply(201, "https://ciserversb.servicebus.windows.net/xplathubnxt5?api-version=2013-04xplathubnxt52013-05-13T13:51:33Z2013-05-13T13:51:33ZciserversbP90DSharedAccessKeyNoneListen2013-05-13T13:51:33.7067357Z2013-05-13T13:51:33.7067357ZDefaultListenSharedAccessSignatureB/zzrRYyzJQMRE/6MQ9djdICUrrJajQwNoMop/srYsg=SharedAccessKeyNoneListenManageSend2013-05-13T13:51:33.7067357Z2013-05-13T13:51:33.7067357ZDefaultFullSharedAccessSignaturecOAM2c5jLdXFpez++bfOIZq+WHl74Yx/OkFPGlL3Xgw=", { 'transfer-encoding': 'chunked', + 'content-type': 'application/atom+xml;type=entry;charset=utf-8', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 13 May 2013 13:51:33 GMT' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb-sb.accesscontrol.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.post('/WRAPv0.9/', '*') + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt5%252fregistrations%253fapi-version%253d2013-04%26ExpiresOn%3d1368454320%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3djaUbUjB%252fxWIYyjoBvyiVL7uJVrfNrh6s9xuiepINOjI%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', + pragma: 'no-cache', + 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', + expires: '-1', + 'request-id': '2a5ca341-d3c0-4b2a-8d55-5ffa31f55c0a', + 'x-content-type-options': 'nosniff', + date: 'Mon, 13 May 2013 13:52:00 GMT', + 'content-length': '591' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.post('/xplathubnxt5/registrations?api-version=2013-04', '*') + .reply(200, "https://ciserversb.servicebus.windows.net/xplathubnxt5/registrations/2614637699519361564-1742476580318215091?api-version=2013-042614637699519361564-17424765803182150912013-05-13T13:52:02Z2013-05-13T13:52:02Z12013-08-11T13:52:02.228Z2614637699519361564-1742476580318215091mytaghttp://db3.notify.windows.com/fake/superfake", { 'transfer-encoding': 'chunked', + 'content-type': 'application/atom+xml;type=entry;charset=utf-8', + 'content-location': 'https://ciserversb.servicebus.windows.net/xplathubnxt5/registrations/2614637699519361564-1742476580318215091?api-version=2013-04', + etag: 'W/"1"', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 13 May 2013 13:52:01 GMT' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb-sb.accesscontrol.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.post('/WRAPv0.9/', '*') + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt5%252ftags%252ftag%252fregistrations%253f%252524top%253d10%2526api-version%253d2013-04%26ExpiresOn%3d1368454324%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dJH9WGpYk8AegSSth6UnlyGFSacfeIKr8gX28Ni%252bjF88%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', + pragma: 'no-cache', + 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', + expires: '-1', + 'request-id': '77d4d1d6-6466-400e-ad2e-7dae5005b0de', + 'x-content-type-options': 'nosniff', + date: 'Mon, 13 May 2013 13:52:03 GMT', + 'content-length': '630' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .get('/xplathubnxt5/tags/tag/registrations?%24top=10&api-version=2013-04') + .reply(200, "Registrationshttps://ciserversb.servicebus.windows.net/xplathubnxt5/tags/tag/registrations?%24top=10&api-version=2013-042013-05-13T13:52:06Z", { 'transfer-encoding': 'chunked', + 'content-type': 'application/atom+xml;type=feed;charset=utf-8', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 13 May 2013 13:52:05 GMT' }); + return result; }], +[function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .get('/$Resources/NotificationHubs?api-version=2013-04') + .reply(200, "NotificationHubshttps://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2013-042013-05-13T13:52:10Zhttps://ciserversb.servicebus.windows.net/myhub?api-version=2013-04myhub2013-04-26T18:02:22Z2013-04-26T18:10:31ZciserversbP90DPackageSidms-app://s-1-15-2-2060948854-1555579440-2624401838-1061041892-4152237894-3341387579-3741301639SecretKey1t/f1uWV3ehU8Wo/+vRRusLPlmwUOYudWindowsLiveEndpointhttps://login.live.com/accesstoken.srfSharedAccessKeyNoneListenDefaultListenSharedAccessSignaturef7ReDRk4hzKRfLtXHjrl3vTNabq8xPKi8OpvTKlokBU=SharedAccessKeyNoneListenManageSendDefaultFullSharedAccessSignaturev7WXGFfWuD+6uVY40Y13h6gjt0Q/qb5QdIREMw5MtO0=https://ciserversb.servicebus.windows.net/myhub2?api-version=2013-04myhub22013-05-13T12:31:11Z2013-05-13T12:31:11ZciserversbP90DSharedAccessKeyNoneListen2013-05-13T12:31:11.0727424Z2013-05-13T12:31:11.0727424ZDefaultListenSharedAccessSignaturewSEu4/IJLTn9X0ce7NBD1aFIsUEuL2H+Pa/3Cp36pcA=SharedAccessKeyNoneListenManageSend2013-05-13T12:31:11.0727424Z2013-05-13T12:31:11.0727424ZDefaultFullSharedAccessSignatureFI8DkfgSZJCJ1BH/W7cIJf4oXPkM6HwuWuABvL88Znk=", { 'transfer-encoding': 'chunked', + 'content-type': 'application/atom+xml;type=feed;charset=utf-8', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 13 May 2013 13:52:09 GMT' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb-sb.accesscontrol.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.post('/WRAPv0.9/', '*') + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt6%253fapi-version%253d2013-04%26ExpiresOn%3d1368454331%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3d8z4%252b2KSl4dZQRw6b%252flr7TZPbjSjY%252fSdq3%252f8K9ff853o%253d&wrap_access_token_expires_in=1200", { 'cache-control': 'no-cache, no-store', + pragma: 'no-cache', + 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', + expires: '-1', + 'request-id': '1ff220bc-f2ac-46e6-92d9-c5525692d295', + 'x-content-type-options': 'nosniff', + date: 'Mon, 13 May 2013 13:52:11 GMT', + 'content-length': '585' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.put('/xplathubnxt6?api-version=2013-04', '*') + .reply(201, "https://ciserversb.servicebus.windows.net/xplathubnxt6?api-version=2013-04xplathubnxt62013-05-13T13:52:14Z2013-05-13T13:52:14ZciserversbP90DSharedAccessKeyNoneListen2013-05-13T13:52:13.8852801Z2013-05-13T13:52:13.8852801ZDefaultListenSharedAccessSignature0z4Twuh5KUx0gReHOJb9X/acsHkTHCzgWE2rXqkWGLA=SharedAccessKeyNoneListenManageSend2013-05-13T13:52:13.8852801Z2013-05-13T13:52:13.8852801ZDefaultFullSharedAccessSignature/f1JVwuMdzgKjQxEPQ2gLCL7UX/0HbBMPJVUi7epmc8=", { 'transfer-encoding': 'chunked', + 'content-type': 'application/atom+xml;type=entry;charset=utf-8', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 13 May 2013 13:52:13 GMT' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb-sb.accesscontrol.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.post('/WRAPv0.9/', '*') + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt6%252fregistrations%253fapi-version%253d2013-04%26ExpiresOn%3d1368454335%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dE6uHVMN3BWVIqIUYBbWpjYpCbNqsyr3GR7kyiDVjukU%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', + pragma: 'no-cache', + 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', + expires: '-1', + 'request-id': '437a526b-3fd3-4503-ad85-0764b132ee79', + 'x-content-type-options': 'nosniff', + date: 'Mon, 13 May 2013 13:52:15 GMT', + 'content-length': '587' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.post('/xplathubnxt6/registrations?api-version=2013-04', '*') + .reply(200, "https://ciserversb.servicebus.windows.net/xplathubnxt6/registrations/6171146198084025280-3128868094380128146?api-version=2013-046171146198084025280-31288680943801281462013-05-13T13:52:17Z2013-05-13T13:52:17Z12013-08-11T13:52:17.317Z6171146198084025280-3128868094380128146mytaghttp://db3.notify.windows.com/fake/superfake", { 'transfer-encoding': 'chunked', + 'content-type': 'application/atom+xml;type=entry;charset=utf-8', + 'content-location': 'https://ciserversb.servicebus.windows.net/xplathubnxt6/registrations/6171146198084025280-3128868094380128146?api-version=2013-04', + etag: 'W/"1"', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 13 May 2013 13:52:17 GMT' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb-sb.accesscontrol.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.post('/WRAPv0.9/', '*') + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt6%252ftags%252fmytag%252fregistrations%253f%252524top%253d10%2526api-version%253d2013-04%26ExpiresOn%3d1368454338%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3d9wj%252bYNm2MgEpg%252bG4sg3jRKjZUEQxvgVFwg3upjCTL1k%253d&wrap_access_token_expires_in=1200", { 'cache-control': 'no-cache, no-store', + pragma: 'no-cache', + 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', + expires: '-1', + 'request-id': 'ea7020c0-5af6-4f8a-a1fd-c24061fdc29b', + 'x-content-type-options': 'nosniff', + date: 'Mon, 13 May 2013 13:52:18 GMT', + 'content-length': '636' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .get('/xplathubnxt6/tags/mytag/registrations?%24top=10&api-version=2013-04') + .reply(200, "Registrationshttps://ciserversb.servicebus.windows.net/xplathubnxt6/tags/mytag/registrations?%24top=10&api-version=2013-042013-05-13T13:52:19Zhttps://ciserversb.servicebus.windows.net/xplathubnxt6/tags/mytag/registrations/6171146198084025280-3128868094380128146?%24top=10&api-version=2013-046171146198084025280-31288680943801281462013-05-13T13:52:19Z2013-05-13T13:52:19Z12013-08-11T13:52:17.317Z6171146198084025280-3128868094380128146mytaghttp://db3.notify.windows.com/fake/superfake", { 'transfer-encoding': 'chunked', + 'content-type': 'application/atom+xml;type=feed;charset=utf-8', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 13 May 2013 13:52:19 GMT' }); + return result; }], +[function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .get('/$Resources/NotificationHubs?api-version=2013-04') + .reply(200, "NotificationHubshttps://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2013-042013-05-13T13:52:23Zhttps://ciserversb.servicebus.windows.net/myhub?api-version=2013-04myhub2013-04-26T18:02:22Z2013-04-26T18:10:31ZciserversbP90DPackageSidms-app://s-1-15-2-2060948854-1555579440-2624401838-1061041892-4152237894-3341387579-3741301639SecretKey1t/f1uWV3ehU8Wo/+vRRusLPlmwUOYudWindowsLiveEndpointhttps://login.live.com/accesstoken.srfSharedAccessKeyNoneListenDefaultListenSharedAccessSignaturef7ReDRk4hzKRfLtXHjrl3vTNabq8xPKi8OpvTKlokBU=SharedAccessKeyNoneListenManageSendDefaultFullSharedAccessSignaturev7WXGFfWuD+6uVY40Y13h6gjt0Q/qb5QdIREMw5MtO0=https://ciserversb.servicebus.windows.net/myhub2?api-version=2013-04myhub22013-05-13T12:31:11Z2013-05-13T12:31:11ZciserversbP90DSharedAccessKeyNoneListen2013-05-13T12:31:11.0727424Z2013-05-13T12:31:11.0727424ZDefaultListenSharedAccessSignaturewSEu4/IJLTn9X0ce7NBD1aFIsUEuL2H+Pa/3Cp36pcA=SharedAccessKeyNoneListenManageSend2013-05-13T12:31:11.0727424Z2013-05-13T12:31:11.0727424ZDefaultFullSharedAccessSignatureFI8DkfgSZJCJ1BH/W7cIJf4oXPkM6HwuWuABvL88Znk=", { 'transfer-encoding': 'chunked', + 'content-type': 'application/atom+xml;type=feed;charset=utf-8', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 13 May 2013 13:52:23 GMT' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb-sb.accesscontrol.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.post('/WRAPv0.9/', '*') + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt7%253fapi-version%253d2013-04%26ExpiresOn%3d1368454344%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dswDE3I9qHk%252bEvujJXtTvG0eiimaNhwqML356vu0LC4M%253d&wrap_access_token_expires_in=1200", { 'cache-control': 'no-cache, no-store', + pragma: 'no-cache', + 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', + expires: '-1', + 'request-id': '66a971e9-b1c0-4d78-bec9-e0470c04ccca', + 'x-content-type-options': 'nosniff', + date: 'Mon, 13 May 2013 13:52:24 GMT', + 'content-length': '573' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.put('/xplathubnxt7?api-version=2013-04', '*') + .reply(201, "https://ciserversb.servicebus.windows.net/xplathubnxt7?api-version=2013-04xplathubnxt72013-05-13T13:52:29Z2013-05-13T13:52:29ZciserversbP90DSharedAccessKeyNoneListen2013-05-13T13:52:29.3887178Z2013-05-13T13:52:29.3887178ZDefaultListenSharedAccessSignaturePqWn5zfm5uc2W27p75kTjRoXeczHpIc1iDTIXGps0bo=SharedAccessKeyNoneListenManageSend2013-05-13T13:52:29.3887178Z2013-05-13T13:52:29.3887178ZDefaultFullSharedAccessSignatureqWn9Sz798O/vipYYYAtP+w075ZZgrk/OjNgDe+5FHpA=", { 'transfer-encoding': 'chunked', + 'content-type': 'application/atom+xml;type=entry;charset=utf-8', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 13 May 2013 13:52:29 GMT' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb-sb.accesscontrol.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.post('/WRAPv0.9/', '*') + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt7%252fregistrations%253fapi-version%253d2013-04%26ExpiresOn%3d1368454351%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3ds3GRcCktzXb05gYrsVze318Z00WKwN7u510Tme0nh3k%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', + pragma: 'no-cache', + 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', + expires: '-1', + 'request-id': 'ad225f58-b737-4a45-9151-1c550fccd3f7', + 'x-content-type-options': 'nosniff', + date: 'Mon, 13 May 2013 13:52:30 GMT', + 'content-length': '587' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.post('/xplathubnxt7/registrations?api-version=2013-04', '*') + .reply(200, "https://ciserversb.servicebus.windows.net/xplathubnxt7/registrations/2487248580227052425-5506895730494286719?api-version=2013-042487248580227052425-55068957304942867192013-05-13T13:52:33Z2013-05-13T13:52:33Z12013-08-11T13:52:33.604Z2487248580227052425-5506895730494286719mytaghttp://db3.notify.windows.com/fake/superfake", { 'transfer-encoding': 'chunked', + 'content-type': 'application/atom+xml;type=entry;charset=utf-8', + 'content-location': 'https://ciserversb.servicebus.windows.net/xplathubnxt7/registrations/2487248580227052425-5506895730494286719?api-version=2013-04', + etag: 'W/"1"', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 13 May 2013 13:52:32 GMT' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb-sb.accesscontrol.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.post('/WRAPv0.9/', '*') + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt7%252fregistrations%252f%253f%252524filter%253dChannelUri%252520eq%252520%252527http%25253A%25252F%25252Fdb3.notify.windows.com%25252Ffake%25252Fsuperfake%252527%2526%252524top%253d10%2526api-version%253d2013-04%26ExpiresOn%3d1368454355%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dmXzor6%252ffcppxEVurSi2XT2G%252bGv2CPLwLVfxKWcmAz8g%253d&wrap_access_token_expires_in=1200", { 'cache-control': 'no-cache, no-store', + pragma: 'no-cache', + 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', + expires: '-1', + 'request-id': 'd836bb02-2b22-43b6-aaea-2bcd8a373484', + 'x-content-type-options': 'nosniff', + date: 'Mon, 13 May 2013 13:52:34 GMT', + 'content-length': '759' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .get('/xplathubnxt7/registrations/?%24filter=ChannelUri%20eq%20%27http%3A%2F%2Fdb3.notify.windows.com%2Ffake%2Fsuperfake%27&%24top=10&api-version=2013-04') + .reply(200, "Registrationshttps://ciserversb.servicebus.windows.net/xplathubnxt7/registrations/?%24filter=ChannelUri%20eq%20%27http%3A%2F%2Fdb3.notify.windows.com%2Ffake%2Fsuperfake%27&%24top=10&api-version=2013-042013-05-13T13:52:36Zhttps://ciserversb.servicebus.windows.net/xplathubnxt7/registrations/2487248580227052425-5506895730494286719?%24filter=ChannelUri%20eq%20%27http%3A%2F%2Fdb3.notify.windows.com%2Ffake%2Fsuperfake%27&%24top=10&api-version=2013-042487248580227052425-55068957304942867192013-05-13T13:52:36Z2013-05-13T13:52:36Z12013-08-11T13:52:33.604Z2487248580227052425-5506895730494286719mytaghttp://db3.notify.windows.com/fake/superfake", { 'transfer-encoding': 'chunked', + 'content-type': 'application/atom+xml;type=feed;charset=utf-8', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 13 May 2013 13:52:36 GMT' }); + return result; }], +[function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .get('/$Resources/NotificationHubs?api-version=2013-04') + .reply(200, "NotificationHubshttps://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2013-042013-05-13T13:52:39Zhttps://ciserversb.servicebus.windows.net/myhub?api-version=2013-04myhub2013-04-26T18:02:22Z2013-04-26T18:10:31ZciserversbP90DPackageSidms-app://s-1-15-2-2060948854-1555579440-2624401838-1061041892-4152237894-3341387579-3741301639SecretKey1t/f1uWV3ehU8Wo/+vRRusLPlmwUOYudWindowsLiveEndpointhttps://login.live.com/accesstoken.srfSharedAccessKeyNoneListenDefaultListenSharedAccessSignaturef7ReDRk4hzKRfLtXHjrl3vTNabq8xPKi8OpvTKlokBU=SharedAccessKeyNoneListenManageSendDefaultFullSharedAccessSignaturev7WXGFfWuD+6uVY40Y13h6gjt0Q/qb5QdIREMw5MtO0=https://ciserversb.servicebus.windows.net/myhub2?api-version=2013-04myhub22013-05-13T12:31:11Z2013-05-13T12:31:11ZciserversbP90DSharedAccessKeyNoneListen2013-05-13T12:31:11.0727424Z2013-05-13T12:31:11.0727424ZDefaultListenSharedAccessSignaturewSEu4/IJLTn9X0ce7NBD1aFIsUEuL2H+Pa/3Cp36pcA=SharedAccessKeyNoneListenManageSend2013-05-13T12:31:11.0727424Z2013-05-13T12:31:11.0727424ZDefaultFullSharedAccessSignatureFI8DkfgSZJCJ1BH/W7cIJf4oXPkM6HwuWuABvL88Znk=", { 'transfer-encoding': 'chunked', + 'content-type': 'application/atom+xml;type=feed;charset=utf-8', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 13 May 2013 13:52:39 GMT' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb-sb.accesscontrol.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.post('/WRAPv0.9/', '*') + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt8%253fapi-version%253d2013-04%26ExpiresOn%3d1368454361%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3d9v%252blqwAOAddlYwjeCMHE4MTNHq6riusBT2UW%252bXwyOK0%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', + pragma: 'no-cache', + 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', + expires: '-1', + 'request-id': '365f509a-a571-4ad1-9c69-970475caf87a', + 'x-content-type-options': 'nosniff', + date: 'Mon, 13 May 2013 13:52:41 GMT', + 'content-length': '577' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.put('/xplathubnxt8?api-version=2013-04', '*') + .reply(201, "https://ciserversb.servicebus.windows.net/xplathubnxt8?api-version=2013-04xplathubnxt82013-05-13T13:52:42Z2013-05-13T13:52:42ZciserversbP90DSharedAccessKeyNoneListen2013-05-13T13:52:42.763461Z2013-05-13T13:52:42.763461ZDefaultListenSharedAccessSignatureAXElsNobEVqu14uxNM5RSprL1p7hsSu8vzuuDbAH8F8=SharedAccessKeyNoneListenManageSend2013-05-13T13:52:42.763461Z2013-05-13T13:52:42.763461ZDefaultFullSharedAccessSignaturezmg6iZB8vGsRGhwvBOK1L8An1erv0yO28qO+s1qkGkQ=", { 'transfer-encoding': 'chunked', + 'content-type': 'application/atom+xml;type=entry;charset=utf-8', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 13 May 2013 13:52:42 GMT' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb-sb.accesscontrol.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.post('/WRAPv0.9/', '*') + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt8%252fregistrations%253fapi-version%253d2013-04%26ExpiresOn%3d1368454364%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dWOQkZorzd0QvEZP2Uj%252bstBkTw4yrqhsv5llS6kb2S5Y%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', + pragma: 'no-cache', + 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', + expires: '-1', + 'request-id': '00e884a1-dcfc-4500-8df3-d1d3811417d3', + 'x-content-type-options': 'nosniff', + date: 'Mon, 13 May 2013 13:52:43 GMT', + 'content-length': '591' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.post('/xplathubnxt8/registrations?api-version=2013-04', '*') + .reply(200, "https://ciserversb.servicebus.windows.net/xplathubnxt8/registrations/7964054311393345630-2993356398281548297?api-version=2013-047964054311393345630-29933563982815482972013-05-13T13:52:50Z2013-05-13T13:52:50Z12013-08-11T13:52:50.115Z7964054311393345630-2993356398281548297http://db3.notify.windows.com/fake/superfake\"$(myImageProp2)\"/$(myTextProp1)$(myTextProp2)$(myTextProp3)$(myTextProp4)]]>
X-WNS-Type
wns/tile
", { 'transfer-encoding': 'chunked', + 'content-type': 'application/atom+xml;type=entry;charset=utf-8', + 'content-location': 'https://ciserversb.servicebus.windows.net/xplathubnxt8/registrations/7964054311393345630-2993356398281548297?api-version=2013-04', + etag: 'W/"1"', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 13 May 2013 13:52:50 GMT' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb-sb.accesscontrol.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.post('/WRAPv0.9/', '*') + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt8%252fregistrations%252f7964054311393345630-2993356398281548297%253fapi-version%253d2013-04%26ExpiresOn%3d1368454372%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3deafpEJHICKP2OdiAQSlTO0M881UDvpBmRQwYzVs32y4%253d&wrap_access_token_expires_in=1200", { 'cache-control': 'no-cache, no-store', + pragma: 'no-cache', + 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', + expires: '-1', + 'request-id': '92921d29-dcf6-438d-80d1-4aa930b1b585', + 'x-content-type-options': 'nosniff', + date: 'Mon, 13 May 2013 13:52:51 GMT', + 'content-length': '631' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .delete('/xplathubnxt8/registrations/7964054311393345630-2993356398281548297?api-version=2013-04') .reply(200, "", { 'content-length': '0', server: 'Microsoft-HTTPAPI/2.0', - date: 'Sat, 20 Apr 2013 00:06:18 GMT' }); + date: 'Mon, 13 May 2013 13:52:53 GMT' }); + return result; }], +[function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .get('/$Resources/NotificationHubs?api-version=2013-04') + .reply(200, "NotificationHubshttps://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2013-042013-05-13T13:52:55Zhttps://ciserversb.servicebus.windows.net/myhub?api-version=2013-04myhub2013-04-26T18:02:22Z2013-04-26T18:10:31ZciserversbP90DPackageSidms-app://s-1-15-2-2060948854-1555579440-2624401838-1061041892-4152237894-3341387579-3741301639SecretKey1t/f1uWV3ehU8Wo/+vRRusLPlmwUOYudWindowsLiveEndpointhttps://login.live.com/accesstoken.srfSharedAccessKeyNoneListenDefaultListenSharedAccessSignaturef7ReDRk4hzKRfLtXHjrl3vTNabq8xPKi8OpvTKlokBU=SharedAccessKeyNoneListenManageSendDefaultFullSharedAccessSignaturev7WXGFfWuD+6uVY40Y13h6gjt0Q/qb5QdIREMw5MtO0=https://ciserversb.servicebus.windows.net/myhub2?api-version=2013-04myhub22013-05-13T12:31:11Z2013-05-13T12:31:11ZciserversbP90DSharedAccessKeyNoneListen2013-05-13T12:31:11.0727424Z2013-05-13T12:31:11.0727424ZDefaultListenSharedAccessSignaturewSEu4/IJLTn9X0ce7NBD1aFIsUEuL2H+Pa/3Cp36pcA=SharedAccessKeyNoneListenManageSend2013-05-13T12:31:11.0727424Z2013-05-13T12:31:11.0727424ZDefaultFullSharedAccessSignatureFI8DkfgSZJCJ1BH/W7cIJf4oXPkM6HwuWuABvL88Znk=", { 'transfer-encoding': 'chunked', + 'content-type': 'application/atom+xml;type=feed;charset=utf-8', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 13 May 2013 13:52:55 GMT' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb-sb.accesscontrol.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.post('/WRAPv0.9/', '*') + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt9%253fapi-version%253d2013-04%26ExpiresOn%3d1368454377%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dW2CC5fLlSmAJxnkKdTMGvc0%252fxirHnPeubqhlJ7mdglc%253d&wrap_access_token_expires_in=1200", { 'cache-control': 'no-cache, no-store', + pragma: 'no-cache', + 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', + expires: '-1', + 'request-id': 'd0ed5637-3259-433e-8fdb-0fd72f89888e', + 'x-content-type-options': 'nosniff', + date: 'Mon, 13 May 2013 13:52:57 GMT', + 'content-length': '573' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.put('/xplathubnxt9?api-version=2013-04', '*') + .reply(201, "https://ciserversb.servicebus.windows.net/xplathubnxt9?api-version=2013-04xplathubnxt92013-05-13T13:52:59Z2013-05-13T13:52:59ZciserversbP90DSharedAccessKeyNoneListen2013-05-13T13:52:59.5134616Z2013-05-13T13:52:59.5134616ZDefaultListenSharedAccessSignatureSf0elbFu7n2C6LnEitVv3vNMuvZZ4PhcWpKfS5TXn8Q=SharedAccessKeyNoneListenManageSend2013-05-13T13:52:59.5134616Z2013-05-13T13:52:59.5134616ZDefaultFullSharedAccessSignaturepvABv1mfu7txY4aqqI88TP+C9bMuHPS36RQbBULCU7U=", { 'transfer-encoding': 'chunked', + 'content-type': 'application/atom+xml;type=entry;charset=utf-8', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 13 May 2013 13:52:59 GMT' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb-sb.accesscontrol.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.post('/WRAPv0.9/', '*') + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt9%252fregistrations%253fapi-version%253d2013-04%26ExpiresOn%3d1368454381%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3diGAS%252f9%252fd3KFzxUBXAK3nTlfaOShMR4wdlKoMTxJ%252fNL8%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', + pragma: 'no-cache', + 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', + expires: '-1', + 'request-id': 'b2159d8d-fd51-47ff-a0e6-1a53eeb7b702', + 'x-content-type-options': 'nosniff', + date: 'Mon, 13 May 2013 13:53:00 GMT', + 'content-length': '599' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.post('/xplathubnxt9/registrations?api-version=2013-04', '*') + .reply(200, "https://ciserversb.servicebus.windows.net/xplathubnxt9/registrations/8625869933298712670-4962443840861181660?api-version=2013-048625869933298712670-49624438408611816602013-05-13T13:53:02Z2013-05-13T13:53:02Z12013-08-11T13:53:02.685Z8625869933298712670-4962443840861181660http://db3.notify.windows.com/fake/superfake\"$(myImageProp2)\"/$(myTextProp1)$(myTextProp2)$(myTextProp3)$(myTextProp4)]]>
X-WNS-Type
wns/tile
", { 'transfer-encoding': 'chunked', + 'content-type': 'application/atom+xml;type=entry;charset=utf-8', + 'content-location': 'https://ciserversb.servicebus.windows.net/xplathubnxt9/registrations/8625869933298712670-4962443840861181660?api-version=2013-04', + etag: 'W/"1"', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 13 May 2013 13:53:02 GMT' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb-sb.accesscontrol.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.post('/WRAPv0.9/', '*') + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathubnxt9%252fregistrations%252f8625869933298712670-4962443840861181660%253fapi-version%253d2013-04%26ExpiresOn%3d1368454384%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3ditJsX%252b2L7mgKeTByhO0tBVTEE2hAhfxQgSjCWyf5VOI%253d&wrap_access_token_expires_in=1200", { 'cache-control': 'no-cache, no-store', + pragma: 'no-cache', + 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', + expires: '-1', + 'request-id': '60d3d445-7daa-4812-9ae7-140b9a9109c5', + 'x-content-type-options': 'nosniff', + date: 'Mon, 13 May 2013 13:53:03 GMT', + 'content-length': '635' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.put('/xplathubnxt9/registrations/8625869933298712670-4962443840861181660?api-version=2013-04', '*') + .reply(200, "https://ciserversb.servicebus.windows.net/xplathubnxt9/registrations/8625869933298712670-4962443840861181660?api-version=2013-048625869933298712670-49624438408611816602013-05-13T13:53:06Z2013-05-13T13:53:06Z12013-08-11T13:53:06.026Z8625869933298712670-4962443840861181660http://db3.notify.windows.com/fake/superfake\"$(myImageProp2)\"/$(myTextProp1)$(myTextProp2)$(myTextProp3)$(myNewTextProp)]]>
X-WNS-Type
wns/tile
", { 'transfer-encoding': 'chunked', + 'content-type': 'application/atom+xml;type=entry;charset=utf-8', + etag: 'W/"1"', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 13 May 2013 13:53:05 GMT' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .delete('/xplathubnxt9/registrations/8625869933298712670-4962443840861181660?api-version=2013-04') + .reply(200, "", { 'content-length': '0', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 13 May 2013 13:53:06 GMT' }); return result; }]]; \ No newline at end of file diff --git a/test/services/serviceBus/apnsservice-registrations-tests.js b/test/services/serviceBus/apnsservice-registrations-tests.js index da8743019..7c60873b4 100644 --- a/test/services/serviceBus/apnsservice-registrations-tests.js +++ b/test/services/serviceBus/apnsservice-registrations-tests.js @@ -104,7 +104,7 @@ describe('APNS notifications registrations', function () { }); it('should work', function (done) { - notificationHubService.apns.createNativeRegistration(tokenId, function (error, registration) { + notificationHubService.apns.createNativeRegistration(tokenId, null, function (error, registration) { should.not.exist(error); registrationId = registration.RegistrationId; @@ -112,6 +112,52 @@ describe('APNS notifications registrations', function () { }); }); }); + + describe('list', function () { + beforeEach(function (done) { + notificationHubService.apns.createNativeRegistration(tokenId, [ 'mytag'], done); + }); + + it('should work without filtering', function (done) { + notificationHubService.listRegistrations(function (err, list) { + should.not.exist(err); + should.exist(list); + list.length.should.equal(1); + + done(); + }); + }); + + it('should work with tag filtering with the wrong tag', function (done) { + notificationHubService.listRegistrationsByTag('tag', { top: 10, skip: 0 }, function (err, list) { + should.not.exist(err); + should.exist(list); + list.length.should.equal(0); + + done(); + }); + }); + + it('should work with tag filtering with the right tag', function (done) { + notificationHubService.listRegistrationsByTag('mytag', { top: 10, skip: 0 }, function (err, list) { + should.not.exist(err); + should.exist(list); + list.length.should.equal(1); + + done(); + }); + }); + + it('should work with token filtering', function (done) { + notificationHubService.apns.listRegistrationsByToken(tokenId, { top: 10, skip: 0 }, function (err, list, rsp) { + should.not.exist(err); + should.exist(list); + list.length.should.equal(1); + + done(); + }); + }); + }); }); describe('template', function () { @@ -153,7 +199,7 @@ describe('APNS notifications registrations', function () { registrationId = registration.RegistrationId; done(); - }); + }); }); afterEach(function (done) { @@ -172,7 +218,7 @@ describe('APNS notifications registrations', function () { should.not.exist(error); done(); - }); + }); }); }); }); diff --git a/test/services/serviceBus/notificationhubs-tests.js b/test/services/serviceBus/notificationhubs-tests.js index 10e33ec2d..8a7626d3a 100644 --- a/test/services/serviceBus/notificationhubs-tests.js +++ b/test/services/serviceBus/notificationhubs-tests.js @@ -17,7 +17,6 @@ var _ = require('underscore'); var should = require('should'); var sinon = require('sinon'); -var fs = require('fs'); // Test includes var testutil = require('../../util/util'); @@ -110,7 +109,7 @@ describe('Notification hubs', function () { ApnsCertificate: 'secret1', CertificateKey: 'secret2' } - } + }; sandbox.stub(service, '_executeRequest', function (webResource, payload, resultHandler, validators, callback) { payload.should.include('PackageSidsecret1' + @@ -248,34 +247,34 @@ describe('Notification hubs', function () { } }, function () { - var setupHub = function () { - service.getNotificationHub(hubName, function (err, hub) { - if (err) { - setupHub(); - } else { - var fullRule = hub.AuthorizationRules.AuthorizationRule.filter(function (rule) { - return rule.KeyName === 'DefaultFullSharedAccessSignature'; - })[0]; + var setupHub = function () { + service.getNotificationHub(hubName, function (err, hub) { + if (err) { + setupHub(); + } else { + var fullRule = hub.AuthorizationRules.AuthorizationRule.filter(function (rule) { + return rule.KeyName === 'DefaultFullSharedAccessSignature'; + })[0]; - var endpoint = 'https://' + process.env.AZURE_SERVICEBUS_NAMESPACE + '.servicebus.windows.net'; - notificationHubService = azure.createNotificationHubService(hubName, endpoint, fullRule.KeyName, fullRule.PrimaryKey); - suiteUtil.setupService(notificationHubService); + var endpoint = 'https://' + process.env.AZURE_SERVICEBUS_NAMESPACE + '.servicebus.windows.net'; + notificationHubService = azure.createNotificationHubService(hubName, endpoint, fullRule.KeyName, fullRule.PrimaryKey); + suiteUtil.setupService(notificationHubService); - var listenRule = hub.AuthorizationRules.AuthorizationRule.filter(function (rule) { - return rule.KeyName === 'DefaultListenSharedAccessSignature'; - })[0]; + var listenRule = hub.AuthorizationRules.AuthorizationRule.filter(function (rule) { + return rule.KeyName === 'DefaultListenSharedAccessSignature'; + })[0]; - var endpoint = 'https://' + process.env.AZURE_SERVICEBUS_NAMESPACE + '.servicebus.windows.net'; - notificationListenHubService = azure.createNotificationHubService(hubName, endpoint, listenRule.KeyName, listenRule.PrimaryKey); - suiteUtil.setupService(notificationListenHubService); + endpoint = 'https://' + process.env.AZURE_SERVICEBUS_NAMESPACE + '.servicebus.windows.net'; + notificationListenHubService = azure.createNotificationHubService(hubName, endpoint, listenRule.KeyName, listenRule.PrimaryKey); + suiteUtil.setupService(notificationListenHubService); - done(); - } - }); - }; + done(); + } + }); + }; - setupHub(); - }); + setupHub(); + }); }); it('should be able to execute an operation', function (done) { @@ -325,7 +324,7 @@ describe('Notification hubs', function () { done(); }); - }); + }); }); }); diff --git a/test/services/serviceBus/wnsservice-registrations-tests.js b/test/services/serviceBus/wnsservice-registrations-tests.js index 1c3ef4d31..1b0bc7db2 100644 --- a/test/services/serviceBus/wnsservice-registrations-tests.js +++ b/test/services/serviceBus/wnsservice-registrations-tests.js @@ -93,7 +93,7 @@ describe('WNS notifications registrations', function () { }); it('should work', function (done) { - notificationHubService.wns.createNativeRegistration('http://db3.notify.windows.com/fake/superfake', { registrationId: 'myname' }, function (error, registration) { + notificationHubService.wns.createNativeRegistration('http://db3.notify.windows.com/fake/superfake', null, { registrationId: 'myname' }, function (error, registration) { should.not.exist(error); registrationId = registration.RegistrationId; @@ -106,7 +106,7 @@ describe('WNS notifications registrations', function () { var registrationId; beforeEach(function (done) { - notificationHubService.wns.createNativeRegistration('http://db3.notify.windows.com/fake/superfake', function (err, registration) { + notificationHubService.wns.createNativeRegistration('http://db3.notify.windows.com/fake/superfake', null, function (err, registration) { registrationId = registration.RegistrationId; done(); @@ -126,7 +126,7 @@ describe('WNS notifications registrations', function () { var registrationId; beforeEach(function (done) { - notificationHubService.wns.createNativeRegistration('http://db3.notify.windows.com/fake/superfake', function (err, registration) { + notificationHubService.wns.createNativeRegistration('http://db3.notify.windows.com/fake/superfake', null, function (err, registration) { registrationId = registration.RegistrationId; done(); @@ -146,14 +146,8 @@ describe('WNS notifications registrations', function () { }); describe('list', function () { - var registrationId; - beforeEach(function (done) { - notificationHubService.wns.createNativeRegistration('http://db3.notify.windows.com/fake/superfake', function (err, registration) { - registrationId = registration.RegistrationId; - - done(); - }); + notificationHubService.wns.createNativeRegistration('http://db3.notify.windows.com/fake/superfake', [ 'mytag'], done); }); it('should work without filtering', function (done) { @@ -166,8 +160,8 @@ describe('WNS notifications registrations', function () { }); }); - it('should work with tag filtering', function (done) { - notificationHubService.listRegistrationsByTag('tag', function (err, list) { + it('should work with tag filtering with the wrong tag', function (done) { + notificationHubService.listRegistrationsByTag('tag', { top: 10, skip: 0 }, function (err, list) { should.not.exist(err); should.exist(list); list.length.should.equal(0); @@ -175,6 +169,26 @@ describe('WNS notifications registrations', function () { done(); }); }); + + it('should work with tag filtering with the right tag', function (done) { + notificationHubService.listRegistrationsByTag('mytag', { top: 10, skip: 0 }, function (err, list) { + should.not.exist(err); + should.exist(list); + list.length.should.equal(1); + + done(); + }); + }); + + it('should work with channel filtering', function (done) { + notificationHubService.wns.listRegistrationsByChannel('http://db3.notify.windows.com/fake/superfake', { top: 10, skip: 0 }, function (err, list, rsp) { + should.not.exist(err); + should.exist(list); + list.length.should.equal(1); + + done(); + }); + }); }); }); From 59cd5c47f24af8c5d91621b7028d970d2d6a7655 Mon Sep 17 00:00:00 2001 From: Andre Rodrigues Date: Mon, 13 May 2013 16:13:58 +0100 Subject: [PATCH 2/2] Replace hardcoded namespaces --- lib/util/odatahandler.js | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/lib/util/odatahandler.js b/lib/util/odatahandler.js index e13d972d7..b174aa318 100644 --- a/lib/util/odatahandler.js +++ b/lib/util/odatahandler.js @@ -151,12 +151,14 @@ OdataHandler.prototype._setProperty = function (entity, propertyName, value, typ * - { stringValue: 'my string', myInt: 3 } */ OdataHandler.prototype.serialize = function (entity, skipType) { + var self = this; var properties = {}; Object.keys(entity).forEach(function (name) { if (name !== '_') { - properties[OdataHandler.NSDATA + ':' + name] = { }; - properties[OdataHandler.NSDATA + ':' + name][Constants.XML_METADATA_MARKER] = {}; + var propertyName = self._xmlQualifyXmlTagName(name, self.nsData); + properties[propertyName] = { }; + properties[propertyName][Constants.XML_METADATA_MARKER] = {}; var propertyType = null; var propertyValue = null; @@ -181,16 +183,19 @@ OdataHandler.prototype.serialize = function (entity, skipType) { properties[OdataHandler.NSDATA + ':' + name][Constants.XML_VALUE_MARKER] = propertyValue; if (!skipType && propertyType !== null) { - properties[OdataHandler.NSDATA + ':' + name][Constants.XML_METADATA_MARKER][OdataHandler.NSMETA + ':type'] = propertyType; + properties[OdataHandler.NSDATA + ':' + name][Constants.XML_METADATA_MARKER][self._xmlQualifyXmlTagName('type', self.nsMeta)] = propertyType; } if (azureutil.stringIsEmpty(propertyValue)) { - properties[OdataHandler.NSDATA + ':' + name][Constants.XML_METADATA_MARKER][OdataHandler.NSMETA + ':null'] = true; + properties[OdataHandler.NSDATA + ':' + name][Constants.XML_METADATA_MARKER][self._xmlQualifyXmlTagName('null', self.nsMeta)] = true; } } }); - return atomHandler.serializeEntry({ 'm:properties': properties }, [ + var content = {}; + content[self._xmlQualifyXmlTagName('properties', self.nsMeta)] = properties; + + return atomHandler.serializeEntry(content, [ { key: OdataHandler.NSDATA, url: 'http://schemas.microsoft.com/ado/2007/08/dataservices'