{"action":"created","issue":{"url":"https://api.github.com/repos/chef/inspec/issues/1942","repository_url":"https://api.github.com/repos/chef/inspec","labels_url":"https://api.github.com/repos/chef/inspec/issues/1942/labels{/name}","comments_url":"https://api.github.com/repos/chef/inspec/issues/1942/comments","events_url":"https://api.github.com/repos/chef/inspec/issues/1942/events","html_url":"https://github.com/chef/inspec/issues/1942","id":236909641,"number":1942,"title":"update mysql_session resource to have mysql_command method for stringbuilding of connection. ","user":{"login":"rshade","id":131337,"avatar_url":"https://avatars2.githubusercontent.com/u/131337?v=3","gravatar_id":"","url":"https://api.github.com/users/rshade","html_url":"https://github.com/rshade","followers_url":"https://api.github.com/users/rshade/followers","following_url":"https://api.github.com/users/rshade/following{/other_user}","gists_url":"https://api.github.com/users/rshade/gists{/gist_id}","starred_url":"https://api.github.com/users/rshade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rshade/subscriptions","organizations_url":"https://api.github.com/users/rshade/orgs","repos_url":"https://api.github.com/users/rshade/repos","events_url":"https://api.github.com/users/rshade/events{/privacy}","received_events_url":"https://api.github.com/users/rshade/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-06-19T14:28:20Z","updated_at":"2017-06-19T15:02:24Z","closed_at":null,"body":"### Description\r\n\r\nright now there are several options to build the mysql command in the mysql_session resource, break it out into it's own method to support unit testing. \r\n\r\n### InSpec and Platform Version\r\n\r\n1.28.1\r\n### Replication Case\r\n\r\nTell us what steps to take to replicate your problem.  See [How to create a Minimal, Complete, and Verifiable example](https://stackoverflow.com/help/mcve)\r\nfor information on how to create a good replication case.\r\n\r\n### Possible Solutions\r\n\r\nbreak mysql command into its own method to be able to test returns.\r\n\r\n### Stacktrace\r\n\r\nPlease include the stacktrace output or link to a gist of it, if there is one.\r\n"},"comment":{"url":"https://api.github.com/repos/chef/inspec/issues/comments/309467580","html_url":"https://github.com/chef/inspec/issues/1942#issuecomment-309467580","issue_url":"https://api.github.com/repos/chef/inspec/issues/1942","id":309467580,"user":{"login":"adamleff","id":3221128,"avatar_url":"https://avatars2.githubusercontent.com/u/3221128?v=3","gravatar_id":"","url":"https://api.github.com/users/adamleff","html_url":"https://github.com/adamleff","followers_url":"https://api.github.com/users/adamleff/followers","following_url":"https://api.github.com/users/adamleff/following{/other_user}","gists_url":"https://api.github.com/users/adamleff/gists{/gist_id}","starred_url":"https://api.github.com/users/adamleff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamleff/subscriptions","organizations_url":"https://api.github.com/users/adamleff/orgs","repos_url":"https://api.github.com/users/adamleff/repos","events_url":"https://api.github.com/users/adamleff/events{/privacy}","received_events_url":"https://api.github.com/users/adamleff/received_events","type":"User","site_admin":false},"created_at":"2017-06-19T15:02:24Z","updated_at":"2017-06-19T15:02:24Z","body":"@rshade thanks for opening this issue to track the suggestion noted in https://github.com/chef/inspec/pull/1933#pullrequestreview-44674923. We should definitely do this to help the resource be more stable moving forward. I'll try and get to this myself, but if you are able to start working on it, just ping me here in this issue so we don't duplicate effort!"}}
{"actor":{"display_login":"adamleff"}}