{"action":"opened","issue":{"url":"https://api.github.com/repos/tuub/kitodo-mediaserver/issues/192","repository_url":"https://api.github.com/repos/tuub/kitodo-mediaserver","labels_url":"https://api.github.com/repos/tuub/kitodo-mediaserver/issues/192/labels{/name}","comments_url":"https://api.github.com/repos/tuub/kitodo-mediaserver/issues/192/comments","events_url":"https://api.github.com/repos/tuub/kitodo-mediaserver/issues/192/events","html_url":"https://github.com/tuub/kitodo-mediaserver/issues/192","id":370090372,"node_id":"MDU6SXNzdWUzNzAwOTAzNzI=","number":192,"title":"Health check","user":{"login":"pbroman","id":24228367,"node_id":"MDQ6VXNlcjI0MjI4MzY3","avatar_url":"https://avatars3.githubusercontent.com/u/24228367?v=4","gravatar_id":"","url":"https://api.github.com/users/pbroman","html_url":"https://github.com/pbroman","followers_url":"https://api.github.com/users/pbroman/followers","following_url":"https://api.github.com/users/pbroman/following{/other_user}","gists_url":"https://api.github.com/users/pbroman/gists{/gist_id}","starred_url":"https://api.github.com/users/pbroman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbroman/subscriptions","organizations_url":"https://api.github.com/users/pbroman/orgs","repos_url":"https://api.github.com/users/pbroman/repos","events_url":"https://api.github.com/users/pbroman/events{/privacy}","received_events_url":"https://api.github.com/users/pbroman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"johlton","id":2682391,"node_id":"MDQ6VXNlcjI2ODIzOTE=","avatar_url":"https://avatars1.githubusercontent.com/u/2682391?v=4","gravatar_id":"","url":"https://api.github.com/users/johlton","html_url":"https://github.com/johlton","followers_url":"https://api.github.com/users/johlton/followers","following_url":"https://api.github.com/users/johlton/following{/other_user}","gists_url":"https://api.github.com/users/johlton/gists{/gist_id}","starred_url":"https://api.github.com/users/johlton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johlton/subscriptions","organizations_url":"https://api.github.com/users/johlton/orgs","repos_url":"https://api.github.com/users/johlton/repos","events_url":"https://api.github.com/users/johlton/events{/privacy}","received_events_url":"https://api.github.com/users/johlton/received_events","type":"User","site_admin":false},"assignees":[{"login":"johlton","id":2682391,"node_id":"MDQ6VXNlcjI2ODIzOTE=","avatar_url":"https://avatars1.githubusercontent.com/u/2682391?v=4","gravatar_id":"","url":"https://api.github.com/users/johlton","html_url":"https://github.com/johlton","followers_url":"https://api.github.com/users/johlton/followers","following_url":"https://api.github.com/users/johlton/following{/other_user}","gists_url":"https://api.github.com/users/johlton/gists{/gist_id}","starred_url":"https://api.github.com/users/johlton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johlton/subscriptions","organizations_url":"https://api.github.com/users/johlton/orgs","repos_url":"https://api.github.com/users/johlton/repos","events_url":"https://api.github.com/users/johlton/events{/privacy}","received_events_url":"https://api.github.com/users/johlton/received_events","type":"User","site_admin":false},{"login":"ponchofiesta","id":12248938,"node_id":"MDQ6VXNlcjEyMjQ4OTM4","avatar_url":"https://avatars2.githubusercontent.com/u/12248938?v=4","gravatar_id":"","url":"https://api.github.com/users/ponchofiesta","html_url":"https://github.com/ponchofiesta","followers_url":"https://api.github.com/users/ponchofiesta/followers","following_url":"https://api.github.com/users/ponchofiesta/following{/other_user}","gists_url":"https://api.github.com/users/ponchofiesta/gists{/gist_id}","starred_url":"https://api.github.com/users/ponchofiesta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ponchofiesta/subscriptions","organizations_url":"https://api.github.com/users/ponchofiesta/orgs","repos_url":"https://api.github.com/users/ponchofiesta/repos","events_url":"https://api.github.com/users/ponchofiesta/events{/privacy}","received_events_url":"https://api.github.com/users/ponchofiesta/received_events","type":"User","site_admin":false},{"login":"pbroman","id":24228367,"node_id":"MDQ6VXNlcjI0MjI4MzY3","avatar_url":"https://avatars3.githubusercontent.com/u/24228367?v=4","gravatar_id":"","url":"https://api.github.com/users/pbroman","html_url":"https://github.com/pbroman","followers_url":"https://api.github.com/users/pbroman/followers","following_url":"https://api.github.com/users/pbroman/following{/other_user}","gists_url":"https://api.github.com/users/pbroman/gists{/gist_id}","starred_url":"https://api.github.com/users/pbroman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbroman/subscriptions","organizations_url":"https://api.github.com/users/pbroman/orgs","repos_url":"https://api.github.com/users/pbroman/repos","events_url":"https://api.github.com/users/pbroman/events{/privacy}","received_events_url":"https://api.github.com/users/pbroman/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-10-15T10:08:16Z","updated_at":"2018-10-15T10:08:16Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"It would be nice to have a health check job, running nightly to check the consistency of the system. This ticket is meant to collect aspects to be checkt by such a job. As for starters:\r\n\r\n* All works in the database should have representations in the file system. Since the work path is saved in the database, this should be easy to check. It should only be checked, that the path exists and that the METS xml (named as the work id) is present.\r\n* There should be no unperformed actions in the database older than a configurable amount of days. \r\n\r\nWhat else do you want? Check, that there are no cached file exceeding a certain date (i.e. that the cache delete job is running)? \r\n\r\nThe health check job should in any case be extendable, perhaps simply a list of actions."}}
{"actor":{"display_login":"pbroman"}}