{"action":"created","issue":{"url":"https://api.github.com/repos/halestudio/hale/issues/452","repository_url":"https://api.github.com/repos/halestudio/hale","labels_url":"https://api.github.com/repos/halestudio/hale/issues/452/labels{/name}","comments_url":"https://api.github.com/repos/halestudio/hale/issues/452/comments","events_url":"https://api.github.com/repos/halestudio/hale/issues/452/events","html_url":"https://github.com/halestudio/hale/issues/452","id":260889894,"number":452,"title":"Basic transformation summary and custom fail conditions","user":{"login":"stempler","id":375475,"avatar_url":"https://avatars2.githubusercontent.com/u/375475?v=4","gravatar_id":"","url":"https://api.github.com/users/stempler","html_url":"https://github.com/stempler","followers_url":"https://api.github.com/users/stempler/followers","following_url":"https://api.github.com/users/stempler/following{/other_user}","gists_url":"https://api.github.com/users/stempler/gists{/gist_id}","starred_url":"https://api.github.com/users/stempler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stempler/subscriptions","organizations_url":"https://api.github.com/users/stempler/orgs","repos_url":"https://api.github.com/users/stempler/repos","events_url":"https://api.github.com/users/stempler/events{/privacy}","received_events_url":"https://api.github.com/users/stempler/received_events","type":"User","site_admin":false},"labels":[{"id":406212244,"url":"https://api.github.com/repos/halestudio/hale/labels/core","name":"core","color":"BFD4F2","default":false},{"id":406212245,"url":"https://api.github.com/repos/halestudio/hale/labels/feature","name":"feature","color":"91CA55","default":false},{"id":416288123,"url":"https://api.github.com/repos/halestudio/hale/labels/hale-support","name":"hale-support","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":{"login":"florianesser","id":1867607,"avatar_url":"https://avatars2.githubusercontent.com/u/1867607?v=4","gravatar_id":"","url":"https://api.github.com/users/florianesser","html_url":"https://github.com/florianesser","followers_url":"https://api.github.com/users/florianesser/followers","following_url":"https://api.github.com/users/florianesser/following{/other_user}","gists_url":"https://api.github.com/users/florianesser/gists{/gist_id}","starred_url":"https://api.github.com/users/florianesser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/florianesser/subscriptions","organizations_url":"https://api.github.com/users/florianesser/orgs","repos_url":"https://api.github.com/users/florianesser/repos","events_url":"https://api.github.com/users/florianesser/events{/privacy}","received_events_url":"https://api.github.com/users/florianesser/received_events","type":"User","site_admin":false},"assignees":[{"login":"florianesser","id":1867607,"avatar_url":"https://avatars2.githubusercontent.com/u/1867607?v=4","gravatar_id":"","url":"https://api.github.com/users/florianesser","html_url":"https://github.com/florianesser","followers_url":"https://api.github.com/users/florianesser/followers","following_url":"https://api.github.com/users/florianesser/following{/other_user}","gists_url":"https://api.github.com/users/florianesser/gists{/gist_id}","starred_url":"https://api.github.com/users/florianesser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/florianesser/subscriptions","organizations_url":"https://api.github.com/users/florianesser/orgs","repos_url":"https://api.github.com/users/florianesser/repos","events_url":"https://api.github.com/users/florianesser/events{/privacy}","received_events_url":"https://api.github.com/users/florianesser/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/halestudio/hale/milestones/4","html_url":"https://github.com/halestudio/hale/milestone/4","labels_url":"https://api.github.com/repos/halestudio/hale/milestones/4/labels","id":2055491,"number":4,"title":"3.4.0","description":"","creator":{"login":"thorsten-reitz","id":3470356,"avatar_url":"https://avatars3.githubusercontent.com/u/3470356?v=4","gravatar_id":"","url":"https://api.github.com/users/thorsten-reitz","html_url":"https://github.com/thorsten-reitz","followers_url":"https://api.github.com/users/thorsten-reitz/followers","following_url":"https://api.github.com/users/thorsten-reitz/following{/other_user}","gists_url":"https://api.github.com/users/thorsten-reitz/gists{/gist_id}","starred_url":"https://api.github.com/users/thorsten-reitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thorsten-reitz/subscriptions","organizations_url":"https://api.github.com/users/thorsten-reitz/orgs","repos_url":"https://api.github.com/users/thorsten-reitz/repos","events_url":"https://api.github.com/users/thorsten-reitz/events{/privacy}","received_events_url":"https://api.github.com/users/thorsten-reitz/received_events","type":"User","site_admin":false},"open_issues":16,"closed_issues":3,"state":"open","created_at":"2016-10-07T17:58:02Z","updated_at":"2018-02-14T15:00:09Z","due_on":"2018-03-30T07:00:00Z","closed_at":null},"comments":4,"created_at":"2017-09-27T08:32:18Z","updated_at":"2018-02-17T21:26:12Z","closed_at":null,"author_association":"OWNER","body":"The goal here is to be enable a user to specify under what conditions a transformation is successful, and allow him to easily evaluate if it was successful under these conditions or not.\r\n\r\nThe idea is to add support for a transformation summary, that collects information from the reports and possibly other sources to provide that in a way that can be easily processed. The suggestion would be to use a structure that is compatible to JSON, to enable easy use outside the scope of hale studio.\r\n\r\nIn the first implementation the summary should contain information that we can easily access, e.g. the information from reports, which actions were run, if there were errors, warnings, etc.\r\nLater it could be extended with additional information that can be used to analyse the transformation.\r\n\r\nFor specifying the success/failure conditions the idea is that the user can provide a file that states these conditions and relates to the transformation summary.\r\nWhen the transformation is executed via the command line interface, the exit code should represent the result according to the success conditions.\r\n\r\nIn the process of this issue it seems also sensible to extend the report API with the notion of a task identifier added to a report, to better be able to identify specific reports.\r\n\r\nThis is a (not necessarily complete) list of tasks:\r\n\r\n- [ ] Add task identifier to reports\r\n- [ ] Add transformation summary API (maybe best to keep it generic, as there is also potential to use that for instance for CLI commands other than the transformation)\r\n- [ ] Add report information to transformation summary\r\n- [ ] Define how success conditions should be provided\r\n- [ ] Add support for evaluating success conditions\r\n- [ ] Add information about total number of instances created in the transformation to the summary"},"comment":{"url":"https://api.github.com/repos/halestudio/hale/issues/comments/366472644","html_url":"https://github.com/halestudio/hale/issues/452#issuecomment-366472644","issue_url":"https://api.github.com/repos/halestudio/hale/issues/452","id":366472644,"user":{"login":"stempler","id":375475,"avatar_url":"https://avatars2.githubusercontent.com/u/375475?v=4","gravatar_id":"","url":"https://api.github.com/users/stempler","html_url":"https://github.com/stempler","followers_url":"https://api.github.com/users/stempler/followers","following_url":"https://api.github.com/users/stempler/following{/other_user}","gists_url":"https://api.github.com/users/stempler/gists{/gist_id}","starred_url":"https://api.github.com/users/stempler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stempler/subscriptions","organizations_url":"https://api.github.com/users/stempler/orgs","repos_url":"https://api.github.com/users/stempler/repos","events_url":"https://api.github.com/users/stempler/events{/privacy}","received_events_url":"https://api.github.com/users/stempler/received_events","type":"User","site_admin":false},"created_at":"2018-02-17T21:26:12Z","updated_at":"2018-02-17T21:26:12Z","author_association":"OWNER","body":"Some work on this ongoing here:\r\nhttps://github.com/stempler/hale/tree/feature/report-stats"}}
{"actor":{"display_login":"stempler"}}