{"action":"created","comment":{"url":"https://api.github.com/repos/allan-walpy/vulmy/pulls/comments/241989433","pull_request_review_id":185397026,"id":241989433,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MTk4OTQzMw==","diff_hunk":"@@ -0,0 +1,46 @@\n+using System;\n+\n+namespace Vulmy.Server.Types\n+{\n+    public class DatabaseConnection\n+    {\n+        public const string DefaultServer = \"localhost\";\n+        public const string DefaultUserId = \"user\";\n+        public const string DefaultPassword = \"\";\n+        public const string DefaultDatabase = \"vulmy\";\n+        private const string MainTemplate = \"server={0};UserId={1};Password={2};\";\n+        private const string DatabaseTemplate = \"database={0}\";\n+\n+        public string Server { get; set; }\n+        public string UserId { get; set; }\n+        public string Password { get; set; }\n+        public string Database { get; set; }\n+\n+        public DatabaseConnection(\n+            string server = DefaultServer,","path":"src/Server/Types/DatabaseConnection.cs","position":20,"original_position":20,"commit_id":"b7fc6cdf374560606f537cd5a521397c22e24320","original_commit_id":"b7fc6cdf374560606f537cd5a521397c22e24320","user":{"login":"codacy-bot","id":19940114,"node_id":"MDQ6VXNlcjE5OTQwMTE0","avatar_url":"https://avatars1.githubusercontent.com/u/19940114?v=4","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://app.codacy.com/assets/images/favicon.png) Issue found: [Use the overloading mechanism instead of the optional parameters.](https://app.codacy.com/app/allan-walpy/vulmy/pullRequest?prid=2741739)","created_at":"2018-12-16T17:46:03Z","updated_at":"2018-12-16T17:46:03Z","html_url":"https://github.com/allan-walpy/vulmy/pull/84#discussion_r241989433","pull_request_url":"https://api.github.com/repos/allan-walpy/vulmy/pulls/84","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/allan-walpy/vulmy/pulls/comments/241989433"},"html":{"href":"https://github.com/allan-walpy/vulmy/pull/84#discussion_r241989433"},"pull_request":{"href":"https://api.github.com/repos/allan-walpy/vulmy/pulls/84"}}},"pull_request":{"url":"https://api.github.com/repos/allan-walpy/vulmy/pulls/84","id":238955472,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM4OTU1NDcy","html_url":"https://github.com/allan-walpy/vulmy/pull/84","diff_url":"https://github.com/allan-walpy/vulmy/pull/84.diff","patch_url":"https://github.com/allan-walpy/vulmy/pull/84.patch","issue_url":"https://api.github.com/repos/allan-walpy/vulmy/issues/84","number":84,"state":"open","locked":false,"title":"fix for issue #73 and #78 [in development]","user":{"login":"allan-walpy","id":11198734,"node_id":"MDQ6VXNlcjExMTk4NzM0","avatar_url":"https://avatars3.githubusercontent.com/u/11198734?v=4","gravatar_id":"","url":"https://api.github.com/users/allan-walpy","html_url":"https://github.com/allan-walpy","followers_url":"https://api.github.com/users/allan-walpy/followers","following_url":"https://api.github.com/users/allan-walpy/following{/other_user}","gists_url":"https://api.github.com/users/allan-walpy/gists{/gist_id}","starred_url":"https://api.github.com/users/allan-walpy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allan-walpy/subscriptions","organizations_url":"https://api.github.com/users/allan-walpy/orgs","repos_url":"https://api.github.com/users/allan-walpy/repos","events_url":"https://api.github.com/users/allan-walpy/events{/privacy}","received_events_url":"https://api.github.com/users/allan-walpy/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-12-16T09:36:14Z","updated_at":"2018-12-16T17:46:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ec2f69256affa324403282214d7bdff824991c10","assignee":{"login":"allan-walpy","id":11198734,"node_id":"MDQ6VXNlcjExMTk4NzM0","avatar_url":"https://avatars3.githubusercontent.com/u/11198734?v=4","gravatar_id":"","url":"https://api.github.com/users/allan-walpy","html_url":"https://github.com/allan-walpy","followers_url":"https://api.github.com/users/allan-walpy/followers","following_url":"https://api.github.com/users/allan-walpy/following{/other_user}","gists_url":"https://api.github.com/users/allan-walpy/gists{/gist_id}","starred_url":"https://api.github.com/users/allan-walpy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allan-walpy/subscriptions","organizations_url":"https://api.github.com/users/allan-walpy/orgs","repos_url":"https://api.github.com/users/allan-walpy/repos","events_url":"https://api.github.com/users/allan-walpy/events{/privacy}","received_events_url":"https://api.github.com/users/allan-walpy/received_events","type":"User","site_admin":false},"assignees":[{"login":"allan-walpy","id":11198734,"node_id":"MDQ6VXNlcjExMTk4NzM0","avatar_url":"https://avatars3.githubusercontent.com/u/11198734?v=4","gravatar_id":"","url":"https://api.github.com/users/allan-walpy","html_url":"https://github.com/allan-walpy","followers_url":"https://api.github.com/users/allan-walpy/followers","following_url":"https://api.github.com/users/allan-walpy/following{/other_user}","gists_url":"https://api.github.com/users/allan-walpy/gists{/gist_id}","starred_url":"https://api.github.com/users/allan-walpy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allan-walpy/subscriptions","organizations_url":"https://api.github.com/users/allan-walpy/orgs","repos_url":"https://api.github.com/users/allan-walpy/repos","events_url":"https://api.github.com/users/allan-walpy/events{/privacy}","received_events_url":"https://api.github.com/users/allan-walpy/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1154791719,"node_id":"MDU6TGFiZWwxMTU0NzkxNzE5","url":"https://api.github.com/repos/allan-walpy/vulmy/labels/a%20merge","name":"a merge","color":"ffffff","default":false}],"milestone":{"url":"https://api.github.com/repos/allan-walpy/vulmy/milestones/5","html_url":"https://github.com/allan-walpy/vulmy/milestone/5","labels_url":"https://api.github.com/repos/allan-walpy/vulmy/milestones/5/labels","id":3881055,"node_id":"MDk6TWlsZXN0b25lMzg4MTA1NQ==","number":5,"title":"iteration 2","description":"=> api v0.1.2-beta; app.server v0.2.1-beta;\r\ntask for this iteration is restore degradated parts on `Iteration 1` - fixing bugs, enabling and passing all integration test (even may be writing some more);","creator":{"login":"allan-walpy","id":11198734,"node_id":"MDQ6VXNlcjExMTk4NzM0","avatar_url":"https://avatars3.githubusercontent.com/u/11198734?v=4","gravatar_id":"","url":"https://api.github.com/users/allan-walpy","html_url":"https://github.com/allan-walpy","followers_url":"https://api.github.com/users/allan-walpy/followers","following_url":"https://api.github.com/users/allan-walpy/following{/other_user}","gists_url":"https://api.github.com/users/allan-walpy/gists{/gist_id}","starred_url":"https://api.github.com/users/allan-walpy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allan-walpy/subscriptions","organizations_url":"https://api.github.com/users/allan-walpy/orgs","repos_url":"https://api.github.com/users/allan-walpy/repos","events_url":"https://api.github.com/users/allan-walpy/events{/privacy}","received_events_url":"https://api.github.com/users/allan-walpy/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":2,"state":"open","created_at":"2018-12-07T21:44:34Z","updated_at":"2018-12-16T17:30:52Z","due_on":"2019-01-15T08:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/allan-walpy/vulmy/pulls/84/commits","review_comments_url":"https://api.github.com/repos/allan-walpy/vulmy/pulls/84/comments","review_comment_url":"https://api.github.com/repos/allan-walpy/vulmy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/allan-walpy/vulmy/issues/84/comments","statuses_url":"https://api.github.com/repos/allan-walpy/vulmy/statuses/b7fc6cdf374560606f537cd5a521397c22e24320","head":{"label":"allan-walpy:walpy-issue73-dev","ref":"walpy-issue73-dev","sha":"b7fc6cdf374560606f537cd5a521397c22e24320","user":{"login":"allan-walpy","id":11198734,"node_id":"MDQ6VXNlcjExMTk4NzM0","avatar_url":"https://avatars3.githubusercontent.com/u/11198734?v=4","gravatar_id":"","url":"https://api.github.com/users/allan-walpy","html_url":"https://github.com/allan-walpy","followers_url":"https://api.github.com/users/allan-walpy/followers","following_url":"https://api.github.com/users/allan-walpy/following{/other_user}","gists_url":"https://api.github.com/users/allan-walpy/gists{/gist_id}","starred_url":"https://api.github.com/users/allan-walpy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allan-walpy/subscriptions","organizations_url":"https://api.github.com/users/allan-walpy/orgs","repos_url":"https://api.github.com/users/allan-walpy/repos","events_url":"https://api.github.com/users/allan-walpy/events{/privacy}","received_events_url":"https://api.github.com/users/allan-walpy/received_events","type":"User","site_admin":false},"repo":{"id":138147612,"node_id":"MDEwOlJlcG9zaXRvcnkxMzgxNDc2MTI=","name":"vulmy","full_name":"allan-walpy/vulmy","private":false,"owner":{"login":"allan-walpy","id":11198734,"node_id":"MDQ6VXNlcjExMTk4NzM0","avatar_url":"https://avatars3.githubusercontent.com/u/11198734?v=4","gravatar_id":"","url":"https://api.github.com/users/allan-walpy","html_url":"https://github.com/allan-walpy","followers_url":"https://api.github.com/users/allan-walpy/followers","following_url":"https://api.github.com/users/allan-walpy/following{/other_user}","gists_url":"https://api.github.com/users/allan-walpy/gists{/gist_id}","starred_url":"https://api.github.com/users/allan-walpy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allan-walpy/subscriptions","organizations_url":"https://api.github.com/users/allan-walpy/orgs","repos_url":"https://api.github.com/users/allan-walpy/repos","events_url":"https://api.github.com/users/allan-walpy/events{/privacy}","received_events_url":"https://api.github.com/users/allan-walpy/received_events","type":"User","site_admin":false},"html_url":"https://github.com/allan-walpy/vulmy","description":"app controlling my server","fork":false,"url":"https://api.github.com/repos/allan-walpy/vulmy","forks_url":"https://api.github.com/repos/allan-walpy/vulmy/forks","keys_url":"https://api.github.com/repos/allan-walpy/vulmy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/allan-walpy/vulmy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/allan-walpy/vulmy/teams","hooks_url":"https://api.github.com/repos/allan-walpy/vulmy/hooks","issue_events_url":"https://api.github.com/repos/allan-walpy/vulmy/issues/events{/number}","events_url":"https://api.github.com/repos/allan-walpy/vulmy/events","assignees_url":"https://api.github.com/repos/allan-walpy/vulmy/assignees{/user}","branches_url":"https://api.github.com/repos/allan-walpy/vulmy/branches{/branch}","tags_url":"https://api.github.com/repos/allan-walpy/vulmy/tags","blobs_url":"https://api.github.com/repos/allan-walpy/vulmy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/allan-walpy/vulmy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/allan-walpy/vulmy/git/refs{/sha}","trees_url":"https://api.github.com/repos/allan-walpy/vulmy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/allan-walpy/vulmy/statuses/{sha}","languages_url":"https://api.github.com/repos/allan-walpy/vulmy/languages","stargazers_url":"https://api.github.com/repos/allan-walpy/vulmy/stargazers","contributors_url":"https://api.github.com/repos/allan-walpy/vulmy/contributors","subscribers_url":"https://api.github.com/repos/allan-walpy/vulmy/subscribers","subscription_url":"https://api.github.com/repos/allan-walpy/vulmy/subscription","commits_url":"https://api.github.com/repos/allan-walpy/vulmy/commits{/sha}","git_commits_url":"https://api.github.com/repos/allan-walpy/vulmy/git/commits{/sha}","comments_url":"https://api.github.com/repos/allan-walpy/vulmy/comments{/number}","issue_comment_url":"https://api.github.com/repos/allan-walpy/vulmy/issues/comments{/number}","contents_url":"https://api.github.com/repos/allan-walpy/vulmy/contents/{+path}","compare_url":"https://api.github.com/repos/allan-walpy/vulmy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/allan-walpy/vulmy/merges","archive_url":"https://api.github.com/repos/allan-walpy/vulmy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/allan-walpy/vulmy/downloads","issues_url":"https://api.github.com/repos/allan-walpy/vulmy/issues{/number}","pulls_url":"https://api.github.com/repos/allan-walpy/vulmy/pulls{/number}","milestones_url":"https://api.github.com/repos/allan-walpy/vulmy/milestones{/number}","notifications_url":"https://api.github.com/repos/allan-walpy/vulmy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/allan-walpy/vulmy/labels{/name}","releases_url":"https://api.github.com/repos/allan-walpy/vulmy/releases{/id}","deployments_url":"https://api.github.com/repos/allan-walpy/vulmy/deployments","created_at":"2018-06-21T09:14:18Z","updated_at":"2018-12-15T21:11:41Z","pushed_at":"2018-12-16T17:43:40Z","git_url":"git://github.com/allan-walpy/vulmy.git","ssh_url":"git@github.com:allan-walpy/vulmy.git","clone_url":"https://github.com/allan-walpy/vulmy.git","svn_url":"https://github.com/allan-walpy/vulmy","homepage":"","size":1400,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":23,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":23,"watchers":0,"default_branch":"master"}},"base":{"label":"allan-walpy:master","ref":"master","sha":"f62def6afd77e24627f8316be009cfbc99b7c790","user":{"login":"allan-walpy","id":11198734,"node_id":"MDQ6VXNlcjExMTk4NzM0","avatar_url":"https://avatars3.githubusercontent.com/u/11198734?v=4","gravatar_id":"","url":"https://api.github.com/users/allan-walpy","html_url":"https://github.com/allan-walpy","followers_url":"https://api.github.com/users/allan-walpy/followers","following_url":"https://api.github.com/users/allan-walpy/following{/other_user}","gists_url":"https://api.github.com/users/allan-walpy/gists{/gist_id}","starred_url":"https://api.github.com/users/allan-walpy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allan-walpy/subscriptions","organizations_url":"https://api.github.com/users/allan-walpy/orgs","repos_url":"https://api.github.com/users/allan-walpy/repos","events_url":"https://api.github.com/users/allan-walpy/events{/privacy}","received_events_url":"https://api.github.com/users/allan-walpy/received_events","type":"User","site_admin":false},"repo":{"id":138147612,"node_id":"MDEwOlJlcG9zaXRvcnkxMzgxNDc2MTI=","name":"vulmy","full_name":"allan-walpy/vulmy","private":false,"owner":{"login":"allan-walpy","id":11198734,"node_id":"MDQ6VXNlcjExMTk4NzM0","avatar_url":"https://avatars3.githubusercontent.com/u/11198734?v=4","gravatar_id":"","url":"https://api.github.com/users/allan-walpy","html_url":"https://github.com/allan-walpy","followers_url":"https://api.github.com/users/allan-walpy/followers","following_url":"https://api.github.com/users/allan-walpy/following{/other_user}","gists_url":"https://api.github.com/users/allan-walpy/gists{/gist_id}","starred_url":"https://api.github.com/users/allan-walpy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allan-walpy/subscriptions","organizations_url":"https://api.github.com/users/allan-walpy/orgs","repos_url":"https://api.github.com/users/allan-walpy/repos","events_url":"https://api.github.com/users/allan-walpy/events{/privacy}","received_events_url":"https://api.github.com/users/allan-walpy/received_events","type":"User","site_admin":false},"html_url":"https://github.com/allan-walpy/vulmy","description":"app controlling my server","fork":false,"url":"https://api.github.com/repos/allan-walpy/vulmy","forks_url":"https://api.github.com/repos/allan-walpy/vulmy/forks","keys_url":"https://api.github.com/repos/allan-walpy/vulmy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/allan-walpy/vulmy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/allan-walpy/vulmy/teams","hooks_url":"https://api.github.com/repos/allan-walpy/vulmy/hooks","issue_events_url":"https://api.github.com/repos/allan-walpy/vulmy/issues/events{/number}","events_url":"https://api.github.com/repos/allan-walpy/vulmy/events","assignees_url":"https://api.github.com/repos/allan-walpy/vulmy/assignees{/user}","branches_url":"https://api.github.com/repos/allan-walpy/vulmy/branches{/branch}","tags_url":"https://api.github.com/repos/allan-walpy/vulmy/tags","blobs_url":"https://api.github.com/repos/allan-walpy/vulmy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/allan-walpy/vulmy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/allan-walpy/vulmy/git/refs{/sha}","trees_url":"https://api.github.com/repos/allan-walpy/vulmy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/allan-walpy/vulmy/statuses/{sha}","languages_url":"https://api.github.com/repos/allan-walpy/vulmy/languages","stargazers_url":"https://api.github.com/repos/allan-walpy/vulmy/stargazers","contributors_url":"https://api.github.com/repos/allan-walpy/vulmy/contributors","subscribers_url":"https://api.github.com/repos/allan-walpy/vulmy/subscribers","subscription_url":"https://api.github.com/repos/allan-walpy/vulmy/subscription","commits_url":"https://api.github.com/repos/allan-walpy/vulmy/commits{/sha}","git_commits_url":"https://api.github.com/repos/allan-walpy/vulmy/git/commits{/sha}","comments_url":"https://api.github.com/repos/allan-walpy/vulmy/comments{/number}","issue_comment_url":"https://api.github.com/repos/allan-walpy/vulmy/issues/comments{/number}","contents_url":"https://api.github.com/repos/allan-walpy/vulmy/contents/{+path}","compare_url":"https://api.github.com/repos/allan-walpy/vulmy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/allan-walpy/vulmy/merges","archive_url":"https://api.github.com/repos/allan-walpy/vulmy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/allan-walpy/vulmy/downloads","issues_url":"https://api.github.com/repos/allan-walpy/vulmy/issues{/number}","pulls_url":"https://api.github.com/repos/allan-walpy/vulmy/pulls{/number}","milestones_url":"https://api.github.com/repos/allan-walpy/vulmy/milestones{/number}","notifications_url":"https://api.github.com/repos/allan-walpy/vulmy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/allan-walpy/vulmy/labels{/name}","releases_url":"https://api.github.com/repos/allan-walpy/vulmy/releases{/id}","deployments_url":"https://api.github.com/repos/allan-walpy/vulmy/deployments","created_at":"2018-06-21T09:14:18Z","updated_at":"2018-12-15T21:11:41Z","pushed_at":"2018-12-16T17:43:40Z","git_url":"git://github.com/allan-walpy/vulmy.git","ssh_url":"git@github.com:allan-walpy/vulmy.git","clone_url":"https://github.com/allan-walpy/vulmy.git","svn_url":"https://github.com/allan-walpy/vulmy","homepage":"","size":1400,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":23,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":23,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/allan-walpy/vulmy/pulls/84"},"html":{"href":"https://github.com/allan-walpy/vulmy/pull/84"},"issue":{"href":"https://api.github.com/repos/allan-walpy/vulmy/issues/84"},"comments":{"href":"https://api.github.com/repos/allan-walpy/vulmy/issues/84/comments"},"review_comments":{"href":"https://api.github.com/repos/allan-walpy/vulmy/pulls/84/comments"},"review_comment":{"href":"https://api.github.com/repos/allan-walpy/vulmy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/allan-walpy/vulmy/pulls/84/commits"},"statuses":{"href":"https://api.github.com/repos/allan-walpy/vulmy/statuses/b7fc6cdf374560606f537cd5a521397c22e24320"}},"author_association":"OWNER"}}
{"actor":{"display_login":"codacy-bot"}}