You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Saga Core Configuration

  • security ( type=json | optional )
    • encryptionKey ( type=string | optional )
    • encryptionKeyFile ( type=string | optional )
  • libraryJars ( type=string array | optional )
  • tagManager ( type=json | optional )
    • resource ( type=string | optional )
  • pipelineManager ( type=json | optional )
    • resource ( type=string | optional )
  • providers ( type=json | optional )
    • name ( type=string | optional )
    • type ( type=string | optional )
  • solutions ( type=json | optional )


{
  "config": {
    "security": {
      "encryptionKey": "SDFW$%GW$S%S#",
      "encryptionKeyFile": "./bin/saga.ek"
    },
    "libraryJars": [
      "./lib"
    ],
    "tagManager": {
      "resource": "saga-provider:saga_tags"
    },
    "pipelineManager": {
      "resource": "saga-provider:saga_pipelines"
    },
    "providers": [
      {
        "name": "filesystem-provider",
        "type": "FileSystem",
        "baseDir": "./config"
      },
      {
        "name": "saga-provider",
        "type": "Elastic",
        "scheme": "http",
        "hostname": "localhost",
        "port": 9200,
        "timestamp": "updatedAt",
        "exclude": [
          "updatedAt",
          "createdAt"
        ]

      }
    ],
    "solutions": [
      {
        "display": "Saga",
        "elasticSearch": {
          "scheme": "http",
          "hostname": "localhost",
          "port": 9200,
          "indexName": "saga",
          "timeout": 30,
          "delay": 5,
          "retries": 3
        }
      }
    ]
  }
}


Saga Server Configuration

  • apiPort ( type=integer | default=8080 | optional )
  • ipAddress ( type=string | optional )
  • security ( type=json | optional )
    • users ( type=json | optional )
      • username ( type=string | optional )
      • password ( type=string | optional )
      • roles ( type=string array | optional )
  • datasetFolder ( type=string | optional )
  • ssl ( type=string | optional )
    • enable ( type=boolean | default=false | optional )
    • keyStore ( type=string | optional )
    • keyStorePassword ( type=string | optional )
  • exportSettings ( type=json | optional )
    • maxSize ( type=integer | optional )
    • batchSize ( type=integer | optional )
  • restHandlers ( type=string array | optional )
  • models ( type=string array | optional )
  • uiHandlers ( type=string array | optional )
  • gpt3 ( type=string | optional )
    • key ( type=string | optional )


{
  "config": {
    "apiPort": 8080,
    "ipAddress": "0.0.0.0",

    "security": {
      "enable": false,
      "users": [{
        "username": "admin",
        "password": "password",
        "roles": "admin"
      }]
    },
    "datasetFolder": "./datasets",
    "ssl": {
      "enable": false,
      "keyStore": "./bin/saga.jks",
      "keyStorePassword": "encrypted:NxepNROIgJ27pYpmKEw30llscPA8zCUpbQW676E7H8Nwo9DMABKQsIYF3fcSxQGG"
    },
    "exportSettings" : {
      "maxSize" : 40,
      "batchSize" : 5000
    },
    "restHandlers": [],
    "models": [],
    "uiHandlers": [],
    "gpt3": {
      "key": "encrypted:7E7nI0+ofh//r1bFvTQCnY7DQlG6Kh4aA1TQlh44/NoxR0DDzHaeZdBXqYAguEXc"
    }
  }
}
  • No labels