Versions Compared

Key

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

Introduction

URAC micro-service V3 configuration variables.

Tenant Configuration

...

Introduction 

Provisioning is a configuration that all SOAJS micro-services can acquire once you turn on multi-tenant for them. Once a service becomes multi-tenant, you can provide custom tenant configuration to it at run time.

Table and links to examples 

Link to Complete example 


Registry Configuration 

...

Introduction 

Registry configuration 

Table and links to examples 

Database needed by URAC (link)

Configuration priority and default value

This table illustrate the configuration that can be overridden at be overridden at different layer of configuration 

local → registry → Tenant 

Info
titlePriority

Local → Registry → Tenant 

  1. Local Configuration
  2. Custom Registry
  3. Service Configuration (Tenant)

...

ExampletokenExpiryTTLintegerHashing Iteration value used by SOAJS hasher to encrypt/compare passwordscoreDBThe core DB of registry configuration



Name


Local Configuration (Default)

config.js

Registry Configuration (Per Environment)

req.soajs.registry


Tenant Configuration (Per Tenant Per Environment)

Type

Description

SettingsCustom
pinConfiguration
ObjectObject for pin settingsPin Configuration
Token expiry limit in seconds

172800000

linkObjectLink values that are attached in the content of email notificationsLinkmodel

stringModel Name"mongo"validateJoinbooleanSet to true if registration needs validation confirmation

true

hashIterations



integer16
seedLengthintegerSeed Length value used by SOAJS hasher to encrypt/compare passwords32optionalAlgorithmstringHash algorithm nameExample #1passportLoginObjectDefine application keys for passport integration. Currently supporting: Twitter - Facebook - GooglePassport LoginmailObjectObject to configure the mail notifications content.
Each type of notification is an entry in this object where you can configure a custom mail subject, link it to a template or inject html content directly.
MailerrorsObjectList of Error Codes used with description of each code (Error Message)ErrorsObjectRegistry Core DatabaseservicesObjectServices in registryRegistry ServicestenantMetaDB

ObjectTenant meta DatabaseRegistry Tenant Meta Database

Examples

Example #1

...