Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Environment variable values

Attila Levente EGYEDI edited this page Apr 12, 2017 · 7 revisions

CEDAR_VERSION - put the version of CEDAR system here, e.g. "1.0.1-SNAPSHOT"

CEDAR_VERSION_MODIFIER - You should leave this empty. During development you can change this to random strings in order to force the loading of JavaScript and JSON files

HOST_NAME - Set to the name of the host

CEDAR_BIOPORTAL_API_KEY - BioPortal API key for CEDAR system

CEDAR_ANALYTICS_KEY - if you want to disable the inclusion of the tracking code, set this value to the false literal

CEDAR_NEO4J_TRANSACTION_URL - this probably has the following form: http://localhost:7474/db/data/transaction/commit . Please leave the placeholder in the script file, you will replace that after Neo4j is set up.

CEDAR_NEO4J_AUTH_STRING - this value can be easily found on the neo4j browser interface. It has the following form: "Basic bbaassee6644" where bbaassee6644 is the base64 encoded version of the username:password string. Please leave the placeholder in the script file, you will replace that after Neo4j is set up.

CEDAR_ADMIN_USER_PASSWORD - it is the plain text password of the CEDAR realm admin user. This is not the same as the global Keycloak admin user. You should create this user after you set up the CEDAR Keycloak realm. Please leave the placeholder in the script file, you will replace that after Keycloak is set up.

CEDAR_ADMIN_USER_API_KEY - the value is the API KEY in UUID form for the cedar-admin user. This can be found in the MongoDB, or on the CEDAR application user profile page after logging in with cedar-admin. For now, you can leave it empty

CEDAR_RESOURCE_SERVER_USER_CALLBACK_URL - the value of the resource server keycloak event listener endpoint on user events. This will be https://resource.metadatacenter.orgx/command/auth-user-callback on a developer machine.

CEDAR_RESOURCE_SERVER_ADMIN_CALLBACK_URL - the value of the resource server keycloak event listener endpoint on admin events. This will be https://resource.metadatacenter.orgx/command/auth-admin-callback on a developer machine.

CEDAR_MONGO_USER_NAME - the user name to access the MongoDB

CEDAR_MONGO_USER_PASSWORD - the password to access the MongoDB

CEDAR_SALT_API_KEY - a random string to be used as a salt for API key generation. Enter a reasonable sized random string here (i.e. 30 characters, lower and uppercase latin characters, numbers, symbols)

Clone this wiki locally