lib/api.js
function(identifier, target, cb) {
    var systemId = _sr.findSystem(identifier);
    if (!systemId) { logger.error(ERR_NOSYSID); return cb(new Error(ERR_NOSYSID)); }
    fetchTarget(systemId, target, function(err, target) {
      if (err) { return cb(err); }
      logger.info({ systemId: systemId, target: target }, 'get deployed system');
      _sr.getDeployedRevision(systemId, target, cb);
    });
  }
function(identifier, target, cb) {
    var systemId = _sr.findSystem(identifier);
    if (!systemId) { logger.error(ERR_NOSYSID); return cb(new Error(ERR_NOSYSID)); }
    fetchTarget(systemId, target, function(err, target) {
      if (err) { return cb(err); }
      logger.info({ systemId: systemId, target: target }, 'get deployed system');
      _sr.getDeployedRevision(systemId, target, cb);
    });
  }
function ( identifier , target , cb ) { var systemId = _sr . findSystem ( identifier ) ; if ( ! systemId ) { logger . error ( ERR_NOSYSID ) ; return cb ( new Error ( ERR_NOSYSID ) ) ; } fetchTarget ( systemId , target , function ( err , target ) { if ( err ) { return cb ( err ) ; } logger . info ( { systemId : systemId , target : target } , 'get deployed system' ) ; _sr . getDeployedRevision ( systemId , target , cb ) ; } ) ; }
get the full deployed system definition
get the full deployed system definition