From e2a62404b986b874acd2c1a618116876e699f074 Mon Sep 17 00:00:00 2001 From: Todd Reifsteck Date: Thu, 31 Jul 2014 23:46:59 -0700 Subject: [PATCH] Enable APN compatibility on apnsService --- lib/services/serviceBus/lib/apnsservice.js | 17 +- test/recordings/apnsservice-tests.nock.js | 293 +++++++++++++++--- test/services/serviceBus/apnsservice-tests.js | 81 ++++- 3 files changed, 332 insertions(+), 59 deletions(-) diff --git a/lib/services/serviceBus/lib/apnsservice.js b/lib/services/serviceBus/lib/apnsservice.js index f34137ab8..10336d8fe 100644 --- a/lib/services/serviceBus/lib/apnsservice.js +++ b/lib/services/serviceBus/lib/apnsservice.js @@ -90,14 +90,7 @@ ApnsService.prototype.send = function (tags, payload, callback) { } payload = _.clone(payload); - if (payload.payload) { - Object.keys(payload.payload).forEach(function (property) { - payload[property] = payload.payload[property]; - }); - - delete payload.payload; - } - + if (payload.expiry) { var expiry = new Date(payload.expiry); headers[HeaderConstants.SERVICE_BUS_NOTIFICATION_APNS_EXPIRY] = expiry.toISOString(); @@ -107,6 +100,14 @@ ApnsService.prototype.send = function (tags, payload, callback) { if (!_.isString(payload)) { if (!payload.aps) { payload = { aps: payload }; + + if (payload.aps.payload) { + Object.keys(payload.aps.payload).forEach(function (innerPayloadMember) { + payload[innerPayloadMember] = payload.aps.payload[innerPayloadMember]; + }); + + delete payload.aps.payload; + } } payload = JSON.stringify(payload); diff --git a/test/recordings/apnsservice-tests.nock.js b/test/recordings/apnsservice-tests.nock.js index c872827be..2d75fabb9 100644 --- a/test/recordings/apnsservice-tests.nock.js +++ b/test/recordings/apnsservice-tests.nock.js @@ -5,61 +5,87 @@ 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-07%26ExpiresOn%3d1366416679%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dDvCddS4CCUCQ8sE4rkE4fjvm1hdGuORdimlxhyqpyik%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cSend%252cManage%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-07%26ExpiresOn%3d1407192156%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dMxI0vKB2eUFQH2sI7SHgOpZIOWGE4HEOiutTqpZPoMM%253d&wrap_access_token_expires_in=10799", { 'cache-control': 'no-cache, no-store', pragma: 'no-cache', 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', expires: '-1', - 'request-id': '1aff3c69-ded0-4c89-a149-cf7e9528deb7', + 'request-id': 'f8250472-4db7-473b-a811-d569192579b8', 'x-content-type-options': 'nosniff', - date: 'Fri, 19 Apr 2013 23:51:19 GMT', - 'content-length': '592' }); + 'strict-transport-security': 'max-age=31536000; includeSubDomains', + date: 'Mon, 04 Aug 2014 19:42:35 GMT', + 'content-length': '611' }); return result; }, function (nock) { var result = nock('https://ciserversb.servicebus.windows.net:443') .get('/$Resources/NotificationHubs?api-version=2013-07') - .reply(200, "NotificationHubshttps://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2013-072013-07-19T23:51:21Zhttps://ciserversb.servicebus.windows.net/myhub?api-version=2013-07myhub2013-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-07myhubnice2013-07-19T22:54:43Z2013-07-19T22:54:43ZciserversbP90DPackageSidasdSecretKeysdSharedAccessKeyNoneListen2013-07-19T22:54:43.8746206Z2013-07-19T22:54:43.8746206ZDefaultListenSharedAccessSignaturel0cdsU/cHy570dBeVeDnF6SifM1dkMGNs8N/oOVDXog=SharedAccessKeyNoneListenManageSend2013-07-19T22:54:43.8746206Z2013-07-19T22:54:43.8746206ZDefaultFullSharedAccessSignatureF7hqEsUNzb1ZDV6ITjX0pMP4+A1mfCaiACAvjrjoqKk=", { 'transfer-encoding': 'chunked', + .reply(200, "NotificationHubshttps://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2013-072014-08-04T19:42:37Zhttps://ciserversb.servicebus.windows.net/toddtestmshub?api-version=2013-07toddtestmshub2014-05-06T17:59:46Z2014-07-30T18:59:21ZciserversbEndpointgateway.sandbox.push.apple.comApnsCertificateMIIMwQIBAzCCDIgGCSqGSIb3DQEHAaCCDHkEggx1MIIMcTCCBu8GCSqGSIb3DQEHBqCCBuAwggbcAgEAMIIG1QYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQYwDgQIagD83O4K+UsCAggAgIIGqEt2DWvi8HvuCgnQZ9EAB1YjzSG5hByYWf8RljWIJ+GVnsf8Ux6xvJZS38mt+6JWWvTvJsrNMx47u/O19jdHWYJhMnZrnEESmrDO1o5BBKoGLyO3a6lcWY2BHO9tzEl7+IblWVXFIT34+IqoXBbo2NPqq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/3u/jMPgjC8A0QE4KSvIorw/I7qXXF3x82zpdt/BeOpplyRC1+hDPTTmJpBO206+yaMT6IW02srJ62lm+APQBBU/fRNxKrBNj/HTTLGEvHodvnaokF0IvqSJTz3Iyh4eQ7rKpcS+p7DUEyu/kDkSHstOBl4jxksguDy0FS2QcUQwmu0b4E5ItOK5M4Wgk/x3eZbXLMjqrI4DtYnvcPoHcF61hBrNLemwffv18/XAdR3rcB9XKZAllR1AQHZCCpEJysbheVH8qwroVFPuWy+Pl62zc7onPTh3+tgUxAh65HEPqqLZRgQUjG80nFZBDmml4Hfi6MmQNrzD/ctwwB5SHWgJJfbgtk5ENbn/cN5Djc3nSV12sh2wvU1xCHlfoMStlfmnmsaelqn1b3rbwo+i4jwSa9rrBwFkrTrlDGZambsOHU3haulysTpJqly674ejzeLOBXZrYN/bjWSLWBTJnU0kFThL9MpvORrCRQ1Roc8a+dHU+rZUIcY3pBltjCuWw9JbpMxrE4pgNvioh4go/LHbHVHhXw3iA0irpp4tF0pSTDB3U2ruJA7VmsE+JM8a9Yg1wKh9qfFQ2TzV//rF6pASqG7lIkTYf0aMV4wNwYJKoZIhvcNAQkUMSoeKABQAGgAaQBsAGwAaQBwACAAVgBhAG4AIABOAG8AcgB0AHcAaQBjAGswIwYJKoZIhvcNAQkVMRYEFM+XI7N0YIr/eXr01ABlxvI4mVnrMDAwITAJBgUrDgMCGgUABBTqwpTjaIPkvwhfFh+izRXv108GWwQIE2v1yIlM/TcCAQE=CertificateKeyP90DPackageSidms-app://s-1-15-2-1794904194-2123548275-4179825724-63694083-1733226786-427943394-3113183983SecretKey07Sh89w62g6nG4rtCXYcVDV4B58mhm6eWindowsLiveEndpointhttps://login.live.com/accesstoken.srfSharedAccessKeyNoneListen2014-05-31T00:17:33.1220127Z2014-05-31T00:17:33.1220127ZDefaultListenSharedAccessSignatureRxLXtDp5EyqlKIiObJIamVXiKZ7XOyrmeEnPVVl9Bk4=j3H8TUsDhxliRhut8yof00XKT7lseqZ6dAC92keQBTo=SharedAccessKeyNoneListenSendManage2014-05-31T00:17:33.1220127Z2014-05-31T00:17:33.1220127ZDefaultFullSharedAccessSignaturefyneogPu6nwwc8a22zjJsyxF3/Jl15QGfySDkvAPeo8=T2gafpggpdWPoC0nJ80ZGKlABdEQ0Lew/GrwQVGK5w4=SharedAccessKeyNoneListenSendManage2014-05-31T00:17:33.1220127Z2014-05-31T00:17:33.1220127ZZumoManagementSasKeytzsWGezYlMz38Atcfa+rqEE0CvqZQI18lGzZgDPiUu4=VEvm9oX3h+RTaHIjaXWE0DW3PRMkvnkD/IWMMt8CIxA=GoogleApiKeyAIzaSyBvK2w6l60VV3VxpffiseUoXlQupSAxmzoGcmEndpointhttps://android.googleapis.com/gcm/send11https://ciserversb.servicebus.windows.net/xplathub4949?api-version=2013-07xplathub49492014-08-04T19:39:55Z2014-08-04T19:39:55ZciserversbApnsCertificateMIIMtQIBAzCCDHwGCSqGSIb3DQEHAaCCDG0EggxpMIIMZTCCBu8GCSqGSIb3DQEHBqCCBuAwggbcAgEAMIIG1QYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQYwDgQIXnySbwm5yc8CAggAgIIGqNTdnac9/teKDyuFCAEnI2VjwGccIdB8Pr4LvBScpo3wAnLWs5cee0LZhKSxX7JxG0z062dRb1J3Yg+odcv90BGSF1+SzqqucvDjG9BAjNDLQIY2oHXUF/uZkoYFW1NFE8VDRx0KjRzJSmLmEtHPYSxxVn+/APjFjNBYF8H8khJnm+2t90oFI3MR9toFhIP6i5fm5M9vcK3bWR0UCNlk3DDJGo47XZrQB754Koi7/9d+FBag1yZtuoBLmgdRoL4d2Vd6y8ZfSVUoNr2bHvruYPKFMC1K027l76HcAE8P7nmt6l+CIwIs6wYS2x62pYUCk86LbJWduH+UyVCpUxr8cNmINtAq/n+Jfy4Sp3FpcKv6bssXg3pNC7AkJI3wVymyko4IvAsUT151M/exORosqjSxT8BCVU7RC1+TKFAHyfsaYs2rTxKET21XNYi9cLcd+5BnaGAZgALF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UjNHYngIAVndRJ6ugWK3pY8A/BeboHVjv7kIpSlFDIsIn1/75qRgQy3+ygVnoe36wKjUXy2RBgPrcwKvrTApFzmdAD9sQXe7I1yKtOwQzHvu3/Dky+ZdxHLLuLpt0vsBqq5K122NxQUVYqNrJyr3ZyMmW82Dye9XYj4h2Y7u3oRYFKXFYZRpKdd9dcjunRYuZiDfWhwMNRAXTfpUwpVbOFcmL0W3wqofOET3N2bBzqPZjlj1Hg0QlKUttdkdqFB/2ZcmQ2jUqxphMbP9pGrBN1MkPEizrmCMxneeUcHg1Qu+a1MvN0YbpvsvkwP514932YEEOXMVIwKwYJKoZIhvcNAQkUMR4eHABUAG8AZABkACAAUgBlAGkAZgBzAHQAZQBjAGswIwYJKoZIhvcNAQkVMRYEFKW//aZ0ukFnnpB8t4lTivYNCO3OMDAwITAJBgUrDgMCGgUABBR9n61EwffNJdHW7V00VjU+Uu34SgQIy8Ely0aMW6ICAQE=CertificateKeypasswordEndpointpushtestservice2.cloudapp.netP90DSharedAccessKeyNoneListen2014-08-04T19:39:55.9903963Z2014-08-04T19:39:55.9903963ZDefaultListenSharedAccessSignatureLVIX/NO2OKH9DhhJK0gL1Bq+yzdpKSEEJhS58n9dB2o=f2WNKL8lnFxjMofup4CIa0R2dtVKBLKOyUqjdarmjgc=SharedAccessKeyNoneListenManageSend2014-08-04T19:39:55.9903963Z2014-08-04T19:39:55.9903963ZDefaultFullSharedAccessSignatureqXC59QBb0ISAK52hvOOHV5y7VJIylcjWHSDvC9VRQxA=oIcYaaSJ4fi/d5ouFzBfnV72r//6evHJksqqBsT5374=", { '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:21 GMT' }); + date: 'Mon, 04 Aug 2014 19:42:36 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%252fxplathub1%253fapi-version%253d2013-07%26ExpiresOn%3d1366416682%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dqDqQktMAiBuG9veaUEx4ofnqYA5jujiLksUPWyIHaM0%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cSend%252cManage%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%252fxplathub1%253fapi-version%253d2013-07%26ExpiresOn%3d1407192157%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dd%252fCh%252bbuPH4Swci2x2AKNsLYelPuTGzXbvzYFtgSp2dc%253d&wrap_access_token_expires_in=10800", { 'cache-control': 'no-cache, no-store', pragma: 'no-cache', 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', expires: '-1', - 'request-id': 'e9cbcb8c-40d2-438d-812f-4b64c2de7274', + 'request-id': 'e482d54a-c674-4634-8147-ebdf33cdc868', 'x-content-type-options': 'nosniff', - date: 'Fri, 19 Apr 2013 23:51:22 GMT', - 'content-length': '566' }); + 'strict-transport-security': 'max-age=31536000; includeSubDomains', + date: 'Mon, 04 Aug 2014 19:42:36 GMT', + 'content-length': '593' }); + 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%252cSend%252cManage%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%252fxplathub4949%253fapi-version%253d2013-07%26ExpiresOn%3d1407192157%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dBCnvhtqjLKXFwe%252fSfIf%252bHCAcBVGGwerIEhuhwSB%252bknk%253d&wrap_access_token_expires_in=10800", { 'cache-control': 'no-cache, no-store', + pragma: 'no-cache', + 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', + expires: '-1', + 'request-id': '27df72a0-7a5a-41c8-b876-ba9a83212765', + 'x-content-type-options': 'nosniff', + 'strict-transport-security': 'max-age=31536000; includeSubDomains', + date: 'Mon, 04 Aug 2014 19:42:36 GMT', + 'content-length': '600' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .delete('/xplathub4949?api-version=2013-07') + .reply(200, "", { 'content-length': '0', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 04 Aug 2014 19:42:37 GMT' }); return result; }, function (nock) { var result = nock('https://ciserversb.servicebus.windows.net:443') .filteringRequestBody(function (path) { return '*';}) .put('/xplathub1?api-version=2013-07', '*') - .reply(201, "https://ciserversb.servicebus.windows.net/xplathub1?api-version=2013-07xplathub12013-07-19T23:51:24Z2013-07-19T23:51:24ZciserversbApnsCertificateMIIKaAIBAzCCCi4GCSqGSIb3DQEHAaCCCh8EggobMIIKFzCCBJcGCSqGSIb3DQEHBqCCBIgwggSEAgEAMIIEfQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQYwDgQIWGoWgJ5f7psCAggAgIIEUEgM4C5KBq7AeDbr4YsE3S7kblLwJzPKeed1X7jzrhwDDUiGKYlDFKmiSOkQ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iYATQB5ACAAUwBlAGwAZgAgAFMAaQBnAG4AZQBkACAAQwBlAHIAdDAxMCEwCQYFKw4DAhoFAAQU5CHWESZpMgul1RafRMoAv+V6tLMECKZ/KM3TIM49AgIIAA==CertificateKey12345Endpointpushtestservice2.cloudapp.netP90DSharedAccessKeyNoneListen2013-07-19T23:51:24.4991618Z2013-07-19T23:51:24.4991618ZDefaultListenSharedAccessSignaturec5h+EBqNscosRvClDcilVtIdmh2fptll4wfkJBtjYS4=SharedAccessKeyNoneListenManageSend2013-07-19T23:51:24.4991618Z2013-07-19T23:51:24.4991618ZDefaultFullSharedAccessSignaturekp2smwcai3xlTT7RWgF8v4h9rZNw4HoP7zIffn7RIU4=", { 'transfer-encoding': 'chunked', + .reply(201, "https://ciserversb.servicebus.windows.net/xplathub1?api-version=2013-07xplathub12014-08-04T19:42:39Z2014-08-04T19:42:39ZciserversbApnsCertificateMIIMtQIBAzCCDHwGCSqGSIb3DQEHAaCCDG0EggxpMIIMZTCCBu8GCSqGSIb3DQEHBqCCBuAwggbcAgEAMIIG1QYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQYwDgQIXnySbwm5yc8CAggAgIIGqNTdnac9/teKDyuFCAEnI2VjwGccIdB8Pr4LvBScpo3wAnLWs5cee0LZhKSxX7JxG0z062dRb1J3Yg+odcv90BGSF1+SzqqucvDjG9BAjNDLQIY2oHXUF/uZkoYFW1NFE8VDRx0KjRzJSmLmEtHPYSxxVn+/APjFjNBYF8H8khJnm+2t90oFI3MR9toFhIP6i5fm5M9vcK3bWR0UCNlk3DDJGo47XZrQB754Koi7/9d+FBag1yZtuoBLmgdRoL4d2Vd6y8ZfSVUoNr2bHvruYPKFMC1K027l76HcAE8P7nmt6l+CIwIs6wYS2x62pYUCk86LbJWduH+UyVCpUxr8cNmINtAq/n+Jfy4Sp3FpcKv6bssXg3pNC7AkJI3wVymyko4IvAsUT151M/exORosqjSxT8BCVU7RC1+TKFAHyfsaYs2rTxKET21XNYi9cLcd+5Bn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N+mWFfrUjNHYngIAVndRJ6ugWK3pY8A/BeboHVjv7kIpSlFDIsIn1/75qRgQy3+ygVnoe36wKjUXy2RBgPrcwKvrTApFzmdAD9sQXe7I1yKtOwQzHvu3/Dky+ZdxHLLuLpt0vsBqq5K122NxQUVYqNrJyr3ZyMmW82Dye9XYj4h2Y7u3oRYFKXFYZRpKdd9dcjunRYuZiDfWhwMNRAXTfpUwpVbOFcmL0W3wqofOET3N2bBzqPZjlj1Hg0QlKUttdkdqFB/2ZcmQ2jUqxphMbP9pGrBN1MkPEizrmCMxneeUcHg1Qu+a1MvN0YbpvsvkwP514932YEEOXMVIwKwYJKoZIhvcNAQkUMR4eHABUAG8AZABkACAAUgBlAGkAZgBzAHQAZQBjAGswIwYJKoZIhvcNAQkVMRYEFKW//aZ0ukFnnpB8t4lTivYNCO3OMDAwITAJBgUrDgMCGgUABBR9n61EwffNJdHW7V00VjU+Uu34SgQIy8Ely0aMW6ICAQE=CertificateKeypasswordEndpointpushtestservice2.cloudapp.netP90DSharedAccessKeyNoneListen2014-08-04T19:42:40.3740832Z2014-08-04T19:42:40.3740832ZDefaultListenSharedAccessSignaturesu/DWpfyncGlfzaVHu3AV2oc5oXP4okrYJSAgax4umo=Jkdn/dx5QaRrsv99bjlhxhSJUxECqayWCF0kILWfutM=SharedAccessKeyNoneListenManageSend2014-08-04T19:42:40.3740832Z2014-08-04T19:42:40.3740832ZDefaultFullSharedAccessSignaturebPTnWTAWdZ4PDIktedcuHYX11evd2wagRNt4eWDtASg=0d8LibzikKuelJVtTEC2EiECW5l8weyf7FUxpoElqXE=", { '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:24 GMT' }); + date: 'Mon, 04 Aug 2014 19:42: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%252fxplathub1%252fMessages%26ExpiresOn%3d1366416685%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3d7SBdTC%252bIKB06ZwHj33Iih1FuKQJd6FXXJFxfaHLrSyI%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cSend%252cManage%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%252fxplathub1%252fMessages%26ExpiresOn%3d1407192160%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dzayY9bV85vMFTcI%252bTn%252fB1nUF1Qg1efweNub%252fi4f%252buCE%253d&wrap_access_token_expires_in=10800", { 'cache-control': 'no-cache, no-store', pragma: 'no-cache', 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', expires: '-1', - 'request-id': '93a1f596-1bca-475a-8735-18ca9fbbad10', + 'request-id': 'db1ad480-45b8-4077-a747-d4305e56f331', 'x-content-type-options': 'nosniff', - date: 'Fri, 19 Apr 2013 23:51:25 GMT', - 'content-length': '555' }); + 'strict-transport-security': 'max-age=31536000; includeSubDomains', + date: 'Mon, 04 Aug 2014 19:42:39 GMT', + 'content-length': '586' }); return result; }, function (nock) { var result = @@ -69,54 +95,56 @@ nock('https://ciserversb.servicebus.windows.net:443') .reply(201, "", { 'transfer-encoding': 'chunked', 'content-type': 'application/xml; charset=utf-8', server: 'Microsoft-HTTPAPI/2.0', - date: 'Fri, 19 Apr 2013 23:51:26 GMT' }); + date: 'Mon, 04 Aug 2014 19:42:40 GMT' }); return result; }], [function (nock) { var result = nock('https://ciserversb.servicebus.windows.net:443') .get('/$Resources/NotificationHubs?api-version=2013-07') - .reply(200, "NotificationHubshttps://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2013-072013-07-19T23:51:28Zhttps://ciserversb.servicebus.windows.net/myhub?api-version=2013-07myhub2013-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-07myhubnice2013-07-19T22:54:43Z2013-07-19T22:54:43ZciserversbP90DPackageSidasdSecretKeysdSharedAccessKeyNoneListen2013-07-19T22:54:43.8746206Z2013-07-19T22:54:43.8746206ZDefaultListenSharedAccessSignaturel0cdsU/cHy570dBeVeDnF6SifM1dkMGNs8N/oOVDXog=SharedAccessKeyNoneListenManageSend2013-07-19T22:54:43.8746206Z2013-07-19T22:54:43.8746206ZDefaultFullSharedAccessSignatureF7hqEsUNzb1ZDV6ITjX0pMP4+A1mfCaiACAvjrjoqKk=", { 'transfer-encoding': 'chunked', + .reply(200, "NotificationHubshttps://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2013-072014-08-04T19:42:41Zhttps://ciserversb.servicebus.windows.net/toddtestmshub?api-version=2013-07toddtestmshub2014-05-06T17:59:46Z2014-07-30T18:59:21ZciserversbEndpointgateway.sandbox.push.apple.comApnsCertificateMIIMwQIBAzCCDIgGCSqG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QE=CertificateKeyP90DPackageSidms-app://s-1-15-2-1794904194-2123548275-4179825724-63694083-1733226786-427943394-3113183983SecretKey07Sh89w62g6nG4rtCXYcVDV4B58mhm6eWindowsLiveEndpointhttps://login.live.com/accesstoken.srfSharedAccessKeyNoneListen2014-05-31T00:17:33.1220127Z2014-05-31T00:17:33.1220127ZDefaultListenSharedAccessSignatureRxLXtDp5EyqlKIiObJIamVXiKZ7XOyrmeEnPVVl9Bk4=j3H8TUsDhxliRhut8yof00XKT7lseqZ6dAC92keQBTo=SharedAccessKeyNoneListenSendManage2014-05-31T00:17:33.1220127Z2014-05-31T00:17:33.1220127ZDefaultFullSharedAccessSignaturefyneogPu6nwwc8a22zjJsyxF3/Jl15QGfySDkvAPeo8=T2gafpggpdWPoC0nJ80ZGKlABdEQ0Lew/GrwQVGK5w4=SharedAccessKeyNoneListenSendManage2014-05-31T00:17:33.1220127Z2014-05-31T00:17:33.1220127ZZumoManagementSasKeytzsWGezYlMz38Atcfa+rqEE0CvqZQI18lGzZgDPiUu4=VEvm9oX3h+RTaHIjaXWE0DW3PRMkvnkD/IWMMt8CIxA=GoogleApiKeyAIzaSyBvK2w6l60VV3VxpffiseUoXlQupSAxmzoGcmEndpointhttps://android.googleapis.com/gcm/send11", { '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:28 GMT' }); + date: 'Mon, 04 Aug 2014 19:42:41 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%252fxplathub2%253fapi-version%253d2013-07%26ExpiresOn%3d1366416689%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dIB%252bsk4T6hVfNs6LsLeRwVOo5uw%252fpIptjr6z5ZUEHrbk%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cSend%252cManage%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%252fxplathub2%253fapi-version%253d2013-07%26ExpiresOn%3d1407192161%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dMmQURfVq6BnmG4H7aCcoDsrd3QkaGaaBml2MZU7kscQ%253d&wrap_access_token_expires_in=10800", { 'cache-control': 'no-cache, no-store', pragma: 'no-cache', 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', expires: '-1', - 'request-id': 'ef5626ec-1bf6-4c9d-8aa6-de7b325ea058', + 'request-id': '2b2de6a9-099e-49d8-94a6-54e5daba9127', 'x-content-type-options': 'nosniff', - date: 'Fri, 19 Apr 2013 23:51:29 GMT', - 'content-length': '574' }); + 'strict-transport-security': 'max-age=31536000; includeSubDomains', + date: 'Mon, 04 Aug 2014 19:42:41 GMT', + 'content-length': '585' }); return result; }, function (nock) { var result = nock('https://ciserversb.servicebus.windows.net:443') .filteringRequestBody(function (path) { return '*';}) .put('/xplathub2?api-version=2013-07', '*') - .reply(201, "https://ciserversb.servicebus.windows.net/xplathub2?api-version=2013-07xplathub22013-07-19T23:51:31Z2013-07-19T23:51:31ZciserversbApnsCertificateMIIKaAIBAzCCCi4GCSqGSIb3DQEHAaCCCh8EggobMIIKFzCCBJcGCSqGSIb3DQEHBqCCBIgwggSEAgEAMIIEfQYJK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m3xQzI+a9txP8rfVzH+5vJe09a4y1ZhMoMzjKKooXYZMVwwIwYJKoZIhvcNAQkVMRYEFEy9ClbuXklnr4IYc7A0OVi5CGuGMDUGCSqGSIb3DQEJFDEoHiYATQB5ACAAUwBlAGwAZgAgAFMAaQBnAG4AZQBkACAAQwBlAHIAdDAxMCEwCQYFKw4DAhoFAAQU5CHWESZpMgul1RafRMoAv+V6tLMECKZ/KM3TIM49AgIIAA==CertificateKey12345Endpointpushtestservice2.cloudapp.netP90DSharedAccessKeyNoneListen2013-07-19T23:51:31.2938854Z2013-07-19T23:51:31.2938854ZDefaultListenSharedAccessSignature01D6N9MUjYMkVwrX9ogAeqvjICeGHqznpnDOeYoPAiI=SharedAccessKeyNoneListenManageSend2013-07-19T23:51:31.2938854Z2013-07-19T23:51:31.2938854ZDefaultFullSharedAccessSignaturerCfdKcc9V8PvAn8ltkHzFY0rqcnk96WprABHfSfIZCI=", { 'transfer-encoding': 'chunked', + .reply(201, "https://ciserversb.servicebus.windows.net/xplathub2?api-version=2013-07xplathub22014-08-04T19:42:42Z2014-08-04T19:42:42ZciserversbApnsCertificateMIIMtQIBAzCCDHwGCSqGSIb3DQEHAaCCDG0EggxpMIIMZTCCBu8GCSqGSIb3DQEHBqCCBuAwggbcAgEAMIIG1QYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQYwDgQIXnySbwm5yc8CAggAgIIGqNTdnac9/teKDyuFCAEnI2VjwGccIdB8Pr4LvBScpo3wAnLWs5cee0LZhKSxX7JxG0z062dRb1J3Yg+odcv90BGSF1+SzqqucvDjG9BAjNDLQIY2oHXUF/uZkoYFW1NFE8VDRx0KjRzJSmLmEtHPYSxxVn+/APjFjNBYF8H8khJnm+2t90oFI3MR9toFhIP6i5fm5M9vcK3bWR0UCNlk3DDJGo47XZrQB754Koi7/9d+FBag1yZtuoBLmgdRoL4d2Vd6y8ZfSVUoNr2bHvruYPKFMC1K027l76HcAE8P7nmt6l+CIwIs6wYS2x62pYUCk86LbJW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Pv2Mqt63rTTulUMC+ojlCDBK8Ss0J2hb43pSFXtV1B9Jk76rT4VE+cJbH22hJ3hFk4BLcikT9KQNt8gTlBjqs8n8t0Al+LK8V3B4ezapwCNNIx4tdmeEzN+mWFfrUjNHYngIAVndRJ6ugWK3pY8A/BeboHVjv7kIpSlFDIsIn1/75qRgQy3+ygVnoe36wKjUXy2RBgPrcwKvrTApFzmdAD9sQXe7I1yKtOwQzHvu3/Dky+ZdxHLLuLpt0vsBqq5K122NxQUVYqNrJyr3ZyMmW82Dye9XYj4h2Y7u3oRYFKXFYZRpKdd9dcjunRYuZiDfWhwMNRAXTfpUwpVbOFcmL0W3wqofOET3N2bBzqPZjlj1Hg0QlKUttdkdqFB/2ZcmQ2jUqxphMbP9pGrBN1MkPEizrmCMxneeUcHg1Qu+a1MvN0YbpvsvkwP514932YEEOXMVIwKwYJKoZIhvcNAQkUMR4eHABUAG8AZABkACAAUgBlAGkAZgBzAHQAZQBjAGswIwYJKoZIhvcNAQkVMRYEFKW//aZ0ukFnnpB8t4lTivYNCO3OMDAwITAJBgUrDgMCGgUABBR9n61EwffNJdHW7V00VjU+Uu34SgQIy8Ely0aMW6ICAQE=CertificateKeypasswordEndpointpushtestservice2.cloudapp.netP90DSharedAccessKeyNoneListen2014-08-04T19:42:43.0481818Z2014-08-04T19:42:43.0481818ZDefaultListenSharedAccessSignatureg562Rf/pM8qd/mtf2Rl9j41rauddiQxgqsVHx22RIVo=7A7jLq0Ds0vTdRt67LRjXao6X7vTHlb3bu0E7Ga/v+k=SharedAccessKeyNoneListenManageSend2014-08-04T19:42:43.0481818Z2014-08-04T19:42:43.0481818ZDefaultFullSharedAccessSignatureVTbJDmPxdwvL91+S2XNtUJLVPYnOqEZYf+A4mbhlav8=SuJDOU5HcL8VntEo9WJ54a3rND6SkjBQZFGOI3D6bJs=", { '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:30 GMT' }); + date: 'Mon, 04 Aug 2014 19:42: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%252fxplathub2%252fMessages%26ExpiresOn%3d1366416692%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dqALGsdm%252fLLX7XHhMq00R5me5eGPEXIBbVDrrDP0TJ3w%253d&wrap_access_token_expires_in=1200", { 'cache-control': 'no-cache, no-store', + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cSend%252cManage%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%252fxplathub2%252fMessages%26ExpiresOn%3d1407192163%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dGkl0lWpOMZa5bcAS5x40oFswoLPAekIl8VxhyLcbY%252bk%253d&wrap_access_token_expires_in=10800", { 'cache-control': 'no-cache, no-store', pragma: 'no-cache', 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', expires: '-1', - 'request-id': '3be885be-1ad2-48ac-83de-52c07531cb3f', + 'request-id': '03c3a58b-aef4-4ef7-8729-ecff2bef90fe', 'x-content-type-options': 'nosniff', - date: 'Fri, 19 Apr 2013 23:51:31 GMT', - 'content-length': '555' }); + 'strict-transport-security': 'max-age=31536000; includeSubDomains', + date: 'Mon, 04 Aug 2014 19:42:42 GMT', + 'content-length': '574' }); return result; }, function (nock) { var result = @@ -126,54 +154,56 @@ nock('https://ciserversb.servicebus.windows.net:443') .reply(201, "", { 'transfer-encoding': 'chunked', 'content-type': 'application/xml; charset=utf-8', server: 'Microsoft-HTTPAPI/2.0', - date: 'Fri, 19 Apr 2013 23:51:33 GMT' }); + date: 'Mon, 04 Aug 2014 19:42:43 GMT' }); return result; }], [function (nock) { var result = nock('https://ciserversb.servicebus.windows.net:443') .get('/$Resources/NotificationHubs?api-version=2013-07') - .reply(200, "NotificationHubshttps://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2013-072013-07-19T23:51:28Zhttps://ciserversb.servicebus.windows.net/myhub?api-version=2013-07myhub2013-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-07myhubnice2013-07-19T22:54:43Z2013-07-19T22:54:43ZciserversbP90DPackageSidasdSecretKeysdSharedAccessKeyNoneListen2013-07-19T22:54:43.8746206Z2013-07-19T22:54:43.8746206ZDefaultListenSharedAccessSignaturel0cdsU/cHy570dBeVeDnF6SifM1dkMGNs8N/oOVDXog=SharedAccessKeyNoneListenManageSend2013-07-19T22:54:43.8746206Z2013-07-19T22:54:43.8746206ZDefaultFullSharedAccessSignatureF7hqEsUNzb1ZDV6ITjX0pMP4+A1mfCaiACAvjrjoqKk=", { 'transfer-encoding': 'chunked', + .reply(200, "NotificationHubshttps://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2013-072014-08-04T19:42:44Zhttps://ciserversb.servicebus.windows.net/toddtestmshub?api-version=2013-07toddtestmshub2014-05-06T17:59:46Z2014-07-30T18:59:21ZciserversbEndpointgateway.sandbox.push.apple.comApnsCertificateMIIMwQIBAzCCDIgGCSqGSIb3DQEHAaCCDHkEggx1MIIMcTCCBu8GCSqGSIb3DQEHBqCCBuAwggbcAgEAMIIG1QYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQYwDgQIagD83O4K+UsCAggAgIIGqEt2DWvi8HvuCgnQZ9EAB1YjzSG5hByYWf8RljWIJ+GVnsf8Ux6xvJZS38mt+6JWWvTvJsrNMx47u/O19jdHWYJhMnZrnEESmrDO1o5BBKoGLyO3a6lcWY2BHO9tzEl7+IblWVXFIT34+IqoXBbo2NPqqygF8Sg3D/JrsDhPjw0/bTErFywbdgrNV01Lf+QDlJv1wW+sSINPgbT306qQmi6UHTwdayn0l5yDDbSv4IWQXFidadlZBEZ/ShnZ8lOXmeNGVTI86eoC6egzmBS04+K+a1cIULs3x6QdEOsEKL1aTMplV5ra2eqgSlxcZg5Vmb9lcyg+9OfYLY9mGxqWWkMFrSwmaYC7qx62K//EHUuMQQBE2bmTycOJ0eQ1j3ZImzZJrHzO66rd28osHfBpcDuuG/It//cKZgUSAraOPvDoTWwqdEwtBIvO8TnMH8ZOSebnwJLBt9VbJ16o5YOa/Yvsn8GL5a3LirFfO5y0s/JBd+YNf15gABcX/8SHTNm9uBKMfOQBvGKl7+rUvbCyzsotujDeWay/tZ46AZpU3jMcM4JNdfMEDcyteDHJ/DR1SZmb1/PWwlQ1PcBlx8U8MCbwlDllMkM2vqlN+3fUTMcJe9TnKv8EAuj2M1Z+voB82CuSOBY+ZPlzRGu8FMEtB+YinQ17Sd8XtFHz6EyXMgVqY+kpoAWKDchMVWvaOo7KNxx5rQv6UKABFI41RUUxSwNyrumhn3JcdraaGMMcHTnEL4f/rzKtQJDooOmDe8Z6a0YBirrjnx65mx/i/+NdQ+FUyvzUsWHOSAq5ECCcP79Qcn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G8AcgB0AHcAaQBjAGswIwYJKoZIhvcNAQkVMRYEFM+XI7N0YIr/eXr01ABlxvI4mVnrMDAwITAJBgUrDgMCGgUABBTqwpTjaIPkvwhfFh+izRXv108GWwQIE2v1yIlM/TcCAQE=CertificateKeyP90DPackageSidms-app://s-1-15-2-1794904194-2123548275-4179825724-63694083-1733226786-427943394-3113183983SecretKey07Sh89w62g6nG4rtCXYcVDV4B58mhm6eWindowsLiveEndpointhttps://login.live.com/accesstoken.srfSharedAccessKeyNoneListen2014-05-31T00:17:33.1220127Z2014-05-31T00:17:33.1220127ZDefaultListenSharedAccessSignatureRxLXtDp5EyqlKIiObJIamVXiKZ7XOyrmeEnPVVl9Bk4=j3H8TUsDhxliRhut8yof00XKT7lseqZ6dAC92keQBTo=SharedAccessKeyNoneListenSendManage2014-05-31T00:17:33.1220127Z2014-05-31T00:17:33.1220127ZDefaultFullSharedAccessSignaturefyneogPu6nwwc8a22zjJsyxF3/Jl15QGfySDkvAPeo8=T2gafpggpdWPoC0nJ80ZGKlABdEQ0Lew/GrwQVGK5w4=SharedAccessKeyNoneListenSendManage2014-05-31T00:17:33.1220127Z2014-05-31T00:17:33.1220127ZZumoManagementSasKeytzsWGezYlMz38Atcfa+rqEE0CvqZQI18lGzZgDPiUu4=VEvm9oX3h+RTaHIjaXWE0DW3PRMkvnkD/IWMMt8CIxA=GoogleApiKeyAIzaSyBvK2w6l60VV3VxpffiseUoXlQupSAxmzoGcmEndpointhttps://android.googleapis.com/gcm/send11", { '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:28 GMT' }); + date: 'Mon, 04 Aug 2014 19:42: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%252fxplathub2%253fapi-version%253d2013-07%26ExpiresOn%3d1366416689%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dIB%252bsk4T6hVfNs6LsLeRwVOo5uw%252fpIptjr6z5ZUEHrbk%253d&wrap_access_token_expires_in=1199", { 'cache-control': 'no-cache, no-store', + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cSend%252cManage%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%252fxplathub3%253fapi-version%253d2013-07%26ExpiresOn%3d1407192164%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dFp04xxpdqNenP04mrjUDV%252fYFBpMdpD%252b7xf4s5Jt%252fbIs%253d&wrap_access_token_expires_in=10800", { 'cache-control': 'no-cache, no-store', pragma: 'no-cache', 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', expires: '-1', - 'request-id': 'ef5626ec-1bf6-4c9d-8aa6-de7b325ea058', + 'request-id': '9b5a4e05-57c9-44e6-97b7-bea134a909ca', 'x-content-type-options': 'nosniff', - date: 'Fri, 19 Apr 2013 23:51:29 GMT', - 'content-length': '574' }); + 'strict-transport-security': 'max-age=31536000; includeSubDomains', + date: 'Mon, 04 Aug 2014 19:42:44 GMT', + 'content-length': '597' }); return result; }, function (nock) { var result = nock('https://ciserversb.servicebus.windows.net:443') .filteringRequestBody(function (path) { return '*';}) .put('/xplathub3?api-version=2013-07', '*') - .reply(201, "https://ciserversb.servicebus.windows.net/xplathub3?api-version=2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AL+OztmsYyOEQurE5oaW60I+pzBu8WqrHvv7T1MUIkfZI58WBbmsX+uKBGqZFJ7fjTCNLGafJ4Rx7/mf7vQC8h68oztvHZHRX/lDoLfzvUSElUdzNnyaFBr9g/HVZhSj6/y5b6FDjm3xQzI+a9txP8rfVzH+5vJe09a4y1ZhMoMzjKKooXYZMVwwIwYJKoZIhvcNAQkVMRYEFEy9ClbuXklnr4IYc7A0OVi5CGuGMDUGCSqGSIb3DQEJFDEoHiYATQB5ACAAUwBlAGwAZgAgAFMAaQBnAG4AZQBkACAAQwBlAHIAdDAxMCEwCQYFKw4DAhoFAAQU5CHWESZpMgul1RafRMoAv+V6tLMECKZ/KM3TIM49AgIIAA==CertificateKey12345Endpointpushtestservice2.cloudapp.netP90DSharedAccessKeyNoneListen2013-07-19T23:51:31.2938854Z2013-07-19T23:51:31.2938854ZDefaultListenSharedAccessSignature01D6N9MUjYMkVwrX9ogAeqvjICeGHqznpnDOeYoPAiI=SharedAccessKeyNoneListenManageSend2013-07-19T23:51:31.2938854Z2013-07-19T23:51:31.2938854ZDefaultFullSharedAccessSignaturerCfdKcc9V8PvAn8ltkHzFY0rqcnk96WprABHfSfIZCI=", { 'transfer-encoding': 'chunked', + .reply(201, "https://ciserversb.servicebus.windows.net/xplathub3?api-version=2013-07xplathub32014-08-04T19:42:45Z2014-08-04T19:42:45ZciserversbApnsCertificateMIIMtQIBAzCCDHwGCSqGSIb3DQEHAaCCDG0EggxpMIIMZTCCBu8GCSqGSIb3DQEHBqCCBuAwggbcAgEAMIIG1QYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQYwDgQIXnySbwm5yc8CAggAgIIGqNTdnac9/teKDyuFCAEnI2VjwGccIdB8Pr4LvBScpo3wAnLWs5cee0LZhKSxX7JxG0z062dRb1J3Yg+odcv90BGSF1+SzqqucvDjG9BAjNDLQIY2oHXUF/uZkoYFW1NFE8VDRx0KjRzJSmLmEtHPYSxxVn+/APjFjNBYF8H8khJnm+2t90oFI3MR9to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59IEzr1eu/wZH0CVdlB2i8su0vTUoOe9qK3UNVYbXiVf38n0cOeeY6VR+etSp5hgx8wIHh2HYv1ONxK290MRWRvX/wVx6c/YEaXKOoSKZx8390KHacuVajXt4/rK6zIfyOeaeNI3PunJjki/Pv2Mqt63rTTulUMC+ojlCDBK8Ss0J2hb43pSFXtV1B9Jk76rT4VE+cJbH22hJ3hFk4BLcikT9KQNt8gTlBjqs8n8t0Al+LK8V3B4ezapwCNNIx4tdmeEzN+mWFfrUjNHYngIAVndRJ6ugWK3pY8A/BeboHVjv7kIpSlFDIsIn1/75qRgQy3+ygVnoe36wKjUXy2RBgPrcwKvrTApFzmdAD9sQXe7I1yKtOwQzHvu3/Dky+ZdxHLLuLpt0vsBqq5K122NxQUVYqNrJyr3ZyMmW82Dye9XYj4h2Y7u3oRYFKXFYZRpKdd9dcjunRYuZiDfWhwMNRAXTfpUwpVbOFcmL0W3wqofOET3N2bBzqPZjlj1Hg0QlKUttdkdqFB/2ZcmQ2jUqxphMbP9pGrBN1MkPEizrmCMxneeUcHg1Qu+a1MvN0YbpvsvkwP514932YEEOXMVIwKwYJKoZIhvcNAQkUMR4eHABUAG8AZABkACAAUgBlAGkAZgBzAHQAZQBjAGswIwYJKoZIhvcNAQkVMRYEFKW//aZ0ukFnnpB8t4lTivYNCO3OMDAwITAJBgUrDgMCGgUABBR9n61EwffNJdHW7V00VjU+Uu34SgQIy8Ely0aMW6ICAQE=CertificateKeypasswordEndpointpushtestservice2.cloudapp.netP90DSharedAccessKeyNoneListen2014-08-04T19:42:45.9957979Z2014-08-04T19:42:45.9957979ZDefaultListenSharedAccessSignaturebYXFCXH46AXbW6scK0W9/LklNC0whmU0uRq4zOl9l48=MbQqJ0rT26g4j79MiobKmnA8y6RKob+v0cwmnNaAKC0=SharedAccessKeyNoneListenManageSend2014-08-04T19:42:45.9957979Z2014-08-04T19:42:45.9957979ZDefaultFullSharedAccessSignatureTmU458xMEZFigkfrEk074PSdHcA4o1V0+CL1jFOukgs=aAKaG7k10rJaoBofUYRgPPB2lClahA5yBJSwJ5JJgT4=", { '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:30 GMT' }); + date: 'Mon, 04 Aug 2014 19:42:45 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%252fxplathub3%252fMessages%26ExpiresOn%3d1366416692%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dqALGsdm%252fLLX7XHhMq00R5me5eGPEXIBbVDrrDP0TJ3w%253d&wrap_access_token_expires_in=1200", { 'cache-control': 'no-cache, no-store', + .reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cSend%252cManage%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%252fxplathub3%252fMessages%26ExpiresOn%3d1407192166%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dkq5Pl4fEJ8KQWYDfv0BcKVg5zW2QqsJDmf9uWJLpLEg%253d&wrap_access_token_expires_in=10799", { 'cache-control': 'no-cache, no-store', pragma: 'no-cache', 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', expires: '-1', - 'request-id': '3be885be-1ad2-48ac-83de-52c07531cb3f', + 'request-id': '8f2c6bb5-6680-4dfb-a126-5af2a913e573', 'x-content-type-options': 'nosniff', - date: 'Fri, 19 Apr 2013 23:51:31 GMT', - 'content-length': '555' }); + 'strict-transport-security': 'max-age=31536000; includeSubDomains', + date: 'Mon, 04 Aug 2014 19:42:45 GMT', + 'content-length': '570' }); return result; }, function (nock) { var result = @@ -183,5 +213,182 @@ nock('https://ciserversb.servicebus.windows.net:443') .reply(201, "", { 'transfer-encoding': 'chunked', 'content-type': 'application/xml; charset=utf-8', server: 'Microsoft-HTTPAPI/2.0', - date: 'Fri, 19 Apr 2013 23:51:33 GMT' }); + date: 'Mon, 04 Aug 2014 19:42:46 GMT' }); + return result; }], +[function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .get('/$Resources/NotificationHubs?api-version=2013-07') + .reply(200, "NotificationHubshttps://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2013-072014-08-04T19:42:47Zhttps://ciserversb.servicebus.windows.net/toddtestmshub?api-version=2013-07toddtestmshub2014-05-06T17:59:46Z2014-07-30T18:59:21ZciserversbEndpointgateway.sandbox.push.apple.comApnsCertificateMIIMwQIBAzCCDIgGCSqGSIb3DQEHAaCCDHkEggx1MIIMcTCCBu8GCSqGSIb3DQEHBqCCBuAwggbcAgEAMIIG1QYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQYwDgQIagD83O4K+UsCAggAgIIGqEt2DWvi8HvuCgnQZ9EAB1YjzSG5hByYWf8RljWIJ+GVnsf8Ux6xvJZS38mt+6JWWvTvJsrNMx47u/O19jdHWYJhMnZrnEESmrDO1o5BBKoGLyO3a6lcWY2BHO9tzEl7+IblWVXFIT34+IqoXBbo2NPqqygF8Sg3D/JrsDhPjw0/bTErFywbdgrNV01Lf+QDlJv1wW+sSINPgbT306qQmi6UHTwdayn0l5yDDbSv4IWQXFidadlZBEZ/ShnZ8lOXmeNGVTI86eoC6egzmBS04+K+a1cIULs3x6QdEOsEKL1aTMplV5ra2eqgSlxcZg5Vmb9lcyg+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4E5ItOK5M4Wgk/x3eZbXLMjqrI4DtYnvcPoHcF61hBrNLemwffv18/XAdR3rcB9XKZAllR1AQHZCCpEJysbheVH8qwroVFPuWy+Pl62zc7onPTh3+tgUxAh65HEPqqLZRgQUjG80nFZBDmml4Hfi6MmQNrzD/ctwwB5SHWgJJfbgtk5ENbn/cN5Djc3nSV12sh2wvU1xCHlfoMStlfmnmsaelqn1b3rbwo+i4jwSa9rrBwFkrTrlDGZambsOHU3haulysTpJqly674ejzeLOBXZrYN/bjWSLWBTJnU0kFThL9MpvORrCRQ1Roc8a+dHU+rZUIcY3pBltjCuWw9JbpMxrE4pgNvioh4go/LHbHVHhXw3iA0irpp4tF0pSTDB3U2ruJA7VmsE+JM8a9Yg1wKh9qfFQ2TzV//rF6pASqG7lIkTYf0aMV4wNwYJKoZIhvcNAQkUMSoeKABQAGgAaQBsAGwAaQBwACAAVgBhAG4AIABOAG8AcgB0AHcAaQBjAGswIwYJKoZIhvcNAQkVMRYEFM+XI7N0YIr/eXr01ABlxvI4mVnrMDAwITAJBgUrDgMCGgUABBTqwpTjaIPkvwhfFh+izRXv108GWwQIE2v1yIlM/TcCAQE=CertificateKeyP90DPackageSidms-app://s-1-15-2-1794904194-2123548275-4179825724-63694083-1733226786-427943394-3113183983SecretKey07Sh89w62g6nG4rtCXYcVDV4B58mhm6eWindowsLiveEndpointhttps://login.live.com/accesstoken.srfSharedAccessKeyNoneListen2014-05-31T00:17:33.1220127Z2014-05-31T00:17:33.1220127ZDefaultListenSharedAccessSignatureRxLXtDp5EyqlKIiObJIamVXiKZ7XOyrmeEnPVVl9Bk4=j3H8TUsDhxliRhut8yof00XKT7lseqZ6dAC92keQBTo=SharedAccessKeyNoneListenSendManage2014-05-31T00:17:33.1220127Z2014-05-31T00:17:33.1220127ZDefaultFullSharedAccessSignaturefyneogPu6nwwc8a22zjJsyxF3/Jl15QGfySDkvAPeo8=T2gafpggpdWPoC0nJ80ZGKlABdEQ0Lew/GrwQVGK5w4=SharedAccessKeyNoneListenSendManage2014-05-31T00:17:33.1220127Z2014-05-31T00:17:33.1220127ZZumoManagementSasKeytzsWGezYlMz38Atcfa+rqEE0CvqZQI18lGzZgDPiUu4=VEvm9oX3h+RTaHIjaXWE0DW3PRMkvnkD/IWMMt8CIxA=GoogleApiKeyAIzaSyBvK2w6l60VV3VxpffiseUoXlQupSAxmzoGcmEndpointhttps://android.googleapis.com/gcm/send11", { 'transfer-encoding': 'chunked', + 'content-type': 'application/atom+xml;type=feed;charset=utf-8', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 04 Aug 2014 19:42:47 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%252cSend%252cManage%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%252fxplathub4%253fapi-version%253d2013-07%26ExpiresOn%3d1407192167%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3d12qhms39p8XQ2YJ7IIrqei11COE%252fyRDdzJO0WA21N44%253d&wrap_access_token_expires_in=10800", { 'cache-control': 'no-cache, no-store', + pragma: 'no-cache', + 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', + expires: '-1', + 'request-id': '43f3b4fd-0671-4218-b989-f234dd8e8b94', + 'x-content-type-options': 'nosniff', + 'strict-transport-security': 'max-age=31536000; includeSubDomains', + date: 'Mon, 04 Aug 2014 19:42:47 GMT', + 'content-length': '589' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.put('/xplathub4?api-version=2013-07', '*') + .reply(201, "https://ciserversb.servicebus.windows.net/xplathub4?api-version=2013-07xplathub42014-08-04T19:42:47Z2014-08-04T19:42:47ZciserversbApnsCertificateMIIMtQIBAzCCDHwGCSqGSIb3DQEHAaCCDG0EggxpMIIMZTCCBu8GCSqGSIb3DQEHBqCCBuAwggbcAgEAMIIG1QYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQYwDgQIXnySbwm5yc8CAggAgIIGqNTdnac9/teKDyuFCAEnI2VjwGccIdB8Pr4LvBScpo3wAnLWs5cee0LZhKSxX7JxG0z062dRb1J3Yg+odcv90BGSF1+SzqqucvDjG9BAjNDLQIY2oHXUF/uZkoYFW1NFE8VDRx0KjRzJSmLmEtHPYSxxVn+/APjFjNBYF8H8khJnm+2t90oFI3MR9toFhIP6i5fm5M9vcK3bWR0UCNlk3DDJGo47XZrQB754Koi7/9d+FBag1yZtuoBLmgdRoL4d2Vd6y8ZfSVUoNr2bHvruYPKFMC1K027l76HcAE8P7nmt6l+CIwIs6wYS2x62pYUCk86LbJWduH+UyVCpUxr8cNmINtAq/n+Jfy4Sp3FpcKv6bssXg3pNC7AkJI3wVymyko4IvAsUT151M/exORosqjSxT8BCVU7RC1+TKFAHyfsaYs2rTxKET21XNYi9cLcd+5BnaGAZgALFmWo/j///tnygUpaMPQFS1GtGUk3/asqSAIQJrgZ6dgunjhDO30fAoyciAetQHYUcX6KQGR/phF1NLE8DT49C1NpAhSdt9X4t2VG61vU83tYRQz02p5wqJjDpuX2QcwbBKsimwf8RUSr+snOpS5Tx0tC567Rnz4xYF/WStBj/9oB/re7xE5BT8Xh/dXZulYYcAelQRaKTjtv/k8tYZRfMFu9TEpqMW2mbtZAJJqnOl+WDuOsthHZ2J0iOSFMZo3Ry6wsSFgfq09Tx61grd2+PhAykLln3UhE3UNHwFxZnsmVma5t62Upw5IQ/j3Bkik8vmXBLCcY6Dp0r09tuOK+yeO8W7Gz8PXFPTLCroAyp0II9r8R1haWEInf4vvwL65UWxiWGeMuT3GvWW7aSvKq8bwzdp2v/T81HPkA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EFKW//aZ0ukFnnpB8t4lTivYNCO3OMDAwITAJBgUrDgMCGgUABBR9n61EwffNJdHW7V00VjU+Uu34SgQIy8Ely0aMW6ICAQE=CertificateKeypasswordEndpointpushtestservice2.cloudapp.netP90DSharedAccessKeyNoneListen2014-08-04T19:42:48.7144587Z2014-08-04T19:42:48.7144587ZDefaultListenSharedAccessSignatureHpqtb7T80MfGvFRvspJZOw3+8+i8AHoTC1CB8XPUwGU=ABEKaoFjdmFgdrTQUkChRbotF/BSlOVADSFTDFCP0ZQ=SharedAccessKeyNoneListenManageSend2014-08-04T19:42:48.7144587Z2014-08-04T19:42:48.7144587ZDefaultFullSharedAccessSignaturei2SgTjIWVBa1JtyE1+PV14td8GZZzvt3zn5tP7uTemU=kVv1RL4c3RupNaB3sXnu2sfRW3eVSQSw6nnHDHUCidc=", { 'transfer-encoding': 'chunked', + 'content-type': 'application/atom+xml;type=entry;charset=utf-8', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 04 Aug 2014 19:42:48 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%252cSend%252cManage%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%252fxplathub4%252fMessages%26ExpiresOn%3d1407192168%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3df4RZwqfUho%252bWjeA9IU3rtFKqbY6Rco7p5z5qS84mock%253d&wrap_access_token_expires_in=10799", { 'cache-control': 'no-cache, no-store', + pragma: 'no-cache', + 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', + expires: '-1', + 'request-id': 'ce87cec2-da60-489d-bb4b-604cbbf59b6a', + 'x-content-type-options': 'nosniff', + 'strict-transport-security': 'max-age=31536000; includeSubDomains', + date: 'Mon, 04 Aug 2014 19:42:47 GMT', + 'content-length': '574' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.post('/xplathub4/Messages', '*') + .reply(201, "", { 'transfer-encoding': 'chunked', + 'content-type': 'application/xml; charset=utf-8', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 04 Aug 2014 19:42:49 GMT' }); + return result; }], +[function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .get('/$Resources/NotificationHubs?api-version=2013-07') + .reply(200, "NotificationHubshttps://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2013-072014-08-04T19:42:49Zhttps://ciserversb.servicebus.windows.net/toddtestmshub?api-version=2013-07toddtestmshub2014-05-06T17:59:46Z2014-07-30T18:59:21ZciserversbEndpointgateway.sandbox.push.apple.comApnsCertificateMIIMwQIBAzCCDIgGCSqGSIb3DQEHAaCCDHkEggx1MIIMcTCCBu8GCSqGSIb3DQEHBqCCBuAwggbcAgEAMIIG1QYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQYwDgQIagD83O4K+UsCAggAgIIGqEt2DWvi8HvuCgnQZ9EAB1YjzSG5hByYWf8RljWIJ+GVnsf8Ux6xvJZS38mt+6JWWvTvJsrNMx47u/O19jdHWYJhMnZrnEESmrDO1o5BBKoGLyO3a6lcWY2BHO9tzEl7+IblWVXFIT34+IqoXBbo2NPqqygF8Sg3D/JrsDhPjw0/bTErFywbdgrNV01Lf+QDlJv1wW+sSINPgbT306qQmi6UHTwdayn0l5yDDbSv4IWQXFidadlZBEZ/ShnZ8lOXmeNGVTI86eoC6egzmBS04+K+a1cIULs3x6QdEOsEKL1aTMplV5ra2eqgSlxcZg5Vmb9lcyg+9OfYLY9mGxqWWkMFrSwmaYC7qx62K//EHUuMQQBE2bmTycOJ0eQ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18/XAdR3rcB9XKZAllR1AQHZCCpEJysbheVH8qwroVFPuWy+Pl62zc7onPTh3+tgUxAh65HEPqqLZRgQUjG80nFZBDmml4Hfi6MmQNrzD/ctwwB5SHWgJJfbgtk5ENbn/cN5Djc3nSV12sh2wvU1xCHlfoMStlfmnmsaelqn1b3rbwo+i4jwSa9rrBwFkrTrlDGZambsOHU3haulysTpJqly674ejzeLOBXZrYN/bjWSLWBTJnU0kFThL9MpvORrCRQ1Roc8a+dHU+rZUIcY3pBltjCuWw9JbpMxrE4pgNvioh4go/LHbHVHhXw3iA0irpp4tF0pSTDB3U2ruJA7VmsE+JM8a9Yg1wKh9qfFQ2TzV//rF6pASqG7lIkTYf0aMV4wNwYJKoZIhvcNAQkUMSoeKABQAGgAaQBsAGwAaQBwACAAVgBhAG4AIABOAG8AcgB0AHcAaQBjAGswIwYJKoZIhvcNAQkVMRYEFM+XI7N0YIr/eXr01ABlxvI4mVnrMDAwITAJBgUrDgMCGgUABBTqwpTjaIPkvwhfFh+izRXv108GWwQIE2v1yIlM/TcCAQE=CertificateKeyP90DPackageSidms-app://s-1-15-2-1794904194-2123548275-4179825724-63694083-1733226786-427943394-3113183983SecretKey07Sh89w62g6nG4rtCXYcVDV4B58mhm6eWindowsLiveEndpointhttps://login.live.com/accesstoken.srfSharedAccessKeyNoneListen2014-05-31T00:17:33.1220127Z2014-05-31T00:17:33.1220127ZDefaultListenSharedAccessSignatureRxLXtDp5EyqlKIiObJIamVXiKZ7XOyrmeEnPVVl9Bk4=j3H8TUsDhxliRhut8yof00XKT7lseqZ6dAC92keQBTo=SharedAccessKeyNoneListenSendManage2014-05-31T00:17:33.1220127Z2014-05-31T00:17:33.1220127ZDefaultFullSharedAccessSignaturefyneogPu6nwwc8a22zjJsyxF3/Jl15QGfySDkvAPeo8=T2gafpggpdWPoC0nJ80ZGKlABdEQ0Lew/GrwQVGK5w4=SharedAccessKeyNoneListenSendManage2014-05-31T00:17:33.1220127Z2014-05-31T00:17:33.1220127ZZumoManagementSasKeytzsWGezYlMz38Atcfa+rqEE0CvqZQI18lGzZgDPiUu4=VEvm9oX3h+RTaHIjaXWE0DW3PRMkvnkD/IWMMt8CIxA=GoogleApiKeyAIzaSyBvK2w6l60VV3VxpffiseUoXlQupSAxmzoGcmEndpointhttps://android.googleapis.com/gcm/send11", { 'transfer-encoding': 'chunked', + 'content-type': 'application/atom+xml;type=feed;charset=utf-8', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 04 Aug 2014 19:42: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%252cSend%252cManage%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%252fxplathub5%253fapi-version%253d2013-07%26ExpiresOn%3d1407192170%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dPr%252fKUfexVtwfUPm13Lol3eLf39UO27l9s09T6u58CQQ%253d&wrap_access_token_expires_in=10800", { 'cache-control': 'no-cache, no-store', + pragma: 'no-cache', + 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', + expires: '-1', + 'request-id': '7f506b02-a1ed-4ee9-b464-b9bc89eec909', + 'x-content-type-options': 'nosniff', + 'strict-transport-security': 'max-age=31536000; includeSubDomains', + date: 'Mon, 04 Aug 2014 19:42:50 GMT', + 'content-length': '589' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.put('/xplathub5?api-version=2013-07', '*') + .reply(201, "https://ciserversb.servicebus.windows.net/xplathub5?api-version=2013-07xplathub52014-08-04T19:42:52Z2014-08-04T19:42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BR9n61EwffNJdHW7V00VjU+Uu34SgQIy8Ely0aMW6ICAQE=CertificateKeypasswordEndpointpushtestservice2.cloudapp.netP90DSharedAccessKeyNoneListen2014-08-04T19:42:53.4850773Z2014-08-04T19:42:53.4850773ZDefaultListenSharedAccessSignatureD6rXKJekQY50BYtVEAZs8PAvzDLN7qvfyqid8xCmtx4=I43dZBbs+2kjOsjLlfVVTO/hBLtHoFJY8p2hDysbhK0=SharedAccessKeyNoneListenManageSend2014-08-04T19:42:53.4850773Z2014-08-04T19:42:53.4850773ZDefaultFullSharedAccessSignatureRjs66xsdo0Eb9oxZUIPOsZOPVtEzjv2g9Bjny3hUJfI=GWPcdVmso+0MeLmk5+Zd0OdTTCdPxu57VDp4sxKZCcQ=", { 'transfer-encoding': 'chunked', + 'content-type': 'application/atom+xml;type=entry;charset=utf-8', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 04 Aug 2014 19:42: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%252cSend%252cManage%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%252fxplathub5%252fMessages%26ExpiresOn%3d1407192173%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dXYl3ytV73bEliXIdrElTzPPWnU4%252b1sTVCF6x8%252bf2NBY%253d&wrap_access_token_expires_in=10799", { 'cache-control': 'no-cache, no-store', + pragma: 'no-cache', + 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', + expires: '-1', + 'request-id': 'adba8c21-e5d6-408d-b8ce-bfe92b537b40', + 'x-content-type-options': 'nosniff', + 'strict-transport-security': 'max-age=31536000; includeSubDomains', + date: 'Mon, 04 Aug 2014 19:42:53 GMT', + 'content-length': '578' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.post('/xplathub5/Messages', '*') + .reply(201, "", { 'transfer-encoding': 'chunked', + 'content-type': 'application/xml; charset=utf-8', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 04 Aug 2014 19:42:53 GMT' }); + return result; }], +[function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .get('/$Resources/NotificationHubs?api-version=2013-07') + .reply(200, "NotificationHubshttps://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2013-072014-08-04T19:42:54Zhttps://ciserversb.servicebus.windows.net/toddtestmshub?api-version=2013-07toddtestmshub2014-05-06T17:59:46Z2014-07-30T18:59:21ZciserversbEndpointgateway.sandbox.push.apple.comApnsCertificateMIIMwQIBAzCCDIgGCSqGSIb3DQEHAaCCDHkEggx1MIIMcTCCBu8GCSqGSIb3DQEHBqCCBuAwggbcAgEAMIIG1QYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQYwDgQIagD83O4K+UsCAggAgIIGqEt2DWvi8HvuCgnQZ9EAB1YjzSG5hByYWf8RljWIJ+GVnsf8Ux6xvJZS38mt+6JWWvTvJsrNMx47u/O19jdHWYJhMnZrnEESmrDO1o5BBKoGLyO3a6lcWY2BHO9tzEl7+IblWVXFIT34+IqoXBbo2NPqqygF8Sg3D/JrsDhPjw0/bTErFywbdgrNV01Lf+QDlJv1wW+sSINPgbT306qQmi6UHTwdayn0l5yDDbSv4IWQXFidadlZBEZ/ShnZ8lOXmeNGVTI86eoC6egzmBS04+K+a1cIULs3x6QdEOsEKL1aTMplV5ra2eqgSlxcZg5Vmb9lcyg+9OfYLY9mGxqWWkMFrSwmaYC7qx62K//EHUuMQQBE2bmTycOJ0eQ1j3ZImzZJrHzO66rd28osHfBpcDuuG/It//cKZgUSAraO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Wy+Pl62zc7onPTh3+tgUxAh65HEPqqLZRgQUjG80nFZBDmml4Hfi6MmQNrzD/ctwwB5SHWgJJfbgtk5ENbn/cN5Djc3nSV12sh2wvU1xCHlfoMStlfmnmsaelqn1b3rbwo+i4jwSa9rrBwFkrTrlDGZambsOHU3haulysTpJqly674ejzeLOBXZrYN/bjWSLWBTJnU0kFThL9MpvORrCRQ1Roc8a+dHU+rZUIcY3pBltjCuWw9JbpMxrE4pgNvioh4go/LHbHVHhXw3iA0irpp4tF0pSTDB3U2ruJA7VmsE+JM8a9Yg1wKh9qfFQ2TzV//rF6pASqG7lIkTYf0aMV4wNwYJKoZIhvcNAQkUMSoeKABQAGgAaQBsAGwAaQBwACAAVgBhAG4AIABOAG8AcgB0AHcAaQBjAGswIwYJKoZIhvcNAQkVMRYEFM+XI7N0YIr/eXr01ABlxvI4mVnrMDAwITAJBgUrDgMCGgUABBTqwpTjaIPkvwhfFh+izRXv108GWwQIE2v1yIlM/TcCAQE=CertificateKeyP90DPackageSidms-app://s-1-15-2-1794904194-2123548275-4179825724-63694083-1733226786-427943394-3113183983SecretKey07Sh89w62g6nG4rtCXYcVDV4B58mhm6eWindowsLiveEndpointhttps://login.live.com/accesstoken.srfSharedAccessKeyNoneListen2014-05-31T00:17:33.1220127Z2014-05-31T00:17:33.1220127ZDefaultListenSharedAccessSignatureRxLXtDp5EyqlKIiObJIamVXiKZ7XOyrmeEnPVVl9Bk4=j3H8TUsDhxliRhut8yof00XKT7lseqZ6dAC92keQBTo=SharedAccessKeyNoneListenSendManage2014-05-31T00:17:33.1220127Z2014-05-31T00:17:33.1220127ZDefaultFullSharedAccessSignaturefyneogPu6nwwc8a22zjJsyxF3/Jl15QGfySDkvAPeo8=T2gafpggpdWPoC0nJ80ZGKlABdEQ0Lew/GrwQVGK5w4=SharedAccessKeyNoneListenSendManage2014-05-31T00:17:33.1220127Z2014-05-31T00:17:33.1220127ZZumoManagementSasKeytzsWGezYlMz38Atcfa+rqEE0CvqZQI18lGzZgDPiUu4=VEvm9oX3h+RTaHIjaXWE0DW3PRMkvnkD/IWMMt8CIxA=GoogleApiKeyAIzaSyBvK2w6l60VV3VxpffiseUoXlQupSAxmzoGcmEndpointhttps://android.googleapis.com/gcm/send11", { 'transfer-encoding': 'chunked', + 'content-type': 'application/atom+xml;type=feed;charset=utf-8', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 04 Aug 2014 19:42: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%252cSend%252cManage%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%252fxplathub6%253fapi-version%253d2013-07%26ExpiresOn%3d1407192173%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3diGsGLmCzWKPiHb6I1xAJQVNysRBRlBjMrDpQxjxObRM%253d&wrap_access_token_expires_in=10799", { 'cache-control': 'no-cache, no-store', + pragma: 'no-cache', + 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', + expires: '-1', + 'request-id': 'b0c837c4-0f7e-4938-b712-7815a6701646', + 'x-content-type-options': 'nosniff', + 'strict-transport-security': 'max-age=31536000; includeSubDomains', + date: 'Mon, 04 Aug 2014 19:42:52 GMT', + 'content-length': '585' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.put('/xplathub6?api-version=2013-07', '*') + .reply(201, "https://ciserversb.servicebus.windows.net/xplathub6?api-version=2013-07xplathub62014-08-04T19:42:55Z2014-08-04T19:42:55ZciserversbApnsCertificateMIIMtQIBAzCCDHwGCSqGSIb3DQE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E=CertificateKeypasswordEndpointpushtestservice2.cloudapp.netP90DSharedAccessKeyNoneListen2014-08-04T19:42:56.6697923Z2014-08-04T19:42:56.6697923ZDefaultListenSharedAccessSignature9T66n65ZfdVbL//AaV+rgjSEl5kjy4s55+vHIpAUaEU=FY3oMdORBMkxUmmXUAilFarssG4vB8zD19uxDF0hqLc=SharedAccessKeyNoneListenManageSend2014-08-04T19:42:56.6697923Z2014-08-04T19:42:56.6697923ZDefaultFullSharedAccessSignatureODGjf2t42Ppxodydg1dRMuUQcMvT0fjSZnM/Eca0Ess=lM5zsMYR4uVB0XobonxkdZSroctWriI6q0gojibiLNc=", { 'transfer-encoding': 'chunked', + 'content-type': 'application/atom+xml;type=entry;charset=utf-8', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 04 Aug 2014 19:42: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%252cSend%252cManage%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%252fxplathub6%252fMessages%26ExpiresOn%3d1407192176%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3d5j%252f4VNMdvaylz%252f5pnGuCI1PWKtdbZgg0mMt3gU4YQO4%253d&wrap_access_token_expires_in=10800", { 'cache-control': 'no-cache, no-store', + pragma: 'no-cache', + 'content-type': 'application/x-www-form-urlencoded; charset=us-ascii', + expires: '-1', + 'request-id': '56d10c6d-0f0f-4143-98bb-ca6c5b373b0f', + 'x-content-type-options': 'nosniff', + 'strict-transport-security': 'max-age=31536000; includeSubDomains', + date: 'Mon, 04 Aug 2014 19:42:56 GMT', + 'content-length': '578' }); + return result; }, +function (nock) { +var result = +nock('https://ciserversb.servicebus.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.post('/xplathub6/Messages', '*') + .reply(201, "", { 'transfer-encoding': 'chunked', + 'content-type': 'application/xml; charset=utf-8', + server: 'Microsoft-HTTPAPI/2.0', + date: 'Mon, 04 Aug 2014 19:42:56 GMT' }); return result; }]]; \ No newline at end of file diff --git a/test/services/serviceBus/apnsservice-tests.js b/test/services/serviceBus/apnsservice-tests.js index 43d05d748..0b368df30 100644 --- a/test/services/serviceBus/apnsservice-tests.js +++ b/test/services/serviceBus/apnsservice-tests.js @@ -1,6 +1,6 @@ // // Copyright (c) Microsoft and contributors. All rights reserved. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at @@ -97,23 +97,88 @@ describe('APNS notifications', function () { }); it('should send a simple message', function (done) { - notificationHubService.apns.send(null, { - alert: 'This is my toast message for iOS!' - }, function (error, result) { + var sendPayload = { + alert: 'This is my toast message for iOS simple!' + }; + + var expectedPayload = { + aps: { alert: 'This is my toast message for iOS simple!' } + }; + + var executeSpy = sandbox.spy(notificationHubService, '_executeRequest'); + notificationHubService.apns.send(null, sendPayload, function (error, result) { should.not.exist(error); result.statusCode.should.equal(201); + executeSpy.args[0][1].should.equal(JSON.stringify(expectedPayload)); + done(); + }); + }); + + it('should send a simple message with payload in apn format', function (done) { + var sendPayload = { + alert: 'This is my toast message for iOS apn format!', + payload: { innerMember: 'Apn promotes payload members to members at same level as aps' } + }; + + var expectedPayload = { + aps: { alert: 'This is my toast message for iOS apn format!' }, + innerMember: 'Apn promotes payload members to members at same level as aps' + }; + + var executeSpy = sandbox.spy(notificationHubService, '_executeRequest'); + notificationHubService.apns.send(null, sendPayload, function (error, result) { + should.not.exist(error); + result.statusCode.should.equal(201); + + executeSpy.args[0][1].should.equal(JSON.stringify(expectedPayload)); done(); }); }); it('should send a simple message when payload matches APNS specs', function (done) { - notificationHubService.apns.send(null, { - aps: { alert: 'This is my toast message for iOS!' } - }, function (error, result) { + var sendPayload = { + aps: { alert: 'This is my toast message for iOS apns specs!' } + }; + + var executeSpy = sandbox.spy(notificationHubService, '_executeRequest'); + notificationHubService.apns.send(null, sendPayload, function (error, result) { should.not.exist(error); result.statusCode.should.equal(201); + executeSpy.args[0][1].should.equal(JSON.stringify(sendPayload)); + done(); + }); + }); + + it('should send a simple message when payload matches APNS specs and not change other members', function (done) { + var sendPayload = { + aps: { alert: 'This is my toast message for iOS apns spec with data!' }, + otherMember: 'Members outside of aps are useful for sending data in notification' + } + + var executeSpy = sandbox.spy(notificationHubService, '_executeRequest'); + notificationHubService.apns.send(null, sendPayload, function (error, result) { + should.not.exist(error); + result.statusCode.should.equal(201); + + executeSpy.args[0][1].should.equal(JSON.stringify(sendPayload)); + done(); + }); + }); + + it('should send a simple message when payload matches APNS specs and not change payload member', function (done) { + var sendPayload = { + aps: { alert: 'This is my toast message for iOS apns with payload extra!' }, + payload: { data: 'Members outside of aps are useful for sending data in notification' } + }; + + var executeSpy = sandbox.spy(notificationHubService, '_executeRequest'); + notificationHubService.apns.send(null, sendPayload, function (error, result) { + should.not.exist(error); + result.statusCode.should.equal(201); + + executeSpy.args[0][1].should.equal(JSON.stringify(sendPayload)); done(); }); }); @@ -126,7 +191,7 @@ describe('APNS notifications', function () { notificationHubService.apns.send( tagsString, { - alert: 'This is my toast message for iOS!', + alert: 'This is my toast message for iOS with tags!', expiry: expiryDate }, function (error, result) {