This commit is contained in:
Andre Rodrigues 2013-03-15 22:54:46 +00:00
Родитель fd31a005f0 e39255e0e0
Коммит cf7940a01d
16 изменённых файлов: 3435 добавлений и 3374 удалений

Просмотреть файл

@ -1,7 +1,10 @@
[date] Version 0.6.11
[date] Version 0.6.12
* Adding support for creating and deleting affinity groups
* Replacing http-mock by nock and making all tests use it by default
2012.03.12 Version 0.6.11
* Added constraint to package.json to restrict to node versions < 0.9.
2012.02.11 Version 0.6.10
* Added helper date.* functions for generating SAS expirations (secondsFromNow, minutesFromNow, hoursFromNow, daysFromNow)
* Added SQL classes for managing SQL Servers, Databases and Firewall rules

Просмотреть файл

@ -2,6 +2,12 @@
This project provides a Node.js package that makes it easy to access Windows Azure Services like Table Storage and Service Bus.
# Node Version Requirement
Currently the Windows Azure SDK for Node.js does not support node versions > 0.8.x. We are working on updating our module to support node 0.10 and will keep you posted.
Thank you for your patience.
# Library Features
* Tables
@ -404,4 +410,4 @@ For documentation on how to host Node.js applications on Windows Azure, please s
For documentation on the Azure cross platform CLI tool for Mac and Linux, please see our readme [here] (http://github.com/windowsazure/azure-sdk-tools-xplat)
Check out our new IRC channel on freenode, node-azure.
Check out our new IRC channel on freenode, node-azure.

Просмотреть файл

@ -64,6 +64,9 @@ ServiceBusServiceClient.prototype._buildRequestOptions = function (webResource,
webResource.addOptionalHeader(HeaderConstants.ACCEPT_CHARSET_HEADER, 'UTF-8');
webResource.addOptionalHeader(HeaderConstants.HOST_HEADER, this.host + ':' + this.port);
// Set API version
webResource.addOptionalQueryParam(Constants.ServiceBusConstants.API_VERSION_QUERY_KEY, Constants.ServiceBusConstants.CURRENT_API_VERSION);
// Sets the request url in the web resource.
this._setRequestUrl(webResource);

Просмотреть файл

@ -58,10 +58,16 @@ function ServiceClient(host, authenticationProvider) {
this.authenticationProvider = authenticationProvider;
this.logger = new Logger(Logger.LogLevels.INFO);
if (process.env.AZURE_DISABLE_STRICT_SSL !== undefined) {
this.strictSSL = process.env.AZURE_DISABLE_STRICT_SSL !== 'true';
if (process.env.AZURE_ENABLE_STRICT_SSL !== undefined) {
this.strictSSL = process.env.AZURE_ENABLE_STRICT_SSL === 'true';
} else {
this.strictSSL = true;
var nodeVersion = azureutil.getNodeVersion();
if (nodeVersion.major > 0 || nodeVersion.minor > 8 || (nodeVersion.minor === 8 && nodeVersion.patch >= 18)) {
this.strictSSL = true;
} else {
this.strictSSL = false;
}
}
this.xml2jsSettings = _.clone(xml2js.defaults['0.2']);

Просмотреть файл

@ -23,7 +23,7 @@ exports = module.exports;
function setName(entry, nameProperty) {
var parsedUrl = url.parse(entry[Constants.ATOM_METADATA_MARKER].id);
var parts = parsedUrl.path.split('/');
var parts = parsedUrl.pathname.split('/');
for (var i = 0; (i * 2) < (parts.length - 1); i++) {
entry[nameProperty[i]] = parts[(i * 2) + 1];

Просмотреть файл

@ -27,7 +27,8 @@ exports.serialize = function (resource) {
ServiceBusConstants.DEAD_LETTERING_ON_FILTER_EVALUATION_EXCEPTIONS,
ServiceBusConstants.MESSAGE_COUNT,
ServiceBusConstants.MAX_DELIVERY_COUNT,
ServiceBusConstants.ENABLE_BATCHED_OPERATIONS
ServiceBusConstants.ENABLE_BATCHED_OPERATIONS,
ServiceBusConstants.AUTO_DELETE_ON_IDLE
];
return resourceResult.serialize('SubscriptionDescription', resource, properties);

Просмотреть файл

@ -1248,7 +1248,31 @@ var Constants = {
* @const
* @type {string}
*/
WRAP_ACCESS_TOKEN_EXPIRES_IN: 'wrap_access_token_expires_in'
WRAP_ACCESS_TOKEN_EXPIRES_IN: 'wrap_access_token_expires_in',
/**
* Max idle time before entity is deleted
*
* @const
* @type {string}
*/
AUTO_DELETE_ON_IDLE: 'AutoDeleteOnIdle',
/**
* Query string parameter to set Service Bus API version
*
* @const
* @type {string}
*/
API_VERSION_QUERY_KEY: 'api-version',
/**
* Current API version being sent to service bus
*
* @const
* @type {string}
*/
CURRENT_API_VERSION: '2012-08'
},
/**

Просмотреть файл

@ -276,4 +276,13 @@ exports.normalizeArgs = function (optionsOrCallback, callback, result) {
result(options, callback);
};
exports.getNodeVersion = function () {
var parsedVersion = process.version.split('.');
return {
major: parseInt(parsedVersion[0].substr(1), 10),
minor: parseInt(parsedVersion[1], 10),
patch: parseInt(parsedVersion[2], 10)
};
};
exports.pathExistsSync = fs.existsSync ? fs.existsSync : path.existsSync;

Просмотреть файл

@ -10,12 +10,13 @@
"Rodrigues, Andre <andrerod@microsoft.com>",
"Tavares, Chris <ctavares@microsoft.com>"
],
"version": "0.6.10",
"version": "0.6.11",
"description": "Windows Azure Client Library for node",
"tags" : ["azure", "sdk"],
"keywords": [ "node", "azure" ],
"main": "./lib/azure.js",
"engines": { "node": ">= 0.6.15" },
"engines": { "node": ">= 0.6.15 < 0.9" },
"engineStrict": "true",
"licenses": [ { "type": "Apache", "url": "http://www.apache.org/licenses/LICENSE-2.0" } ],
"dependencies": {
"xml2js" : " >= 0.2.x",

Просмотреть файл

@ -5,148 +5,126 @@ 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%3d1363355006%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dmsS8IOBkR92ApAikIBcEqDA4Yfy7PDTqaa1dCAtNVHc%253d&wrap_access_token_expires_in=1200", { 'cache-control': 'no-cache, no-store',
.reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252f%2524Resources%252fNotificationHubs%26ExpiresOn%3d1363388325%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dN55WcwqA227HTYwtbyXyYNQZA1zWnEvtWwnLKg55Cc8%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': '4d37fba9-f53d-4f5e-846f-2064c12a4fec',
'request-id': 'c2060135-21c2-4da6-a4da-0844d2320b20',
'x-content-type-options': 'nosniff',
date: 'Fri, 15 Mar 2013 13:23:25 GMT',
date: 'Fri, 15 Mar 2013 22:38:45 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:23:28Z</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><entry xml:base=\"https://ciserversb.servicebus.windows.net/$Resources/NotificationHubs\"><id>https://ciserversb.servicebus.windows.net/xplathub8</id><title type=\"text\">xplathub8</title><published>2013-03-15T13:21:02Z</published><updated>2013-03-15T13:21:02Z</updated><author><name>ciserversb</name></author><link rel=\"self\" href=\"../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:21:02.1022666Z</CreatedTime><ModifiedTime>2013-03-15T13:21:02.1022666Z</ModifiedTime><KeyName>DefaultListenSharedAccessSignature</KeyName><PrimaryKey>d3JtMls4dTZaJWJfbGspMQ==</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:21:02.1022666Z</CreatedTime><ModifiedTime>2013-03-15T13:21:02.1022666Z</ModifiedTime><KeyName>DefaultFullSharedAccessSignature</KeyName><PrimaryKey>P0N4IzApeUVPWC45cTJyWA==</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:38:47Z</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:23:27 GMT' });
date: 'Fri, 15 Mar 2013 22:38: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%252fxplathub1%26ExpiresOn%3d1363355008%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dGnQFr35Pc3eKVVhoYjM9Z65a%252f7B4sIuyEzMYJbclEHc%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%26ExpiresOn%3d1363388328%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dl3v1KT%252bivdeCpqi7ViGmyE1YmPV4Z7SsDd4X3TUpNDM%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': 'd9d785f4-d26d-46d6-ad82-63c88431708c',
'request-id': 'dc145957-6d97-4a56-8a55-dd427248f894',
'x-content-type-options': 'nosniff',
date: 'Fri, 15 Mar 2013 13:23:28 GMT',
'content-length': '542' });
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%3d1363355008%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3ddw5BOhLZxdEtgz771CLAnnlJetg26EpFlp7E8QGygbs%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': 'e7329657-8dfc-418a-a9e2-0a29b20972e8',
'x-content-type-options': 'nosniff',
date: 'Fri, 15 Mar 2013 13:23:28 GMT',
'content-length': '538' });
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:23:30Z</published><updated>2013-03-15T13:23:30Z</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:23:29.9234659Z</CreatedTime><ModifiedTime>2013-03-15T13:23:29.9234659Z</ModifiedTime><KeyName>DefaultListenSharedAccessSignature</KeyName><PrimaryKey>LV9lKztobSsjck45S2c2Vg==</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:23:29.9234659Z</CreatedTime><ModifiedTime>2013-03-15T13:23:29.9234659Z</ModifiedTime><KeyName>DefaultFullSharedAccessSignature</KeyName><PrimaryKey>SnElQj10I0dFTjQ5ckxJOg==</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:23:29 GMT' });
return result; },
function (nock) {
var result =
nock('https://ciserversb.servicebus.windows.net:443')
.delete('/xplathub8')
.reply(200, "", { 'content-length': '0',
server: 'Microsoft-HTTPAPI/2.0',
date: 'Fri, 15 Mar 2013 13:23:30 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%3d1363355011%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dgNS7af5KxRzvF8afxsGVOVpleZSnbInQDwxgWVJH8uU%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': 'e3b21bc9-53b8-425b-ba83-3958f6591584',
'x-content-type-options': 'nosniff',
date: 'Fri, 15 Mar 2013 13:23:31 GMT',
'content-length': '551' });
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:23:31 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:23:33Z</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:23:32 GMT' });
return result; },
function (nock) {
var result =
nock('https://ciserversb-sb.accesscontrol.windows.net:443')
.filteringRequestBody(function (path) { return '*';})
.post('/WRAPv0.9/', '*')
.reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathub2%26ExpiresOn%3d1363355014%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dPKsdxJbO0il5kT6SMQoPxCRLyWwcZsd%252fqynGJ5yCAOQ%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': '9409ea6f-2ef1-4381-ae7b-b3d8be8e7fba',
'x-content-type-options': 'nosniff',
date: 'Fri, 15 Mar 2013 13:23:34 GMT',
date: 'Fri, 15 Mar 2013 22:38:48 GMT',
'content-length': '542' });
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:23:35Z</published><updated>2013-03-15T13:23:36Z</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:23:35.8555264Z</CreatedTime><ModifiedTime>2013-03-15T13:23:35.8555264Z</ModifiedTime><KeyName>DefaultListenSharedAccessSignature</KeyName><PrimaryKey>bWg+Wn1YRlh0JHBlLmZFKg==</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:23:35.8555264Z</CreatedTime><ModifiedTime>2013-03-15T13:23:35.8555264Z</ModifiedTime><KeyName>DefaultFullSharedAccessSignature</KeyName><PrimaryKey>PU5pKTdsbGlfIVI2IUxnPw==</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:38:49Z</published><updated>2013-03-15T22:38:49Z</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:38:49.6524293Z</CreatedTime><ModifiedTime>2013-03-15T22:38:49.6524293Z</ModifiedTime><KeyName>DefaultListenSharedAccessSignature</KeyName><PrimaryKey>bk1XVWg+WCMtamlzQ0prPg==</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:38:49.6524293Z</CreatedTime><ModifiedTime>2013-03-15T22:38:49.6524293Z</ModifiedTime><KeyName>DefaultFullSharedAccessSignature</KeyName><PrimaryKey>PWxeI2xqM18vX0NmNTFBQA==</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:23:35 GMT' });
date: 'Fri, 15 Mar 2013 22:38:49 GMT' });
return result; },
function (nock) {
var result =
nock('https://ciserversb-sb.accesscontrol.windows.net:443')
.filteringRequestBody(function (path) { return '*';})
.post('/WRAPv0.9/', '*')
.reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathub2%252fMessages%26ExpiresOn%3d1363355016%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dwRuR7dtuwivSA5%252bX9iXvW1j0r5xzB4nfHL6wMoBqWnc%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%3d1363388331%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dLEp1D0T4fFIvNOiZHPyOHK4Bmx0AImTdPjXv7YNc%252b2Q%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': '1e38dc7d-46fe-4102-bc30-65155930a87a',
'request-id': 'f7c1611d-b0ba-4240-a20c-c83740f55eb9',
'x-content-type-options': 'nosniff',
date: 'Fri, 15 Mar 2013 13:23:35 GMT',
date: 'Fri, 15 Mar 2013 22:38:51 GMT',
'content-length': '555' });
return result; },
function (nock) {
var result =
nock('https://ciserversb.servicebus.windows.net:443')
.filteringRequestBody(function (path) { return '*';})
.post('/xplathub2/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:23:37 GMT' });
date: 'Fri, 15 Mar 2013 22:38:52 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:38:54Z</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:38:54 GMT' });
return result; },
function (nock) {
var result =
nock('https://ciserversb-sb.accesscontrol.windows.net:443')
.filteringRequestBody(function (path) { return '*';})
.post('/WRAPv0.9/', '*')
.reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathub2%26ExpiresOn%3d1363388334%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dl%252fsalnvQsYehzI7Fmf87NqjbPHHAZFy0%252fXYudgvm4Ew%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': '2e891be0-0dbd-4321-8ed6-ca3360c5fc57',
'x-content-type-options': 'nosniff',
date: 'Fri, 15 Mar 2013 22:38:54 GMT',
'content-length': '546' });
return result; },
function (nock) {
var result =
nock('https://ciserversb.servicebus.windows.net:443')
.filteringRequestBody(function (path) { return '*';})
.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:38:56Z</published><updated>2013-03-15T22:38:56Z</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:38:56.3706628Z</CreatedTime><ModifiedTime>2013-03-15T22:38:56.3706628Z</ModifiedTime><KeyName>DefaultListenSharedAccessSignature</KeyName><PrimaryKey>ZnJ2MC1jR1sveF9dMm5MWA==</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:38:56.3706628Z</CreatedTime><ModifiedTime>2013-03-15T22:38:56.3706628Z</ModifiedTime><KeyName>DefaultFullSharedAccessSignature</KeyName><PrimaryKey>cUhJezAyNk1rUyYqVWw2Pw==</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:38:56 GMT' });
return result; },
function (nock) {
var result =
nock('https://ciserversb-sb.accesscontrol.windows.net:443')
.filteringRequestBody(function (path) { return '*';})
.post('/WRAPv0.9/', '*')
.reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fciserversb.servicebus.windows.net%252fxplathub2%252fMessages%26ExpiresOn%3d1363388337%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dWHtMklgbNdOUiXTvcpf%252bx1MYP9LkpCc2VFSgQgTF%252fSQ%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': '80eb4c86-1467-41f6-ab88-249d033c6e2b',
'x-content-type-options': 'nosniff',
date: 'Fri, 15 Mar 2013 22:38:56 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:38:58 GMT' });
return result; }]];

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -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; }]];

Просмотреть файл

@ -5,12 +5,12 @@ 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%252fmyqueue%26ExpiresOn%3d1363355665%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dOR5cwa5FD95F2BTD4HfnYDh7NjqgZS3qBu%252fl3J87tcs%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%252fmyqueue%26ExpiresOn%3d1363389054%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3d5zq7F5uK19xlqwN9UFobylsge82y%252bljtn4msmFtzoWA%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': '4e1f91d7-0de3-4c83-84f3-23a28d4e2e07',
'request-id': 'd52efc8b-3dab-492f-a3f1-15bd1184de17',
'x-content-type-options': 'nosniff',
date: 'Fri, 15 Mar 2013 13:34:24 GMT',
date: 'Fri, 15 Mar 2013 22:50:53 GMT',
'content-length': '540' });
return result; }]];

Просмотреть файл

@ -5,12 +5,12 @@ 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%252fmyqueue%26ExpiresOn%3d1363355666%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dTz3TC0Kei9ln6Dbe03xjFTkC77S55AYW5ke7cdzdPDg%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%252fmyqueue%26ExpiresOn%3d1363389055%26Issuer%3dhttps%253a%252f%252fciserversb-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dqwZf09I%252bc5v2G%252fHw4%252fnaMBWhVx9fcG7a6Nq7zLx8YDk%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': 'af3a37a1-13a8-44de-83ce-eca288e93691',
'request-id': '8d41a07c-0232-4616-a276-3a4e800df1c1',
'x-content-type-options': 'nosniff',
date: 'Fri, 15 Mar 2013 13:34:25 GMT',
'content-length': '536' });
date: 'Fri, 15 Mar 2013 22:50:54 GMT',
'content-length': '548' });
return result; }]];

Просмотреть файл

@ -387,7 +387,7 @@ suite('servicebusservice-tests', function () {
customProperties: {
propint: 1,
propfloat: 2.22,
propdate: new Date(2012, 02, 07, 22, 27, 0),
propdate: new Date(Date.UTC(2012, 02, 07, 22, 27, 0)),
propstring: 'hi there'
}
};
@ -886,7 +886,8 @@ suite('servicebusservice-tests', function () {
RequiresSession: true,
DefaultMessageTimeToLive: 'PT5S',
DeadLetteringOnMessageExpiration: true,
DeadLetteringOnFilterEvaluationExceptions: true
DeadLetteringOnFilterEvaluationExceptions: true,
AutoDeleteOnIdle: 'PT5M'
};
// Invalid topic name
@ -911,7 +912,8 @@ suite('servicebusservice-tests', function () {
assert.equal(subscription2.DefaultMessageTimeToLive, subscriptionOptions.DefaultMessageTimeToLive.toString());
assert.equal(subscription2.DeadLetteringOnMessageExpiration, subscriptionOptions.DeadLetteringOnMessageExpiration.toString());
assert.equal(subscription2.DeadLetteringOnFilterEvaluationExceptions, subscriptionOptions.DeadLetteringOnFilterEvaluationExceptions.toString());
assert.equal(subscription2.AutoDeleteOnIdle, subscriptionOptions.AutoDeleteOnIdle.toString());
// duplicate subscription
serviceBusService.createSubscription(topicName, subscriptionName1, function (subscriptionError, duplicateSubscription) {
assert.notEqual(subscriptionError, null);