system.kanoa.devOps.addAppChange(changeInfo)
Logs any changes made to the application. Gets called from the Gateway Update event script handler
Parameters
changeInfo Dictionary
| - actor | String | Username of person who made the change |
| - comment | String | |
| - project | String | |
| - resources | Dictionary | The resource dictionary holds three lists of project resources: 'added', 'modified' and 'removed' as well as a 'manifestChanged' boolean variable. |
| - taskId | String |
Returns
None
Example
changeInfo = {
'actor': 'jason',
'project': 'kanoaAPP',
'resources': {'manifestChanged': True, 'added': ['resourceType': 'com.inductiveautomation.perspective/views', 'path': 'kanoa\reports\shiftReports']}
'taskId': None,
'comment': None
}
userId = 5
system.kanoa.config.addAppChange(changeInfo, userId)