<commit_before>'use strict';

var getData = require('request');

module.exports = function (config, server) {

  function getNavigation( ){
    var defer = require('q').defer();
    getData({
      url: config.cmsURL + '/taxonomies',
      json: true
    }, function (error, response, body) {
      if (!error && response.statusCode === 200) {
        return defer.resolve( body.nodes );
      }else{
        return defer.reject( [] );
      }
    });
    return defer.promise;
  }

  server.utils = {
    getNav: getNavigation
  };
  server.lang = config.lang.get();

  require('../../controllers/authentication/api')(config, server);

  require('../../controllers/knowledge')(config, server);
  require('../../controllers/calendar/api')(config, server);<commit_msg>Updating production bootup removing call<commit_after>'use strict';

var getData = require('request');

module.exports = function (config, server) {

  function getNavigation( ){
    var defer = require('q').defer();
    getData({
      url: config.cmsURL + '/taxonomies',
      json: true
    }, function (error, response, body) {
      if (!error && response.statusCode === 200) {
        return defer.resolve( body.nodes );
      }else{
        return defer.reject( [] );
      }
    });
    return defer.promise;
  }

/*  server.utils = {
    getNav: getNavigation
  };*/
  server.lang = config.lang.get();

  require('../../controllers/authentication/api')(config, server);

  require('../../controllers/knowledge')(config, server);
  require('../../controllers/calendar/api')(config, server);
{'fraction_non_alphanumeric': 0.17763578274760383, 'fraction_numerical': 0.0038338658146964857, 'mean_word_length': 2.9445843828715366, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1982529', 'n_tokens_mistral': 481, 'n_tokens_neox': 455, 'n_words': 97}