{"action":"created","issue":{"url":"https://api.github.com/repos/jmartin82/mmock/issues/15","repository_url":"https://api.github.com/repos/jmartin82/mmock","labels_url":"https://api.github.com/repos/jmartin82/mmock/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/jmartin82/mmock/issues/15/comments","events_url":"https://api.github.com/repos/jmartin82/mmock/issues/15/events","html_url":"https://github.com/jmartin82/mmock/pull/15","id":194077927,"number":15,"title":"Adding support for calling endpoints","user":{"login":"vtrifonov","id":2012477,"avatar_url":"https://avatars.githubusercontent.com/u/2012477?v=3","gravatar_id":"","url":"https://api.github.com/users/vtrifonov","html_url":"https://github.com/vtrifonov","followers_url":"https://api.github.com/users/vtrifonov/followers","following_url":"https://api.github.com/users/vtrifonov/following{/other_user}","gists_url":"https://api.github.com/users/vtrifonov/gists{/gist_id}","starred_url":"https://api.github.com/users/vtrifonov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vtrifonov/subscriptions","organizations_url":"https://api.github.com/users/vtrifonov/orgs","repos_url":"https://api.github.com/users/vtrifonov/repos","events_url":"https://api.github.com/users/vtrifonov/events{/privacy}","received_events_url":"https://api.github.com/users/vtrifonov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-07T15:22:06Z","updated_at":"2016-12-21T10:25:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jmartin82/mmock/pulls/15","html_url":"https://github.com/jmartin82/mmock/pull/15","diff_url":"https://github.com/jmartin82/mmock/pull/15.diff","patch_url":"https://github.com/jmartin82/mmock/pull/15.patch"},"body":"The idea here is to support calling endpoints as a part of the processing. I need this in order to create more than one entity with a single request. To achieve this I'm making request to another endpoint in the mock after storing the main entity. You can check this configuration **post-user-orders-call-users.json**. However I think that this functionality can be useful for many other cases."},"comment":{"url":"https://api.github.com/repos/jmartin82/mmock/issues/comments/268488368","html_url":"https://github.com/jmartin82/mmock/pull/15#issuecomment-268488368","issue_url":"https://api.github.com/repos/jmartin82/mmock/issues/15","id":268488368,"user":{"login":"jmartin82","id":152270,"avatar_url":"https://avatars.githubusercontent.com/u/152270?v=3","gravatar_id":"","url":"https://api.github.com/users/jmartin82","html_url":"https://github.com/jmartin82","followers_url":"https://api.github.com/users/jmartin82/followers","following_url":"https://api.github.com/users/jmartin82/following{/other_user}","gists_url":"https://api.github.com/users/jmartin82/gists{/gist_id}","starred_url":"https://api.github.com/users/jmartin82/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmartin82/subscriptions","organizations_url":"https://api.github.com/users/jmartin82/orgs","repos_url":"https://api.github.com/users/jmartin82/repos","events_url":"https://api.github.com/users/jmartin82/events{/privacy}","received_events_url":"https://api.github.com/users/jmartin82/received_events","type":"User","site_admin":false},"created_at":"2016-12-21T10:25:08Z","updated_at":"2016-12-21T10:25:08Z","body":"Hey Vasil, I was working in a new approach for mmock I want something more deterministic and repeatable than now and I removed the support of persistence in favor of scenarios.  Now the config files are more verbose and maybe less flexibles but it fits better with my main idea. I still think that the persistence is a good idea, feel free to continue working on it with you fork and get whatever you need from this project. I'll try to help you with anything you need. \r\n\r\nAnd for sure all you contributions are welcomed."}}
{"actor":{"display_login":"jmartin82"}}