{"action":"closed","number":6,"pull_request":{"url":"https://api.github.com/repos/Van10000/liquid-log/pulls/6","id":228827217,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI4ODI3MjE3","html_url":"https://github.com/Van10000/liquid-log/pull/6","diff_url":"https://github.com/Van10000/liquid-log/pull/6.diff","patch_url":"https://github.com/Van10000/liquid-log/pull/6.patch","issue_url":"https://api.github.com/repos/Van10000/liquid-log/issues/6","number":6,"state":"closed","locked":false,"title":"Solved issue 6","user":{"login":"Van10000","id":14162781,"node_id":"MDQ6VXNlcjE0MTYyNzgx","avatar_url":"https://avatars3.githubusercontent.com/u/14162781?v=4","gravatar_id":"","url":"https://api.github.com/users/Van10000","html_url":"https://github.com/Van10000","followers_url":"https://api.github.com/users/Van10000/followers","following_url":"https://api.github.com/users/Van10000/following{/other_user}","gists_url":"https://api.github.com/users/Van10000/gists{/gist_id}","starred_url":"https://api.github.com/users/Van10000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Van10000/subscriptions","organizations_url":"https://api.github.com/users/Van10000/orgs","repos_url":"https://api.github.com/users/Van10000/repos","events_url":"https://api.github.com/users/Van10000/events{/privacy}","received_events_url":"https://api.github.com/users/Van10000/received_events","type":"User","site_admin":false},"body":"Код написан, однако он сейчас падает, проблема с внедрением зависимостей.\r\n\r\nСуть в том, что в некоторых местах объект хочется с одной стороны создавать руками (передавая ему какие-то аргументы, которые нельзя заinject-ить), с другой стороны часть зависимостей объекта хотелось бы всё-таки получать из DIContainer-а.\r\nПример - класс InfluxConnector, которому нужны текстовые параметры, переданные пользователем, а ещё InfluxDAO, который не хотелось бы создавать руками.\r\n\r\nСобственно, решением этой проблемы, насколько я понимаю, является Autowired поле (как я и попытался сделать в InfluxConnector-е).\r\nКак оказалось, это не так просто, однако [здесь](https://stackoverflow.com/questions/3813588/how-to-inject-dependencies-into-a-self-instantiated-object-in-spring) написано что возможно. Я попытался сделать всё по инструкции в предпоследнем ответе. Однако, всё равно в Autowired-поле null.\r\n\r\nМожет, подскажете в чём именно проблема?\r\nИли, может, предложите хорошую альтернативу как можно сделать по-другому.\r\n\r\n@d0k1 @ykalemi @etitov","created_at":"2018-11-06T20:38:56Z","updated_at":"2018-11-12T22:46:16Z","closed_at":"2018-11-12T22:46:16Z","merged_at":"2018-11-12T22:46:16Z","merge_commit_sha":"68ddf136a0468474c566bf94c70d9883e8b8fc1f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Van10000/liquid-log/pulls/6/commits","review_comments_url":"https://api.github.com/repos/Van10000/liquid-log/pulls/6/comments","review_comment_url":"https://api.github.com/repos/Van10000/liquid-log/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Van10000/liquid-log/issues/6/comments","statuses_url":"https://api.github.com/repos/Van10000/liquid-log/statuses/fe6e2af70c5861bb0ce5c780c4b40910ed684e97","head":{"label":"Van10000:issue_6","ref":"issue_6","sha":"fe6e2af70c5861bb0ce5c780c4b40910ed684e97","user":{"login":"Van10000","id":14162781,"node_id":"MDQ6VXNlcjE0MTYyNzgx","avatar_url":"https://avatars3.githubusercontent.com/u/14162781?v=4","gravatar_id":"","url":"https://api.github.com/users/Van10000","html_url":"https://github.com/Van10000","followers_url":"https://api.github.com/users/Van10000/followers","following_url":"https://api.github.com/users/Van10000/following{/other_user}","gists_url":"https://api.github.com/users/Van10000/gists{/gist_id}","starred_url":"https://api.github.com/users/Van10000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Van10000/subscriptions","organizations_url":"https://api.github.com/users/Van10000/orgs","repos_url":"https://api.github.com/users/Van10000/repos","events_url":"https://api.github.com/users/Van10000/events{/privacy}","received_events_url":"https://api.github.com/users/Van10000/received_events","type":"User","site_admin":false},"repo":{"id":151400487,"node_id":"MDEwOlJlcG9zaXRvcnkxNTE0MDA0ODc=","name":"liquid-log","full_name":"Van10000/liquid-log","private":false,"owner":{"login":"Van10000","id":14162781,"node_id":"MDQ6VXNlcjE0MTYyNzgx","avatar_url":"https://avatars3.githubusercontent.com/u/14162781?v=4","gravatar_id":"","url":"https://api.github.com/users/Van10000","html_url":"https://github.com/Van10000","followers_url":"https://api.github.com/users/Van10000/followers","following_url":"https://api.github.com/users/Van10000/following{/other_user}","gists_url":"https://api.github.com/users/Van10000/gists{/gist_id}","starred_url":"https://api.github.com/users/Van10000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Van10000/subscriptions","organizations_url":"https://api.github.com/users/Van10000/orgs","repos_url":"https://api.github.com/users/Van10000/repos","events_url":"https://api.github.com/users/Van10000/events{/privacy}","received_events_url":"https://api.github.com/users/Van10000/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Van10000/liquid-log","description":null,"fork":true,"url":"https://api.github.com/repos/Van10000/liquid-log","forks_url":"https://api.github.com/repos/Van10000/liquid-log/forks","keys_url":"https://api.github.com/repos/Van10000/liquid-log/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Van10000/liquid-log/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Van10000/liquid-log/teams","hooks_url":"https://api.github.com/repos/Van10000/liquid-log/hooks","issue_events_url":"https://api.github.com/repos/Van10000/liquid-log/issues/events{/number}","events_url":"https://api.github.com/repos/Van10000/liquid-log/events","assignees_url":"https://api.github.com/repos/Van10000/liquid-log/assignees{/user}","branches_url":"https://api.github.com/repos/Van10000/liquid-log/branches{/branch}","tags_url":"https://api.github.com/repos/Van10000/liquid-log/tags","blobs_url":"https://api.github.com/repos/Van10000/liquid-log/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Van10000/liquid-log/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Van10000/liquid-log/git/refs{/sha}","trees_url":"https://api.github.com/repos/Van10000/liquid-log/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Van10000/liquid-log/statuses/{sha}","languages_url":"https://api.github.com/repos/Van10000/liquid-log/languages","stargazers_url":"https://api.github.com/repos/Van10000/liquid-log/stargazers","contributors_url":"https://api.github.com/repos/Van10000/liquid-log/contributors","subscribers_url":"https://api.github.com/repos/Van10000/liquid-log/subscribers","subscription_url":"https://api.github.com/repos/Van10000/liquid-log/subscription","commits_url":"https://api.github.com/repos/Van10000/liquid-log/commits{/sha}","git_commits_url":"https://api.github.com/repos/Van10000/liquid-log/git/commits{/sha}","comments_url":"https://api.github.com/repos/Van10000/liquid-log/comments{/number}","issue_comment_url":"https://api.github.com/repos/Van10000/liquid-log/issues/comments{/number}","contents_url":"https://api.github.com/repos/Van10000/liquid-log/contents/{+path}","compare_url":"https://api.github.com/repos/Van10000/liquid-log/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Van10000/liquid-log/merges","archive_url":"https://api.github.com/repos/Van10000/liquid-log/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Van10000/liquid-log/downloads","issues_url":"https://api.github.com/repos/Van10000/liquid-log/issues{/number}","pulls_url":"https://api.github.com/repos/Van10000/liquid-log/pulls{/number}","milestones_url":"https://api.github.com/repos/Van10000/liquid-log/milestones{/number}","notifications_url":"https://api.github.com/repos/Van10000/liquid-log/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Van10000/liquid-log/labels{/name}","releases_url":"https://api.github.com/repos/Van10000/liquid-log/releases{/id}","deployments_url":"https://api.github.com/repos/Van10000/liquid-log/deployments","created_at":"2018-10-03T11:12:51Z","updated_at":"2018-11-06T15:23:57Z","pushed_at":"2018-11-12T22:46:16Z","git_url":"git://github.com/Van10000/liquid-log.git","ssh_url":"git@github.com:Van10000/liquid-log.git","clone_url":"https://github.com/Van10000/liquid-log.git","svn_url":"https://github.com/Van10000/liquid-log","homepage":null,"size":2187,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"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":"Van10000:master","ref":"master","sha":"0b40e4281ebca964d6d1c8d6b23029c9ce13788f","user":{"login":"Van10000","id":14162781,"node_id":"MDQ6VXNlcjE0MTYyNzgx","avatar_url":"https://avatars3.githubusercontent.com/u/14162781?v=4","gravatar_id":"","url":"https://api.github.com/users/Van10000","html_url":"https://github.com/Van10000","followers_url":"https://api.github.com/users/Van10000/followers","following_url":"https://api.github.com/users/Van10000/following{/other_user}","gists_url":"https://api.github.com/users/Van10000/gists{/gist_id}","starred_url":"https://api.github.com/users/Van10000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Van10000/subscriptions","organizations_url":"https://api.github.com/users/Van10000/orgs","repos_url":"https://api.github.com/users/Van10000/repos","events_url":"https://api.github.com/users/Van10000/events{/privacy}","received_events_url":"https://api.github.com/users/Van10000/received_events","type":"User","site_admin":false},"repo":{"id":151400487,"node_id":"MDEwOlJlcG9zaXRvcnkxNTE0MDA0ODc=","name":"liquid-log","full_name":"Van10000/liquid-log","private":false,"owner":{"login":"Van10000","id":14162781,"node_id":"MDQ6VXNlcjE0MTYyNzgx","avatar_url":"https://avatars3.githubusercontent.com/u/14162781?v=4","gravatar_id":"","url":"https://api.github.com/users/Van10000","html_url":"https://github.com/Van10000","followers_url":"https://api.github.com/users/Van10000/followers","following_url":"https://api.github.com/users/Van10000/following{/other_user}","gists_url":"https://api.github.com/users/Van10000/gists{/gist_id}","starred_url":"https://api.github.com/users/Van10000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Van10000/subscriptions","organizations_url":"https://api.github.com/users/Van10000/orgs","repos_url":"https://api.github.com/users/Van10000/repos","events_url":"https://api.github.com/users/Van10000/events{/privacy}","received_events_url":"https://api.github.com/users/Van10000/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Van10000/liquid-log","description":null,"fork":true,"url":"https://api.github.com/repos/Van10000/liquid-log","forks_url":"https://api.github.com/repos/Van10000/liquid-log/forks","keys_url":"https://api.github.com/repos/Van10000/liquid-log/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Van10000/liquid-log/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Van10000/liquid-log/teams","hooks_url":"https://api.github.com/repos/Van10000/liquid-log/hooks","issue_events_url":"https://api.github.com/repos/Van10000/liquid-log/issues/events{/number}","events_url":"https://api.github.com/repos/Van10000/liquid-log/events","assignees_url":"https://api.github.com/repos/Van10000/liquid-log/assignees{/user}","branches_url":"https://api.github.com/repos/Van10000/liquid-log/branches{/branch}","tags_url":"https://api.github.com/repos/Van10000/liquid-log/tags","blobs_url":"https://api.github.com/repos/Van10000/liquid-log/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Van10000/liquid-log/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Van10000/liquid-log/git/refs{/sha}","trees_url":"https://api.github.com/repos/Van10000/liquid-log/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Van10000/liquid-log/statuses/{sha}","languages_url":"https://api.github.com/repos/Van10000/liquid-log/languages","stargazers_url":"https://api.github.com/repos/Van10000/liquid-log/stargazers","contributors_url":"https://api.github.com/repos/Van10000/liquid-log/contributors","subscribers_url":"https://api.github.com/repos/Van10000/liquid-log/subscribers","subscription_url":"https://api.github.com/repos/Van10000/liquid-log/subscription","commits_url":"https://api.github.com/repos/Van10000/liquid-log/commits{/sha}","git_commits_url":"https://api.github.com/repos/Van10000/liquid-log/git/commits{/sha}","comments_url":"https://api.github.com/repos/Van10000/liquid-log/comments{/number}","issue_comment_url":"https://api.github.com/repos/Van10000/liquid-log/issues/comments{/number}","contents_url":"https://api.github.com/repos/Van10000/liquid-log/contents/{+path}","compare_url":"https://api.github.com/repos/Van10000/liquid-log/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Van10000/liquid-log/merges","archive_url":"https://api.github.com/repos/Van10000/liquid-log/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Van10000/liquid-log/downloads","issues_url":"https://api.github.com/repos/Van10000/liquid-log/issues{/number}","pulls_url":"https://api.github.com/repos/Van10000/liquid-log/pulls{/number}","milestones_url":"https://api.github.com/repos/Van10000/liquid-log/milestones{/number}","notifications_url":"https://api.github.com/repos/Van10000/liquid-log/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Van10000/liquid-log/labels{/name}","releases_url":"https://api.github.com/repos/Van10000/liquid-log/releases{/id}","deployments_url":"https://api.github.com/repos/Van10000/liquid-log/deployments","created_at":"2018-10-03T11:12:51Z","updated_at":"2018-11-06T15:23:57Z","pushed_at":"2018-11-12T22:46:16Z","git_url":"git://github.com/Van10000/liquid-log.git","ssh_url":"git@github.com:Van10000/liquid-log.git","clone_url":"https://github.com/Van10000/liquid-log.git","svn_url":"https://github.com/Van10000/liquid-log","homepage":null,"size":2187,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"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"}},"_links":{"self":{"href":"https://api.github.com/repos/Van10000/liquid-log/pulls/6"},"html":{"href":"https://github.com/Van10000/liquid-log/pull/6"},"issue":{"href":"https://api.github.com/repos/Van10000/liquid-log/issues/6"},"comments":{"href":"https://api.github.com/repos/Van10000/liquid-log/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/Van10000/liquid-log/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/Van10000/liquid-log/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Van10000/liquid-log/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/Van10000/liquid-log/statuses/fe6e2af70c5861bb0ce5c780c4b40910ed684e97"}},"author_association":"OWNER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"Van10000","id":14162781,"node_id":"MDQ6VXNlcjE0MTYyNzgx","avatar_url":"https://avatars3.githubusercontent.com/u/14162781?v=4","gravatar_id":"","url":"https://api.github.com/users/Van10000","html_url":"https://github.com/Van10000","followers_url":"https://api.github.com/users/Van10000/followers","following_url":"https://api.github.com/users/Van10000/following{/other_user}","gists_url":"https://api.github.com/users/Van10000/gists{/gist_id}","starred_url":"https://api.github.com/users/Van10000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Van10000/subscriptions","organizations_url":"https://api.github.com/users/Van10000/orgs","repos_url":"https://api.github.com/users/Van10000/repos","events_url":"https://api.github.com/users/Van10000/events{/privacy}","received_events_url":"https://api.github.com/users/Van10000/received_events","type":"User","site_admin":false},"comments":5,"review_comments":2,"maintainer_can_modify":false,"commits":2,"additions":514,"deletions":381,"changed_files":34}}
{"actor":{"display_login":"Van10000"}}