{
  "mongodb": {
    "uri": "mongodb://localhost/roadiejs-test"
  },

  "logger": {
    "transports": {
      "Console": {
        "level": "debug",
        "colorize": true,
        "handleExceptions": false
      }
    }
  },

    "loggerColors": {
        "silly": "grey",
        "debug": "blue",
        "info": "green",
        "warn": "magenta",
        "error": "red"
    },

    "autoLoadPlugins": [
        "roadiejs-blueprint",
        "roadiejs-api",
        "roadiejs-counter",
        "roadiejs-flow",
        "roadiejs-data",
        "roadiejs-elastic"
    ],

    "plugins": {

        "roadiejs-elastic": {
          "indexNamePrefix": "roadiejs",
          "requestTimeout": 3000,
          "host": "localhost:9200",
          "log": "trace"
        },

        "roadiejs-data": {
            "maxSchemaDepth": 4
        },

        "roadiejs-flow": {

        },

        "roadiejs-ui": {

        },

        "roadiejs-api": {

            "encryption": {
                "path": "./test/security/certs/encryption.json"
            },

            "jwt": {
                "secret": {
                    "path": "./test/security/certs/secret.txt",
                    "encoding": "utf8"
                }
            },

            "protocol": "http",

            "protocols": {

                "http": {
                    "port": 3006
                },

                "https": {
                    "protocol": "https",
                    "port": 3443,
                    "key": {
                        "path": "./test/security/certs/my-server.key.pem",
                        "encoding": "utf8"
                    },

                    "cert": {
                        "path": "./test/security/certs/my-server.crt.pem",
                        "encoding": "utf8"
                    },

                    "ca": {
                        "path": "./test/security/certs/my-private-root-ca.crt.pem",
                        "encoding": "utf8"
                    }
                }
            }
        },

        "roadiejs-blueprint": {
        },

        "roadiejs-flow": {
        },

        "roadiejs-counter": {
        }

    }
}
