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

Compare with Current View Page History

Version 1 Next »

Step-by-step guide

Step 1. Download Saga Parser

  1. Go to https://repository.searchtechnologies.com/artifactory/public/com/accenture/saga/binaries/1.3.1/
  2. Download Saga_Aspire.zip
  3. Extract the Files

Step 2. Copy the .jar files  to Aspire

  1. Copy bundles folder from the extracted files from Saga_Aspire.zip.
  2. Paste the bundles folder to aspire 4 parent directory 
  3. Verify if app-saga-parser and aspire-saga-parser are properly copied to Aspire 4

      {AspireParentDIR}\bundles\aspire

       


Step 3. Configure the settings.xml of Aspire 5

  1. Go to {AspireParentDIR}\config
  2. Open settings.xml
  3. Add Saga Parser bundle inside "repositories"


bundle
"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

  1. Create config.json

    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
          }
        ]
      }
    }
  2. Paste the created config.json file to {AspireParentDIR}\config\saga
  3. Make sure that the info in config.json are correct.



Step 5. Run Aspire 4

Step 6. Add Saga Parser in the Extension Manager

  1. Go to Tools>Extention Manager
  2. Click New
  3.  Fill out necessary Inputs

           

             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

  1. Saga parser is located under Publisher>Aspire Saga Parser


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








  • No labels