{"action":"created","issue":{"url":"https://api.github.com/repos/akvo/akvo-flow/issues/1985","repository_url":"https://api.github.com/repos/akvo/akvo-flow","labels_url":"https://api.github.com/repos/akvo/akvo-flow/issues/1985/labels{/name}","comments_url":"https://api.github.com/repos/akvo/akvo-flow/issues/1985/comments","events_url":"https://api.github.com/repos/akvo/akvo-flow/issues/1985/events","html_url":"https://github.com/akvo/akvo-flow/issues/1985","id":213291919,"number":1985,"title":"Exposed /remote_api on a different endpoint to enable tracing","user":{"login":"iperdomo","id":178474,"avatar_url":"https://avatars1.githubusercontent.com/u/178474?v=3","gravatar_id":"","url":"https://api.github.com/users/iperdomo","html_url":"https://github.com/iperdomo","followers_url":"https://api.github.com/users/iperdomo/followers","following_url":"https://api.github.com/users/iperdomo/following{/other_user}","gists_url":"https://api.github.com/users/iperdomo/gists{/gist_id}","starred_url":"https://api.github.com/users/iperdomo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iperdomo/subscriptions","organizations_url":"https://api.github.com/users/iperdomo/orgs","repos_url":"https://api.github.com/users/iperdomo/repos","events_url":"https://api.github.com/users/iperdomo/events{/privacy}","received_events_url":"https://api.github.com/users/iperdomo/received_events","type":"User","site_admin":false},"labels":[{"id":455384721,"url":"https://api.github.com/repos/akvo/akvo-flow/labels/Ready%20for%20testing","name":"Ready for testing","color":"ededed","default":false}],"state":"open","locked":false,"assignee":{"login":"iperdomo","id":178474,"avatar_url":"https://avatars1.githubusercontent.com/u/178474?v=3","gravatar_id":"","url":"https://api.github.com/users/iperdomo","html_url":"https://github.com/iperdomo","followers_url":"https://api.github.com/users/iperdomo/followers","following_url":"https://api.github.com/users/iperdomo/following{/other_user}","gists_url":"https://api.github.com/users/iperdomo/gists{/gist_id}","starred_url":"https://api.github.com/users/iperdomo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iperdomo/subscriptions","organizations_url":"https://api.github.com/users/iperdomo/orgs","repos_url":"https://api.github.com/users/iperdomo/repos","events_url":"https://api.github.com/users/iperdomo/events{/privacy}","received_events_url":"https://api.github.com/users/iperdomo/received_events","type":"User","site_admin":false},"assignees":[{"login":"iperdomo","id":178474,"avatar_url":"https://avatars1.githubusercontent.com/u/178474?v=3","gravatar_id":"","url":"https://api.github.com/users/iperdomo","html_url":"https://github.com/iperdomo","followers_url":"https://api.github.com/users/iperdomo/followers","following_url":"https://api.github.com/users/iperdomo/following{/other_user}","gists_url":"https://api.github.com/users/iperdomo/gists{/gist_id}","starred_url":"https://api.github.com/users/iperdomo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iperdomo/subscriptions","organizations_url":"https://api.github.com/users/iperdomo/orgs","repos_url":"https://api.github.com/users/iperdomo/repos","events_url":"https://api.github.com/users/iperdomo/events{/privacy}","received_events_url":"https://api.github.com/users/iperdomo/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2017-03-10T09:44:18Z","updated_at":"2017-03-29T09:55:50Z","closed_at":null,"body":"The first implementation of the new Flow API will use [Remote API](https://cloud.google.com/appengine/docs/standard/java/tools/remoteapi) for accessing the Datastore. In order to isolate requests done as part of a _usual_ remote api call (e.g. Datascripts, daily statistics) we want to expose the same functionality on a different endpoint. Ideally this new endpoint should allow us to group/trace/correlate calls and potentially calculate relative costs.\r\n\r\nTo achieve the latter the Remote API client **must** configure the path with a unique identifier. e.g.\r\n\r\n````java\r\n        String traceId = UUID.randomUUID().toString();        \r\n        RemoteApiOptions options = new RemoteApiOptions().server(instanceUrl, port);\r\n        \r\n        options.useServiceAccountCredential(serviceAccount, serviceAccountPvk);\r\n        options.remoteApiPath(\"/traced_remote_api/\" + traceId);\r\n````\r\n\r\nSee: https://cloud.google.com/appengine/docs/standard/java/tools/remoteapi/javadoc/com/google/appengine/tools/remoteapi/RemoteApiOptions.html#remoteApiPath-java.lang.String- \r\n\r\nIf the client makes several requests with the same _path_ we can group and analyze them."},"comment":{"url":"https://api.github.com/repos/akvo/akvo-flow/issues/comments/290041971","html_url":"https://github.com/akvo/akvo-flow/issues/1985#issuecomment-290041971","issue_url":"https://api.github.com/repos/akvo/akvo-flow/issues/1985","id":290041971,"user":{"login":"janagombitova","id":12456965,"avatar_url":"https://avatars1.githubusercontent.com/u/12456965?v=3","gravatar_id":"","url":"https://api.github.com/users/janagombitova","html_url":"https://github.com/janagombitova","followers_url":"https://api.github.com/users/janagombitova/followers","following_url":"https://api.github.com/users/janagombitova/following{/other_user}","gists_url":"https://api.github.com/users/janagombitova/gists{/gist_id}","starred_url":"https://api.github.com/users/janagombitova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janagombitova/subscriptions","organizations_url":"https://api.github.com/users/janagombitova/orgs","repos_url":"https://api.github.com/users/janagombitova/repos","events_url":"https://api.github.com/users/janagombitova/events{/privacy}","received_events_url":"https://api.github.com/users/janagombitova/received_events","type":"User","site_admin":false},"created_at":"2017-03-29T09:55:50Z","updated_at":"2017-03-29T09:55:50Z","body":"@iperdomo and @muloem there is no test plan for this issue and I am not sure if the successful review is sufficient here to confirm these changes are ready for a release. Can you provide some guidance? Thanks "}}
{"actor":{"display_login":"janagombitova"}}