|
|
|
@ -5,468 +5,468 @@ 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%26ExpiresOn%3d1363355608%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dH7S4L9V0XXy%252fbR2xq%252b0u3cOhOeOd92UvYI3JQXwiXNo%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%26ExpiresOn%3d1363388998%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3d80WAbiSpnhbPSLYHi9PFmHspjDu9syHzctt0EoaB2YU%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': '8de398ea-1418-4654-9039-8205fa9a262b',
|
|
|
|
|
'request-id': '61b82bde-bb80-456e-96e2-4ad0eea3a431',
|
|
|
|
|
'x-content-type-options': 'nosniff',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 13:33:27 GMT',
|
|
|
|
|
'content-length': '572' });
|
|
|
|
|
date: 'Fri, 15 Mar 2013 22:49:58 GMT',
|
|
|
|
|
'content-length': '564' });
|
|
|
|
|
return result; },
|
|
|
|
|
function (nock) {
|
|
|
|
|
var result =
|
|
|
|
|
nock('https://ciserversb.servicebus.windows.net:443')
|
|
|
|
|
.get('/$Resources/NotificationHubs')
|
|
|
|
|
.reply(200, "<feed xmlns=\"http://www.w3.org/2005/Atom\"><title type=\"text\">NotificationHubs</title><id>https://ciserversb.servicebus.windows.net/$Resources/NotificationHubs</id><updated>2013-03-15T13:33:29Z</updated><link rel=\"self\" href=\"https://ciserversb.servicebus.windows.net/$Resources/NotificationHubs\"/><entry xml:base=\"https://ciserversb.servicebus.windows.net/$Resources/NotificationHubs\"><id>https://ciserversb.servicebus.windows.net/myhub</id><title type=\"text\">myhub</title><published>2013-02-23T00:22:23Z</published><updated>2013-02-28T14:27:57Z</updated><author><name>ciserversb</name></author><link rel=\"self\" href=\"../myhub\"/><content type=\"application/xml\"><NotificationHubDescription xmlns=\"http://schemas.microsoft.com/netservices/2010/10/servicebus/connect\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\"><RegistrationTtl>P90D</RegistrationTtl><WnsCredential><Properties><Property><Name>PackageSid</Name><Value>ms-app://s-1-15-2-3624382523-3073449496-1584155076-733487050-1832530571-3873708642-3859416007</Value></Property><Property><Name>SecretKey</Name><Value>Blz9qc7m94s6lM0nO7xwybMY0bDLy+aa</Value></Property><Property><Name>WindowsLiveEndpoint</Name><Value>https://login.live.com/accesstoken.srf</Value></Property></Properties></WnsCredential><AuthorizationRules><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights></Rights><KeyName>DefaultListenSharedAccessSignature</KeyName><PrimaryKey>cVV3cmNZOCkkdXktXl8qbQ==</PrimaryKey></AuthorizationRule><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights><AccessRights>Manage</AccessRights><AccessRights>Send</AccessRights></Rights><KeyName>DefaultFullSharedAccessSignature</KeyName><PrimaryKey>Kj5FUlB4UmM1KXAybD1RPQ==</PrimaryKey></AuthorizationRule></AuthorizationRules></NotificationHubDescription></content></entry></feed>", { 'transfer-encoding': 'chunked',
|
|
|
|
|
.get('/$Resources/NotificationHubs?api-version=2012-08')
|
|
|
|
|
.reply(200, "<feed xmlns=\"http://www.w3.org/2005/Atom\"><title type=\"text\">NotificationHubs</title><id>https://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2012-08</id><updated>2013-03-15T22:50:00Z</updated><link rel=\"self\" href=\"https://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2012-08\"/><entry xml:base=\"https://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2012-08\"><id>https://ciserversb.servicebus.windows.net/myhub?api-version=2012-08</id><title type=\"text\">myhub</title><published>2013-02-23T00:22:23Z</published><updated>2013-02-28T14:27:57Z</updated><author><name>ciserversb</name></author><link rel=\"self\" href=\"../myhub?api-version=2012-08\"/><content type=\"application/xml\"><NotificationHubDescription xmlns=\"http://schemas.microsoft.com/netservices/2010/10/servicebus/connect\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\"><RegistrationTtl>P90D</RegistrationTtl><WnsCredential><Properties><Property><Name>PackageSid</Name><Value>ms-app://s-1-15-2-3624382523-3073449496-1584155076-733487050-1832530571-3873708642-3859416007</Value></Property><Property><Name>SecretKey</Name><Value>Blz9qc7m94s6lM0nO7xwybMY0bDLy+aa</Value></Property><Property><Name>WindowsLiveEndpoint</Name><Value>https://login.live.com/accesstoken.srf</Value></Property></Properties></WnsCredential><AuthorizationRules><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights></Rights><KeyName>DefaultListenSharedAccessSignature</KeyName><PrimaryKey>cVV3cmNZOCkkdXktXl8qbQ==</PrimaryKey></AuthorizationRule><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights><AccessRights>Manage</AccessRights><AccessRights>Send</AccessRights></Rights><KeyName>DefaultFullSharedAccessSignature</KeyName><PrimaryKey>Kj5FUlB4UmM1KXAybD1RPQ==</PrimaryKey></AuthorizationRule></AuthorizationRules></NotificationHubDescription></content></entry></feed>", { 'transfer-encoding': 'chunked',
|
|
|
|
|
'content-type': 'application/atom+xml;type=feed;charset=utf-8',
|
|
|
|
|
server: 'Microsoft-HTTPAPI/2.0',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 13:33:29 GMT' });
|
|
|
|
|
date: 'Fri, 15 Mar 2013 22:50:00 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%26ExpiresOn%3d1363355611%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dCyBteLoUlMLigjwRp%252bW6Pq9ZFEmJ9WjgvHJrUS7YmIw%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%252fxplathub1%26ExpiresOn%3d1363389001%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3d3DCU8gaL1wQPDyh%252fOzfBXUUTOxjpBviPbtnJP3Ut4ks%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': '01618de6-e0e5-4eec-8b15-560ff496a8d1',
|
|
|
|
|
'request-id': 'bf32052a-490a-4552-b921-797a695838b5',
|
|
|
|
|
'x-content-type-options': 'nosniff',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 13:33:30 GMT',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 22:50:01 GMT',
|
|
|
|
|
'content-length': '542' });
|
|
|
|
|
return result; },
|
|
|
|
|
function (nock) {
|
|
|
|
|
var result =
|
|
|
|
|
nock('https://ciserversb.servicebus.windows.net:443')
|
|
|
|
|
.filteringRequestBody(function (path) { return '*';})
|
|
|
|
|
.put('/xplathub1', '*')
|
|
|
|
|
.reply(201, "<entry xmlns=\"http://www.w3.org/2005/Atom\"><id>https://ciserversb.servicebus.windows.net/xplathub1</id><title type=\"text\">xplathub1</title><published>2013-03-15T13:33:32Z</published><updated>2013-03-15T13:33:32Z</updated><author><name>ciserversb</name></author><link rel=\"self\" href=\"https://ciserversb.servicebus.windows.net/xplathub1\"/><content type=\"application/xml\"><NotificationHubDescription xmlns=\"http://schemas.microsoft.com/netservices/2010/10/servicebus/connect\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\"><RegistrationTtl>P90D</RegistrationTtl><AuthorizationRules><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights></Rights><CreatedTime>2013-03-15T13:33:32.4631587Z</CreatedTime><ModifiedTime>2013-03-15T13:33:32.4631587Z</ModifiedTime><KeyName>DefaultListenSharedAccessSignature</KeyName><PrimaryKey>Wj0rVkAyTStMS1g1ejh9QQ==</PrimaryKey></AuthorizationRule><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights><AccessRights>Manage</AccessRights><AccessRights>Send</AccessRights></Rights><CreatedTime>2013-03-15T13:33:32.4631587Z</CreatedTime><ModifiedTime>2013-03-15T13:33:32.4631587Z</ModifiedTime><KeyName>DefaultFullSharedAccessSignature</KeyName><PrimaryKey>Qyp2QXVeT1tDXTFuXipvRA==</PrimaryKey></AuthorizationRule></AuthorizationRules></NotificationHubDescription></content></entry>", { 'transfer-encoding': 'chunked',
|
|
|
|
|
.put('/xplathub1?api-version=2012-08', '*')
|
|
|
|
|
.reply(201, "<entry xmlns=\"http://www.w3.org/2005/Atom\"><id>https://ciserversb.servicebus.windows.net/xplathub1?api-version=2012-08</id><title type=\"text\">xplathub1</title><published>2013-03-15T22:50:03Z</published><updated>2013-03-15T22:50:03Z</updated><author><name>ciserversb</name></author><link rel=\"self\" href=\"https://ciserversb.servicebus.windows.net/xplathub1?api-version=2012-08\"/><content type=\"application/xml\"><NotificationHubDescription xmlns=\"http://schemas.microsoft.com/netservices/2010/10/servicebus/connect\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\"><RegistrationTtl>P90D</RegistrationTtl><AuthorizationRules><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights></Rights><CreatedTime>2013-03-15T22:50:03.2836644Z</CreatedTime><ModifiedTime>2013-03-15T22:50:03.2836644Z</ModifiedTime><KeyName>DefaultListenSharedAccessSignature</KeyName><PrimaryKey>WDpKVzclbCMuamJjI2pqbA==</PrimaryKey></AuthorizationRule><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights><AccessRights>Manage</AccessRights><AccessRights>Send</AccessRights></Rights><CreatedTime>2013-03-15T22:50:03.2836644Z</CreatedTime><ModifiedTime>2013-03-15T22:50:03.2836644Z</ModifiedTime><KeyName>DefaultFullSharedAccessSignature</KeyName><PrimaryKey>IzU2KzNKWW4qOSZnXWtAZQ==</PrimaryKey></AuthorizationRule></AuthorizationRules></NotificationHubDescription></content></entry>", { 'transfer-encoding': 'chunked',
|
|
|
|
|
'content-type': 'application/atom+xml;type=entry;charset=utf-8',
|
|
|
|
|
server: 'Microsoft-HTTPAPI/2.0',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 13:33:32 GMT' });
|
|
|
|
|
date: 'Fri, 15 Mar 2013 22:50: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%252fxplathub1%252fMessages%26ExpiresOn%3d1363355613%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dPMMco8oK8nZXZEz1Kinwm%252bWl%252fScHbi2Joo98sIIx0ZU%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%252fxplathub1%252fMessages%26ExpiresOn%3d1363389004%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dbJPeDqVZoKWTS4N8Utnvyf4NferD8yP%252bkyqgKM0MAO8%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': 'ca838eed-54c8-405d-af5a-97ef8de68190',
|
|
|
|
|
'request-id': '166f1806-a5ce-4055-8494-c836ae2abbee',
|
|
|
|
|
'x-content-type-options': 'nosniff',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 13:33:33 GMT',
|
|
|
|
|
'content-length': '559' });
|
|
|
|
|
return result; },
|
|
|
|
|
function (nock) {
|
|
|
|
|
var result =
|
|
|
|
|
nock('https://ciserversb.servicebus.windows.net:443')
|
|
|
|
|
.filteringRequestBody(function (path) { return '*';})
|
|
|
|
|
.post('/xplathub1/Messages', '*')
|
|
|
|
|
.reply(201, "", { 'transfer-encoding': 'chunked',
|
|
|
|
|
'content-type': 'application/xml; charset=utf-8',
|
|
|
|
|
server: 'Microsoft-HTTPAPI/2.0',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 13:33:36 GMT' });
|
|
|
|
|
return result; }],
|
|
|
|
|
[function (nock) {
|
|
|
|
|
var result =
|
|
|
|
|
nock('https://ciserversb.servicebus.windows.net:443')
|
|
|
|
|
.get('/$Resources/NotificationHubs')
|
|
|
|
|
.reply(200, "<feed xmlns=\"http://www.w3.org/2005/Atom\"><title type=\"text\">NotificationHubs</title><id>https://ciserversb.servicebus.windows.net/$Resources/NotificationHubs</id><updated>2013-03-15T13:33:37Z</updated><link rel=\"self\" href=\"https://ciserversb.servicebus.windows.net/$Resources/NotificationHubs\"/><entry xml:base=\"https://ciserversb.servicebus.windows.net/$Resources/NotificationHubs\"><id>https://ciserversb.servicebus.windows.net/myhub</id><title type=\"text\">myhub</title><published>2013-02-23T00:22:23Z</published><updated>2013-02-28T14:27:57Z</updated><author><name>ciserversb</name></author><link rel=\"self\" href=\"../myhub\"/><content type=\"application/xml\"><NotificationHubDescription xmlns=\"http://schemas.microsoft.com/netservices/2010/10/servicebus/connect\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\"><RegistrationTtl>P90D</RegistrationTtl><WnsCredential><Properties><Property><Name>PackageSid</Name><Value>ms-app://s-1-15-2-3624382523-3073449496-1584155076-733487050-1832530571-3873708642-3859416007</Value></Property><Property><Name>SecretKey</Name><Value>Blz9qc7m94s6lM0nO7xwybMY0bDLy+aa</Value></Property><Property><Name>WindowsLiveEndpoint</Name><Value>https://login.live.com/accesstoken.srf</Value></Property></Properties></WnsCredential><AuthorizationRules><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights></Rights><KeyName>DefaultListenSharedAccessSignature</KeyName><PrimaryKey>cVV3cmNZOCkkdXktXl8qbQ==</PrimaryKey></AuthorizationRule><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights><AccessRights>Manage</AccessRights><AccessRights>Send</AccessRights></Rights><KeyName>DefaultFullSharedAccessSignature</KeyName><PrimaryKey>Kj5FUlB4UmM1KXAybD1RPQ==</PrimaryKey></AuthorizationRule></AuthorizationRules></NotificationHubDescription></content></entry></feed>", { 'transfer-encoding': 'chunked',
|
|
|
|
|
'content-type': 'application/atom+xml;type=feed;charset=utf-8',
|
|
|
|
|
server: 'Microsoft-HTTPAPI/2.0',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 13:33: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%252fxplathub2%26ExpiresOn%3d1363355619%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3d7%252brwAoDqbPG18CxAV8oaxFy5p2tHQney0l3IK%252bR6CEk%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': '0f1ab2ef-8802-48f8-85f1-9caa8bbcec62',
|
|
|
|
|
'x-content-type-options': 'nosniff',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 13:33:39 GMT',
|
|
|
|
|
'content-length': '546' });
|
|
|
|
|
return result; },
|
|
|
|
|
function (nock) {
|
|
|
|
|
var result =
|
|
|
|
|
nock('https://ciserversb.servicebus.windows.net:443')
|
|
|
|
|
.filteringRequestBody(function (path) { return '*';})
|
|
|
|
|
.put('/xplathub2', '*')
|
|
|
|
|
.reply(201, "<entry xmlns=\"http://www.w3.org/2005/Atom\"><id>https://ciserversb.servicebus.windows.net/xplathub2</id><title type=\"text\">xplathub2</title><published>2013-03-15T13:33:40Z</published><updated>2013-03-15T13:33:40Z</updated><author><name>ciserversb</name></author><link rel=\"self\" href=\"https://ciserversb.servicebus.windows.net/xplathub2\"/><content type=\"application/xml\"><NotificationHubDescription xmlns=\"http://schemas.microsoft.com/netservices/2010/10/servicebus/connect\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\"><RegistrationTtl>P90D</RegistrationTtl><AuthorizationRules><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights></Rights><CreatedTime>2013-03-15T13:33:40.6547497Z</CreatedTime><ModifiedTime>2013-03-15T13:33:40.6547497Z</ModifiedTime><KeyName>DefaultListenSharedAccessSignature</KeyName><PrimaryKey>KHYqXV9VViUhMk97aD53Ug==</PrimaryKey></AuthorizationRule><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights><AccessRights>Manage</AccessRights><AccessRights>Send</AccessRights></Rights><CreatedTime>2013-03-15T13:33:40.6547497Z</CreatedTime><ModifiedTime>2013-03-15T13:33:40.6547497Z</ModifiedTime><KeyName>DefaultFullSharedAccessSignature</KeyName><PrimaryKey>QlJ8OSpDeGNlKzU/VHNFKQ==</PrimaryKey></AuthorizationRule></AuthorizationRules></NotificationHubDescription></content></entry>", { 'transfer-encoding': 'chunked',
|
|
|
|
|
'content-type': 'application/atom+xml;type=entry;charset=utf-8',
|
|
|
|
|
server: 'Microsoft-HTTPAPI/2.0',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 13:33: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%252fxplathub2%252fMessages%26ExpiresOn%3d1363355622%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dN2Fhu6SntZQC1uysnfJX0na8ICaxgRyQkhBdXq0Pu6s%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': '560726e4-17f7-4a77-8b17-fef9b332261e',
|
|
|
|
|
'x-content-type-options': 'nosniff',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 13:33:41 GMT',
|
|
|
|
|
'content-length': '551' });
|
|
|
|
|
return result; },
|
|
|
|
|
function (nock) {
|
|
|
|
|
var result =
|
|
|
|
|
nock('https://ciserversb.servicebus.windows.net:443')
|
|
|
|
|
.filteringRequestBody(function (path) { return '*';})
|
|
|
|
|
.post('/xplathub2/Messages', '*')
|
|
|
|
|
.reply(201, "", { 'transfer-encoding': 'chunked',
|
|
|
|
|
'content-type': 'application/xml; charset=utf-8',
|
|
|
|
|
server: 'Microsoft-HTTPAPI/2.0',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 13:33:43 GMT' });
|
|
|
|
|
return result; }],
|
|
|
|
|
[function (nock) {
|
|
|
|
|
var result =
|
|
|
|
|
nock('https://ciserversb.servicebus.windows.net:443')
|
|
|
|
|
.get('/$Resources/NotificationHubs')
|
|
|
|
|
.reply(200, "<feed xmlns=\"http://www.w3.org/2005/Atom\"><title type=\"text\">NotificationHubs</title><id>https://ciserversb.servicebus.windows.net/$Resources/NotificationHubs</id><updated>2013-03-15T13:33:44Z</updated><link rel=\"self\" href=\"https://ciserversb.servicebus.windows.net/$Resources/NotificationHubs\"/><entry xml:base=\"https://ciserversb.servicebus.windows.net/$Resources/NotificationHubs\"><id>https://ciserversb.servicebus.windows.net/myhub</id><title type=\"text\">myhub</title><published>2013-02-23T00:22:23Z</published><updated>2013-02-28T14:27:57Z</updated><author><name>ciserversb</name></author><link rel=\"self\" href=\"../myhub\"/><content type=\"application/xml\"><NotificationHubDescription xmlns=\"http://schemas.microsoft.com/netservices/2010/10/servicebus/connect\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\"><RegistrationTtl>P90D</RegistrationTtl><WnsCredential><Properties><Property><Name>PackageSid</Name><Value>ms-app://s-1-15-2-3624382523-3073449496-1584155076-733487050-1832530571-3873708642-3859416007</Value></Property><Property><Name>SecretKey</Name><Value>Blz9qc7m94s6lM0nO7xwybMY0bDLy+aa</Value></Property><Property><Name>WindowsLiveEndpoint</Name><Value>https://login.live.com/accesstoken.srf</Value></Property></Properties></WnsCredential><AuthorizationRules><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights></Rights><KeyName>DefaultListenSharedAccessSignature</KeyName><PrimaryKey>cVV3cmNZOCkkdXktXl8qbQ==</PrimaryKey></AuthorizationRule><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights><AccessRights>Manage</AccessRights><AccessRights>Send</AccessRights></Rights><KeyName>DefaultFullSharedAccessSignature</KeyName><PrimaryKey>Kj5FUlB4UmM1KXAybD1RPQ==</PrimaryKey></AuthorizationRule></AuthorizationRules></NotificationHubDescription></content></entry></feed>", { 'transfer-encoding': 'chunked',
|
|
|
|
|
'content-type': 'application/atom+xml;type=feed;charset=utf-8',
|
|
|
|
|
server: 'Microsoft-HTTPAPI/2.0',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 13:33: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%252fxplathub3%26ExpiresOn%3d1363355625%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dyCEbrZAKZU%252fJMxSt%252bX4OVs%252fnU0hrSIFOjd10hK6uhfY%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': 'e9f25b7a-b034-4bb7-9008-23e557bf890d',
|
|
|
|
|
'x-content-type-options': 'nosniff',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 13:33:45 GMT',
|
|
|
|
|
'content-length': '550' });
|
|
|
|
|
return result; },
|
|
|
|
|
function (nock) {
|
|
|
|
|
var result =
|
|
|
|
|
nock('https://ciserversb.servicebus.windows.net:443')
|
|
|
|
|
.filteringRequestBody(function (path) { return '*';})
|
|
|
|
|
.put('/xplathub3', '*')
|
|
|
|
|
.reply(201, "<entry xmlns=\"http://www.w3.org/2005/Atom\"><id>https://ciserversb.servicebus.windows.net/xplathub3</id><title type=\"text\">xplathub3</title><published>2013-03-15T13:33:47Z</published><updated>2013-03-15T13:33:47Z</updated><author><name>ciserversb</name></author><link rel=\"self\" href=\"https://ciserversb.servicebus.windows.net/xplathub3\"/><content type=\"application/xml\"><NotificationHubDescription xmlns=\"http://schemas.microsoft.com/netservices/2010/10/servicebus/connect\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\"><RegistrationTtl>P90D</RegistrationTtl><AuthorizationRules><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights></Rights><CreatedTime>2013-03-15T13:33:47.4316213Z</CreatedTime><ModifiedTime>2013-03-15T13:33:47.4316213Z</ModifiedTime><KeyName>DefaultListenSharedAccessSignature</KeyName><PrimaryKey>PWYxcGctP0F5TjNxdD5kbg==</PrimaryKey></AuthorizationRule><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights><AccessRights>Manage</AccessRights><AccessRights>Send</AccessRights></Rights><CreatedTime>2013-03-15T13:33:47.4316213Z</CreatedTime><ModifiedTime>2013-03-15T13:33:47.4316213Z</ModifiedTime><KeyName>DefaultFullSharedAccessSignature</KeyName><PrimaryKey>QTNPVEgtPzN0alpWe1JlJg==</PrimaryKey></AuthorizationRule></AuthorizationRules></NotificationHubDescription></content></entry>", { 'transfer-encoding': 'chunked',
|
|
|
|
|
'content-type': 'application/atom+xml;type=entry;charset=utf-8',
|
|
|
|
|
server: 'Microsoft-HTTPAPI/2.0',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 13:33: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%252fxplathub3%252fMessages%26ExpiresOn%3d1363355628%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dkOgMisCyV%252fVNWxAzG69sh%252bD3nrUYdOtZTHV4mQLGSXM%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': 'd114442e-5ce3-486b-96e7-0a66dd7f75fc',
|
|
|
|
|
'x-content-type-options': 'nosniff',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 13:33:48 GMT',
|
|
|
|
|
'content-length': '559' });
|
|
|
|
|
return result; },
|
|
|
|
|
function (nock) {
|
|
|
|
|
var result =
|
|
|
|
|
nock('https://ciserversb.servicebus.windows.net:443')
|
|
|
|
|
.filteringRequestBody(function (path) { return '*';})
|
|
|
|
|
.post('/xplathub3/Messages', '*')
|
|
|
|
|
.reply(400, "<Error><Code>400</Code><Detail>The content type for a 'wns/raw' notification must be 'application/octet-stream'</Detail></Error>", { 'transfer-encoding': 'chunked',
|
|
|
|
|
'content-type': 'application/xml; charset=utf-8',
|
|
|
|
|
server: 'Microsoft-HTTPAPI/2.0',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 13:33:49 GMT' });
|
|
|
|
|
return result; }],
|
|
|
|
|
[function (nock) {
|
|
|
|
|
var result =
|
|
|
|
|
nock('https://ciserversb.servicebus.windows.net:443')
|
|
|
|
|
.get('/$Resources/NotificationHubs')
|
|
|
|
|
.reply(200, "<feed xmlns=\"http://www.w3.org/2005/Atom\"><title type=\"text\">NotificationHubs</title><id>https://ciserversb.servicebus.windows.net/$Resources/NotificationHubs</id><updated>2013-03-15T13:33:51Z</updated><link rel=\"self\" href=\"https://ciserversb.servicebus.windows.net/$Resources/NotificationHubs\"/><entry xml:base=\"https://ciserversb.servicebus.windows.net/$Resources/NotificationHubs\"><id>https://ciserversb.servicebus.windows.net/myhub</id><title type=\"text\">myhub</title><published>2013-02-23T00:22:23Z</published><updated>2013-02-28T14:27:57Z</updated><author><name>ciserversb</name></author><link rel=\"self\" href=\"../myhub\"/><content type=\"application/xml\"><NotificationHubDescription xmlns=\"http://schemas.microsoft.com/netservices/2010/10/servicebus/connect\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\"><RegistrationTtl>P90D</RegistrationTtl><WnsCredential><Properties><Property><Name>PackageSid</Name><Value>ms-app://s-1-15-2-3624382523-3073449496-1584155076-733487050-1832530571-3873708642-3859416007</Value></Property><Property><Name>SecretKey</Name><Value>Blz9qc7m94s6lM0nO7xwybMY0bDLy+aa</Value></Property><Property><Name>WindowsLiveEndpoint</Name><Value>https://login.live.com/accesstoken.srf</Value></Property></Properties></WnsCredential><AuthorizationRules><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights></Rights><KeyName>DefaultListenSharedAccessSignature</KeyName><PrimaryKey>cVV3cmNZOCkkdXktXl8qbQ==</PrimaryKey></AuthorizationRule><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights><AccessRights>Manage</AccessRights><AccessRights>Send</AccessRights></Rights><KeyName>DefaultFullSharedAccessSignature</KeyName><PrimaryKey>Kj5FUlB4UmM1KXAybD1RPQ==</PrimaryKey></AuthorizationRule></AuthorizationRules></NotificationHubDescription></content></entry></feed>", { 'transfer-encoding': 'chunked',
|
|
|
|
|
'content-type': 'application/atom+xml;type=feed;charset=utf-8',
|
|
|
|
|
server: 'Microsoft-HTTPAPI/2.0',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 13:33: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%252fxplathub4%26ExpiresOn%3d1363355632%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dlT%252fNB9QtcxBRTf%252fynlkKL5GeyRPLucH3%252fM1SokJd3pQ%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': '6df1f78c-8bfc-4a7c-b17e-3d1915a37672',
|
|
|
|
|
'x-content-type-options': 'nosniff',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 13:33:52 GMT',
|
|
|
|
|
'content-length': '550' });
|
|
|
|
|
return result; },
|
|
|
|
|
function (nock) {
|
|
|
|
|
var result =
|
|
|
|
|
nock('https://ciserversb.servicebus.windows.net:443')
|
|
|
|
|
.filteringRequestBody(function (path) { return '*';})
|
|
|
|
|
.put('/xplathub4', '*')
|
|
|
|
|
.reply(201, "<entry xmlns=\"http://www.w3.org/2005/Atom\"><id>https://ciserversb.servicebus.windows.net/xplathub4</id><title type=\"text\">xplathub4</title><published>2013-03-15T13:33:54Z</published><updated>2013-03-15T13:33:54Z</updated><author><name>ciserversb</name></author><link rel=\"self\" href=\"https://ciserversb.servicebus.windows.net/xplathub4\"/><content type=\"application/xml\"><NotificationHubDescription xmlns=\"http://schemas.microsoft.com/netservices/2010/10/servicebus/connect\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\"><RegistrationTtl>P90D</RegistrationTtl><AuthorizationRules><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights></Rights><CreatedTime>2013-03-15T13:33:54.1917171Z</CreatedTime><ModifiedTime>2013-03-15T13:33:54.1917171Z</ModifiedTime><KeyName>DefaultListenSharedAccessSignature</KeyName><PrimaryKey>fCk9Y2U6NHpJZj5Ccz1dLQ==</PrimaryKey></AuthorizationRule><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights><AccessRights>Manage</AccessRights><AccessRights>Send</AccessRights></Rights><CreatedTime>2013-03-15T13:33:54.1917171Z</CreatedTime><ModifiedTime>2013-03-15T13:33:54.1917171Z</ModifiedTime><KeyName>DefaultFullSharedAccessSignature</KeyName><PrimaryKey>OnEqWEp5Sk1ReC1XRShGYg==</PrimaryKey></AuthorizationRule></AuthorizationRules></NotificationHubDescription></content></entry>", { 'transfer-encoding': 'chunked',
|
|
|
|
|
'content-type': 'application/atom+xml;type=entry;charset=utf-8',
|
|
|
|
|
server: 'Microsoft-HTTPAPI/2.0',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 13:33: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%252fxplathub4%252fMessages%26ExpiresOn%3d1363355635%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dOzVqFztEy%252bkvIjZKU5b5bUvi7tWJ%252bGJ4fSpeIJYCq%252fk%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': 'fb3bc34d-cac1-463a-916f-615c4427949a',
|
|
|
|
|
'x-content-type-options': 'nosniff',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 13:33:55 GMT',
|
|
|
|
|
'content-length': '563' });
|
|
|
|
|
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: 'Fri, 15 Mar 2013 13:33:56 GMT' });
|
|
|
|
|
return result; }],
|
|
|
|
|
[function (nock) {
|
|
|
|
|
var result =
|
|
|
|
|
nock('https://ciserversb.servicebus.windows.net:443')
|
|
|
|
|
.get('/$Resources/NotificationHubs')
|
|
|
|
|
.reply(200, "<feed xmlns=\"http://www.w3.org/2005/Atom\"><title type=\"text\">NotificationHubs</title><id>https://ciserversb.servicebus.windows.net/$Resources/NotificationHubs</id><updated>2013-03-15T13:33:57Z</updated><link rel=\"self\" href=\"https://ciserversb.servicebus.windows.net/$Resources/NotificationHubs\"/><entry xml:base=\"https://ciserversb.servicebus.windows.net/$Resources/NotificationHubs\"><id>https://ciserversb.servicebus.windows.net/myhub</id><title type=\"text\">myhub</title><published>2013-02-23T00:22:23Z</published><updated>2013-02-28T14:27:57Z</updated><author><name>ciserversb</name></author><link rel=\"self\" href=\"../myhub\"/><content type=\"application/xml\"><NotificationHubDescription xmlns=\"http://schemas.microsoft.com/netservices/2010/10/servicebus/connect\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\"><RegistrationTtl>P90D</RegistrationTtl><WnsCredential><Properties><Property><Name>PackageSid</Name><Value>ms-app://s-1-15-2-3624382523-3073449496-1584155076-733487050-1832530571-3873708642-3859416007</Value></Property><Property><Name>SecretKey</Name><Value>Blz9qc7m94s6lM0nO7xwybMY0bDLy+aa</Value></Property><Property><Name>WindowsLiveEndpoint</Name><Value>https://login.live.com/accesstoken.srf</Value></Property></Properties></WnsCredential><AuthorizationRules><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights></Rights><KeyName>DefaultListenSharedAccessSignature</KeyName><PrimaryKey>cVV3cmNZOCkkdXktXl8qbQ==</PrimaryKey></AuthorizationRule><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights><AccessRights>Manage</AccessRights><AccessRights>Send</AccessRights></Rights><KeyName>DefaultFullSharedAccessSignature</KeyName><PrimaryKey>Kj5FUlB4UmM1KXAybD1RPQ==</PrimaryKey></AuthorizationRule></AuthorizationRules></NotificationHubDescription></content></entry></feed>", { 'transfer-encoding': 'chunked',
|
|
|
|
|
'content-type': 'application/atom+xml;type=feed;charset=utf-8',
|
|
|
|
|
server: 'Microsoft-HTTPAPI/2.0',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 13:33: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%252fxplathub5%26ExpiresOn%3d1363355638%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3d0IyXNYb%252b3c%252fDdkrDV7of3tmuF5Gr%252fMLBATvhMnH629U%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': '611c1412-a5b8-4473-bc2c-c066726e28bf',
|
|
|
|
|
'x-content-type-options': 'nosniff',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 13:33:58 GMT',
|
|
|
|
|
'content-length': '550' });
|
|
|
|
|
return result; },
|
|
|
|
|
function (nock) {
|
|
|
|
|
var result =
|
|
|
|
|
nock('https://ciserversb.servicebus.windows.net:443')
|
|
|
|
|
.filteringRequestBody(function (path) { return '*';})
|
|
|
|
|
.put('/xplathub5', '*')
|
|
|
|
|
.reply(201, "<entry xmlns=\"http://www.w3.org/2005/Atom\"><id>https://ciserversb.servicebus.windows.net/xplathub5</id><title type=\"text\">xplathub5</title><published>2013-03-15T13:33:59Z</published><updated>2013-03-15T13:34:00Z</updated><author><name>ciserversb</name></author><link rel=\"self\" href=\"https://ciserversb.servicebus.windows.net/xplathub5\"/><content type=\"application/xml\"><NotificationHubDescription xmlns=\"http://schemas.microsoft.com/netservices/2010/10/servicebus/connect\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\"><RegistrationTtl>P90D</RegistrationTtl><AuthorizationRules><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights></Rights><CreatedTime>2013-03-15T13:34:00.1945534Z</CreatedTime><ModifiedTime>2013-03-15T13:34:00.1945534Z</ModifiedTime><KeyName>DefaultListenSharedAccessSignature</KeyName><PrimaryKey>UClAVHhXTEtRVkU/V3xkeg==</PrimaryKey></AuthorizationRule><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights><AccessRights>Manage</AccessRights><AccessRights>Send</AccessRights></Rights><CreatedTime>2013-03-15T13:34:00.1945534Z</CreatedTime><ModifiedTime>2013-03-15T13:34:00.1945534Z</ModifiedTime><KeyName>DefaultFullSharedAccessSignature</KeyName><PrimaryKey>V0QrUmlEeSl0MmhHdmw+Xw==</PrimaryKey></AuthorizationRule></AuthorizationRules></NotificationHubDescription></content></entry>", { 'transfer-encoding': 'chunked',
|
|
|
|
|
'content-type': 'application/atom+xml;type=entry;charset=utf-8',
|
|
|
|
|
server: 'Microsoft-HTTPAPI/2.0',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 13:34:00 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%252fxplathub5%252fMessages%26ExpiresOn%3d1363355641%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3deWY5Z%252bou4tSEI9XxOq9irzD0JeT2WB5wKQkW1bLKZGM%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': '28c2f96b-c142-47ed-b82e-f7104233c7e0',
|
|
|
|
|
'x-content-type-options': 'nosniff',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 13:34:01 GMT',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 22:50:04 GMT',
|
|
|
|
|
'content-length': '555' });
|
|
|
|
|
return result; },
|
|
|
|
|
function (nock) {
|
|
|
|
|
var result =
|
|
|
|
|
nock('https://ciserversb.servicebus.windows.net:443')
|
|
|
|
|
.filteringRequestBody(function (path) { return '*';})
|
|
|
|
|
.post('/xplathub5/Messages', '*')
|
|
|
|
|
.post('/xplathub1/Messages?api-version=2012-08', '*')
|
|
|
|
|
.reply(201, "", { 'transfer-encoding': 'chunked',
|
|
|
|
|
'content-type': 'application/xml; charset=utf-8',
|
|
|
|
|
server: 'Microsoft-HTTPAPI/2.0',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 13:34:03 GMT' });
|
|
|
|
|
date: 'Fri, 15 Mar 2013 22:50:04 GMT' });
|
|
|
|
|
return result; }],
|
|
|
|
|
[function (nock) {
|
|
|
|
|
var result =
|
|
|
|
|
nock('https://ciserversb.servicebus.windows.net:443')
|
|
|
|
|
.get('/$Resources/NotificationHubs')
|
|
|
|
|
.reply(200, "<feed xmlns=\"http://www.w3.org/2005/Atom\"><title type=\"text\">NotificationHubs</title><id>https://ciserversb.servicebus.windows.net/$Resources/NotificationHubs</id><updated>2013-03-15T13:34:04Z</updated><link rel=\"self\" href=\"https://ciserversb.servicebus.windows.net/$Resources/NotificationHubs\"/><entry xml:base=\"https://ciserversb.servicebus.windows.net/$Resources/NotificationHubs\"><id>https://ciserversb.servicebus.windows.net/myhub</id><title type=\"text\">myhub</title><published>2013-02-23T00:22:23Z</published><updated>2013-02-28T14:27:57Z</updated><author><name>ciserversb</name></author><link rel=\"self\" href=\"../myhub\"/><content type=\"application/xml\"><NotificationHubDescription xmlns=\"http://schemas.microsoft.com/netservices/2010/10/servicebus/connect\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\"><RegistrationTtl>P90D</RegistrationTtl><WnsCredential><Properties><Property><Name>PackageSid</Name><Value>ms-app://s-1-15-2-3624382523-3073449496-1584155076-733487050-1832530571-3873708642-3859416007</Value></Property><Property><Name>SecretKey</Name><Value>Blz9qc7m94s6lM0nO7xwybMY0bDLy+aa</Value></Property><Property><Name>WindowsLiveEndpoint</Name><Value>https://login.live.com/accesstoken.srf</Value></Property></Properties></WnsCredential><AuthorizationRules><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights></Rights><KeyName>DefaultListenSharedAccessSignature</KeyName><PrimaryKey>cVV3cmNZOCkkdXktXl8qbQ==</PrimaryKey></AuthorizationRule><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights><AccessRights>Manage</AccessRights><AccessRights>Send</AccessRights></Rights><KeyName>DefaultFullSharedAccessSignature</KeyName><PrimaryKey>Kj5FUlB4UmM1KXAybD1RPQ==</PrimaryKey></AuthorizationRule></AuthorizationRules></NotificationHubDescription></content></entry></feed>", { 'transfer-encoding': 'chunked',
|
|
|
|
|
.get('/$Resources/NotificationHubs?api-version=2012-08')
|
|
|
|
|
.reply(200, "<feed xmlns=\"http://www.w3.org/2005/Atom\"><title type=\"text\">NotificationHubs</title><id>https://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2012-08</id><updated>2013-03-15T22:50:07Z</updated><link rel=\"self\" href=\"https://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2012-08\"/><entry xml:base=\"https://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2012-08\"><id>https://ciserversb.servicebus.windows.net/myhub?api-version=2012-08</id><title type=\"text\">myhub</title><published>2013-02-23T00:22:23Z</published><updated>2013-02-28T14:27:57Z</updated><author><name>ciserversb</name></author><link rel=\"self\" href=\"../myhub?api-version=2012-08\"/><content type=\"application/xml\"><NotificationHubDescription xmlns=\"http://schemas.microsoft.com/netservices/2010/10/servicebus/connect\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\"><RegistrationTtl>P90D</RegistrationTtl><WnsCredential><Properties><Property><Name>PackageSid</Name><Value>ms-app://s-1-15-2-3624382523-3073449496-1584155076-733487050-1832530571-3873708642-3859416007</Value></Property><Property><Name>SecretKey</Name><Value>Blz9qc7m94s6lM0nO7xwybMY0bDLy+aa</Value></Property><Property><Name>WindowsLiveEndpoint</Name><Value>https://login.live.com/accesstoken.srf</Value></Property></Properties></WnsCredential><AuthorizationRules><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights></Rights><KeyName>DefaultListenSharedAccessSignature</KeyName><PrimaryKey>cVV3cmNZOCkkdXktXl8qbQ==</PrimaryKey></AuthorizationRule><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights><AccessRights>Manage</AccessRights><AccessRights>Send</AccessRights></Rights><KeyName>DefaultFullSharedAccessSignature</KeyName><PrimaryKey>Kj5FUlB4UmM1KXAybD1RPQ==</PrimaryKey></AuthorizationRule></AuthorizationRules></NotificationHubDescription></content></entry></feed>", { 'transfer-encoding': 'chunked',
|
|
|
|
|
'content-type': 'application/atom+xml;type=feed;charset=utf-8',
|
|
|
|
|
server: 'Microsoft-HTTPAPI/2.0',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 13:34:04 GMT' });
|
|
|
|
|
date: 'Fri, 15 Mar 2013 22:50: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%252fxplathub6%26ExpiresOn%3d1363355645%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dfWa2KKGb%252bhTm3blm9kNxHGW684tPVqQTVoGR7QLFDb0%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%252fxplathub2%26ExpiresOn%3d1363389008%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dtNK1kg34fletsD9vcNeHRA6Rf1rURpaVRPOqfenvme4%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': '727b5308-4092-4afa-81a0-fea4289d2323',
|
|
|
|
|
'request-id': 'a72c9092-37ba-4bbd-88c6-cf0e3b3893f7',
|
|
|
|
|
'x-content-type-options': 'nosniff',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 13:34:05 GMT',
|
|
|
|
|
'content-length': '542' });
|
|
|
|
|
return result; },
|
|
|
|
|
function (nock) {
|
|
|
|
|
var result =
|
|
|
|
|
nock('https://ciserversb.servicebus.windows.net:443')
|
|
|
|
|
.filteringRequestBody(function (path) { return '*';})
|
|
|
|
|
.put('/xplathub6', '*')
|
|
|
|
|
.reply(201, "<entry xmlns=\"http://www.w3.org/2005/Atom\"><id>https://ciserversb.servicebus.windows.net/xplathub6</id><title type=\"text\">xplathub6</title><published>2013-03-15T13:34:07Z</published><updated>2013-03-15T13:34:07Z</updated><author><name>ciserversb</name></author><link rel=\"self\" href=\"https://ciserversb.servicebus.windows.net/xplathub6\"/><content type=\"application/xml\"><NotificationHubDescription xmlns=\"http://schemas.microsoft.com/netservices/2010/10/servicebus/connect\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\"><RegistrationTtl>P90D</RegistrationTtl><AuthorizationRules><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights></Rights><CreatedTime>2013-03-15T13:34:07.4307259Z</CreatedTime><ModifiedTime>2013-03-15T13:34:07.4307259Z</ModifiedTime><KeyName>DefaultListenSharedAccessSignature</KeyName><PrimaryKey>TlZqck0lNXMtQiFtfHBdOg==</PrimaryKey></AuthorizationRule><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights><AccessRights>Manage</AccessRights><AccessRights>Send</AccessRights></Rights><CreatedTime>2013-03-15T13:34:07.4307259Z</CreatedTime><ModifiedTime>2013-03-15T13:34:07.4307259Z</ModifiedTime><KeyName>DefaultFullSharedAccessSignature</KeyName><PrimaryKey>eFZmT3ImbU4/cV9HZ15Ndg==</PrimaryKey></AuthorizationRule></AuthorizationRules></NotificationHubDescription></content></entry>", { 'transfer-encoding': 'chunked',
|
|
|
|
|
'content-type': 'application/atom+xml;type=entry;charset=utf-8',
|
|
|
|
|
server: 'Microsoft-HTTPAPI/2.0',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 13:34: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%252fxplathub6%252fMessages%26ExpiresOn%3d1363355649%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dN9zxfzb%252foi3lFDYCV6cuF%252ffgo1LPTxFwLrj03OI3EFo%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': 'cbadd913-9922-42c9-8acb-f32c9674a9eb',
|
|
|
|
|
'x-content-type-options': 'nosniff',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 13:34:09 GMT',
|
|
|
|
|
'content-length': '559' });
|
|
|
|
|
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: 'Fri, 15 Mar 2013 13:34:10 GMT' });
|
|
|
|
|
return result; }],
|
|
|
|
|
[function (nock) {
|
|
|
|
|
var result =
|
|
|
|
|
nock('https://ciserversb.servicebus.windows.net:443')
|
|
|
|
|
.get('/$Resources/NotificationHubs')
|
|
|
|
|
.reply(200, "<feed xmlns=\"http://www.w3.org/2005/Atom\"><title type=\"text\">NotificationHubs</title><id>https://ciserversb.servicebus.windows.net/$Resources/NotificationHubs</id><updated>2013-03-15T13:34:11Z</updated><link rel=\"self\" href=\"https://ciserversb.servicebus.windows.net/$Resources/NotificationHubs\"/><entry xml:base=\"https://ciserversb.servicebus.windows.net/$Resources/NotificationHubs\"><id>https://ciserversb.servicebus.windows.net/myhub</id><title type=\"text\">myhub</title><published>2013-02-23T00:22:23Z</published><updated>2013-02-28T14:27:57Z</updated><author><name>ciserversb</name></author><link rel=\"self\" href=\"../myhub\"/><content type=\"application/xml\"><NotificationHubDescription xmlns=\"http://schemas.microsoft.com/netservices/2010/10/servicebus/connect\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\"><RegistrationTtl>P90D</RegistrationTtl><WnsCredential><Properties><Property><Name>PackageSid</Name><Value>ms-app://s-1-15-2-3624382523-3073449496-1584155076-733487050-1832530571-3873708642-3859416007</Value></Property><Property><Name>SecretKey</Name><Value>Blz9qc7m94s6lM0nO7xwybMY0bDLy+aa</Value></Property><Property><Name>WindowsLiveEndpoint</Name><Value>https://login.live.com/accesstoken.srf</Value></Property></Properties></WnsCredential><AuthorizationRules><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights></Rights><KeyName>DefaultListenSharedAccessSignature</KeyName><PrimaryKey>cVV3cmNZOCkkdXktXl8qbQ==</PrimaryKey></AuthorizationRule><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights><AccessRights>Manage</AccessRights><AccessRights>Send</AccessRights></Rights><KeyName>DefaultFullSharedAccessSignature</KeyName><PrimaryKey>Kj5FUlB4UmM1KXAybD1RPQ==</PrimaryKey></AuthorizationRule></AuthorizationRules></NotificationHubDescription></content></entry></feed>", { 'transfer-encoding': 'chunked',
|
|
|
|
|
'content-type': 'application/atom+xml;type=feed;charset=utf-8',
|
|
|
|
|
server: 'Microsoft-HTTPAPI/2.0',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 13:34: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%252fxplathub7%26ExpiresOn%3d1363355653%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dxmgBf7RxxLkt1hzaMax49GNp01M8roQZxL8CdJBwh98%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': '696e2f36-6c90-428b-9b91-1767bca3bc11',
|
|
|
|
|
'x-content-type-options': 'nosniff',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 13:34:13 GMT',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 22:50:08 GMT',
|
|
|
|
|
'content-length': '538' });
|
|
|
|
|
return result; },
|
|
|
|
|
function (nock) {
|
|
|
|
|
var result =
|
|
|
|
|
nock('https://ciserversb.servicebus.windows.net:443')
|
|
|
|
|
.filteringRequestBody(function (path) { return '*';})
|
|
|
|
|
.put('/xplathub7', '*')
|
|
|
|
|
.reply(201, "<entry xmlns=\"http://www.w3.org/2005/Atom\"><id>https://ciserversb.servicebus.windows.net/xplathub7</id><title type=\"text\">xplathub7</title><published>2013-03-15T13:34:14Z</published><updated>2013-03-15T13:34:14Z</updated><author><name>ciserversb</name></author><link rel=\"self\" href=\"https://ciserversb.servicebus.windows.net/xplathub7\"/><content type=\"application/xml\"><NotificationHubDescription xmlns=\"http://schemas.microsoft.com/netservices/2010/10/servicebus/connect\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\"><RegistrationTtl>P90D</RegistrationTtl><AuthorizationRules><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights></Rights><CreatedTime>2013-03-15T13:34:14.3418185Z</CreatedTime><ModifiedTime>2013-03-15T13:34:14.3418185Z</ModifiedTime><KeyName>DefaultListenSharedAccessSignature</KeyName><PrimaryKey>QDI9JW5ITmNUUiFUdDI4eA==</PrimaryKey></AuthorizationRule><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights><AccessRights>Manage</AccessRights><AccessRights>Send</AccessRights></Rights><CreatedTime>2013-03-15T13:34:14.3418185Z</CreatedTime><ModifiedTime>2013-03-15T13:34:14.3418185Z</ModifiedTime><KeyName>DefaultFullSharedAccessSignature</KeyName><PrimaryKey>I2t4ek4pcDhoS3o6NVJZKw==</PrimaryKey></AuthorizationRule></AuthorizationRules></NotificationHubDescription></content></entry>", { 'transfer-encoding': 'chunked',
|
|
|
|
|
.put('/xplathub2?api-version=2012-08', '*')
|
|
|
|
|
.reply(201, "<entry xmlns=\"http://www.w3.org/2005/Atom\"><id>https://ciserversb.servicebus.windows.net/xplathub2?api-version=2012-08</id><title type=\"text\">xplathub2</title><published>2013-03-15T22:50:10Z</published><updated>2013-03-15T22:50:10Z</updated><author><name>ciserversb</name></author><link rel=\"self\" href=\"https://ciserversb.servicebus.windows.net/xplathub2?api-version=2012-08\"/><content type=\"application/xml\"><NotificationHubDescription xmlns=\"http://schemas.microsoft.com/netservices/2010/10/servicebus/connect\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\"><RegistrationTtl>P90D</RegistrationTtl><AuthorizationRules><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights></Rights><CreatedTime>2013-03-15T22:50:09.9403183Z</CreatedTime><ModifiedTime>2013-03-15T22:50:09.9403183Z</ModifiedTime><KeyName>DefaultListenSharedAccessSignature</KeyName><PrimaryKey>Xl5wMXc6L2p8QGNfQEdXbQ==</PrimaryKey></AuthorizationRule><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights><AccessRights>Manage</AccessRights><AccessRights>Send</AccessRights></Rights><CreatedTime>2013-03-15T22:50:09.9403183Z</CreatedTime><ModifiedTime>2013-03-15T22:50:09.9403183Z</ModifiedTime><KeyName>DefaultFullSharedAccessSignature</KeyName><PrimaryKey>fUJhYnUkRV9bMVp9SFRbLQ==</PrimaryKey></AuthorizationRule></AuthorizationRules></NotificationHubDescription></content></entry>", { 'transfer-encoding': 'chunked',
|
|
|
|
|
'content-type': 'application/atom+xml;type=entry;charset=utf-8',
|
|
|
|
|
server: 'Microsoft-HTTPAPI/2.0',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 13:34:14 GMT' });
|
|
|
|
|
date: 'Fri, 15 Mar 2013 22:50: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%252fxplathub7%252fMessages%26ExpiresOn%3d1363355655%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3deAsYyyVJm30wBrlo2lLzooFtkEnGJwicE%252bNOyTzfKkw%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%252fxplathub2%252fMessages%26ExpiresOn%3d1363389011%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dJKGag%252bQdX2%252bLZL651O9pC6ZSdf0PXFmy980Zs7cGkXc%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': 'cfa40f59-ab47-4246-8733-fff15b147af9',
|
|
|
|
|
'request-id': '36087d4a-7632-49a0-a7fd-37218dc91775',
|
|
|
|
|
'x-content-type-options': 'nosniff',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 13:34:15 GMT',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 22:50:10 GMT',
|
|
|
|
|
'content-length': '559' });
|
|
|
|
|
return result; },
|
|
|
|
|
function (nock) {
|
|
|
|
|
var result =
|
|
|
|
|
nock('https://ciserversb.servicebus.windows.net:443')
|
|
|
|
|
.filteringRequestBody(function (path) { return '*';})
|
|
|
|
|
.post('/xplathub2/Messages?api-version=2012-08', '*')
|
|
|
|
|
.reply(201, "", { 'transfer-encoding': 'chunked',
|
|
|
|
|
'content-type': 'application/xml; charset=utf-8',
|
|
|
|
|
server: 'Microsoft-HTTPAPI/2.0',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 22:50:12 GMT' });
|
|
|
|
|
return result; }],
|
|
|
|
|
[function (nock) {
|
|
|
|
|
var result =
|
|
|
|
|
nock('https://ciserversb.servicebus.windows.net:443')
|
|
|
|
|
.get('/$Resources/NotificationHubs?api-version=2012-08')
|
|
|
|
|
.reply(200, "<feed xmlns=\"http://www.w3.org/2005/Atom\"><title type=\"text\">NotificationHubs</title><id>https://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2012-08</id><updated>2013-03-15T22:50:14Z</updated><link rel=\"self\" href=\"https://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2012-08\"/><entry xml:base=\"https://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2012-08\"><id>https://ciserversb.servicebus.windows.net/myhub?api-version=2012-08</id><title type=\"text\">myhub</title><published>2013-02-23T00:22:23Z</published><updated>2013-02-28T14:27:57Z</updated><author><name>ciserversb</name></author><link rel=\"self\" href=\"../myhub?api-version=2012-08\"/><content type=\"application/xml\"><NotificationHubDescription xmlns=\"http://schemas.microsoft.com/netservices/2010/10/servicebus/connect\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\"><RegistrationTtl>P90D</RegistrationTtl><WnsCredential><Properties><Property><Name>PackageSid</Name><Value>ms-app://s-1-15-2-3624382523-3073449496-1584155076-733487050-1832530571-3873708642-3859416007</Value></Property><Property><Name>SecretKey</Name><Value>Blz9qc7m94s6lM0nO7xwybMY0bDLy+aa</Value></Property><Property><Name>WindowsLiveEndpoint</Name><Value>https://login.live.com/accesstoken.srf</Value></Property></Properties></WnsCredential><AuthorizationRules><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights></Rights><KeyName>DefaultListenSharedAccessSignature</KeyName><PrimaryKey>cVV3cmNZOCkkdXktXl8qbQ==</PrimaryKey></AuthorizationRule><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights><AccessRights>Manage</AccessRights><AccessRights>Send</AccessRights></Rights><KeyName>DefaultFullSharedAccessSignature</KeyName><PrimaryKey>Kj5FUlB4UmM1KXAybD1RPQ==</PrimaryKey></AuthorizationRule></AuthorizationRules></NotificationHubDescription></content></entry></feed>", { 'transfer-encoding': 'chunked',
|
|
|
|
|
'content-type': 'application/atom+xml;type=feed;charset=utf-8',
|
|
|
|
|
server: 'Microsoft-HTTPAPI/2.0',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 22:50:14 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%26ExpiresOn%3d1363389015%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3db%252bISqlhajVbXAJlPSeiDkzK4%252b5BOQhyAuWAveXzM1Gk%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': '3534b4d0-8c27-4b64-8173-a4557506580d',
|
|
|
|
|
'x-content-type-options': 'nosniff',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 22:50:14 GMT',
|
|
|
|
|
'content-length': '546' });
|
|
|
|
|
return result; },
|
|
|
|
|
function (nock) {
|
|
|
|
|
var result =
|
|
|
|
|
nock('https://ciserversb.servicebus.windows.net:443')
|
|
|
|
|
.filteringRequestBody(function (path) { return '*';})
|
|
|
|
|
.put('/xplathub3?api-version=2012-08', '*')
|
|
|
|
|
.reply(201, "<entry xmlns=\"http://www.w3.org/2005/Atom\"><id>https://ciserversb.servicebus.windows.net/xplathub3?api-version=2012-08</id><title type=\"text\">xplathub3</title><published>2013-03-15T22:50:16Z</published><updated>2013-03-15T22:50:16Z</updated><author><name>ciserversb</name></author><link rel=\"self\" href=\"https://ciserversb.servicebus.windows.net/xplathub3?api-version=2012-08\"/><content type=\"application/xml\"><NotificationHubDescription xmlns=\"http://schemas.microsoft.com/netservices/2010/10/servicebus/connect\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\"><RegistrationTtl>P90D</RegistrationTtl><AuthorizationRules><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights></Rights><CreatedTime>2013-03-15T22:50:16.4645321Z</CreatedTime><ModifiedTime>2013-03-15T22:50:16.4645321Z</ModifiedTime><KeyName>DefaultListenSharedAccessSignature</KeyName><PrimaryKey>S1hiVi9Tdi9iVV4zKnJ2dg==</PrimaryKey></AuthorizationRule><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights><AccessRights>Manage</AccessRights><AccessRights>Send</AccessRights></Rights><CreatedTime>2013-03-15T22:50:16.4645321Z</CreatedTime><ModifiedTime>2013-03-15T22:50:16.4645321Z</ModifiedTime><KeyName>DefaultFullSharedAccessSignature</KeyName><PrimaryKey>QDtINXxaYTlfWiNrdmtnIw==</PrimaryKey></AuthorizationRule></AuthorizationRules></NotificationHubDescription></content></entry>", { 'transfer-encoding': 'chunked',
|
|
|
|
|
'content-type': 'application/atom+xml;type=entry;charset=utf-8',
|
|
|
|
|
server: 'Microsoft-HTTPAPI/2.0',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 22: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%252fxplathub3%252fMessages%26ExpiresOn%3d1363389017%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3d1HBvIjxPOD4Xb%252fpoWLUfLMVTDUuTktck1HgNpHRP7gU%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': 'd56437be-c50d-4ac1-a270-e8cba2bb82fa',
|
|
|
|
|
'x-content-type-options': 'nosniff',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 22:50:17 GMT',
|
|
|
|
|
'content-length': '555' });
|
|
|
|
|
return result; },
|
|
|
|
|
function (nock) {
|
|
|
|
|
var result =
|
|
|
|
|
nock('https://ciserversb.servicebus.windows.net:443')
|
|
|
|
|
.filteringRequestBody(function (path) { return '*';})
|
|
|
|
|
.post('/xplathub7/Messages', '*')
|
|
|
|
|
.reply(201, "", { 'transfer-encoding': 'chunked',
|
|
|
|
|
.post('/xplathub3/Messages?api-version=2012-08', '*')
|
|
|
|
|
.reply(400, "<Error><Code>400</Code><Detail>The content type for a 'wns/raw' notification must be 'application/octet-stream'</Detail></Error>", { 'transfer-encoding': 'chunked',
|
|
|
|
|
'content-type': 'application/xml; charset=utf-8',
|
|
|
|
|
server: 'Microsoft-HTTPAPI/2.0',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 13:34:15 GMT' });
|
|
|
|
|
date: 'Fri, 15 Mar 2013 22:50:19 GMT' });
|
|
|
|
|
return result; }],
|
|
|
|
|
[function (nock) {
|
|
|
|
|
var result =
|
|
|
|
|
nock('https://ciserversb.servicebus.windows.net:443')
|
|
|
|
|
.get('/$Resources/NotificationHubs')
|
|
|
|
|
.reply(200, "<feed xmlns=\"http://www.w3.org/2005/Atom\"><title type=\"text\">NotificationHubs</title><id>https://ciserversb.servicebus.windows.net/$Resources/NotificationHubs</id><updated>2013-03-15T13:34:18Z</updated><link rel=\"self\" href=\"https://ciserversb.servicebus.windows.net/$Resources/NotificationHubs\"/><entry xml:base=\"https://ciserversb.servicebus.windows.net/$Resources/NotificationHubs\"><id>https://ciserversb.servicebus.windows.net/myhub</id><title type=\"text\">myhub</title><published>2013-02-23T00:22:23Z</published><updated>2013-02-28T14:27:57Z</updated><author><name>ciserversb</name></author><link rel=\"self\" href=\"../myhub\"/><content type=\"application/xml\"><NotificationHubDescription xmlns=\"http://schemas.microsoft.com/netservices/2010/10/servicebus/connect\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\"><RegistrationTtl>P90D</RegistrationTtl><WnsCredential><Properties><Property><Name>PackageSid</Name><Value>ms-app://s-1-15-2-3624382523-3073449496-1584155076-733487050-1832530571-3873708642-3859416007</Value></Property><Property><Name>SecretKey</Name><Value>Blz9qc7m94s6lM0nO7xwybMY0bDLy+aa</Value></Property><Property><Name>WindowsLiveEndpoint</Name><Value>https://login.live.com/accesstoken.srf</Value></Property></Properties></WnsCredential><AuthorizationRules><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights></Rights><KeyName>DefaultListenSharedAccessSignature</KeyName><PrimaryKey>cVV3cmNZOCkkdXktXl8qbQ==</PrimaryKey></AuthorizationRule><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights><AccessRights>Manage</AccessRights><AccessRights>Send</AccessRights></Rights><KeyName>DefaultFullSharedAccessSignature</KeyName><PrimaryKey>Kj5FUlB4UmM1KXAybD1RPQ==</PrimaryKey></AuthorizationRule></AuthorizationRules></NotificationHubDescription></content></entry></feed>", { 'transfer-encoding': 'chunked',
|
|
|
|
|
.get('/$Resources/NotificationHubs?api-version=2012-08')
|
|
|
|
|
.reply(200, "<feed xmlns=\"http://www.w3.org/2005/Atom\"><title type=\"text\">NotificationHubs</title><id>https://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2012-08</id><updated>2013-03-15T22:50:20Z</updated><link rel=\"self\" href=\"https://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2012-08\"/><entry xml:base=\"https://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2012-08\"><id>https://ciserversb.servicebus.windows.net/myhub?api-version=2012-08</id><title type=\"text\">myhub</title><published>2013-02-23T00:22:23Z</published><updated>2013-02-28T14:27:57Z</updated><author><name>ciserversb</name></author><link rel=\"self\" href=\"../myhub?api-version=2012-08\"/><content type=\"application/xml\"><NotificationHubDescription xmlns=\"http://schemas.microsoft.com/netservices/2010/10/servicebus/connect\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\"><RegistrationTtl>P90D</RegistrationTtl><WnsCredential><Properties><Property><Name>PackageSid</Name><Value>ms-app://s-1-15-2-3624382523-3073449496-1584155076-733487050-1832530571-3873708642-3859416007</Value></Property><Property><Name>SecretKey</Name><Value>Blz9qc7m94s6lM0nO7xwybMY0bDLy+aa</Value></Property><Property><Name>WindowsLiveEndpoint</Name><Value>https://login.live.com/accesstoken.srf</Value></Property></Properties></WnsCredential><AuthorizationRules><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights></Rights><KeyName>DefaultListenSharedAccessSignature</KeyName><PrimaryKey>cVV3cmNZOCkkdXktXl8qbQ==</PrimaryKey></AuthorizationRule><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights><AccessRights>Manage</AccessRights><AccessRights>Send</AccessRights></Rights><KeyName>DefaultFullSharedAccessSignature</KeyName><PrimaryKey>Kj5FUlB4UmM1KXAybD1RPQ==</PrimaryKey></AuthorizationRule></AuthorizationRules></NotificationHubDescription></content></entry></feed>", { 'transfer-encoding': 'chunked',
|
|
|
|
|
'content-type': 'application/atom+xml;type=feed;charset=utf-8',
|
|
|
|
|
server: 'Microsoft-HTTPAPI/2.0',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 13:34:17 GMT' });
|
|
|
|
|
date: 'Fri, 15 Mar 2013 22:50: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%252fxplathub8%26ExpiresOn%3d1363355660%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dItSszBtclxwqpXmqVbRHZd6nAcLM9Q6cXBlXbTILq%252bY%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%252fxplathub4%26ExpiresOn%3d1363389021%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dzl86vDjhwMnuLHASC1bc0%252f4Sa9fCxxAWTTDYxBctCno%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': '3481b32f-c95d-4a35-9340-3e2ba05ea3cc',
|
|
|
|
|
'request-id': 'e5e04199-4957-4d42-b97b-c4bf3a29729d',
|
|
|
|
|
'x-content-type-options': 'nosniff',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 13:34:20 GMT',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 22:50:21 GMT',
|
|
|
|
|
'content-length': '542' });
|
|
|
|
|
return result; },
|
|
|
|
|
function (nock) {
|
|
|
|
|
var result =
|
|
|
|
|
nock('https://ciserversb.servicebus.windows.net:443')
|
|
|
|
|
.filteringRequestBody(function (path) { return '*';})
|
|
|
|
|
.put('/xplathub8', '*')
|
|
|
|
|
.reply(201, "<entry xmlns=\"http://www.w3.org/2005/Atom\"><id>https://ciserversb.servicebus.windows.net/xplathub8</id><title type=\"text\">xplathub8</title><published>2013-03-15T13:34:21Z</published><updated>2013-03-15T13:34:21Z</updated><author><name>ciserversb</name></author><link rel=\"self\" href=\"https://ciserversb.servicebus.windows.net/xplathub8\"/><content type=\"application/xml\"><NotificationHubDescription xmlns=\"http://schemas.microsoft.com/netservices/2010/10/servicebus/connect\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\"><RegistrationTtl>P90D</RegistrationTtl><AuthorizationRules><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights></Rights><CreatedTime>2013-03-15T13:34:21.1336755Z</CreatedTime><ModifiedTime>2013-03-15T13:34:21.1336755Z</ModifiedTime><KeyName>DefaultListenSharedAccessSignature</KeyName><PrimaryKey>THdAdj5jbCtNbHRiaG9fTQ==</PrimaryKey></AuthorizationRule><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights><AccessRights>Manage</AccessRights><AccessRights>Send</AccessRights></Rights><CreatedTime>2013-03-15T13:34:21.1336755Z</CreatedTime><ModifiedTime>2013-03-15T13:34:21.1336755Z</ModifiedTime><KeyName>DefaultFullSharedAccessSignature</KeyName><PrimaryKey>W1ZLbzddSCVETWkzclIhTA==</PrimaryKey></AuthorizationRule></AuthorizationRules></NotificationHubDescription></content></entry>", { 'transfer-encoding': 'chunked',
|
|
|
|
|
.put('/xplathub4?api-version=2012-08', '*')
|
|
|
|
|
.reply(201, "<entry xmlns=\"http://www.w3.org/2005/Atom\"><id>https://ciserversb.servicebus.windows.net/xplathub4?api-version=2012-08</id><title type=\"text\">xplathub4</title><published>2013-03-15T22:50:22Z</published><updated>2013-03-15T22:50:22Z</updated><author><name>ciserversb</name></author><link rel=\"self\" href=\"https://ciserversb.servicebus.windows.net/xplathub4?api-version=2012-08\"/><content type=\"application/xml\"><NotificationHubDescription xmlns=\"http://schemas.microsoft.com/netservices/2010/10/servicebus/connect\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\"><RegistrationTtl>P90D</RegistrationTtl><AuthorizationRules><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights></Rights><CreatedTime>2013-03-15T22:50:22.7939753Z</CreatedTime><ModifiedTime>2013-03-15T22:50:22.7939753Z</ModifiedTime><KeyName>DefaultListenSharedAccessSignature</KeyName><PrimaryKey>a2wqNFFzJCtaMnp4Qk0qYg==</PrimaryKey></AuthorizationRule><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights><AccessRights>Manage</AccessRights><AccessRights>Send</AccessRights></Rights><CreatedTime>2013-03-15T22:50:22.7939753Z</CreatedTime><ModifiedTime>2013-03-15T22:50:22.7939753Z</ModifiedTime><KeyName>DefaultFullSharedAccessSignature</KeyName><PrimaryKey>JjElS2tJaGVmcXc9N302Rg==</PrimaryKey></AuthorizationRule></AuthorizationRules></NotificationHubDescription></content></entry>", { 'transfer-encoding': 'chunked',
|
|
|
|
|
'content-type': 'application/atom+xml;type=entry;charset=utf-8',
|
|
|
|
|
server: 'Microsoft-HTTPAPI/2.0',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 13:34:21 GMT' });
|
|
|
|
|
date: 'Fri, 15 Mar 2013 22:50: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%252fxplathub8%252fMessages%26ExpiresOn%3d1363355662%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dJeWDUSKA%252bxIpI1EOZ3a30Jy48aZz7EyqMFQ0lxiobMw%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%252fxplathub4%252fMessages%26ExpiresOn%3d1363389024%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dgk3YPlhcNeSP29yfutzTVw6zrWsO7%252bRpcrstRs57Tew%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': '7cae6576-5c43-430e-a524-e650ffb70b7b',
|
|
|
|
|
'request-id': 'cd5cf050-1d83-4928-8e32-0f0d20ba67f8',
|
|
|
|
|
'x-content-type-options': 'nosniff',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 13:34:22 GMT',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 22:50:23 GMT',
|
|
|
|
|
'content-length': '555' });
|
|
|
|
|
return result; },
|
|
|
|
|
function (nock) {
|
|
|
|
|
var result =
|
|
|
|
|
nock('https://ciserversb.servicebus.windows.net:443')
|
|
|
|
|
.filteringRequestBody(function (path) { return '*';})
|
|
|
|
|
.post('/xplathub8/Messages', '*')
|
|
|
|
|
.post('/xplathub4/Messages?api-version=2012-08', '*')
|
|
|
|
|
.reply(201, "", { 'transfer-encoding': 'chunked',
|
|
|
|
|
'content-type': 'application/xml; charset=utf-8',
|
|
|
|
|
server: 'Microsoft-HTTPAPI/2.0',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 13:34:24 GMT' });
|
|
|
|
|
date: 'Fri, 15 Mar 2013 22:50:24 GMT' });
|
|
|
|
|
return result; }],
|
|
|
|
|
[function (nock) {
|
|
|
|
|
var result =
|
|
|
|
|
nock('https://ciserversb.servicebus.windows.net:443')
|
|
|
|
|
.get('/$Resources/NotificationHubs?api-version=2012-08')
|
|
|
|
|
.reply(200, "<feed xmlns=\"http://www.w3.org/2005/Atom\"><title type=\"text\">NotificationHubs</title><id>https://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2012-08</id><updated>2013-03-15T22:50:26Z</updated><link rel=\"self\" href=\"https://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2012-08\"/><entry xml:base=\"https://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2012-08\"><id>https://ciserversb.servicebus.windows.net/myhub?api-version=2012-08</id><title type=\"text\">myhub</title><published>2013-02-23T00:22:23Z</published><updated>2013-02-28T14:27:57Z</updated><author><name>ciserversb</name></author><link rel=\"self\" href=\"../myhub?api-version=2012-08\"/><content type=\"application/xml\"><NotificationHubDescription xmlns=\"http://schemas.microsoft.com/netservices/2010/10/servicebus/connect\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\"><RegistrationTtl>P90D</RegistrationTtl><WnsCredential><Properties><Property><Name>PackageSid</Name><Value>ms-app://s-1-15-2-3624382523-3073449496-1584155076-733487050-1832530571-3873708642-3859416007</Value></Property><Property><Name>SecretKey</Name><Value>Blz9qc7m94s6lM0nO7xwybMY0bDLy+aa</Value></Property><Property><Name>WindowsLiveEndpoint</Name><Value>https://login.live.com/accesstoken.srf</Value></Property></Properties></WnsCredential><AuthorizationRules><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights></Rights><KeyName>DefaultListenSharedAccessSignature</KeyName><PrimaryKey>cVV3cmNZOCkkdXktXl8qbQ==</PrimaryKey></AuthorizationRule><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights><AccessRights>Manage</AccessRights><AccessRights>Send</AccessRights></Rights><KeyName>DefaultFullSharedAccessSignature</KeyName><PrimaryKey>Kj5FUlB4UmM1KXAybD1RPQ==</PrimaryKey></AuthorizationRule></AuthorizationRules></NotificationHubDescription></content></entry></feed>", { 'transfer-encoding': 'chunked',
|
|
|
|
|
'content-type': 'application/atom+xml;type=feed;charset=utf-8',
|
|
|
|
|
server: 'Microsoft-HTTPAPI/2.0',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 22:50:26 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%252fxplathub5%26ExpiresOn%3d1363389027%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dPw05P4ZlC7sEvysxoQs5MmDbmZ2KPYD1e9N14kyKU2Q%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': '08ed289c-9874-40e4-aa29-4df7cb557cf8',
|
|
|
|
|
'x-content-type-options': 'nosniff',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 22:50:27 GMT',
|
|
|
|
|
'content-length': '538' });
|
|
|
|
|
return result; },
|
|
|
|
|
function (nock) {
|
|
|
|
|
var result =
|
|
|
|
|
nock('https://ciserversb.servicebus.windows.net:443')
|
|
|
|
|
.filteringRequestBody(function (path) { return '*';})
|
|
|
|
|
.put('/xplathub5?api-version=2012-08', '*')
|
|
|
|
|
.reply(201, "<entry xmlns=\"http://www.w3.org/2005/Atom\"><id>https://ciserversb.servicebus.windows.net/xplathub5?api-version=2012-08</id><title type=\"text\">xplathub5</title><published>2013-03-15T22:50:29Z</published><updated>2013-03-15T22:50:29Z</updated><author><name>ciserversb</name></author><link rel=\"self\" href=\"https://ciserversb.servicebus.windows.net/xplathub5?api-version=2012-08\"/><content type=\"application/xml\"><NotificationHubDescription xmlns=\"http://schemas.microsoft.com/netservices/2010/10/servicebus/connect\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\"><RegistrationTtl>P90D</RegistrationTtl><AuthorizationRules><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights></Rights><CreatedTime>2013-03-15T22:50:29.3544234Z</CreatedTime><ModifiedTime>2013-03-15T22:50:29.3544234Z</ModifiedTime><KeyName>DefaultListenSharedAccessSignature</KeyName><PrimaryKey>MVEyK1QvbGQ6N31VZTFWTw==</PrimaryKey></AuthorizationRule><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights><AccessRights>Manage</AccessRights><AccessRights>Send</AccessRights></Rights><CreatedTime>2013-03-15T22:50:29.3544234Z</CreatedTime><ModifiedTime>2013-03-15T22:50:29.3544234Z</ModifiedTime><KeyName>DefaultFullSharedAccessSignature</KeyName><PrimaryKey>eG87ZW9HQ2cpSUMlSDtDdg==</PrimaryKey></AuthorizationRule></AuthorizationRules></NotificationHubDescription></content></entry>", { 'transfer-encoding': 'chunked',
|
|
|
|
|
'content-type': 'application/atom+xml;type=entry;charset=utf-8',
|
|
|
|
|
server: 'Microsoft-HTTPAPI/2.0',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 22: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%252fxplathub5%252fMessages%26ExpiresOn%3d1363389030%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dn9jswuIOJ3G0LKwED5G0caD8H2wQReQyo1HkbohSMXc%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': 'c1848617-798e-4fa1-b430-737b0a43db6f',
|
|
|
|
|
'x-content-type-options': 'nosniff',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 22:50:30 GMT',
|
|
|
|
|
'content-length': '551' });
|
|
|
|
|
return result; },
|
|
|
|
|
function (nock) {
|
|
|
|
|
var result =
|
|
|
|
|
nock('https://ciserversb.servicebus.windows.net:443')
|
|
|
|
|
.filteringRequestBody(function (path) { return '*';})
|
|
|
|
|
.post('/xplathub5/Messages?api-version=2012-08', '*')
|
|
|
|
|
.reply(201, "", { 'transfer-encoding': 'chunked',
|
|
|
|
|
'content-type': 'application/xml; charset=utf-8',
|
|
|
|
|
server: 'Microsoft-HTTPAPI/2.0',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 22:50:31 GMT' });
|
|
|
|
|
return result; }],
|
|
|
|
|
[function (nock) {
|
|
|
|
|
var result =
|
|
|
|
|
nock('https://ciserversb.servicebus.windows.net:443')
|
|
|
|
|
.get('/$Resources/NotificationHubs?api-version=2012-08')
|
|
|
|
|
.reply(200, "<feed xmlns=\"http://www.w3.org/2005/Atom\"><title type=\"text\">NotificationHubs</title><id>https://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2012-08</id><updated>2013-03-15T22:50:34Z</updated><link rel=\"self\" href=\"https://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2012-08\"/><entry xml:base=\"https://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2012-08\"><id>https://ciserversb.servicebus.windows.net/myhub?api-version=2012-08</id><title type=\"text\">myhub</title><published>2013-02-23T00:22:23Z</published><updated>2013-02-28T14:27:57Z</updated><author><name>ciserversb</name></author><link rel=\"self\" href=\"../myhub?api-version=2012-08\"/><content type=\"application/xml\"><NotificationHubDescription xmlns=\"http://schemas.microsoft.com/netservices/2010/10/servicebus/connect\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\"><RegistrationTtl>P90D</RegistrationTtl><WnsCredential><Properties><Property><Name>PackageSid</Name><Value>ms-app://s-1-15-2-3624382523-3073449496-1584155076-733487050-1832530571-3873708642-3859416007</Value></Property><Property><Name>SecretKey</Name><Value>Blz9qc7m94s6lM0nO7xwybMY0bDLy+aa</Value></Property><Property><Name>WindowsLiveEndpoint</Name><Value>https://login.live.com/accesstoken.srf</Value></Property></Properties></WnsCredential><AuthorizationRules><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights></Rights><KeyName>DefaultListenSharedAccessSignature</KeyName><PrimaryKey>cVV3cmNZOCkkdXktXl8qbQ==</PrimaryKey></AuthorizationRule><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights><AccessRights>Manage</AccessRights><AccessRights>Send</AccessRights></Rights><KeyName>DefaultFullSharedAccessSignature</KeyName><PrimaryKey>Kj5FUlB4UmM1KXAybD1RPQ==</PrimaryKey></AuthorizationRule></AuthorizationRules></NotificationHubDescription></content></entry></feed>", { 'transfer-encoding': 'chunked',
|
|
|
|
|
'content-type': 'application/atom+xml;type=feed;charset=utf-8',
|
|
|
|
|
server: 'Microsoft-HTTPAPI/2.0',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 22:50: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%252fxplathub6%26ExpiresOn%3d1363389035%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3de8SS%252fCjhKjIdb5HVXc0niBpYtreWtE7%252bFQgO2oPjouU%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': '8afc4e5f-ec3f-4703-9df7-f370302cb2fc',
|
|
|
|
|
'x-content-type-options': 'nosniff',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 22:50:35 GMT',
|
|
|
|
|
'content-length': '546' });
|
|
|
|
|
return result; },
|
|
|
|
|
function (nock) {
|
|
|
|
|
var result =
|
|
|
|
|
nock('https://ciserversb.servicebus.windows.net:443')
|
|
|
|
|
.filteringRequestBody(function (path) { return '*';})
|
|
|
|
|
.put('/xplathub6?api-version=2012-08', '*')
|
|
|
|
|
.reply(201, "<entry xmlns=\"http://www.w3.org/2005/Atom\"><id>https://ciserversb.servicebus.windows.net/xplathub6?api-version=2012-08</id><title type=\"text\">xplathub6</title><published>2013-03-15T22:50:36Z</published><updated>2013-03-15T22:50:36Z</updated><author><name>ciserversb</name></author><link rel=\"self\" href=\"https://ciserversb.servicebus.windows.net/xplathub6?api-version=2012-08\"/><content type=\"application/xml\"><NotificationHubDescription xmlns=\"http://schemas.microsoft.com/netservices/2010/10/servicebus/connect\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\"><RegistrationTtl>P90D</RegistrationTtl><AuthorizationRules><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights></Rights><CreatedTime>2013-03-15T22:50:37.2445116Z</CreatedTime><ModifiedTime>2013-03-15T22:50:37.2445116Z</ModifiedTime><KeyName>DefaultListenSharedAccessSignature</KeyName><PrimaryKey>MVJSNjQ4bUl5JFt0X0haXw==</PrimaryKey></AuthorizationRule><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights><AccessRights>Manage</AccessRights><AccessRights>Send</AccessRights></Rights><CreatedTime>2013-03-15T22:50:37.2445116Z</CreatedTime><ModifiedTime>2013-03-15T22:50:37.2445116Z</ModifiedTime><KeyName>DefaultFullSharedAccessSignature</KeyName><PrimaryKey>Mnx7P1lCQ0l5OTYmYVpMUA==</PrimaryKey></AuthorizationRule></AuthorizationRules></NotificationHubDescription></content></entry>", { 'transfer-encoding': 'chunked',
|
|
|
|
|
'content-type': 'application/atom+xml;type=entry;charset=utf-8',
|
|
|
|
|
server: 'Microsoft-HTTPAPI/2.0',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 22:50:37 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%252fxplathub6%252fMessages%26ExpiresOn%3d1363389037%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3d3yMceqBOu%252bRDx088KMkO9FgFrvAaf8HJUuzHPpLsv%252fQ%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': '96ed1631-1618-4a77-ab36-562ce958a732',
|
|
|
|
|
'x-content-type-options': 'nosniff',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 22:50:37 GMT',
|
|
|
|
|
'content-length': '559' });
|
|
|
|
|
return result; },
|
|
|
|
|
function (nock) {
|
|
|
|
|
var result =
|
|
|
|
|
nock('https://ciserversb.servicebus.windows.net:443')
|
|
|
|
|
.filteringRequestBody(function (path) { return '*';})
|
|
|
|
|
.post('/xplathub6/Messages?api-version=2012-08', '*')
|
|
|
|
|
.reply(201, "", { 'transfer-encoding': 'chunked',
|
|
|
|
|
'content-type': 'application/xml; charset=utf-8',
|
|
|
|
|
server: 'Microsoft-HTTPAPI/2.0',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 22:50:38 GMT' });
|
|
|
|
|
return result; }],
|
|
|
|
|
[function (nock) {
|
|
|
|
|
var result =
|
|
|
|
|
nock('https://ciserversb.servicebus.windows.net:443')
|
|
|
|
|
.get('/$Resources/NotificationHubs?api-version=2012-08')
|
|
|
|
|
.reply(200, "<feed xmlns=\"http://www.w3.org/2005/Atom\"><title type=\"text\">NotificationHubs</title><id>https://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2012-08</id><updated>2013-03-15T22:50:40Z</updated><link rel=\"self\" href=\"https://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2012-08\"/><entry xml:base=\"https://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2012-08\"><id>https://ciserversb.servicebus.windows.net/myhub?api-version=2012-08</id><title type=\"text\">myhub</title><published>2013-02-23T00:22:23Z</published><updated>2013-02-28T14:27:57Z</updated><author><name>ciserversb</name></author><link rel=\"self\" href=\"../myhub?api-version=2012-08\"/><content type=\"application/xml\"><NotificationHubDescription xmlns=\"http://schemas.microsoft.com/netservices/2010/10/servicebus/connect\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\"><RegistrationTtl>P90D</RegistrationTtl><WnsCredential><Properties><Property><Name>PackageSid</Name><Value>ms-app://s-1-15-2-3624382523-3073449496-1584155076-733487050-1832530571-3873708642-3859416007</Value></Property><Property><Name>SecretKey</Name><Value>Blz9qc7m94s6lM0nO7xwybMY0bDLy+aa</Value></Property><Property><Name>WindowsLiveEndpoint</Name><Value>https://login.live.com/accesstoken.srf</Value></Property></Properties></WnsCredential><AuthorizationRules><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights></Rights><KeyName>DefaultListenSharedAccessSignature</KeyName><PrimaryKey>cVV3cmNZOCkkdXktXl8qbQ==</PrimaryKey></AuthorizationRule><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights><AccessRights>Manage</AccessRights><AccessRights>Send</AccessRights></Rights><KeyName>DefaultFullSharedAccessSignature</KeyName><PrimaryKey>Kj5FUlB4UmM1KXAybD1RPQ==</PrimaryKey></AuthorizationRule></AuthorizationRules></NotificationHubDescription></content></entry></feed>", { 'transfer-encoding': 'chunked',
|
|
|
|
|
'content-type': 'application/atom+xml;type=feed;charset=utf-8',
|
|
|
|
|
server: 'Microsoft-HTTPAPI/2.0',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 22: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%252fxplathub7%26ExpiresOn%3d1363389042%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dvwSK%252bnIXL6wS%252by%252fRM3O2R0aok8zmov%252f7T314UOXOZBQ%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': '5d42cd3d-28a4-4ac2-9077-17c48c0751e4',
|
|
|
|
|
'x-content-type-options': 'nosniff',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 22:50:42 GMT',
|
|
|
|
|
'content-length': '554' });
|
|
|
|
|
return result; },
|
|
|
|
|
function (nock) {
|
|
|
|
|
var result =
|
|
|
|
|
nock('https://ciserversb.servicebus.windows.net:443')
|
|
|
|
|
.filteringRequestBody(function (path) { return '*';})
|
|
|
|
|
.put('/xplathub7?api-version=2012-08', '*')
|
|
|
|
|
.reply(201, "<entry xmlns=\"http://www.w3.org/2005/Atom\"><id>https://ciserversb.servicebus.windows.net/xplathub7?api-version=2012-08</id><title type=\"text\">xplathub7</title><published>2013-03-15T22:50:43Z</published><updated>2013-03-15T22:50:44Z</updated><author><name>ciserversb</name></author><link rel=\"self\" href=\"https://ciserversb.servicebus.windows.net/xplathub7?api-version=2012-08\"/><content type=\"application/xml\"><NotificationHubDescription xmlns=\"http://schemas.microsoft.com/netservices/2010/10/servicebus/connect\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\"><RegistrationTtl>P90D</RegistrationTtl><AuthorizationRules><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights></Rights><CreatedTime>2013-03-15T22:50:44.0731734Z</CreatedTime><ModifiedTime>2013-03-15T22:50:44.0731734Z</ModifiedTime><KeyName>DefaultListenSharedAccessSignature</KeyName><PrimaryKey>aT5LMW1Md1o9cSUuaGVmaA==</PrimaryKey></AuthorizationRule><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights><AccessRights>Manage</AccessRights><AccessRights>Send</AccessRights></Rights><CreatedTime>2013-03-15T22:50:44.0731734Z</CreatedTime><ModifiedTime>2013-03-15T22:50:44.0731734Z</ModifiedTime><KeyName>DefaultFullSharedAccessSignature</KeyName><PrimaryKey>X2NfZk8xNmhrWzBFfWpVcQ==</PrimaryKey></AuthorizationRule></AuthorizationRules></NotificationHubDescription></content></entry>", { 'transfer-encoding': 'chunked',
|
|
|
|
|
'content-type': 'application/atom+xml;type=entry;charset=utf-8',
|
|
|
|
|
server: 'Microsoft-HTTPAPI/2.0',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 22: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%252fxplathub7%252fMessages%26ExpiresOn%3d1363389045%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3d6ZvjGoq%252f83kS5HaW%252fZZpqYhuVa4s7MlaLRqr%252bN6ImbQ%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': 'e5cb7f52-1b6d-4b18-a60d-bce0e9686723',
|
|
|
|
|
'x-content-type-options': 'nosniff',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 22:50:45 GMT',
|
|
|
|
|
'content-length': '563' });
|
|
|
|
|
return result; },
|
|
|
|
|
function (nock) {
|
|
|
|
|
var result =
|
|
|
|
|
nock('https://ciserversb.servicebus.windows.net:443')
|
|
|
|
|
.filteringRequestBody(function (path) { return '*';})
|
|
|
|
|
.post('/xplathub7/Messages?api-version=2012-08', '*')
|
|
|
|
|
.reply(201, "", { 'transfer-encoding': 'chunked',
|
|
|
|
|
'content-type': 'application/xml; charset=utf-8',
|
|
|
|
|
server: 'Microsoft-HTTPAPI/2.0',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 22:50:45 GMT' });
|
|
|
|
|
return result; }],
|
|
|
|
|
[function (nock) {
|
|
|
|
|
var result =
|
|
|
|
|
nock('https://ciserversb.servicebus.windows.net:443')
|
|
|
|
|
.get('/$Resources/NotificationHubs?api-version=2012-08')
|
|
|
|
|
.reply(200, "<feed xmlns=\"http://www.w3.org/2005/Atom\"><title type=\"text\">NotificationHubs</title><id>https://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2012-08</id><updated>2013-03-15T22:50:48Z</updated><link rel=\"self\" href=\"https://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2012-08\"/><entry xml:base=\"https://ciserversb.servicebus.windows.net/$Resources/NotificationHubs?api-version=2012-08\"><id>https://ciserversb.servicebus.windows.net/myhub?api-version=2012-08</id><title type=\"text\">myhub</title><published>2013-02-23T00:22:23Z</published><updated>2013-02-28T14:27:57Z</updated><author><name>ciserversb</name></author><link rel=\"self\" href=\"../myhub?api-version=2012-08\"/><content type=\"application/xml\"><NotificationHubDescription xmlns=\"http://schemas.microsoft.com/netservices/2010/10/servicebus/connect\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\"><RegistrationTtl>P90D</RegistrationTtl><WnsCredential><Properties><Property><Name>PackageSid</Name><Value>ms-app://s-1-15-2-3624382523-3073449496-1584155076-733487050-1832530571-3873708642-3859416007</Value></Property><Property><Name>SecretKey</Name><Value>Blz9qc7m94s6lM0nO7xwybMY0bDLy+aa</Value></Property><Property><Name>WindowsLiveEndpoint</Name><Value>https://login.live.com/accesstoken.srf</Value></Property></Properties></WnsCredential><AuthorizationRules><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights></Rights><KeyName>DefaultListenSharedAccessSignature</KeyName><PrimaryKey>cVV3cmNZOCkkdXktXl8qbQ==</PrimaryKey></AuthorizationRule><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights><AccessRights>Manage</AccessRights><AccessRights>Send</AccessRights></Rights><KeyName>DefaultFullSharedAccessSignature</KeyName><PrimaryKey>Kj5FUlB4UmM1KXAybD1RPQ==</PrimaryKey></AuthorizationRule></AuthorizationRules></NotificationHubDescription></content></entry></feed>", { 'transfer-encoding': 'chunked',
|
|
|
|
|
'content-type': 'application/atom+xml;type=feed;charset=utf-8',
|
|
|
|
|
server: 'Microsoft-HTTPAPI/2.0',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 22:50: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%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%252fxplathub8%26ExpiresOn%3d1363389049%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dkSZgmr9EhTmwebVDylmYVpD6Zlba%252fw1R9sUFOd8Ly9w%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': 'd8411b16-43f8-4a88-bcef-1a38ef1aec92',
|
|
|
|
|
'x-content-type-options': 'nosniff',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 22:50:48 GMT',
|
|
|
|
|
'content-length': '542' });
|
|
|
|
|
return result; },
|
|
|
|
|
function (nock) {
|
|
|
|
|
var result =
|
|
|
|
|
nock('https://ciserversb.servicebus.windows.net:443')
|
|
|
|
|
.filteringRequestBody(function (path) { return '*';})
|
|
|
|
|
.put('/xplathub8?api-version=2012-08', '*')
|
|
|
|
|
.reply(201, "<entry xmlns=\"http://www.w3.org/2005/Atom\"><id>https://ciserversb.servicebus.windows.net/xplathub8?api-version=2012-08</id><title type=\"text\">xplathub8</title><published>2013-03-15T22:50:50Z</published><updated>2013-03-15T22:50:50Z</updated><author><name>ciserversb</name></author><link rel=\"self\" href=\"https://ciserversb.servicebus.windows.net/xplathub8?api-version=2012-08\"/><content type=\"application/xml\"><NotificationHubDescription xmlns=\"http://schemas.microsoft.com/netservices/2010/10/servicebus/connect\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\"><RegistrationTtl>P90D</RegistrationTtl><AuthorizationRules><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights></Rights><CreatedTime>2013-03-15T22:50:50.8701215Z</CreatedTime><ModifiedTime>2013-03-15T22:50:50.8701215Z</ModifiedTime><KeyName>DefaultListenSharedAccessSignature</KeyName><PrimaryKey>WVdvYStmRWw6Wn1yb1IyPw==</PrimaryKey></AuthorizationRule><AuthorizationRule i:type=\"SharedAccessAuthorizationRule\"><ClaimType>SharedAccessKey</ClaimType><ClaimValue>None</ClaimValue><Rights><AccessRights>Listen</AccessRights><AccessRights>Manage</AccessRights><AccessRights>Send</AccessRights></Rights><CreatedTime>2013-03-15T22:50:50.8701215Z</CreatedTime><ModifiedTime>2013-03-15T22:50:50.8701215Z</ModifiedTime><KeyName>DefaultFullSharedAccessSignature</KeyName><PrimaryKey>WXpZbnh8MjhOVEYjfCRndg==</PrimaryKey></AuthorizationRule></AuthorizationRules></NotificationHubDescription></content></entry>", { 'transfer-encoding': 'chunked',
|
|
|
|
|
'content-type': 'application/atom+xml;type=entry;charset=utf-8',
|
|
|
|
|
server: 'Microsoft-HTTPAPI/2.0',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 22:50: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%252fxplathub8%252fMessages%26ExpiresOn%3d1363389052%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3d3x63LnTrHXguyVtVWBTqCKWLGr5nj6OgPar1Wfr5%252fbI%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': '6aafc74d-9cc7-4202-94d8-39fcd432815e',
|
|
|
|
|
'x-content-type-options': 'nosniff',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 22:50:52 GMT',
|
|
|
|
|
'content-length': '555' });
|
|
|
|
|
return result; },
|
|
|
|
|
function (nock) {
|
|
|
|
|
var result =
|
|
|
|
|
nock('https://ciserversb.servicebus.windows.net:443')
|
|
|
|
|
.filteringRequestBody(function (path) { return '*';})
|
|
|
|
|
.post('/xplathub8/Messages?api-version=2012-08', '*')
|
|
|
|
|
.reply(201, "", { 'transfer-encoding': 'chunked',
|
|
|
|
|
'content-type': 'application/xml; charset=utf-8',
|
|
|
|
|
server: 'Microsoft-HTTPAPI/2.0',
|
|
|
|
|
date: 'Fri, 15 Mar 2013 22:50:52 GMT' });
|
|
|
|
|
return result; }]];
|