Plugin to export history changes of weaver-sdk
This plugin needs the excel-microservice
You can run it with docker:
$ docker pull sysunite/excel-microservice
Clone this repository on the root plugins folder in weaver-server.
$ npm install
$ npm run prepublish
To copy the config settings to weaver-server, run on weaver main folder:
$ npm run copyPluginsConfig
With the weaver-sdk
Load the plugin and execute the main endpoint by:
Weaver.Plugin.load('weaver-plugin-history-exporter').then((historyReport) ->
projectId = Weaver.currentProject().projectId
historyReport.reportExcelDumpAll('dumpHistory.xlsx', projectId)
The plugin will answer with the name of the generated xlsx
Copy the tests under test folder to the test folder in weaver-sdk and run it.