{"action":"created","comment":{"url":"https://api.github.com/repos/openwhisk/openwhisk/pulls/comments/76814701","id":76814701,"diff_hunk":"@@ -48,38 +48,39 @@\n public class TestUtils {\n     protected static final Logger logger = Logger.getLogger(\"basic\");\n \n-    public static final int SUCCESS_EXIT = 0;\n-    public static final int ERROR_EXIT = 1;\n-    public static final int MISUSE_EXIT = 2;\n-    public static final int ACCEPTED = 202; // 202\n-    public static final int BAD_REQUEST = 144; // 400 - 256 = 144\n-    public static final int UNAUTHORIZED = 145; // 401 - 256 = 145\n-    public static final int FORBIDDEN = 147; // 403 - 256 = 147\n-    public static final int NOT_FOUND = 148; // 404 - 256 = 148\n-    public static final int NOTALLOWED = 149; // 405 - 256 = 149\n-    public static final int CONFLICT = 153; // 409 - 256 = 153\n-    public static final int REQUEST_ENTITY_TOO_LARGE = 157; // 413 - 256 = 157\n-    public static final int THROTTLED = 173; // 429 (TOO_MANY_REQUESTS) - 256 =\n-                                             // 173\n-    public static final int TIMEOUT = 246; // 502 (GATEWAY_TIMEOUT) - 256 = 246\n-    public static final int DONTCARE_EXIT = -1; // any value is ok\n-    public static final int ANY_ERROR_EXIT = -2; // any non-zero value is ok\n+    public static final int SUCCESS_EXIT   = 0;\n+    public static final int ERROR_EXIT     = 1;\n+    public static final int MISUSE_EXIT    = 2;\n+    public static final int DONTCARE_EXIT  = -1;  // any value is ok\n+    public static final int ANY_ERROR_EXIT = -2;  // any non-zero value is ok\n+\n+    public static final int ACCEPTED       = 202; // 202\n+    public static final int BAD_REQUEST    = 144; // 400 - 256 = 144\n+    public static final int UNAUTHORIZED   = 145; // 401 - 256 = 145\n+    public static final int FORBIDDEN      = 147; // 403 - 256 = 147\n+    public static final int NOT_FOUND      = 148; // 404 - 256 = 148\n+    public static final int NOT_ALLOWED    = 149; // 405 - 256 = 149\n+    public static final int CONFLICT       = 153; // 409 - 256 = 153\n+    public static final int TOO_LARGE      = 157; // 413 - 256 = 157\n+    public static final int THROTTLED      = 173; // 429 (TOO_MANY_REQUESTS) - 256 = 173\n+    public static final int TIMEOUT        = 246; // 502 (GATEWAY_TIMEOUT) - 256 = 246\n \n     private static final File catalogDir = WhiskProperties.getFileRelativeToWhiskHome(\"catalog\");\n     private static final File testActionsDir = WhiskProperties.getFileRelativeToWhiskHome(\"tests/dat/actions\");\n     private static final File vcapFile = WhiskProperties.getVCAPServicesFile();\n     private static final String envServices = System.getenv(\"VCAP_SERVICES\");\n+    private static final String loggerLevel = System.getProperty(\"LOG_LEVEL\", Level.WARNING.toString());\n \n     static {\n-        logger.setLevel(Level.INFO);\n+        logger.setLevel(Level.parse(loggerLevel.trim()));","path":"tests/src/common/TestUtils.java","position":45,"original_position":45,"commit_id":"5bcfb2ae216890733e53ce4c16e072538e42712f","original_commit_id":"5bcfb2ae216890733e53ce4c16e072538e42712f","user":{"login":"rabbah","id":4959922,"avatar_url":"https://avatars.githubusercontent.com/u/4959922?v=3","gravatar_id":"","url":"https://api.github.com/users/rabbah","html_url":"https://github.com/rabbah","followers_url":"https://api.github.com/users/rabbah/followers","following_url":"https://api.github.com/users/rabbah/following{/other_user}","gists_url":"https://api.github.com/users/rabbah/gists{/gist_id}","starred_url":"https://api.github.com/users/rabbah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rabbah/subscriptions","organizations_url":"https://api.github.com/users/rabbah/orgs","repos_url":"https://api.github.com/users/rabbah/repos","events_url":"https://api.github.com/users/rabbah/events{/privacy}","received_events_url":"https://api.github.com/users/rabbah/received_events","type":"User","site_admin":false},"body":"@domdom82 with the new tests in scala this becomes unnecessarily verbose.\r\nif still desired, for other deployments, you can toggle the value with a configuration in CI.","created_at":"2016-08-30T15:08:43Z","updated_at":"2016-08-30T15:08:43Z","html_url":"https://github.com/openwhisk/openwhisk/pull/1160#discussion_r76814701","pull_request_url":"https://api.github.com/repos/openwhisk/openwhisk/pulls/1160","_links":{"self":{"href":"https://api.github.com/repos/openwhisk/openwhisk/pulls/comments/76814701"},"html":{"href":"https://github.com/openwhisk/openwhisk/pull/1160#discussion_r76814701"},"pull_request":{"href":"https://api.github.com/repos/openwhisk/openwhisk/pulls/1160"}}},"pull_request":{"url":"https://api.github.com/repos/openwhisk/openwhisk/pulls/1160","id":83289597,"html_url":"https://github.com/openwhisk/openwhisk/pull/1160","diff_url":"https://github.com/openwhisk/openwhisk/pull/1160.diff","patch_url":"https://github.com/openwhisk/openwhisk/pull/1160.patch","issue_url":"https://api.github.com/repos/openwhisk/openwhisk/issues/1160","number":1160,"state":"open","locked":false,"title":"Remove more deadcode and some dusting.","user":{"login":"rabbah","id":4959922,"avatar_url":"https://avatars.githubusercontent.com/u/4959922?v=3","gravatar_id":"","url":"https://api.github.com/users/rabbah","html_url":"https://github.com/rabbah","followers_url":"https://api.github.com/users/rabbah/followers","following_url":"https://api.github.com/users/rabbah/following{/other_user}","gists_url":"https://api.github.com/users/rabbah/gists{/gist_id}","starred_url":"https://api.github.com/users/rabbah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rabbah/subscriptions","organizations_url":"https://api.github.com/users/rabbah/orgs","repos_url":"https://api.github.com/users/rabbah/repos","events_url":"https://api.github.com/users/rabbah/events{/privacy}","received_events_url":"https://api.github.com/users/rabbah/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-30T15:07:55Z","updated_at":"2016-08-30T15:08:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9a1611de298fa3bef09612486e662310deb2a381","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/openwhisk/openwhisk/pulls/1160/commits","review_comments_url":"https://api.github.com/repos/openwhisk/openwhisk/pulls/1160/comments","review_comment_url":"https://api.github.com/repos/openwhisk/openwhisk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openwhisk/openwhisk/issues/1160/comments","statuses_url":"https://api.github.com/repos/openwhisk/openwhisk/statuses/5bcfb2ae216890733e53ce4c16e072538e42712f","head":{"label":"rabbah:morecleanup","ref":"morecleanup","sha":"5bcfb2ae216890733e53ce4c16e072538e42712f","user":{"login":"rabbah","id":4959922,"avatar_url":"https://avatars.githubusercontent.com/u/4959922?v=3","gravatar_id":"","url":"https://api.github.com/users/rabbah","html_url":"https://github.com/rabbah","followers_url":"https://api.github.com/users/rabbah/followers","following_url":"https://api.github.com/users/rabbah/following{/other_user}","gists_url":"https://api.github.com/users/rabbah/gists{/gist_id}","starred_url":"https://api.github.com/users/rabbah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rabbah/subscriptions","organizations_url":"https://api.github.com/users/rabbah/orgs","repos_url":"https://api.github.com/users/rabbah/repos","events_url":"https://api.github.com/users/rabbah/events{/privacy}","received_events_url":"https://api.github.com/users/rabbah/received_events","type":"User","site_admin":false},"repo":{"id":52371720,"name":"openwhisk","full_name":"rabbah/openwhisk","owner":{"login":"rabbah","id":4959922,"avatar_url":"https://avatars.githubusercontent.com/u/4959922?v=3","gravatar_id":"","url":"https://api.github.com/users/rabbah","html_url":"https://github.com/rabbah","followers_url":"https://api.github.com/users/rabbah/followers","following_url":"https://api.github.com/users/rabbah/following{/other_user}","gists_url":"https://api.github.com/users/rabbah/gists{/gist_id}","starred_url":"https://api.github.com/users/rabbah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rabbah/subscriptions","organizations_url":"https://api.github.com/users/rabbah/orgs","repos_url":"https://api.github.com/users/rabbah/repos","events_url":"https://api.github.com/users/rabbah/events{/privacy}","received_events_url":"https://api.github.com/users/rabbah/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rabbah/openwhisk","description":"OpenWhisk is a cloud-first distributed event-based programming service.","fork":true,"url":"https://api.github.com/repos/rabbah/openwhisk","forks_url":"https://api.github.com/repos/rabbah/openwhisk/forks","keys_url":"https://api.github.com/repos/rabbah/openwhisk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rabbah/openwhisk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rabbah/openwhisk/teams","hooks_url":"https://api.github.com/repos/rabbah/openwhisk/hooks","issue_events_url":"https://api.github.com/repos/rabbah/openwhisk/issues/events{/number}","events_url":"https://api.github.com/repos/rabbah/openwhisk/events","assignees_url":"https://api.github.com/repos/rabbah/openwhisk/assignees{/user}","branches_url":"https://api.github.com/repos/rabbah/openwhisk/branches{/branch}","tags_url":"https://api.github.com/repos/rabbah/openwhisk/tags","blobs_url":"https://api.github.com/repos/rabbah/openwhisk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rabbah/openwhisk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rabbah/openwhisk/git/refs{/sha}","trees_url":"https://api.github.com/repos/rabbah/openwhisk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rabbah/openwhisk/statuses/{sha}","languages_url":"https://api.github.com/repos/rabbah/openwhisk/languages","stargazers_url":"https://api.github.com/repos/rabbah/openwhisk/stargazers","contributors_url":"https://api.github.com/repos/rabbah/openwhisk/contributors","subscribers_url":"https://api.github.com/repos/rabbah/openwhisk/subscribers","subscription_url":"https://api.github.com/repos/rabbah/openwhisk/subscription","commits_url":"https://api.github.com/repos/rabbah/openwhisk/commits{/sha}","git_commits_url":"https://api.github.com/repos/rabbah/openwhisk/git/commits{/sha}","comments_url":"https://api.github.com/repos/rabbah/openwhisk/comments{/number}","issue_comment_url":"https://api.github.com/repos/rabbah/openwhisk/issues/comments{/number}","contents_url":"https://api.github.com/repos/rabbah/openwhisk/contents/{+path}","compare_url":"https://api.github.com/repos/rabbah/openwhisk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rabbah/openwhisk/merges","archive_url":"https://api.github.com/repos/rabbah/openwhisk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rabbah/openwhisk/downloads","issues_url":"https://api.github.com/repos/rabbah/openwhisk/issues{/number}","pulls_url":"https://api.github.com/repos/rabbah/openwhisk/pulls{/number}","milestones_url":"https://api.github.com/repos/rabbah/openwhisk/milestones{/number}","notifications_url":"https://api.github.com/repos/rabbah/openwhisk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rabbah/openwhisk/labels{/name}","releases_url":"https://api.github.com/repos/rabbah/openwhisk/releases{/id}","deployments_url":"https://api.github.com/repos/rabbah/openwhisk/deployments","created_at":"2016-02-23T16:03:01Z","updated_at":"2016-02-23T16:03:03Z","pushed_at":"2016-08-30T15:00:13Z","git_url":"git://github.com/rabbah/openwhisk.git","ssh_url":"git@github.com:rabbah/openwhisk.git","clone_url":"https://github.com/rabbah/openwhisk.git","svn_url":"https://github.com/rabbah/openwhisk","homepage":"","size":42574,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"openwhisk:master","ref":"master","sha":"92e4d453232e39940ad49ee3aa6dacc063d46df2","user":{"login":"openwhisk","id":16900235,"avatar_url":"https://avatars.githubusercontent.com/u/16900235?v=3","gravatar_id":"","url":"https://api.github.com/users/openwhisk","html_url":"https://github.com/openwhisk","followers_url":"https://api.github.com/users/openwhisk/followers","following_url":"https://api.github.com/users/openwhisk/following{/other_user}","gists_url":"https://api.github.com/users/openwhisk/gists{/gist_id}","starred_url":"https://api.github.com/users/openwhisk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openwhisk/subscriptions","organizations_url":"https://api.github.com/users/openwhisk/orgs","repos_url":"https://api.github.com/users/openwhisk/repos","events_url":"https://api.github.com/users/openwhisk/events{/privacy}","received_events_url":"https://api.github.com/users/openwhisk/received_events","type":"Organization","site_admin":false},"repo":{"id":52039373,"name":"openwhisk","full_name":"openwhisk/openwhisk","owner":{"login":"openwhisk","id":16900235,"avatar_url":"https://avatars.githubusercontent.com/u/16900235?v=3","gravatar_id":"","url":"https://api.github.com/users/openwhisk","html_url":"https://github.com/openwhisk","followers_url":"https://api.github.com/users/openwhisk/followers","following_url":"https://api.github.com/users/openwhisk/following{/other_user}","gists_url":"https://api.github.com/users/openwhisk/gists{/gist_id}","starred_url":"https://api.github.com/users/openwhisk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openwhisk/subscriptions","organizations_url":"https://api.github.com/users/openwhisk/orgs","repos_url":"https://api.github.com/users/openwhisk/repos","events_url":"https://api.github.com/users/openwhisk/events{/privacy}","received_events_url":"https://api.github.com/users/openwhisk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openwhisk/openwhisk","description":"OpenWhisk is a cloud-first distributed event-based programming service.","fork":false,"url":"https://api.github.com/repos/openwhisk/openwhisk","forks_url":"https://api.github.com/repos/openwhisk/openwhisk/forks","keys_url":"https://api.github.com/repos/openwhisk/openwhisk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openwhisk/openwhisk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openwhisk/openwhisk/teams","hooks_url":"https://api.github.com/repos/openwhisk/openwhisk/hooks","issue_events_url":"https://api.github.com/repos/openwhisk/openwhisk/issues/events{/number}","events_url":"https://api.github.com/repos/openwhisk/openwhisk/events","assignees_url":"https://api.github.com/repos/openwhisk/openwhisk/assignees{/user}","branches_url":"https://api.github.com/repos/openwhisk/openwhisk/branches{/branch}","tags_url":"https://api.github.com/repos/openwhisk/openwhisk/tags","blobs_url":"https://api.github.com/repos/openwhisk/openwhisk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openwhisk/openwhisk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openwhisk/openwhisk/git/refs{/sha}","trees_url":"https://api.github.com/repos/openwhisk/openwhisk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openwhisk/openwhisk/statuses/{sha}","languages_url":"https://api.github.com/repos/openwhisk/openwhisk/languages","stargazers_url":"https://api.github.com/repos/openwhisk/openwhisk/stargazers","contributors_url":"https://api.github.com/repos/openwhisk/openwhisk/contributors","subscribers_url":"https://api.github.com/repos/openwhisk/openwhisk/subscribers","subscription_url":"https://api.github.com/repos/openwhisk/openwhisk/subscription","commits_url":"https://api.github.com/repos/openwhisk/openwhisk/commits{/sha}","git_commits_url":"https://api.github.com/repos/openwhisk/openwhisk/git/commits{/sha}","comments_url":"https://api.github.com/repos/openwhisk/openwhisk/comments{/number}","issue_comment_url":"https://api.github.com/repos/openwhisk/openwhisk/issues/comments{/number}","contents_url":"https://api.github.com/repos/openwhisk/openwhisk/contents/{+path}","compare_url":"https://api.github.com/repos/openwhisk/openwhisk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openwhisk/openwhisk/merges","archive_url":"https://api.github.com/repos/openwhisk/openwhisk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openwhisk/openwhisk/downloads","issues_url":"https://api.github.com/repos/openwhisk/openwhisk/issues{/number}","pulls_url":"https://api.github.com/repos/openwhisk/openwhisk/pulls{/number}","milestones_url":"https://api.github.com/repos/openwhisk/openwhisk/milestones{/number}","notifications_url":"https://api.github.com/repos/openwhisk/openwhisk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openwhisk/openwhisk/labels{/name}","releases_url":"https://api.github.com/repos/openwhisk/openwhisk/releases{/id}","deployments_url":"https://api.github.com/repos/openwhisk/openwhisk/deployments","created_at":"2016-02-18T21:16:19Z","updated_at":"2016-08-30T08:36:47Z","pushed_at":"2016-08-30T15:07:55Z","git_url":"git://github.com/openwhisk/openwhisk.git","ssh_url":"git@github.com:openwhisk/openwhisk.git","clone_url":"https://github.com/openwhisk/openwhisk.git","svn_url":"https://github.com/openwhisk/openwhisk","homepage":"","size":43992,"stargazers_count":526,"watchers_count":526,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":135,"mirror_url":null,"open_issues_count":276,"forks":135,"open_issues":276,"watchers":526,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openwhisk/openwhisk/pulls/1160"},"html":{"href":"https://github.com/openwhisk/openwhisk/pull/1160"},"issue":{"href":"https://api.github.com/repos/openwhisk/openwhisk/issues/1160"},"comments":{"href":"https://api.github.com/repos/openwhisk/openwhisk/issues/1160/comments"},"review_comments":{"href":"https://api.github.com/repos/openwhisk/openwhisk/pulls/1160/comments"},"review_comment":{"href":"https://api.github.com/repos/openwhisk/openwhisk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openwhisk/openwhisk/pulls/1160/commits"},"statuses":{"href":"https://api.github.com/repos/openwhisk/openwhisk/statuses/5bcfb2ae216890733e53ce4c16e072538e42712f"}}}}
{"actor":{"display_login":"rabbah"}}