Built motion from commit 85328c08.|2.5.50
[motion2.git] / server / services / routing / client.js
index fff2d93..b09a35a 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x61a1=['catch','jayson/promise','bluebird','../../config/logger','routing','client','Request','request','then','debug','rpc','error','message','result'];(function(_0xbcc6e1,_0x4c42f6){var _0x4985f9=function(_0x2f96ec){while(--_0x2f96ec){_0xbcc6e1['push'](_0xbcc6e1['shift']());}};_0x4985f9(++_0x4c42f6);}(_0x61a1,0x127));var _0x161a=function(_0x28b0a1,_0x99bd0a){_0x28b0a1=_0x28b0a1-0x0;var _0x21470c=_0x61a1[_0x28b0a1];return _0x21470c;};'use strict';var jayson=require(_0x161a('0x0'));var BPromise=require(_0x161a('0x1'));var logger=require(_0x161a('0x2'))(_0x161a('0x3'));var client=jayson[_0x161a('0x4')]['http']({'port':0x2329});client[_0x161a('0x5')]=function(_0x912651,_0x52aadb){return new BPromise(function(_0x1775e8,_0x377bf0){return client[_0x161a('0x6')](_0x912651,_0x52aadb)[_0x161a('0x7')](function(_0x1bb0ac){logger[_0x161a('0x8')](_0x161a('0x9'),_0x161a('0x3'),_0x912651,_0x52aadb,_0x1bb0ac);if(_0x1bb0ac[_0x161a('0xa')]){logger[_0x161a('0xa')](_0x161a('0x9'),_0x161a('0x3'),_0x912651,_0x1bb0ac[_0x161a('0xa')][_0x161a('0xb')],_0x52aadb);return _0x377bf0(_0x1bb0ac[_0x161a('0xa')][_0x161a('0xb')]);}else{return _0x1775e8(_0x1bb0ac[_0x161a('0xc')]);}})[_0x161a('0xd')](function(_0x45245e){logger[_0x161a('0xa')]('rpc','routing',_0x912651,_0x45245e,_0x52aadb);return _0x377bf0(_0x45245e);});});};module['exports']=client;
\ No newline at end of file
+var _0x36d1=['request','then','error','rpc','message','result','catch','exports','jayson/promise','bluebird','../../config/logger','routing','client','http','Request'];(function(_0xc2efdb,_0xf7047){var _0x4c98c4=function(_0x16c6a2){while(--_0x16c6a2){_0xc2efdb['push'](_0xc2efdb['shift']());}};_0x4c98c4(++_0xf7047);}(_0x36d1,0x71));var _0x136d=function(_0x397473,_0x5b6ec2){_0x397473=_0x397473-0x0;var _0x57f0e5=_0x36d1[_0x397473];return _0x57f0e5;};'use strict';var jayson=require(_0x136d('0x0'));var BPromise=require(_0x136d('0x1'));var logger=require(_0x136d('0x2'))(_0x136d('0x3'));var client=jayson[_0x136d('0x4')][_0x136d('0x5')]({'port':0x2329});client[_0x136d('0x6')]=function(_0x44d6e8,_0x443b96){return new BPromise(function(_0x42c5c5,_0x350547){return client[_0x136d('0x7')](_0x44d6e8,_0x443b96)[_0x136d('0x8')](function(_0x94ee4b){logger['debug']('rpc',_0x136d('0x3'),_0x44d6e8,_0x443b96,_0x94ee4b);if(_0x94ee4b['error']){logger[_0x136d('0x9')](_0x136d('0xa'),_0x136d('0x3'),_0x44d6e8,_0x94ee4b[_0x136d('0x9')][_0x136d('0xb')],_0x443b96);return _0x350547(_0x94ee4b[_0x136d('0x9')][_0x136d('0xb')]);}else{return _0x42c5c5(_0x94ee4b[_0x136d('0xc')]);}})[_0x136d('0xd')](function(_0x2a816d){logger[_0x136d('0x9')](_0x136d('0xa'),_0x136d('0x3'),_0x44d6e8,_0x2a816d,_0x443b96);return _0x350547(_0x2a816d);});});};module[_0x136d('0xe')]=client;
\ No newline at end of file