{"action":"created","issue":{"url":"https://api.github.com/repos/mulesoft/api-designer/issues/297","labels_url":"https://api.github.com/repos/mulesoft/api-designer/issues/297/labels{/name}","comments_url":"https://api.github.com/repos/mulesoft/api-designer/issues/297/comments","events_url":"https://api.github.com/repos/mulesoft/api-designer/issues/297/events","html_url":"https://github.com/mulesoft/api-designer/issues/297","id":68083771,"number":297,"title":"Turning mocking service off and on again adds extra \"mocks/<guid>\" to the base URI","user":{"login":"melissavdh","id":1225475,"avatar_url":"https://avatars.githubusercontent.com/u/1225475?v=3","gravatar_id":"","url":"https://api.github.com/users/melissavdh","html_url":"https://github.com/melissavdh","followers_url":"https://api.github.com/users/melissavdh/followers","following_url":"https://api.github.com/users/melissavdh/following{/other_user}","gists_url":"https://api.github.com/users/melissavdh/gists{/gist_id}","starred_url":"https://api.github.com/users/melissavdh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/melissavdh/subscriptions","organizations_url":"https://api.github.com/users/melissavdh/orgs","repos_url":"https://api.github.com/users/melissavdh/repos","events_url":"https://api.github.com/users/melissavdh/events{/privacy}","received_events_url":"https://api.github.com/users/melissavdh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-13T12:21:30Z","updated_at":"2015-06-18T13:43:23Z","closed_at":null,"body":"When I first turn on the mocking service the base URI in my RAML becomes:\r\nhttp://mocksvc.mulesoft.com/mocks/0a7ebfb8-f2c3-4c52-a68b-e8705292e539/api\r\n(1st time on: 1 x \"/mocks\" in URI)\r\n\r\nIf I turn it off and on again it is now:\r\nhttp://mocksvc.mulesoft.com/mocks/8b854c1c-cd4f-4c29-9aa0-b9317e29b262/mocks/0a7ebfb8-f2c3-4c52-a68b-e8705292e539/api\r\n(2nd time on: 2 x \"/mocks\" in URI)\r\n\r\nIf I repeat I get:\r\nhttp://mocksvc.mulesoft.com/mocks/4035efce-4dcd-4f6b-ae2d-04e0149fc445/mocks/8b854c1c-cd4f-4c29-9aa0-b9317e29b262/mocks/0a7ebfb8-f2c3-4c52-a68b-e8705292e539/api\r\n(3rd time on: 3 x \"/mocks\" in URI)\r\n\r\nNote how each time I turn it off and on, the base URI includes the whole of the previous base URI from the last time the mocking service was on."},"comment":{"url":"https://api.github.com/repos/mulesoft/api-designer/issues/comments/113161337","html_url":"https://github.com/mulesoft/api-designer/issues/297#issuecomment-113161337","issue_url":"https://api.github.com/repos/mulesoft/api-designer/issues/297","id":113161337,"user":{"login":"sichvoge","id":498114,"avatar_url":"https://avatars.githubusercontent.com/u/498114?v=3","gravatar_id":"","url":"https://api.github.com/users/sichvoge","html_url":"https://github.com/sichvoge","followers_url":"https://api.github.com/users/sichvoge/followers","following_url":"https://api.github.com/users/sichvoge/following{/other_user}","gists_url":"https://api.github.com/users/sichvoge/gists{/gist_id}","starred_url":"https://api.github.com/users/sichvoge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sichvoge/subscriptions","organizations_url":"https://api.github.com/users/sichvoge/orgs","repos_url":"https://api.github.com/users/sichvoge/repos","events_url":"https://api.github.com/users/sichvoge/events{/privacy}","received_events_url":"https://api.github.com/users/sichvoge/received_events","type":"User","site_admin":false},"created_at":"2015-06-18T13:43:23Z","updated_at":"2015-06-18T13:43:23Z","body":"Waiting for about 30sec helps - it happens when you immediately switch it on, off, and on again."}}