Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

SPACESPACES_JSONDATA

json string to configure the spaces. json array with spaces (with key, title and databaseName) Example:

Code Block
languagejson
[
    {
        "key": "ExampleKey",
        "title": "An example title",
        "databaseName": "CDCM-database-name"
    },
    {
        "key": "AnotherExampleKey",
        "title": "An different title",
        "databaseName": "Other-db"
    }
]

ADMIN_TOKEN

Specifies an administrative token, if any, for added security or administrative access.

ALLOWED_CORS_ORIGINS

Specifies the origins that are allowed to access the server, for Cross-Origin Resource Sharing (CORS).

CONTEXT_PATH

The base URI context path for the server. If not set, defaults to the root context.

CORS_ENABLED

Enables or disables Cross-Origin Resource Sharing (CORS) at the security level.

CSRF_ENABLED

Enables or disables Cross-Site Request Forgery (CSRF) protection.

DB_PREFIX

Prefix for the MongoDB database names. Default is CDCM.

MONGO_CONNECTION_STRING

Defines the full mongodb connection string.

Should include hostname (or multiple, if a replica set with multiple nodes is used) including port(s) and optionally the DB name.
If no port is provided the default port 27017 is used.
Format:

mongodb://<hostname>:<port>/<db name>

Example:

mongodb://localhost:27019/mydatabase

or for multiple hosts:

mongodb://host1:27017,host2:27018,host3:27019/mydatabase

MONGO_TRANSACTIONS_ENABLED

Enables or disables MongoDB transactions. Defaults to false. Note: Can only be enabled if the mongodb deployment uses a replica set.

OAUTH10A_ACTIVE and OAUTH10A_ENABLE

Control whether OAuth 1.0a is active and enabled in the application.

OAUTH10A_CONSUMER_KEY

Consumer key for OAuth 1.0a authentication.

OAUTH10A_CONSUMER_SECRET

Consumer secret for OAuth 1.0a authentication.

OAUTH10A_NAME

The name for the OAuth 1.0a configuration.

OAUTH10A_PROTECTED_URL_ROOT

Specifies the protected URLs for OAuth 1.0a authentication (comma seperated).

OAUTH10A_ROOT_SERVICE_URL

URL for the OAuth 1.0a root services.

PORT

Sets the port on which the server will listen. Default is 8080 if not specified.

PUBLIC_URL

The public-facing URL of the server, used for building absolute URLs. Default is http://localhost with the specified server port.

X_FRAME_SAME_ORIGIN

Controls the 'X-Frame-Options' header for clickjacking protection. Defaults to true.

...