{"action":"created","issue":{"url":"https://api.github.com/repos/infiniteautomation/ma-core-public/issues/997","repository_url":"https://api.github.com/repos/infiniteautomation/ma-core-public","labels_url":"https://api.github.com/repos/infiniteautomation/ma-core-public/issues/997/labels{/name}","comments_url":"https://api.github.com/repos/infiniteautomation/ma-core-public/issues/997/comments","events_url":"https://api.github.com/repos/infiniteautomation/ma-core-public/issues/997/events","html_url":"https://github.com/infiniteautomation/ma-core-public/issues/997","id":225775632,"number":997,"title":"REST end points needed for system settings page","user":{"login":"jazdw","id":3579645,"avatar_url":"https://avatars3.githubusercontent.com/u/3579645?v=3","gravatar_id":"","url":"https://api.github.com/users/jazdw","html_url":"https://github.com/jazdw","followers_url":"https://api.github.com/users/jazdw/followers","following_url":"https://api.github.com/users/jazdw/following{/other_user}","gists_url":"https://api.github.com/users/jazdw/gists{/gist_id}","starred_url":"https://api.github.com/users/jazdw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jazdw/subscriptions","organizations_url":"https://api.github.com/users/jazdw/orgs","repos_url":"https://api.github.com/users/jazdw/repos","events_url":"https://api.github.com/users/jazdw/events{/privacy}","received_events_url":"https://api.github.com/users/jazdw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-05-02T18:08:42Z","updated_at":"2017-05-15T21:13:08Z","closed_at":null,"body":"There are a lot of things on the legacy UI system settings page which are not really system settings per se. This means that we can't read or write to them using the existing /rest/v1/system-settings/ end point.\r\n\r\nSome should probably be moved into a different page altogether e.g. Database size, Filedata size, Total size etc. should live on a system status / information page.\r\n\r\nHere is a list of things on the system settings page I currently can't read/write to:\r\n- Time zone\r\n- Database type\r\n- Database size (including \"Refresh\" button & \"Purge now using purge settings\" button)\r\n- Filedata size\r\n- Total size\r\n- History count\r\n- Top points\r\n- Event count\r\n- All of the \"Virtual serial ports\" section\r\n- All of the Purge buttons\r\n- The excel reports purge buttons\r\n- The reports purge buttons\r\n- Mango REST Api Settings CORS headers (can just ignore this one)\r\n- Backup now button (Config & SQL backup)\r\n- Get backups and restore now button (SQL backup)\r\n\r\nI'm not going to touch the \"Permissions\" section just yet either as I believe this may be subject to change."},"comment":{"url":"https://api.github.com/repos/infiniteautomation/ma-core-public/issues/comments/301606554","html_url":"https://github.com/infiniteautomation/ma-core-public/issues/997#issuecomment-301606554","issue_url":"https://api.github.com/repos/infiniteautomation/ma-core-public/issues/997","id":301606554,"user":{"login":"terrypacker","id":3905204,"avatar_url":"https://avatars2.githubusercontent.com/u/3905204?v=3","gravatar_id":"","url":"https://api.github.com/users/terrypacker","html_url":"https://github.com/terrypacker","followers_url":"https://api.github.com/users/terrypacker/followers","following_url":"https://api.github.com/users/terrypacker/following{/other_user}","gists_url":"https://api.github.com/users/terrypacker/gists{/gist_id}","starred_url":"https://api.github.com/users/terrypacker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terrypacker/subscriptions","organizations_url":"https://api.github.com/users/terrypacker/orgs","repos_url":"https://api.github.com/users/terrypacker/repos","events_url":"https://api.github.com/users/terrypacker/events{/privacy}","received_events_url":"https://api.github.com/users/terrypacker/received_events","type":"User","site_admin":false},"created_at":"2017-05-15T21:13:08Z","updated_at":"2017-05-15T21:13:08Z","body":"List of All Read Only Settings\r\n- [ ] Reports NoSQL database size\r\n- [ ] Excel Reports File Size\r\n- [ ] Excel Reports File Count\r\n- [x] SQL Database size\r\n- [x] SQL Database Type\r\n- [x] Filedata Count\r\n- [x] Filedata Size\r\n- [x] Timezone\r\n- [x] History Count\r\n- [x] Top Points\r\n- [x] Events Count\r\n\r\n\r\nList of All Actions that need to be implemented:\r\n\r\n- [ ] Purge all point values\r\n- [ ] Purge all events\r\n- [ ] Purge using purge settings\r\n- [ ] Reload Log4J Configuration\r\n- [ ] Test Log4J debug, info, warn, error, fatal messages\r\n- [ ] Backup Configuration Now\r\n- [ ] Backup SQL Now\r\n- [ ] Restore SQL Now\r\n- [ ] Get SQL Backup List\r\n- [ ] System Event Types Updated\r\n- [ ] Audit Event Types Updated\r\n\r\nList of Extra Features/Endpoints\r\n- [ ] JSON File Upload\r\n- [ ] JSON File Check Path Exists\r\n- [ ] MangoES Reboot\r\n- [ ] MangoES Set Hostname\r\n- [ ] MangoES Set Timezone\r\n- [ ] MangoES Set Interface\r\n- [ ] MangoES Shutdown? (DWR Stop method)\r\n- [ ] CRUD for Virtua Serial Ports\r\n"}}
{"actor":{"display_login":"terrypacker"}}