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

Compare with Current View Page History

« Previous Version 6 Current »

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 4

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

<bundleVersions>

         <bundle artifactId="app-saga-parser" groupId="com.accenture.aspire" version ="{Saga_aspireVersion}">

         <bundle artifactId="aspire-saga-parser" groupId="com.accenture.aspire" version ="{Saga_aspireVersion}">

</bundleVersions>


         

Step 4. Add Saga Config in Aspire 4

  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 to your workflow

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


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



  • No labels