Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Anchor
top1
top1


Tip

Check the various properties present in config.json file on this page


Panel

Table of Contents

Sample config.json file


Expand
titleClick here to expand sample config.json


Panel

{

"mqConfig": {

"user": "iSight",
"password": "iSight",
"host": "127.0.0.1",
"exchange": "iSight",
"agentControlXchg": "iAgent"
},

"subscribe": {

"config": "SCM.GIT.config"
},

"publish": {

"data": "SCM.GIT.DATA",
"health": "SCM.GIT.HEALTH"
},

"communication": {

"type": "REST"
},

"dynamicTemplate": {

"responseTemplate": {

"sha": "commitId",

"commit": {

"author": {

"name": "authorName",
"date": "commitTime"

}

}

}

},

"enableBranches": false,
"toolCategory": "SCM",
"toolsTimeZone": "GMT",
"insightsTimeZone": "Asia/Kolkata",
"useResponseTemplate": true,
"auth": "base64",
"runSchedule": 30,
"timeStampField": "commitTime",
"timeStampFormat": "%Y-%m-%dT%H:%M:%SZ",
"startFrom": "2016-10-10 15:46:33",
"accessToken": "accesstoken",
"getRepos": "https://api.github.com/users/<USER_NAME>/repos",
"commitsBaseEndPoint": "https://api.github.com/repos/<REPO_NAME>/",
"isDebugAllowed": false,
"loggingSetting": {

"logLevel": "WARN"
}

}



Description of the properties in config.json file


Panel


PropertyDescription

"mqConfig": {

"user": "iSight",
"password": "iSight",
"host": "127.0.0.1",
"exchange": "iSight",
"agentControlXchg": "iAgent"
},

  • mqConfig - It contains the configuration used to setup and access RabbitMQ.
    • user - It is the username for RabbitMQ authentication.
    • password - It is the corresponding password for RabbitMQ authentication.
    • host - It is the host location name where RabbitMQ is hosted.
    • exchange It is the channel where agent related data exchanges will take place.
    • agentControlXchg It is the channel where control of agent related data information will take place.






































Top Section