{"action":"opened","issue":{"url":"https://api.github.com/repos/beesEX/ui/issues/15","repository_url":"https://api.github.com/repos/beesEX/ui","labels_url":"https://api.github.com/repos/beesEX/ui/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/beesEX/ui/issues/15/comments","events_url":"https://api.github.com/repos/beesEX/ui/issues/15/events","html_url":"https://github.com/beesEX/ui/issues/15","id":374926827,"node_id":"MDU6SXNzdWUzNzQ5MjY4Mjc=","number":15,"title":"[ui/test] order-replay page calls POST /test/reset on BE to reset test data","user":{"login":"tunggad","id":56057,"node_id":"MDQ6VXNlcjU2MDU3","avatar_url":"https://avatars1.githubusercontent.com/u/56057?v=4","gravatar_id":"","url":"https://api.github.com/users/tunggad","html_url":"https://github.com/tunggad","followers_url":"https://api.github.com/users/tunggad/followers","following_url":"https://api.github.com/users/tunggad/following{/other_user}","gists_url":"https://api.github.com/users/tunggad/gists{/gist_id}","starred_url":"https://api.github.com/users/tunggad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tunggad/subscriptions","organizations_url":"https://api.github.com/users/tunggad/orgs","repos_url":"https://api.github.com/users/tunggad/repos","events_url":"https://api.github.com/users/tunggad/events{/privacy}","received_events_url":"https://api.github.com/users/tunggad/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-29T09:32:39Z","updated_at":"2018-10-29T09:32:39Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Summary:\r\nA link/button on order-replay page, which call POST /test/reset on BE to reset all test data\r\n\r\nPrerequisites:\r\nBE task [#28](https://github.com/beesEX/be/issues/28) has to been done first\r\n\r\nTODO:\r\n- Place a link/button somewhere on order-replay page with name `reset test data` which calls GET /order-replay/reset per ajax\r\n- a handler function on `controller/order-replay.js` mapped on GET /order-replay/reset calls BE POST /test/reset to reset test data and deposit new fund for the user\r\n- If call to reset on BE is successful, UI client side then calls GET /finance/status/:currency to see new fund deposited for the user, so the user is ready for the next test session."}}
{"actor":{"display_login":"tunggad"}}