Versions Compared

Key

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

...

Saga Server is a JavaSpark server, implementing Saga Library and other tools, as an out-of-the-box question answer system. fully integrated with Saga Admin UI.

Image Added

Starting the Server

Starting the server is quite easy and can be done with this 2 options:

With built-in configuration (Saga UI compatible)

This execution means using the embedded configuration inside the server which expects a MongoDB called "sagaDB" with the collections and the formats expected from Saga Admin UI.

Code Block
languagetext
themeMidnight
java -jar -Dfile.encoding=UTF-8 saga-server-parser-0.0.1-SNAPSHOT.jar

With custom configuration and pipeline

This execution requires for a config.js and a pipelines.json file to be passed as parameters of the application, we recommend to overwrite the files within the jar of the server, in order to use and preserve the Saga Admin UI format of the database.

Code Block
languagetext
themeMidnight
java -jar -Dfile.encoding=UTF-8 saga-server-parser-0.0.1-SNAPSHOT.jar config.json pipelines.json

...