Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions src/.env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,8 @@ IS_AUTH_TOKEN_BEARER=false

AUTH_METHOD = native #or keycloak_public_key
KEYCLOAK_PUBLIC_KEY_PATH = path to the pem/secret file
ADMIN_TOKEN_HEADER_NAME = admin-access-token // admin access token header name
ADMIN_ACCESS_TOKEN = ivopeiovcie-----------lvkkdvkdm // admin access token
ADMIN_TOKEN_HEADER_NAME = admin-access-token // admin access token header name
ADMIN_ACCESS_TOKEN = ivopeiovcie-----------lvkkdvkdm // admin access token

INTERFACE_SERVICE_URL = http://localhost:5000/interface-management // interface service url
USER_SERVICE_BASE_URL = user // user service base url
9 changes: 9 additions & 0 deletions src/envVariables.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,15 @@ let enviromentVariables = {
message: 'Required admin access token',
optional: false,
},
INTERFACE_SERVICE_URL: {
message: 'Required interface service url',
optional: false,
},
USER_SERVICE_BASE_URL: {
message: 'Required user service base url',
optional: true,
default: '/user',
},
}

let success = true
Expand Down