{"action":"created","issue":{"url":"https://api.github.com/repos/universalcore/unicore.distribute/issues/14","labels_url":"https://api.github.com/repos/universalcore/unicore.distribute/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/universalcore/unicore.distribute/issues/14/comments","events_url":"https://api.github.com/repos/universalcore/unicore.distribute/issues/14/events","html_url":"https://github.com/universalcore/unicore.distribute/pull/14","id":75998814,"number":14,"title":"Optionally Expose ES API in unicore.distribute","user":{"login":"smn","id":1065,"avatar_url":"https://avatars.githubusercontent.com/u/1065?v=3","gravatar_id":"","url":"https://api.github.com/users/smn","html_url":"https://github.com/smn","followers_url":"https://api.github.com/users/smn/followers","following_url":"https://api.github.com/users/smn/following{/other_user}","gists_url":"https://api.github.com/users/smn/gists{/gist_id}","starred_url":"https://api.github.com/users/smn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smn/subscriptions","organizations_url":"https://api.github.com/users/smn/orgs","repos_url":"https://api.github.com/users/smn/repos","events_url":"https://api.github.com/users/smn/events{/privacy}","received_events_url":"https://api.github.com/users/smn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-13T14:16:05Z","updated_at":"2015-05-13T19:02:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/universalcore/unicore.distribute/pulls/14","html_url":"https://github.com/universalcore/unicore.distribute/pull/14","diff_url":"https://github.com/universalcore/unicore.distribute/pull/14.diff","patch_url":"https://github.com/universalcore/unicore.distribute/pull/14.patch"},"body":"Gives us a single (more manageable) source of truth instead of both git (local files) & ES (remote index)."},"comment":{"url":"https://api.github.com/repos/universalcore/unicore.distribute/issues/comments/101778539","html_url":"https://github.com/universalcore/unicore.distribute/pull/14#issuecomment-101778539","issue_url":"https://api.github.com/repos/universalcore/unicore.distribute/issues/14","id":101778539,"user":{"login":"smn","id":1065,"avatar_url":"https://avatars.githubusercontent.com/u/1065?v=3","gravatar_id":"","url":"https://api.github.com/users/smn","html_url":"https://github.com/smn","followers_url":"https://api.github.com/users/smn/followers","following_url":"https://api.github.com/users/smn/following{/other_user}","gists_url":"https://api.github.com/users/smn/gists{/gist_id}","starred_url":"https://api.github.com/users/smn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smn/subscriptions","organizations_url":"https://api.github.com/users/smn/orgs","repos_url":"https://api.github.com/users/smn/repos","events_url":"https://api.github.com/users/smn/events{/privacy}","received_events_url":"https://api.github.com/users/smn/received_events","type":"User","site_admin":false},"created_at":"2015-05-13T19:02:23Z","updated_at":"2015-05-13T19:02:23Z","body":"@miltontony & @Rizziepit missing tests but this seems to be working.\r\n\r\nelasticsearch-py (which elasticutils uses) allows one to set a [`url_prefix`](http://elasticsearch-py.readthedocs.org/en/latest/transports.html?highlight=url_prefix#connection) value which in our case here we'd set to `esapi` (or whatever we settle on).\r\n\r\nThis way we possibly can continue using large parts of our `EG.workspace()` stuff as is but then point it at a `unicore.distribute` server running somewhere. \r\n\r\nThe biggest things that would need to swapping out are the calls that operate on the actual git repository (git pulls, fast-forwards etc...)\r\n"}}