...
The Saga configuration can be use for the core library only or with the server, all the features available for the core library will work in the server, but the features for the server
...
Control the server's basic communication configuration
Parameter | ||||||||
---|---|---|---|---|---|---|---|---|
|
Parameter | ||||||||
---|---|---|---|---|---|---|---|---|
|
Parameter | ||||||
---|---|---|---|---|---|---|
|
...
|
Parameter | ||||||||
---|---|---|---|---|---|---|---|---|
|
Parameter | |
---|---|
|
|
Parameter | |
---|---|
|
Note |
---|
We recommend the use of encryptionKeyFile over the encriptionKey directly in the configuration file. Never use both a the same time |
Parameter | ||||||
---|---|---|---|---|---|---|
|
Parameter | ||||
---|---|---|---|---|
|
Parameter | ||||
---|---|---|---|---|
|
Parameter | ||||||
---|---|---|---|---|---|---|
|
|
Manages the security configuration regarding encrypted communication and authentication
Parameter | ||||||
---|---|---|---|---|---|---|
|
Parameter | ||||||||
---|---|---|---|---|---|---|---|---|
|
Parameter | ||||||
---|---|---|---|---|---|---|
|
Parameter | ||||||||
---|---|---|---|---|---|---|---|---|
|
Parameter | ||||||||
---|---|---|---|---|---|---|---|---|
|
Parameter | ||||||||
---|---|---|---|---|---|---|---|---|
|
Manages the security configuration regarding encrypted communication and authentication
Parameter | ||||||
---|---|---|---|---|---|---|
|
Parameter | ||||||||
---|---|---|---|---|---|---|---|---|
|
Parameter | ||||
---|---|---|---|---|
|
Parameter | ||||
---|---|---|---|---|
|
Parameter | ||||||||
---|---|---|---|---|---|---|---|---|
|
Note |
---|
We recommend the use of encryptionKeyFile over the encryptionKey directly in the configuration file. Never use both a the same time |
Tip |
---|
For more details regarding Security on the Saga Server please see Security & Authentication |
Parameter | ||||||
---|---|---|---|---|---|---|
|
Parameter | ||||||||
---|---|---|---|---|---|---|---|---|
|
Parameter | ||||
---|---|---|---|---|
|
Parameter | ||||
---|---|---|---|---|
|
...
...
Manages the export functionality
Parameter | ||||||
---|---|---|---|---|---|---|
|
Parameter | ||||||
---|---|---|---|---|---|---|
|
Parameter | ||||||
---|---|---|---|---|---|---|
|
Defines the location of external libraries and classes
Parameter | ||||||
---|---|---|---|---|---|---|
|
Parameter | ||||||
---|---|---|---|---|---|---|
|
Parameter | ||||||
---|---|---|---|---|---|---|
|
Parameter | ||||||
---|---|---|---|---|---|---|
|
Parameter | ||||
---|---|---|---|---|
|
Parameter | ||||
---|---|---|---|---|
|
Parameter | ||||
---|---|---|---|---|
|
Parameter | ||||
---|---|---|---|---|
|
Parameter | ||||||
---|---|---|---|---|---|---|
|
Parameter | ||||
---|---|---|---|---|
|
Parameter | ||||
---|---|---|---|---|
|
Info |
---|
As explained in the Resources page, a resource provides access to a specific set of resources from a particular storage technology. In order for the Saga to use these providers, we need to specify them in the config file under the providers field. The declaration of each Resource Provider depends of the resource per se; the details of each one can be find here. |
Parameter | ||||||
---|---|---|---|---|---|---|
|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
"logging_provider": {
"name": "saga-logging-provider",
"type": "Elastic",
"nodeUrls": ["http://localhost:9200"],
"timestamp": "updatedAt",
"indexName": "saga",
"encryptionKeyFile" : "./bin/saga.ek",
"authentication": "none",
"caFilePath": "",
"trustAllSSL": false,
"timeout": 90,
"delay": 5,
"retries": 3,
"exclude": [ ]
} |
Parameter | ||||||
---|---|---|---|---|---|---|
|
Parameter | ||||||
---|---|---|---|---|---|---|
|
Parameter | ||||||
---|---|---|---|---|---|---|
|
Parameter | ||||||
---|---|---|---|---|---|---|
|
In addition to change the schema in the 'nodeUrls' parameter in the solutions and providers sections in the config file from 'http' to 'https', you also need to add the Elasticsearch CA certificate to the java keystore using the keytool command.
Something like this:
keytool -importcert -alias elastic_ca -cacerts -storepass changeit -file /tmp/es_ca.crt -noprompt
...
Code Block | ||||
---|---|---|---|---|
| ||||
{ "config": { "apiPort": 8080, "ipAddress"secureApiPort": 443, "host": "0.0.0.0", "security"allow-domains": "localhost", "serverTimeout": 30000, "disableHTTPSSLVerification": {false, "maxRequestPayloadSize": 1000000, "enablecors": false,{ "encryptionKeyallow_origins": [ "SDFW$%GW$S%S# "http://localhost:8080", "encryptionKeyFile": "./bin/saga.ek "https://localhost", "https://login.microsoftonline.com" ], "allow_credentials": "true", "usersallow_methods": [{"*"], "allow_headers": ["*"], "username "expose_headers": ["admin*",] }, "passwordsecurity": { "passwordenable": false, "rolesencryptionKeyFile" : "admin"./bin/saga.ek", }] "inactiveInterval": 600, } "defaultRole": "admin", "libraryJarsusers": [{ "username": "./libadmin", ], "tagManagerpassword": { "notpassword", "resourceroles": "saga-provider:saga_tagsadmin" }], "type": "none", "pipelineManageropenid": { "resourceserverURL": "saga-provider:saga_pipelines"http://localhost:8080", } "clientId": "clientId", "datasetFolderdiscoveryURI": "./datasets"discoveryURI" } }, "ssl": { "enable": false, "keyStore": "./bin/saga.jks", "keyStorePassword": "encrypted:NxepNROIgJ27pYpmKEw30llscPA8zCUpbQW676E7H8Nwo9DMABKQsIYF3fcSxQGGKCe8RrPQ8MV3po8NqHo0G7q7sa6T6yzf1JrTQ5VD0uty0elmrqRuybaAmrEHJ37d" }, "libraryJars": [ "./lib" ], "exportSettings" : { "maxSize" : 40, "batchSize" : 5000 }, "restHandlers": [], "models": [], "uiHandlers": [], "gpt3": { "key": "encrypted:7E7nI0+ofh//r1bFvTQCnY7DQlG6Kh4aA1TQlh44/NoxR0DDzHaeZdBXqYAguEXc" }, "providers": [ { "name": "filesystem-provider", "type": "FileSystem", "baseDir": "./config" }, { "name": "saga-provider", "type": "Elastic", "schemenodeUrls": ["http://localhost:9200"], "hostnametimestamp": "localhostupdatedAt", "portindexName": 9200"saga", "timestampencryptionKeyFile" : "updatedAt./bin/saga.ek", "excludeauthentication": ["none", "updatedAt", "caFilePath": "", "trustAllSSL": false, "timeout": 90, "createdAtdelay": 5, ]"retries": 3, } "exclude": [ ], "solutions": [ } ], "logging_provider": { "displayname": "Sagasaga-logging-provider", "elasticSearchtype": {"Elastic", "schemenodeUrls": ["http://localhost:9200"], "timestamp": "updatedAt", "hostnameindexName": "localhostsaga", "encryptionKeyFile" : "./bin/saga.ek", "portauthentication": 9200"none", "indexNamecaFilePath": "saga", "trustAllSSL": false, "timeout": 3090, "delay": 5, "delayretries": 53, "exclude": [ ] "retries} "gpt3": 3 { "key": "", }"openAIHost": "https://api.openai.com", } "openAIAPIVersion": "v1" ]} } } |