<commit_before>/*jshint node:true, indent:2, curly:false, eqeqeq:true, immed:true, latedef:true, newcap:true, noarg:true,
regexp:true, undef:true, strict:true, trailing:true, white:true */
/*global */

(function () {
  "use strict";

  module.exports = {
    processName: "node-datasource",
    debugging: true,
    allowMultipleInstances: true,
    requireDatabase: true,
    requireServer: true,
    requireCache: true,
    functorsDirectory: "./lib/functors",
    routesDirectory: "./lib/routes",
    routersDirectory: "./lib/routers",
    datasource: {
      sessionTimeout: 15,
      bindAddress: "localhost",
      port: 443,
      keyFile: "./lib/private/key.pem",
      certFile: "./lib/private/server.crt",
      caFile: null,
      saltFile: "./lib/private/salt.txt",
      psqlPath: "/usr/bin/psql",
      psqlUser: "admin",

      // these properties are dynamically registered with the
      // node discovery service

      // the unique identifer registered for this service/instance
      name: "dev-datasource",

      // human-friendly description of this service
      description: "NA",

      // REQUIRED - the ip address or hostname for this instance
      hostname: "localhost",

      // human-friendly location identifier for various cloud, physical
      // servers, etc.
      location: "NA"
    },
    administratorInterface: {
      port: 9090
    },
    globalDatabase: {
      hostname: "localhost",
      port: 5432,
      database: "global",
      user: "admin",
      password: "<PASSWORD>",
      nodeUsername: "node"
    },
    cache: {
      session: {
        hostname: "localhost",
        port: 27017,
        schemaDirectory: "./mongo_schemas/session",
        database: "xtdb"
      },
      users: {
        hostname: "localhost",
        port: 27017,
        schemaDirectory: "./mongo_schemas/users",
        database: "xtusers"
      },
      proxy: {
        hostname: "localhost",
        port: 27017,
        schemaDirectory: "./mongo_schemas/proxy",
        database: "xtproxy"
      }
    },
    required: [
      "lib/ext/session",
      "lib/ext/database",
      "lib/ext/router",
      "lib/servers",
      "lib/ext/caches",
      "lib/ext/datasource",
      "lib/ext/models"
    ]
  };
}());
<commit_msg>issue #19051: updated sample config<commit_after>/*jshint node:true, indent:2, curly:false, eqeqeq:true, immed:true, latedef:true, newcap:true, noarg:true,
regexp:true, undef:true, strict:true, trailing:true, white:true */
/*global */

(function () {
  "use strict";

  module.exports = {
    processName: "node-datasource",
    debugging: true,
    allowMultipleInstances: true,
    requireDatabase: true,
    requireServer: true,
    requireCache: true,
    functorsDirectory: "./lib/functors",
    routesDirectory: "./lib/routes",
    routersDirectory: "./lib/routers",
    datasource: {
      sessionTimeout: 15,
      bindAddress: "localhost",
      port: 443,
      keyFile: "./lib/private/key.pem",
      certFile: "./lib/private/server.crt",
      caFile: null,
      saltFile: "./lib/private/salt.txt",
      psqlPath: "psql",
      psqlUser: "admin",

      // these properties are dynamically registered with the
      // node discovery service

      // the unique identifer registered for this service/instance
      name: "dev-datasource",

      // human-friendly description of this service
      description: "NA",

      // REQUIRED - the ip address or hostname for this instance
      hostname: "localhost",

      // human-friendly location identifier for various cloud, physical
      // servers, etc.
      location: "NA"
    },
    administratorInterface: {
      port: 9090
    },
    globalDatabase: {
      hostname: "localhost",
      port: 5432,
      database: "global",
      user: "admin",
      password: "<PASSWORD>",
      nodeUsername: "node"
    },
    cache: {
      session: {
        hostname: "localhost",
        port: 27017,
        schemaDirectory: "./mongo_schemas/session",
        database: "xtdb"
      },
      users: {
        hostname: "localhost",
        port: 27017,
        schemaDirectory: "./mongo_schemas/users",
        database: "xtusers"
      },
      proxy: {
        hostname: "localhost",
        port: 27017,
        schemaDirectory: "./mongo_schemas/proxy",
        database: "xtproxy"
      }
    },
    required: [
      "lib/ext/session",
      "lib/ext/database",
      "lib/ext/router",
      "lib/servers",
      "lib/ext/caches",
      "lib/ext/datasource",
      "lib/ext/models"
    ]
  };
}());

{'fraction_non_alphanumeric': 0.13623316405387503, 'fraction_numerical': 0.013910355486862442, 'mean_word_length': 2.2873730043541363, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1306265', 'n_tokens_mistral': 1443, 'n_tokens_neox': 1363, 'n_words': 316}