{"action":"created","issue":{"url":"https://api.github.com/repos/bbyars/mountebank/issues/167","repository_url":"https://api.github.com/repos/bbyars/mountebank","labels_url":"https://api.github.com/repos/bbyars/mountebank/issues/167/labels{/name}","comments_url":"https://api.github.com/repos/bbyars/mountebank/issues/167/comments","events_url":"https://api.github.com/repos/bbyars/mountebank/issues/167/events","html_url":"https://github.com/bbyars/mountebank/issues/167","id":192348936,"number":167,"title":"Support persistent startup","user":{"login":"bbyars","id":70335,"avatar_url":"https://avatars0.githubusercontent.com/u/70335?v=4","gravatar_id":"","url":"https://api.github.com/users/bbyars","html_url":"https://github.com/bbyars","followers_url":"https://api.github.com/users/bbyars/followers","following_url":"https://api.github.com/users/bbyars/following{/other_user}","gists_url":"https://api.github.com/users/bbyars/gists{/gist_id}","starred_url":"https://api.github.com/users/bbyars/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbyars/subscriptions","organizations_url":"https://api.github.com/users/bbyars/orgs","repos_url":"https://api.github.com/users/bbyars/repos","events_url":"https://api.github.com/users/bbyars/events{/privacy}","received_events_url":"https://api.github.com/users/bbyars/received_events","type":"User","site_admin":false},"labels":[{"id":841175028,"url":"https://api.github.com/repos/bbyars/mountebank/labels/Power%20user%20experience","name":"Power user experience","color":"fcada6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-11-29T17:35:40Z","updated_at":"2018-05-02T13:15:28Z","closed_at":null,"author_association":"OWNER","body":"Support starting mountebank in persistent mode, so that the up-to-date imposter configuration is always on the filesystem in case mountebank crashes or the user shuts it down without first running `mb save`\r\n\r\n## Interface\r\n\r\nAllow starting mountebank with the `--savefile` option used in `mb save`:\r\n\r\n``mb --savefile mb.json``\r\n\r\nAny imposters created through either the API or added via proxying should be automatically added to the savefile, such that\r\n\r\n``mb restart --configfile mb.json``\r\n\r\nshould recreate the exact same imposters, and\r\n\r\n``mb restart --configfile mb.json --removeProxies``\r\n\r\nshould start without the proxies.\r\n\r\n## Acceptance Criteria\r\n\r\nThe result should include automated tests (in the functionalTest/commandLine directory) that verify the following:\r\n\r\nWhen I run `mb --configfile test.json --savefile mb.json`\r\nThen mb.json contains the evaluated content of test.json (equivalent to GET /imposters?replayable=true)\r\n\r\nGiven I run `mb --savefile mb.json`\r\nWhen I POST /imposters, PUT /imposters, DELETE /imposters, or DELETE /imposters/{id}\r\nThen mb.json should contain the equivalent of GET /imposters?replayable=true\r\n\r\nGiven I run `mb --savefile mb.json` and upload a proxy response\r\nWHEN I make a call to the proxy, creating a new saved response\r\nThen mb.json should contain the equivalent of GET /imposters?replayable=true\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/bbyars/mountebank/issues/comments/385973690","html_url":"https://github.com/bbyars/mountebank/issues/167#issuecomment-385973690","issue_url":"https://api.github.com/repos/bbyars/mountebank/issues/167","id":385973690,"user":{"login":"stkac55","id":22052243,"avatar_url":"https://avatars3.githubusercontent.com/u/22052243?v=4","gravatar_id":"","url":"https://api.github.com/users/stkac55","html_url":"https://github.com/stkac55","followers_url":"https://api.github.com/users/stkac55/followers","following_url":"https://api.github.com/users/stkac55/following{/other_user}","gists_url":"https://api.github.com/users/stkac55/gists{/gist_id}","starred_url":"https://api.github.com/users/stkac55/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stkac55/subscriptions","organizations_url":"https://api.github.com/users/stkac55/orgs","repos_url":"https://api.github.com/users/stkac55/repos","events_url":"https://api.github.com/users/stkac55/events{/privacy}","received_events_url":"https://api.github.com/users/stkac55/received_events","type":"User","site_admin":false},"created_at":"2018-05-02T13:15:28Z","updated_at":"2018-05-02T13:15:28Z","author_association":"CONTRIBUTOR","body":"Hey Brandon,  Yes I think that's probably the best course of action to move forward.  I'd be happy to look at resolving some of the conflicts, but I probably won't be able to get to it for awhile.  \r\n\r\nI'll close the PR as suggested.  "}}
{"actor":{"display_login":"stkac55"}}