services/inter_comm/base.js
function () {
    const oThis = this
      , clearCacheOfExpr = /(openst-platform\/config\/)|(openst-platform\/lib\/)/
    ;

    Object.keys(require.cache).forEach(function (key) {
      if (key.search(clearCacheOfExpr) !== -1) {
        delete require.cache[key];
      }
    });
    oThis.setContractObj();

    // Read this from a file
    oThis.snmData = JSON.parse(fs.readFileSync(oThis.filePath).toString());

    oThis.checkForFurtherEvents();
  }
function () {
    const oThis = this
      , clearCacheOfExpr = /(openst-platform\/config\/)|(openst-platform\/lib\/)/
    ;

    Object.keys(require.cache).forEach(function (key) {
      if (key.search(clearCacheOfExpr) !== -1) {
        delete require.cache[key];
      }
    });
    oThis.setContractObj();

    // Read this from a file
    oThis.snmData = JSON.parse(fs.readFileSync(oThis.filePath).toString());

    oThis.checkForFurtherEvents();
  }
function ( ) { const oThis = this , clearCacheOfExpr = / (openst-platform\/config\/)|(openst-platform\/lib\/) / ; Object . keys ( require . cache ) . forEach ( function ( key ) { if ( key . search ( clearCacheOfExpr ) !== - 1 ) { delete require . cache [ key ] ; } } ) ; oThis . setContractObj ( ) ; // Read this from a file oThis . snmData = JSON . parse ( fs . readFileSync ( oThis . filePath ) . toString ( ) ) ; oThis . checkForFurtherEvents ( ) ; }
Starts the process of the script with initializing processor
Starts the process of the script with initializing processor