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 | ||
---|---|---|
| ||
Local → Registry → Tenant
|
...
Name | Local Configuration (Default) config.js | Registry Configuration (Per Environment) req.soajs.registry | Tenant Configuration (Per Tenant Per Environment) Type Description | Example|||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Settings | Custom | |||||||||||||||||||||||||||||||||||||||||||
pinConfiguration | ✓✓ | ✓ | Object | Object for pin settings | Pin Configuration | tokenExpiryTTL✓ | integer||||||||||||||||||||||||||||||||||||||
Token expiry limit in seconds | 172800000 | link | ✓ | Object | Link values that are attached in the content of email notifications | Link | model | ✓ | ✓ | |||||||||||||||||||||||||||||||||||
string | Model Name | "mongo" | validateJoin | ✓ | boolean | Set to true if registration needs validation confirmation | true | hashIterations | ✓ | ✓ | integer | Hashing Iteration value used by SOAJS hasher to encrypt/compare passwords16 | ||||||||||||||||||||||||||||||||
seedLength | ✓ | ✓ | integer | Seed Length value used by SOAJS hasher to encrypt/compare passwords | 32 | optionalAlgorithm | ✓ | string | Hash algorithm name | Example #1 | passportLogin | ✓ | Object | Define application keys for passport integration. Currently supporting: Twitter - Facebook - Google | Passport Login | ✓ | Object | Object 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. | errors | ✓ | ✓ | ✓ | Object | List of Error Codes used with description of each code (Error Message) | Errors | coreDB✓ | Object | The core DB of registry configurationRegistry Core Database | services | ✓ | Object | Services in registry | Registry Services | tenantMetaDB | ✓ | Object | Tenant meta Database | Registry Tenant Meta Database |
Examples
Example #1
...