Connected to REST API server!

Running Swagger API test...

----- Blockchain Retrieved: -----

{ url: 'http://127.0.0.1:3000/chain',
  method: 'GET',
  headers: 
   { 'access-control-allow-headers': 'accept, content-type',
     'access-control-allow-origin': '*',
     'content-type': 'application/json',
     date: 'Sat, 20 Feb 2016 00:02:17 GMT',
     'content-length': '235',
     connection: 'close' },
  obj: 
   { height: 12,
     currentBlockHash: 'MAiYPHFqCakoaSvw00dCBof4K5obL3OEt5Oz6UexVjjyIij0Gmw6yyzEskiaYF5MFrOVrnHbyeKAnpWZQ1Ivlw==',
     previousBlockHash: 'eC9FhWQo+lCVIF3oX1BjtQctWg5nmQy6cxc/eFmXWyhXOe2aJO1QNx26XebBL+0el41fT8WA0oWAoJZLud85AQ==' },
  status: 200,
  statusText: '{"height":12,"currentBlockHash":"MAiYPHFqCakoaSvw00dCBof4K5obL3OEt5Oz6UexVjjyIij0Gmw6yyzEskiaYF5MFrOVrnHbyeKAnpWZQ1Ivlw==","previousBlockHash":"eC9FhWQo+lCVIF3oX1BjtQctWg5nmQy6cxc/eFmXWyhXOe2aJO1QNx26XebBL+0el41fT8WA0oWAoJZLud85AQ=="}\n',
  data: '{"height":12,"currentBlockHash":"MAiYPHFqCakoaSvw00dCBof4K5obL3OEt5Oz6UexVjjyIij0Gmw6yyzEskiaYF5MFrOVrnHbyeKAnpWZQ1Ivlw==","previousBlockHash":"eC9FhWQo+lCVIF3oX1BjtQctWg5nmQy6cxc/eFmXWyhXOe2aJO1QNx26XebBL+0el41fT8WA0oWAoJZLud85AQ=="}\n' }
----------


----- Block Retrieved: -----

{ url: 'http://127.0.0.1:3000/chain/blocks/0',
  method: 'GET',
  headers: 
   { 'access-control-allow-headers': 'accept, content-type',
     'access-control-allow-origin': '*',
     'content-type': 'application/json',
     date: 'Sat, 20 Feb 2016 00:02:17 GMT',
     'content-length': '126',
     connection: 'close' },
  obj: 
   { consensusMetadata: 'ZHVtbXktcHJvb2Y=',
     nonHashData: { localLedgerCommitTimestamp: [Object] } },
  status: 200,
  statusText: '{"consensusMetadata":"ZHVtbXktcHJvb2Y=","nonHashData":{"localLedgerCommitTimestamp":{"seconds":1455925083,"nanos":94597153}}}\n',
  data: '{"consensusMetadata":"ZHVtbXktcHJvb2Y=","nonHashData":{"localLedgerCommitTimestamp":{"seconds":1455925083,"nanos":94597153}}}\n' }
----------


----- Block Retrieved: -----

{ url: 'http://127.0.0.1:3000/chain/blocks/5',
  method: 'GET',
  headers: 
   { 'access-control-allow-headers': 'accept, content-type',
     'access-control-allow-origin': '*',
     'content-type': 'application/json',
     date: 'Sat, 20 Feb 2016 00:02:17 GMT',
     'content-length': '631',
     connection: 'close' },
  obj: 
   { transactions: [ [Object], [Object] ],
     stateHash: 'b1HRwJb9ZrVPGc1iEcR/cMUuG6/iGa0nBLkX8c60poWuJ5G+2ZmMSNVHj3cTKmeelwLCbMZ3TYhETzYLCEtQ+w==',
     previousBlockHash: 'DMixR72cYMqbUP9XZACTgmdfrbcYEX4WPAo/5cxMVqlL0dSaIdY1jqw9crxwZoLUTV2UsP+UBhmtSsiwPXGI0Q==',
     consensusMetadata: 'ZHVtbXktcHJvb2Y=',
     nonHashData: { localLedgerCommitTimestamp: [Object] } },
  status: 200,
  statusText: '{"transactions":[{"chaincodeID":"CgpNeUNvbnRyYWN0","uuid":"a8fcce59-718e-4642-a0cb-de7bac1639c5","timestamp":{"seconds":1455925083,"nanos":95834232}},{"chaincodeID":"Cg9NeU90aGVyQ29udHJhY3Q=","uuid":"1605a11e-8bc7-4249-a226-bb24836bf717","timestamp":{"seconds":1455925083,"nanos":95838219}}],"stateHash":"b1HRwJb9ZrVPGc1iEcR/cMUuG6/iGa0nBLkX8c60poWuJ5G+2ZmMSNVHj3cTKmeelwLCbMZ3TYhETzYLCEtQ+w==","previousBlockHash":"DMixR72cYMqbUP9XZACTgmdfrbcYEX4WPAo/5cxMVqlL0dSaIdY1jqw9crxwZoLUTV2UsP+UBhmtSsiwPXGI0Q==","consensusMetadata":"ZHVtbXktcHJvb2Y=","nonHashData":{"localLedgerCommitTimestamp":{"seconds":1455925083,"nanos":95939071}}}\n',
  data: '{"transactions":[{"chaincodeID":"CgpNeUNvbnRyYWN0","uuid":"a8fcce59-718e-4642-a0cb-de7bac1639c5","timestamp":{"seconds":1455925083,"nanos":95834232}},{"chaincodeID":"Cg9NeU90aGVyQ29udHJhY3Q=","uuid":"1605a11e-8bc7-4249-a226-bb24836bf717","timestamp":{"seconds":1455925083,"nanos":95838219}}],"stateHash":"b1HRwJb9ZrVPGc1iEcR/cMUuG6/iGa0nBLkX8c60poWuJ5G+2ZmMSNVHj3cTKmeelwLCbMZ3TYhETzYLCEtQ+w==","previousBlockHash":"DMixR72cYMqbUP9XZACTgmdfrbcYEX4WPAo/5cxMVqlL0dSaIdY1jqw9crxwZoLUTV2UsP+UBhmtSsiwPXGI0Q==","consensusMetadata":"ZHVtbXktcHJvb2Y=","nonHashData":{"localLedgerCommitTimestamp":{"seconds":1455925083,"nanos":95939071}}}\n' }
----------


----- Chaincode Deployed: -----

{ url: 'http://127.0.0.1:3000/devops/deploy',
  method: 'POST',
  headers: 
   { 'access-control-allow-headers': 'accept, content-type',
     'access-control-allow-origin': '*',
     'content-type': 'application/json',
     date: 'Sat, 20 Feb 2016 00:02:22 GMT',
     'content-length': '183',
     connection: 'close' },
  obj: 
   { OK: 'Successfully deployed chainCode.',
     message: 'bb540edfc1ee2ac0f5e2ec6000677f4cd1c6728046d5e32dede7fea11a42f86a6943b76a8f9154f4792032551ed320871ff7b7076047e4184292e01e3421889c' },
  status: 200,
  statusText: '{"OK": "Successfully deployed chainCode.","message":"bb540edfc1ee2ac0f5e2ec6000677f4cd1c6728046d5e32dede7fea11a42f86a6943b76a8f9154f4792032551ed320871ff7b7076047e4184292e01e3421889c"}',
  data: '{"OK": "Successfully deployed chainCode.","message":"bb540edfc1ee2ac0f5e2ec6000677f4cd1c6728046d5e32dede7fea11a42f86a6943b76a8f9154f4792032551ed320871ff7b7076047e4184292e01e3421889c"}' }
----------


----- Devops Invoke Triggered: -----

{ url: 'http://127.0.0.1:3000/devops/invoke',
  method: 'POST',
  headers: 
   { 'access-control-allow-headers': 'accept, content-type',
     'access-control-allow-origin': '*',
     'content-type': 'application/json',
     date: 'Sat, 20 Feb 2016 00:02:22 GMT',
     'content-length': '91',
     connection: 'close' },
  obj: 
   { OK: 'Successfully invoked chainCode.',
     message: '6ea6b6af-f7ad-4c34-89b1-ed932a50378c' },
  status: 200,
  statusText: '{"OK": "Successfully invoked chainCode.","message": "6ea6b6af-f7ad-4c34-89b1-ed932a50378c"}',
  data: '{"OK": "Successfully invoked chainCode.","message": "6ea6b6af-f7ad-4c34-89b1-ed932a50378c"}' }
----------


----- Devops Query Triggered: -----

{ url: 'http://127.0.0.1:3000/devops/query',
  method: 'POST',
  headers: 
   { 'access-control-allow-headers': 'accept, content-type',
     'access-control-allow-origin': '*',
     'content-type': 'application/json',
     date: 'Sat, 20 Feb 2016 00:02:42 GMT',
     'content-length': '11',
     connection: 'close' },
  obj: { OK: '60' },
  status: 200,
  statusText: '{"OK":"60"}',
  data: '{"OK":"60"}' }
----------


