lib/cloud/fh-reports.js
function getLogMessageURL() {
  var url = '';
  if (process.env.OPENSHIFT_FEEDHENRY_REPORTER_IP) {
    url = 'http://' + process.env.OPENSHIFT_FEEDHENRY_REPORTER_IP + ':' + process.env.OPENSHIFT_FEEDHENRY_REPORTER_PORT;
    url += '/sys/admin/reports/TOPIC';
  } else {
    url = process.env.FH_MESSAGING_SERVER || ''; // Default setting
  }
  return url;
}
function getLogMessageURL() {
  var url = '';
  if (process.env.OPENSHIFT_FEEDHENRY_REPORTER_IP) {
    url = 'http://' + process.env.OPENSHIFT_FEEDHENRY_REPORTER_IP + ':' + process.env.OPENSHIFT_FEEDHENRY_REPORTER_PORT;
    url += '/sys/admin/reports/TOPIC';
  } else {
    url = process.env.FH_MESSAGING_SERVER || ''; // Default setting
  }
  return url;
}
function getLogMessageURL ( ) { var url = '' ; if ( process . env . OPENSHIFT_FEEDHENRY_REPORTER_IP ) { url = 'http://' + process . env . OPENSHIFT_FEEDHENRY_REPORTER_IP + ':' + process . env . OPENSHIFT_FEEDHENRY_REPORTER_PORT ; url += '/sys/admin/reports/TOPIC' ; } else { url = process . env . FH_MESSAGING_SERVER || '' ; // Default setting } return url ; }
Get the logging message URL taking into account OpenShift environmental factors
Get the logging message URL taking into account OpenShift environmental factors