{"action":"created","comment":{"url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/pulls/comments/204995214","pull_request_review_id":140174186,"id":204995214,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNDk5NTIxNA==","diff_hunk":"@@ -0,0 +1,56 @@\n+package com.dynatrace.loadrunner;\n+\n+import java.util.HashMap;\n+import java.util.Map;\n+\n+import org.apache.commons.lang3.StringUtils;\n+\n+public class CommandLineParser {\n+\n+\tfinal public Map<String, String> arguments;\n+\n+\tpublic CommandLineParser(String[] args) {\n+\n+\t\targuments = new HashMap<>();\n+\n+\t\tfor (int i = 0; i < args.length; i++) {\n+\t\t\tString key = null;\n+\t\t\tif (args[i].startsWith(\"-\")) {\n+\t\t\t\tkey = args[i].substring(1);","path":"src/main/java/com/dynatrace/loadrunner/CommandLineParser.java","position":19,"original_position":19,"commit_id":"c0013bc4746651c511375d589650feb5a04018f3","original_commit_id":"c0013bc4746651c511375d589650feb5a04018f3","user":{"login":"dglugla","id":3448216,"node_id":"MDQ6VXNlcjM0NDgyMTY=","avatar_url":"https://avatars1.githubusercontent.com/u/3448216?v=4","gravatar_id":"","url":"https://api.github.com/users/dglugla","html_url":"https://github.com/dglugla","followers_url":"https://api.github.com/users/dglugla/followers","following_url":"https://api.github.com/users/dglugla/following{/other_user}","gists_url":"https://api.github.com/users/dglugla/gists{/gist_id}","starred_url":"https://api.github.com/users/dglugla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dglugla/subscriptions","organizations_url":"https://api.github.com/users/dglugla/orgs","repos_url":"https://api.github.com/users/dglugla/repos","events_url":"https://api.github.com/users/dglugla/events{/privacy}","received_events_url":"https://api.github.com/users/dglugla/received_events","type":"User","site_admin":false},"body":"shouldn't we already check if the `key` is valid and throw IllArgExc in case it's not?","created_at":"2018-07-25T06:37:12Z","updated_at":"2018-07-25T06:57:21Z","html_url":"https://github.com/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/pull/1#discussion_r204995214","pull_request_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/pulls/1","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/pulls/comments/204995214"},"html":{"href":"https://github.com/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/pull/1#discussion_r204995214"},"pull_request":{"href":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/pulls/1","id":202536624,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAyNTM2NjI0","html_url":"https://github.com/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/pull/1","diff_url":"https://github.com/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/pull/1.diff","patch_url":"https://github.com/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/pull/1.patch","issue_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/issues/1","number":1,"state":"open","locked":false,"title":"Pull Request - Mateusz Kaminski","user":{"login":"mateuszkam","id":41290923,"node_id":"MDQ6VXNlcjQxMjkwOTIz","avatar_url":"https://avatars1.githubusercontent.com/u/41290923?v=4","gravatar_id":"","url":"https://api.github.com/users/mateuszkam","html_url":"https://github.com/mateuszkam","followers_url":"https://api.github.com/users/mateuszkam/followers","following_url":"https://api.github.com/users/mateuszkam/following{/other_user}","gists_url":"https://api.github.com/users/mateuszkam/gists{/gist_id}","starred_url":"https://api.github.com/users/mateuszkam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mateuszkam/subscriptions","organizations_url":"https://api.github.com/users/mateuszkam/orgs","repos_url":"https://api.github.com/users/mateuszkam/repos","events_url":"https://api.github.com/users/mateuszkam/events{/privacy}","received_events_url":"https://api.github.com/users/mateuszkam/received_events","type":"User","site_admin":false},"body":"Updating repository with current code.","created_at":"2018-07-19T12:02:18Z","updated_at":"2018-07-25T06:57:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"da8ad759a26f0a53ec4ba97c6b7f8f683bbf550a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/issues/1/comments","statuses_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/statuses/c0013bc4746651c511375d589650feb5a04018f3","head":{"label":"Dynatrace:patch-1","ref":"patch-1","sha":"c0013bc4746651c511375d589650feb5a04018f3","user":{"login":"Dynatrace","id":6412311,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY0MTIzMTE=","avatar_url":"https://avatars0.githubusercontent.com/u/6412311?v=4","gravatar_id":"","url":"https://api.github.com/users/Dynatrace","html_url":"https://github.com/Dynatrace","followers_url":"https://api.github.com/users/Dynatrace/followers","following_url":"https://api.github.com/users/Dynatrace/following{/other_user}","gists_url":"https://api.github.com/users/Dynatrace/gists{/gist_id}","starred_url":"https://api.github.com/users/Dynatrace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dynatrace/subscriptions","organizations_url":"https://api.github.com/users/Dynatrace/orgs","repos_url":"https://api.github.com/users/Dynatrace/repos","events_url":"https://api.github.com/users/Dynatrace/events{/privacy}","received_events_url":"https://api.github.com/users/Dynatrace/received_events","type":"Organization","site_admin":false},"repo":{"id":77222536,"node_id":"MDEwOlJlcG9zaXRvcnk3NzIyMjUzNg==","name":"Dynatrace-LoadRunner-Request-Tagging","full_name":"Dynatrace/Dynatrace-LoadRunner-Request-Tagging","owner":{"login":"Dynatrace","id":6412311,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY0MTIzMTE=","avatar_url":"https://avatars0.githubusercontent.com/u/6412311?v=4","gravatar_id":"","url":"https://api.github.com/users/Dynatrace","html_url":"https://github.com/Dynatrace","followers_url":"https://api.github.com/users/Dynatrace/followers","following_url":"https://api.github.com/users/Dynatrace/following{/other_user}","gists_url":"https://api.github.com/users/Dynatrace/gists{/gist_id}","starred_url":"https://api.github.com/users/Dynatrace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dynatrace/subscriptions","organizations_url":"https://api.github.com/users/Dynatrace/orgs","repos_url":"https://api.github.com/users/Dynatrace/repos","events_url":"https://api.github.com/users/Dynatrace/events{/privacy}","received_events_url":"https://api.github.com/users/Dynatrace/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Dynatrace/Dynatrace-LoadRunner-Request-Tagging","description":"Command line tool which tags HTTP requests with relevant HTTP headers for Dynatrace","fork":false,"url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging","forks_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/forks","keys_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/teams","hooks_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/hooks","issue_events_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/issues/events{/number}","events_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/events","assignees_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/assignees{/user}","branches_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/branches{/branch}","tags_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/tags","blobs_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/git/refs{/sha}","trees_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/statuses/{sha}","languages_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/languages","stargazers_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/stargazers","contributors_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/contributors","subscribers_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/subscribers","subscription_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/subscription","commits_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/commits{/sha}","git_commits_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/git/commits{/sha}","comments_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/comments{/number}","issue_comment_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/issues/comments{/number}","contents_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/contents/{+path}","compare_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/merges","archive_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/downloads","issues_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/issues{/number}","pulls_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/pulls{/number}","milestones_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/milestones{/number}","notifications_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/labels{/name}","releases_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/releases{/id}","deployments_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/deployments","created_at":"2016-12-23T11:54:50Z","updated_at":"2018-07-24T08:16:51Z","pushed_at":"2018-07-24T14:42:12Z","git_url":"git://github.com/Dynatrace/Dynatrace-LoadRunner-Request-Tagging.git","ssh_url":"git@github.com:Dynatrace/Dynatrace-LoadRunner-Request-Tagging.git","clone_url":"https://github.com/Dynatrace/Dynatrace-LoadRunner-Request-Tagging.git","svn_url":"https://github.com/Dynatrace/Dynatrace-LoadRunner-Request-Tagging","homepage":"https://www.dynatrace.com/support/help/","size":90,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Dynatrace:master","ref":"master","sha":"4393855a06cc6d6b340f91cb2d07fa8c4f0bc3cf","user":{"login":"Dynatrace","id":6412311,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY0MTIzMTE=","avatar_url":"https://avatars0.githubusercontent.com/u/6412311?v=4","gravatar_id":"","url":"https://api.github.com/users/Dynatrace","html_url":"https://github.com/Dynatrace","followers_url":"https://api.github.com/users/Dynatrace/followers","following_url":"https://api.github.com/users/Dynatrace/following{/other_user}","gists_url":"https://api.github.com/users/Dynatrace/gists{/gist_id}","starred_url":"https://api.github.com/users/Dynatrace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dynatrace/subscriptions","organizations_url":"https://api.github.com/users/Dynatrace/orgs","repos_url":"https://api.github.com/users/Dynatrace/repos","events_url":"https://api.github.com/users/Dynatrace/events{/privacy}","received_events_url":"https://api.github.com/users/Dynatrace/received_events","type":"Organization","site_admin":false},"repo":{"id":77222536,"node_id":"MDEwOlJlcG9zaXRvcnk3NzIyMjUzNg==","name":"Dynatrace-LoadRunner-Request-Tagging","full_name":"Dynatrace/Dynatrace-LoadRunner-Request-Tagging","owner":{"login":"Dynatrace","id":6412311,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY0MTIzMTE=","avatar_url":"https://avatars0.githubusercontent.com/u/6412311?v=4","gravatar_id":"","url":"https://api.github.com/users/Dynatrace","html_url":"https://github.com/Dynatrace","followers_url":"https://api.github.com/users/Dynatrace/followers","following_url":"https://api.github.com/users/Dynatrace/following{/other_user}","gists_url":"https://api.github.com/users/Dynatrace/gists{/gist_id}","starred_url":"https://api.github.com/users/Dynatrace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dynatrace/subscriptions","organizations_url":"https://api.github.com/users/Dynatrace/orgs","repos_url":"https://api.github.com/users/Dynatrace/repos","events_url":"https://api.github.com/users/Dynatrace/events{/privacy}","received_events_url":"https://api.github.com/users/Dynatrace/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Dynatrace/Dynatrace-LoadRunner-Request-Tagging","description":"Command line tool which tags HTTP requests with relevant HTTP headers for Dynatrace","fork":false,"url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging","forks_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/forks","keys_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/teams","hooks_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/hooks","issue_events_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/issues/events{/number}","events_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/events","assignees_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/assignees{/user}","branches_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/branches{/branch}","tags_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/tags","blobs_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/git/refs{/sha}","trees_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/statuses/{sha}","languages_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/languages","stargazers_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/stargazers","contributors_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/contributors","subscribers_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/subscribers","subscription_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/subscription","commits_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/commits{/sha}","git_commits_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/git/commits{/sha}","comments_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/comments{/number}","issue_comment_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/issues/comments{/number}","contents_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/contents/{+path}","compare_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/merges","archive_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/downloads","issues_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/issues{/number}","pulls_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/pulls{/number}","milestones_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/milestones{/number}","notifications_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/labels{/name}","releases_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/releases{/id}","deployments_url":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/deployments","created_at":"2016-12-23T11:54:50Z","updated_at":"2018-07-24T08:16:51Z","pushed_at":"2018-07-24T14:42:12Z","git_url":"git://github.com/Dynatrace/Dynatrace-LoadRunner-Request-Tagging.git","ssh_url":"git@github.com:Dynatrace/Dynatrace-LoadRunner-Request-Tagging.git","clone_url":"https://github.com/Dynatrace/Dynatrace-LoadRunner-Request-Tagging.git","svn_url":"https://github.com/Dynatrace/Dynatrace-LoadRunner-Request-Tagging","homepage":"https://www.dynatrace.com/support/help/","size":90,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/pulls/1"},"html":{"href":"https://github.com/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/pull/1"},"issue":{"href":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/issues/1"},"comments":{"href":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Dynatrace/Dynatrace-LoadRunner-Request-Tagging/statuses/c0013bc4746651c511375d589650feb5a04018f3"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"dglugla"}}