Log of the deployments and changes of the web applications (who, when, what, SHA-256 of the WAR) for the deployment report, and an optional morgue that keeps old WAR versions so that they can be restored.
| Id | deployment-log |
|---|---|
| Role | admin - needed for the page and the REST API (administrators always may) |
| Page | Plugins > Open (overlay with an X at the top right) or /plugins/deployment-log/ |
| REST | /api/plugins/deployment-log/… and, for callers with the role, /plugins/deployment-log/… |
In the administration open Plugins, select the row of this plug-in and press Open. The page opens in an overlay dialog: close it with the X at the top right, with Esc or by clicking outside; Open in a new tab next to the title shows it full size.
| Label | Meaning |
|---|---|
| Size of the morgue (MB) | |
| Archived | Column of a table |
| File | Column of a table |
| Version | Column of a table |
| Size | Column of a table |
| SHA-256 | Column of a table |
| Why | Column of a table |
| Time | Column of a table |
| User | Column of a table |
| Web application | Column of a table |
| What happened | Column of a table |
Records who did what to the web applications of Vibecat, and (optional) keeps the old versions of the WAR files so that one can be activated again.
| Action | When | In the report as a change |
|---|---|---|
| Upload of a WAR | REST POST /api/upload?name=ix.war, the Upload page, plug-ins (ECM web application deployment). Same file name with other content = the old version is replaced. | yes (no, when the content is the same) |
| Create, change, remove a web application | REST, the Web applications page, plug-ins. A change names the fields (source, context path, strategy, enabled … ) with old and new value; for variables only the names, never the values. | yes |
| Another WAR runs | Every deployment compares the SHA-256 of the WAR with the one that ran before. Also when somebody copied a new file into a source folder, or replaced a file while Vibecat was off (checked at the start). | yes |
| Start, stop, deploy again | REST and the Web applications page | no (shown when “Changes only” is off) |
| Restore from the morgue, settings of the plug-in | This plug-in | restore: yes |
Every entry names the user that made the call (the signed-in administration user; with a plug-in as Done by), and the time. Actions of Vibecat itself (the watcher that finds a new WAR, the start) have no user. The log is the file deployments.jsonl in the data folder of the plug-in (plugin-data\deployment-log), one JSON object per line, rotated at 20 MB.
Reports, Deployment report: the log as a list (filter: changes only, text), details of an entry (all changes, checksums) and Export to Excel.
Off by default. Settings on the page of the plug-in: keep old versions and the size (default 1000 MB).
The morgue is part of the plug-in data: a backup with the section Plug-in data includes it (it can be large).
| Call | |
|---|---|
GET /api/plugins/deployment-log/log?changes=1&q=text&limit=500 | The newest entries first |
GET /api/plugins/deployment-log/export.xlsx | The report as Excel |
GET|PUT /api/plugins/deployment-log/settings | {“morgueEnabled”: true, “morgueMaxMb”: 1000} |
GET /api/plugins/deployment-log/morgue | The kept versions |
POST /api/plugins/deployment-log/morgue/restore | {“sha256”: “…”, “webappId”: “optional: also point this web application at it”} |
DELETE /api/plugins/deployment-log/morgue?sha256=… | Delete a version from the morgue |
POST /api/plugins/deployment-log/scan | Compare the WARs now |
The plug-in role is admin.