{"action":"created","comment":{"url":"https://api.github.com/repos/LIS/lis-pipeline/pulls/comments/186389132","pull_request_review_id":117955520,"id":186389132,"diff_hunk":"@@ -0,0 +1,94 @@\n+#!/bin/bash\n+\n+set -xe\n+\n+HTML_REP_SCRIPT=\"$(pwd)/scripts/comparison/html_parser.py\"\n+MANUAL_PARSER=\"$(pwd)/lis-test/WS2012R2/lisa/Infrastructure/lisa-parser/lisa_parser/manual_parser.py\"\n+\n+parse_logs() {\n+    base_logs=\"$1\"\n+    comp_logs=\"$2\"\n+    metadata=\"$3\"\n+    test_type=\"$4\"\n+    \n+    if [[ \"$test_type\" == \"\" ]];then\n+        test_type=\"functional\"\n+    fi\n+    \n+    python2 \"${MANUAL_PARSER}\" --logs_path \"$base_logs\" \\\n+        --test_type \"$test_type\" \\\n+        --output \"./Patched.csv\"\n+    parser_parameters=\"--test_results ./Patched.csv\"\n+    if [[ \"$comp_logs\" != \"\" ]];then\n+        python2 \"${MANUAL_PARSER}\" --logs_path \"$comp_logs\" \\\n+            --test_type \"$test_type\" \\\n+            --output \"./Unpatched.csv\"\n+            parser_parameters+=\" --comparison_results ./Unpatched.csv\"\n+    fi\n+    \n+    if [[ \"$metadata\" != \"\" ]];then\n+        parser_parameters+=\" --metadata ${metadata}\"\n+    fi\n+    if [[ \"$test_type\" != \"\" ]];then\n+        parser_parameters+=\" --test_type ${test_type}\"\n+    fi\n+    \n+    python3 \"$HTML_REP_SCRIPT\" $parser_parameters --output results.html\n+}\n+\n+main() {\n+    WORKDIR=\"$(pwd)\"","path":"scripts/comparison/create_report.sh","position":40,"original_position":40,"commit_id":"b04592490db97cf068cdd553580720232464ad98","original_commit_id":"b04592490db97cf068cdd553580720232464ad98","user":{"login":"ader1990","id":1412442,"avatar_url":"https://avatars2.githubusercontent.com/u/1412442?v=4","gravatar_id":"","url":"https://api.github.com/users/ader1990","html_url":"https://github.com/ader1990","followers_url":"https://api.github.com/users/ader1990/followers","following_url":"https://api.github.com/users/ader1990/following{/other_user}","gists_url":"https://api.github.com/users/ader1990/gists{/gist_id}","starred_url":"https://api.github.com/users/ader1990/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ader1990/subscriptions","organizations_url":"https://api.github.com/users/ader1990/orgs","repos_url":"https://api.github.com/users/ader1990/repos","events_url":"https://api.github.com/users/ader1990/events{/privacy}","received_events_url":"https://api.github.com/users/ader1990/received_events","type":"User","site_admin":false},"body":"ditto","created_at":"2018-05-07T10:50:06Z","updated_at":"2018-05-07T10:52:47Z","html_url":"https://github.com/LIS/lis-pipeline/pull/233#discussion_r186389132","pull_request_url":"https://api.github.com/repos/LIS/lis-pipeline/pulls/233","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/LIS/lis-pipeline/pulls/comments/186389132"},"html":{"href":"https://github.com/LIS/lis-pipeline/pull/233#discussion_r186389132"},"pull_request":{"href":"https://api.github.com/repos/LIS/lis-pipeline/pulls/233"}}},"pull_request":{"url":"https://api.github.com/repos/LIS/lis-pipeline/pulls/233","id":185416543,"html_url":"https://github.com/LIS/lis-pipeline/pull/233","diff_url":"https://github.com/LIS/lis-pipeline/pull/233.diff","patch_url":"https://github.com/LIS/lis-pipeline/pull/233.patch","issue_url":"https://api.github.com/repos/LIS/lis-pipeline/issues/233","number":233,"state":"open","locked":false,"title":"[comparison] Bug fixes and parse script refactor","user":{"login":"mbivolan","id":30174925,"avatar_url":"https://avatars1.githubusercontent.com/u/30174925?v=4","gravatar_id":"","url":"https://api.github.com/users/mbivolan","html_url":"https://github.com/mbivolan","followers_url":"https://api.github.com/users/mbivolan/followers","following_url":"https://api.github.com/users/mbivolan/following{/other_user}","gists_url":"https://api.github.com/users/mbivolan/gists{/gist_id}","starred_url":"https://api.github.com/users/mbivolan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbivolan/subscriptions","organizations_url":"https://api.github.com/users/mbivolan/orgs","repos_url":"https://api.github.com/users/mbivolan/repos","events_url":"https://api.github.com/users/mbivolan/events{/privacy}","received_events_url":"https://api.github.com/users/mbivolan/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-05-02T12:00:03Z","updated_at":"2018-05-07T10:52:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"939f70b66ee494d72ea5dcacc4fd581282345f2e","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/LIS/lis-pipeline/pulls/233/commits","review_comments_url":"https://api.github.com/repos/LIS/lis-pipeline/pulls/233/comments","review_comment_url":"https://api.github.com/repos/LIS/lis-pipeline/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LIS/lis-pipeline/issues/233/comments","statuses_url":"https://api.github.com/repos/LIS/lis-pipeline/statuses/b04592490db97cf068cdd553580720232464ad98","head":{"label":"mbivolan:comparison","ref":"comparison","sha":"b04592490db97cf068cdd553580720232464ad98","user":{"login":"mbivolan","id":30174925,"avatar_url":"https://avatars1.githubusercontent.com/u/30174925?v=4","gravatar_id":"","url":"https://api.github.com/users/mbivolan","html_url":"https://github.com/mbivolan","followers_url":"https://api.github.com/users/mbivolan/followers","following_url":"https://api.github.com/users/mbivolan/following{/other_user}","gists_url":"https://api.github.com/users/mbivolan/gists{/gist_id}","starred_url":"https://api.github.com/users/mbivolan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbivolan/subscriptions","organizations_url":"https://api.github.com/users/mbivolan/orgs","repos_url":"https://api.github.com/users/mbivolan/repos","events_url":"https://api.github.com/users/mbivolan/events{/privacy}","received_events_url":"https://api.github.com/users/mbivolan/received_events","type":"User","site_admin":false},"repo":{"id":103819690,"name":"lis-pipeline","full_name":"mbivolan/lis-pipeline","owner":{"login":"mbivolan","id":30174925,"avatar_url":"https://avatars1.githubusercontent.com/u/30174925?v=4","gravatar_id":"","url":"https://api.github.com/users/mbivolan","html_url":"https://github.com/mbivolan","followers_url":"https://api.github.com/users/mbivolan/followers","following_url":"https://api.github.com/users/mbivolan/following{/other_user}","gists_url":"https://api.github.com/users/mbivolan/gists{/gist_id}","starred_url":"https://api.github.com/users/mbivolan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbivolan/subscriptions","organizations_url":"https://api.github.com/users/mbivolan/orgs","repos_url":"https://api.github.com/users/mbivolan/repos","events_url":"https://api.github.com/users/mbivolan/events{/privacy}","received_events_url":"https://api.github.com/users/mbivolan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mbivolan/lis-pipeline","description":null,"fork":true,"url":"https://api.github.com/repos/mbivolan/lis-pipeline","forks_url":"https://api.github.com/repos/mbivolan/lis-pipeline/forks","keys_url":"https://api.github.com/repos/mbivolan/lis-pipeline/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mbivolan/lis-pipeline/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mbivolan/lis-pipeline/teams","hooks_url":"https://api.github.com/repos/mbivolan/lis-pipeline/hooks","issue_events_url":"https://api.github.com/repos/mbivolan/lis-pipeline/issues/events{/number}","events_url":"https://api.github.com/repos/mbivolan/lis-pipeline/events","assignees_url":"https://api.github.com/repos/mbivolan/lis-pipeline/assignees{/user}","branches_url":"https://api.github.com/repos/mbivolan/lis-pipeline/branches{/branch}","tags_url":"https://api.github.com/repos/mbivolan/lis-pipeline/tags","blobs_url":"https://api.github.com/repos/mbivolan/lis-pipeline/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mbivolan/lis-pipeline/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mbivolan/lis-pipeline/git/refs{/sha}","trees_url":"https://api.github.com/repos/mbivolan/lis-pipeline/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mbivolan/lis-pipeline/statuses/{sha}","languages_url":"https://api.github.com/repos/mbivolan/lis-pipeline/languages","stargazers_url":"https://api.github.com/repos/mbivolan/lis-pipeline/stargazers","contributors_url":"https://api.github.com/repos/mbivolan/lis-pipeline/contributors","subscribers_url":"https://api.github.com/repos/mbivolan/lis-pipeline/subscribers","subscription_url":"https://api.github.com/repos/mbivolan/lis-pipeline/subscription","commits_url":"https://api.github.com/repos/mbivolan/lis-pipeline/commits{/sha}","git_commits_url":"https://api.github.com/repos/mbivolan/lis-pipeline/git/commits{/sha}","comments_url":"https://api.github.com/repos/mbivolan/lis-pipeline/comments{/number}","issue_comment_url":"https://api.github.com/repos/mbivolan/lis-pipeline/issues/comments{/number}","contents_url":"https://api.github.com/repos/mbivolan/lis-pipeline/contents/{+path}","compare_url":"https://api.github.com/repos/mbivolan/lis-pipeline/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mbivolan/lis-pipeline/merges","archive_url":"https://api.github.com/repos/mbivolan/lis-pipeline/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mbivolan/lis-pipeline/downloads","issues_url":"https://api.github.com/repos/mbivolan/lis-pipeline/issues{/number}","pulls_url":"https://api.github.com/repos/mbivolan/lis-pipeline/pulls{/number}","milestones_url":"https://api.github.com/repos/mbivolan/lis-pipeline/milestones{/number}","notifications_url":"https://api.github.com/repos/mbivolan/lis-pipeline/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mbivolan/lis-pipeline/labels{/name}","releases_url":"https://api.github.com/repos/mbivolan/lis-pipeline/releases{/id}","deployments_url":"https://api.github.com/repos/mbivolan/lis-pipeline/deployments","created_at":"2017-09-17T10:10:16Z","updated_at":"2018-03-26T21:05:17Z","pushed_at":"2018-05-07T09:47:59Z","git_url":"git://github.com/mbivolan/lis-pipeline.git","ssh_url":"git@github.com:mbivolan/lis-pipeline.git","clone_url":"https://github.com/mbivolan/lis-pipeline.git","svn_url":"https://github.com/mbivolan/lis-pipeline","homepage":null,"size":773,"stargazers_count":0,"watchers_count":0,"language":"PowerShell","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"LIS:master","ref":"master","sha":"6fe6786c5b83ed582160a1c1557366aeb970ac6e","user":{"login":"LIS","id":930970,"avatar_url":"https://avatars3.githubusercontent.com/u/930970?v=4","gravatar_id":"","url":"https://api.github.com/users/LIS","html_url":"https://github.com/LIS","followers_url":"https://api.github.com/users/LIS/followers","following_url":"https://api.github.com/users/LIS/following{/other_user}","gists_url":"https://api.github.com/users/LIS/gists{/gist_id}","starred_url":"https://api.github.com/users/LIS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LIS/subscriptions","organizations_url":"https://api.github.com/users/LIS/orgs","repos_url":"https://api.github.com/users/LIS/repos","events_url":"https://api.github.com/users/LIS/events{/privacy}","received_events_url":"https://api.github.com/users/LIS/received_events","type":"Organization","site_admin":false},"repo":{"id":102788297,"name":"lis-pipeline","full_name":"LIS/lis-pipeline","owner":{"login":"LIS","id":930970,"avatar_url":"https://avatars3.githubusercontent.com/u/930970?v=4","gravatar_id":"","url":"https://api.github.com/users/LIS","html_url":"https://github.com/LIS","followers_url":"https://api.github.com/users/LIS/followers","following_url":"https://api.github.com/users/LIS/following{/other_user}","gists_url":"https://api.github.com/users/LIS/gists{/gist_id}","starred_url":"https://api.github.com/users/LIS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LIS/subscriptions","organizations_url":"https://api.github.com/users/LIS/orgs","repos_url":"https://api.github.com/users/LIS/repos","events_url":"https://api.github.com/users/LIS/events{/privacy}","received_events_url":"https://api.github.com/users/LIS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LIS/lis-pipeline","description":null,"fork":false,"url":"https://api.github.com/repos/LIS/lis-pipeline","forks_url":"https://api.github.com/repos/LIS/lis-pipeline/forks","keys_url":"https://api.github.com/repos/LIS/lis-pipeline/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LIS/lis-pipeline/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LIS/lis-pipeline/teams","hooks_url":"https://api.github.com/repos/LIS/lis-pipeline/hooks","issue_events_url":"https://api.github.com/repos/LIS/lis-pipeline/issues/events{/number}","events_url":"https://api.github.com/repos/LIS/lis-pipeline/events","assignees_url":"https://api.github.com/repos/LIS/lis-pipeline/assignees{/user}","branches_url":"https://api.github.com/repos/LIS/lis-pipeline/branches{/branch}","tags_url":"https://api.github.com/repos/LIS/lis-pipeline/tags","blobs_url":"https://api.github.com/repos/LIS/lis-pipeline/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LIS/lis-pipeline/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LIS/lis-pipeline/git/refs{/sha}","trees_url":"https://api.github.com/repos/LIS/lis-pipeline/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LIS/lis-pipeline/statuses/{sha}","languages_url":"https://api.github.com/repos/LIS/lis-pipeline/languages","stargazers_url":"https://api.github.com/repos/LIS/lis-pipeline/stargazers","contributors_url":"https://api.github.com/repos/LIS/lis-pipeline/contributors","subscribers_url":"https://api.github.com/repos/LIS/lis-pipeline/subscribers","subscription_url":"https://api.github.com/repos/LIS/lis-pipeline/subscription","commits_url":"https://api.github.com/repos/LIS/lis-pipeline/commits{/sha}","git_commits_url":"https://api.github.com/repos/LIS/lis-pipeline/git/commits{/sha}","comments_url":"https://api.github.com/repos/LIS/lis-pipeline/comments{/number}","issue_comment_url":"https://api.github.com/repos/LIS/lis-pipeline/issues/comments{/number}","contents_url":"https://api.github.com/repos/LIS/lis-pipeline/contents/{+path}","compare_url":"https://api.github.com/repos/LIS/lis-pipeline/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LIS/lis-pipeline/merges","archive_url":"https://api.github.com/repos/LIS/lis-pipeline/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LIS/lis-pipeline/downloads","issues_url":"https://api.github.com/repos/LIS/lis-pipeline/issues{/number}","pulls_url":"https://api.github.com/repos/LIS/lis-pipeline/pulls{/number}","milestones_url":"https://api.github.com/repos/LIS/lis-pipeline/milestones{/number}","notifications_url":"https://api.github.com/repos/LIS/lis-pipeline/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LIS/lis-pipeline/labels{/name}","releases_url":"https://api.github.com/repos/LIS/lis-pipeline/releases{/id}","deployments_url":"https://api.github.com/repos/LIS/lis-pipeline/deployments","created_at":"2017-09-07T21:41:07Z","updated_at":"2018-05-03T15:12:48Z","pushed_at":"2018-05-07T10:17:28Z","git_url":"git://github.com/LIS/lis-pipeline.git","ssh_url":"git@github.com:LIS/lis-pipeline.git","clone_url":"https://github.com/LIS/lis-pipeline.git","svn_url":"https://github.com/LIS/lis-pipeline","homepage":null,"size":727,"stargazers_count":1,"watchers_count":1,"language":"PowerShell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"archived":false,"open_issues_count":5,"license":null,"forks":13,"open_issues":5,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LIS/lis-pipeline/pulls/233"},"html":{"href":"https://github.com/LIS/lis-pipeline/pull/233"},"issue":{"href":"https://api.github.com/repos/LIS/lis-pipeline/issues/233"},"comments":{"href":"https://api.github.com/repos/LIS/lis-pipeline/issues/233/comments"},"review_comments":{"href":"https://api.github.com/repos/LIS/lis-pipeline/pulls/233/comments"},"review_comment":{"href":"https://api.github.com/repos/LIS/lis-pipeline/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LIS/lis-pipeline/pulls/233/commits"},"statuses":{"href":"https://api.github.com/repos/LIS/lis-pipeline/statuses/b04592490db97cf068cdd553580720232464ad98"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"ader1990"}}