Step 1. Download Saga Parser
Step 2. Copy the .jar files to Aspire
{AspireParentDIR}\bundles\aspire
Step 3. Configure the settings.xml of Aspire 5
"bundleVersions": { "bundle": [ { "@artifactId": "app-subjob-organization", "@groupId": "com.accenture.orga.aspire", "@version": "5.0.2" }, { "@artifactId": "aspire-subjob-organization", "@groupId": "com.accenture.orga.aspire", "@version": "5.0.2" } ] }
Step 4. Add Saga Config in Aspire 5
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 5
Step 6. Add Saga Parser in the Extension Manager
Type name - Name of the Extension
Extension type - Choose application
Maven Coordinates - com.accenture.aspire:app-saga-parser:{Saga Parser Version}
Step 7. Add Saga Parser to your workflow
Step 8. 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 9. Save the configuration