Skip to end of metadata
Go to start of metadata

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

Compare with Current View Page History

« Previous Version 16 Next »

Understand and learn how to setup new agent environment on this page.

On this page


Extend Base Agent


  • Extend Base Agent.py file present in the agent directory.

Define config.json file


  • Property names in config.json must follow camelcase format.
  • Every config.json must have property "toolCategory"  with appropriate value in CAPITAL letters. For Example - "toolCategory" : "ALM".
  • All complex JSON Objects must be kept under property name "dynamicTemplate". For example, Arrays, Properties having sub-properties as a JSON Object.
  • "responseTemplate" shall always be part of the dynamicTemplate, to capture the response from the external tool.

    The below dynamicTemplate example is for GitHub.

    Dynamic Template Format

    "dynamicTemplate": {
         "responseTemplate": {
              "sha": "commitId",
               "commit": {
                   "author": {
                         "name": "authorName",
                         "date": "commitTime"
                           }
                   }
               }
     }

Update installagent.sh file


  • Update "installagent.sh" file if the OS is other than Linux or Ubuntu.
  • No labels