Important
Saga-Parser for Saga version 1.3.1+ only works with Aspire5
If using Aspire4 then you'll need Saga-Parser for Saga version 1.3.0.5-SNAPSHOT which is the latest one.
Step-by-step guide
Step 1. Download Saga Parser
Step 2. Copy the .jar files to Aspire
Step 3. Configure the settings.xml of Aspire 4
<bundleVersions>
<bundle artifactId="app-saga-parser" groupId="com.accenture.aspire" version ="{Saga_Parser_Version}">
<bundle artifactId="aspire-saga-parser" groupId="com.accenture.aspire" version ="{Saga_Parser_Version}">
</bundleVersions>
Step 4. Add Saga Config in Aspire 4
Create config.json
{ "config": { "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", "nodeUrls": ["http://localhost:9200"], "timestamp": "updatedAt", "authentication": "none", "indexName": "saga", "exclude": [ "updatedAt", "createdAt" ], "maxResults": 2000000 } ] } }
Step 5. Run Aspire 4
Step 6. Add Saga Parser to your workflow
Step 7. Configure Saga Parser on Aspire
Config Path : Location of the config.json downloaded earlier
Tags: The tag name the we wanted to use
FLAGS: The Name of the Flags that you wanted to use
Step 8. Save the configuration