{"action":"created","issue":{"url":"https://api.github.com/repos/opentripplanner/OpenTripPlanner/issues/1754","labels_url":"https://api.github.com/repos/opentripplanner/OpenTripPlanner/issues/1754/labels{/name}","comments_url":"https://api.github.com/repos/opentripplanner/OpenTripPlanner/issues/1754/comments","events_url":"https://api.github.com/repos/opentripplanner/OpenTripPlanner/issues/1754/events","html_url":"https://github.com/opentripplanner/OpenTripPlanner/pull/1754","id":58348879,"number":1754,"title":"Generate trip id from route and time in GTFS-RT, when trip id is not available","user":{"login":"hannesj","id":698100,"avatar_url":"https://avatars.githubusercontent.com/u/698100?v=3","gravatar_id":"","url":"https://api.github.com/users/hannesj","html_url":"https://github.com/hannesj","followers_url":"https://api.github.com/users/hannesj/followers","following_url":"https://api.github.com/users/hannesj/following{/other_user}","gists_url":"https://api.github.com/users/hannesj/gists{/gist_id}","starred_url":"https://api.github.com/users/hannesj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hannesj/subscriptions","organizations_url":"https://api.github.com/users/hannesj/orgs","repos_url":"https://api.github.com/users/hannesj/repos","events_url":"https://api.github.com/users/hannesj/events{/privacy}","received_events_url":"https://api.github.com/users/hannesj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-20T12:58:31Z","updated_at":"2015-02-21T19:04:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/opentripplanner/OpenTripPlanner/pulls/1754","html_url":"https://github.com/opentripplanner/OpenTripPlanner/pull/1754","diff_url":"https://github.com/opentripplanner/OpenTripPlanner/pull/1754.diff","patch_url":"https://github.com/opentripplanner/OpenTripPlanner/pull/1754.patch"},"body":"Currently, we do not get the generated trip id from our real-time system, but only the route id, direction, start time and date. Fortunately that is enough to uniquely identify a trip and this branch enables OTP to use that information to generate the trip id for the update. Also updates the generated GTFS-RT protobuf code."},"comment":{"url":"https://api.github.com/repos/opentripplanner/OpenTripPlanner/issues/comments/75386863","html_url":"https://github.com/opentripplanner/OpenTripPlanner/pull/1754#issuecomment-75386863","issue_url":"https://api.github.com/repos/opentripplanner/OpenTripPlanner/issues/1754","id":75386863,"user":{"login":"JordenVerwer","id":3972498,"avatar_url":"https://avatars.githubusercontent.com/u/3972498?v=3","gravatar_id":"","url":"https://api.github.com/users/JordenVerwer","html_url":"https://github.com/JordenVerwer","followers_url":"https://api.github.com/users/JordenVerwer/followers","following_url":"https://api.github.com/users/JordenVerwer/following{/other_user}","gists_url":"https://api.github.com/users/JordenVerwer/gists{/gist_id}","starred_url":"https://api.github.com/users/JordenVerwer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JordenVerwer/subscriptions","organizations_url":"https://api.github.com/users/JordenVerwer/orgs","repos_url":"https://api.github.com/users/JordenVerwer/repos","events_url":"https://api.github.com/users/JordenVerwer/events{/privacy}","received_events_url":"https://api.github.com/users/JordenVerwer/received_events","type":"User","site_admin":false},"created_at":"2015-02-21T19:04:11Z","updated_at":"2015-02-21T19:04:11Z","body":"Are there any guarantees that the combination of route + direction + date + time is unique? If not, this still sounds like a special-purpose solution to me. I also don't understand what you mean by \"We would like to keep OTP as the single source of various ids in each environment\". Didn't you just say that you're forced to work with a GTFS feed containing unstable, meaningless trip IDs? Then which IDs are you talking about here? And in what way is OTP ever the source of IDs anyway? Maybe you meant to write something else..."}}