{"action":"created","comment":{"url":"https://api.github.com/repos/CanalTP/navitia/pulls/comments/76945810","id":76945810,"diff_hunk":"@@ -0,0 +1,67 @@\n+#  Copyright (c) 2001-2014, Canal TP and/or its affiliates. All rights reserved.\n+#\n+# This file is part of Navitia,\n+#     the software to build cool stuff with public transport.\n+#\n+# Hope you'll enjoy and contribute to this project,\n+#     powered by Canal TP (www.canaltp.fr).\n+# Help us simplify mobility and open public transport:\n+#     a non ending quest to the responsive locomotion way of traveling!\n+#\n+# LICENCE: This program is free software; you can redistribute it and/or modify\n+# it under the terms of the GNU Affero General Public License as published by\n+# the Free Software Foundation, either version 3 of the License, or\n+# (at your option) any later version.\n+#\n+# This program is distributed in the hope that it will be useful,\n+# but WITHOUT ANY WARRANTY; without even the implied warranty of\n+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n+# GNU Affero General Public License for more details.\n+#\n+# You should have received a copy of the GNU Affero General Public License\n+# along with this program. If not, see <http://www.gnu.org/licenses/>.\n+#\n+# Stay tuned using\n+# twitter @navitia\n+# IRC #navitia on freenode\n+# https://groups.google.com/d/forum/navitia\n+# www.navitia.io\n+\n+from __future__ import absolute_import, print_function, unicode_literals, division\n+from navitiacommon import request_pb2, response_pb2, type_pb2\n+import logging\n+\n+\n+class Kraken(object):\n+\n+    def __init__(self, instance, service_url, directions_options, costing_options, api_key=None):","path":"source/jormungandr/jormungandr/street_network/kraken.py","position":37,"original_position":37,"commit_id":"bbb87b750472a66bb7d7dca72bd7026b8ef9907e","original_commit_id":"bbb87b750472a66bb7d7dca72bd7026b8ef9907e","user":{"login":"kinnou02","id":448185,"avatar_url":"https://avatars.githubusercontent.com/u/448185?v=3","gravatar_id":"","url":"https://api.github.com/users/kinnou02","html_url":"https://github.com/kinnou02","followers_url":"https://api.github.com/users/kinnou02/followers","following_url":"https://api.github.com/users/kinnou02/following{/other_user}","gists_url":"https://api.github.com/users/kinnou02/gists{/gist_id}","starred_url":"https://api.github.com/users/kinnou02/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kinnou02/subscriptions","organizations_url":"https://api.github.com/users/kinnou02/orgs","repos_url":"https://api.github.com/users/kinnou02/repos","events_url":"https://api.github.com/users/kinnou02/events{/privacy}","received_events_url":"https://api.github.com/users/kinnou02/received_events","type":"User","site_admin":false},"body":"always take a **kwargs in connectors, it's help when we will change the configuration later","created_at":"2016-08-31T08:35:58Z","updated_at":"2016-08-31T08:35:58Z","html_url":"https://github.com/CanalTP/navitia/pull/1741#discussion_r76945810","pull_request_url":"https://api.github.com/repos/CanalTP/navitia/pulls/1741","_links":{"self":{"href":"https://api.github.com/repos/CanalTP/navitia/pulls/comments/76945810"},"html":{"href":"https://github.com/CanalTP/navitia/pull/1741#discussion_r76945810"},"pull_request":{"href":"https://api.github.com/repos/CanalTP/navitia/pulls/1741"}}},"pull_request":{"url":"https://api.github.com/repos/CanalTP/navitia/pulls/1741","id":83102512,"html_url":"https://github.com/CanalTP/navitia/pull/1741","diff_url":"https://github.com/CanalTP/navitia/pull/1741.diff","patch_url":"https://github.com/CanalTP/navitia/pull/1741.patch","issue_url":"https://api.github.com/repos/CanalTP/navitia/issues/1741","number":1741,"state":"open","locked":false,"title":"use valhalla service","user":{"login":"azime","id":4006603,"avatar_url":"https://avatars.githubusercontent.com/u/4006603?v=3","gravatar_id":"","url":"https://api.github.com/users/azime","html_url":"https://github.com/azime","followers_url":"https://api.github.com/users/azime/followers","following_url":"https://api.github.com/users/azime/following{/other_user}","gists_url":"https://api.github.com/users/azime/gists{/gist_id}","starred_url":"https://api.github.com/users/azime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azime/subscriptions","organizations_url":"https://api.github.com/users/azime/orgs","repos_url":"https://api.github.com/users/azime/repos","events_url":"https://api.github.com/users/azime/events{/privacy}","received_events_url":"https://api.github.com/users/azime/received_events","type":"User","site_admin":false},"body":"Jira: http://jira.canaltp.fr/browse/ITI-84\r\n\r\nexample of instance configuration for street_network:\r\n\r\n```json\r\n{\r\n  ...,\r\n  \"street_network\": {\r\n    \"class\": \"jormungandr.street_network.valhalla.Valhalla\",\r\n    \"args\": {\r\n      \"service_url\": \"http://localhost:8002\",\r\n      \"service_args\": {\r\n        \"directions_options\": {\r\n          \"language\": \"fr-FR\"\r\n        }\r\n      },\r\n      \"api_key\": \"\",\r\n      \"costing_options\": {\r\n        \"auto\": {},\r\n        \"bicycle\": {\r\n          \"bicycle_type\": \"Hybrid\",\r\n          \"cycling_speed\": 18\r\n        },\r\n        \"pedestrian\": {\r\n          \"walking_speed\": 50.1\r\n        }\r\n      }\r\n    }\r\n  }\r\n}\r\n```\r\n\r\n","created_at":"2016-08-29T13:52:57Z","updated_at":"2016-08-31T08:35:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"79ffe7acd0fb35062d72235538228c7736c73f86","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/CanalTP/navitia/pulls/1741/commits","review_comments_url":"https://api.github.com/repos/CanalTP/navitia/pulls/1741/comments","review_comment_url":"https://api.github.com/repos/CanalTP/navitia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CanalTP/navitia/issues/1741/comments","statuses_url":"https://api.github.com/repos/CanalTP/navitia/statuses/bbb87b750472a66bb7d7dca72bd7026b8ef9907e","head":{"label":"azime:valhalla_called","ref":"valhalla_called","sha":"bbb87b750472a66bb7d7dca72bd7026b8ef9907e","user":{"login":"azime","id":4006603,"avatar_url":"https://avatars.githubusercontent.com/u/4006603?v=3","gravatar_id":"","url":"https://api.github.com/users/azime","html_url":"https://github.com/azime","followers_url":"https://api.github.com/users/azime/followers","following_url":"https://api.github.com/users/azime/following{/other_user}","gists_url":"https://api.github.com/users/azime/gists{/gist_id}","starred_url":"https://api.github.com/users/azime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azime/subscriptions","organizations_url":"https://api.github.com/users/azime/orgs","repos_url":"https://api.github.com/users/azime/repos","events_url":"https://api.github.com/users/azime/events{/privacy}","received_events_url":"https://api.github.com/users/azime/received_events","type":"User","site_admin":false},"repo":{"id":19149123,"name":"navitia","full_name":"azime/navitia","owner":{"login":"azime","id":4006603,"avatar_url":"https://avatars.githubusercontent.com/u/4006603?v=3","gravatar_id":"","url":"https://api.github.com/users/azime","html_url":"https://github.com/azime","followers_url":"https://api.github.com/users/azime/followers","following_url":"https://api.github.com/users/azime/following{/other_user}","gists_url":"https://api.github.com/users/azime/gists{/gist_id}","starred_url":"https://api.github.com/users/azime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azime/subscriptions","organizations_url":"https://api.github.com/users/azime/orgs","repos_url":"https://api.github.com/users/azime/repos","events_url":"https://api.github.com/users/azime/events{/privacy}","received_events_url":"https://api.github.com/users/azime/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/azime/navitia","description":"","fork":true,"url":"https://api.github.com/repos/azime/navitia","forks_url":"https://api.github.com/repos/azime/navitia/forks","keys_url":"https://api.github.com/repos/azime/navitia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/azime/navitia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/azime/navitia/teams","hooks_url":"https://api.github.com/repos/azime/navitia/hooks","issue_events_url":"https://api.github.com/repos/azime/navitia/issues/events{/number}","events_url":"https://api.github.com/repos/azime/navitia/events","assignees_url":"https://api.github.com/repos/azime/navitia/assignees{/user}","branches_url":"https://api.github.com/repos/azime/navitia/branches{/branch}","tags_url":"https://api.github.com/repos/azime/navitia/tags","blobs_url":"https://api.github.com/repos/azime/navitia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/azime/navitia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/azime/navitia/git/refs{/sha}","trees_url":"https://api.github.com/repos/azime/navitia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/azime/navitia/statuses/{sha}","languages_url":"https://api.github.com/repos/azime/navitia/languages","stargazers_url":"https://api.github.com/repos/azime/navitia/stargazers","contributors_url":"https://api.github.com/repos/azime/navitia/contributors","subscribers_url":"https://api.github.com/repos/azime/navitia/subscribers","subscription_url":"https://api.github.com/repos/azime/navitia/subscription","commits_url":"https://api.github.com/repos/azime/navitia/commits{/sha}","git_commits_url":"https://api.github.com/repos/azime/navitia/git/commits{/sha}","comments_url":"https://api.github.com/repos/azime/navitia/comments{/number}","issue_comment_url":"https://api.github.com/repos/azime/navitia/issues/comments{/number}","contents_url":"https://api.github.com/repos/azime/navitia/contents/{+path}","compare_url":"https://api.github.com/repos/azime/navitia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/azime/navitia/merges","archive_url":"https://api.github.com/repos/azime/navitia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/azime/navitia/downloads","issues_url":"https://api.github.com/repos/azime/navitia/issues{/number}","pulls_url":"https://api.github.com/repos/azime/navitia/pulls{/number}","milestones_url":"https://api.github.com/repos/azime/navitia/milestones{/number}","notifications_url":"https://api.github.com/repos/azime/navitia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/azime/navitia/labels{/name}","releases_url":"https://api.github.com/repos/azime/navitia/releases{/id}","deployments_url":"https://api.github.com/repos/azime/navitia/deployments","created_at":"2014-04-25T14:34:34Z","updated_at":"2014-06-17T14:45:02Z","pushed_at":"2016-08-30T14:30:15Z","git_url":"git://github.com/azime/navitia.git","ssh_url":"git@github.com:azime/navitia.git","clone_url":"https://github.com/azime/navitia.git","svn_url":"https://github.com/azime/navitia","homepage":"http://www.navitia.io/","size":33217,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"dev"}},"base":{"label":"CanalTP:dev","ref":"dev","sha":"588335ef0be84be0e833a0e82770cd975ebec0ec","user":{"login":"CanalTP","id":2743985,"avatar_url":"https://avatars.githubusercontent.com/u/2743985?v=3","gravatar_id":"","url":"https://api.github.com/users/CanalTP","html_url":"https://github.com/CanalTP","followers_url":"https://api.github.com/users/CanalTP/followers","following_url":"https://api.github.com/users/CanalTP/following{/other_user}","gists_url":"https://api.github.com/users/CanalTP/gists{/gist_id}","starred_url":"https://api.github.com/users/CanalTP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CanalTP/subscriptions","organizations_url":"https://api.github.com/users/CanalTP/orgs","repos_url":"https://api.github.com/users/CanalTP/repos","events_url":"https://api.github.com/users/CanalTP/events{/privacy}","received_events_url":"https://api.github.com/users/CanalTP/received_events","type":"Organization","site_admin":false},"repo":{"id":10797333,"name":"navitia","full_name":"CanalTP/navitia","owner":{"login":"CanalTP","id":2743985,"avatar_url":"https://avatars.githubusercontent.com/u/2743985?v=3","gravatar_id":"","url":"https://api.github.com/users/CanalTP","html_url":"https://github.com/CanalTP","followers_url":"https://api.github.com/users/CanalTP/followers","following_url":"https://api.github.com/users/CanalTP/following{/other_user}","gists_url":"https://api.github.com/users/CanalTP/gists{/gist_id}","starred_url":"https://api.github.com/users/CanalTP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CanalTP/subscriptions","organizations_url":"https://api.github.com/users/CanalTP/orgs","repos_url":"https://api.github.com/users/CanalTP/repos","events_url":"https://api.github.com/users/CanalTP/events{/privacy}","received_events_url":"https://api.github.com/users/CanalTP/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CanalTP/navitia","description":"The open source software to build cool stuff with locomotion","fork":false,"url":"https://api.github.com/repos/CanalTP/navitia","forks_url":"https://api.github.com/repos/CanalTP/navitia/forks","keys_url":"https://api.github.com/repos/CanalTP/navitia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CanalTP/navitia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CanalTP/navitia/teams","hooks_url":"https://api.github.com/repos/CanalTP/navitia/hooks","issue_events_url":"https://api.github.com/repos/CanalTP/navitia/issues/events{/number}","events_url":"https://api.github.com/repos/CanalTP/navitia/events","assignees_url":"https://api.github.com/repos/CanalTP/navitia/assignees{/user}","branches_url":"https://api.github.com/repos/CanalTP/navitia/branches{/branch}","tags_url":"https://api.github.com/repos/CanalTP/navitia/tags","blobs_url":"https://api.github.com/repos/CanalTP/navitia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CanalTP/navitia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CanalTP/navitia/git/refs{/sha}","trees_url":"https://api.github.com/repos/CanalTP/navitia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CanalTP/navitia/statuses/{sha}","languages_url":"https://api.github.com/repos/CanalTP/navitia/languages","stargazers_url":"https://api.github.com/repos/CanalTP/navitia/stargazers","contributors_url":"https://api.github.com/repos/CanalTP/navitia/contributors","subscribers_url":"https://api.github.com/repos/CanalTP/navitia/subscribers","subscription_url":"https://api.github.com/repos/CanalTP/navitia/subscription","commits_url":"https://api.github.com/repos/CanalTP/navitia/commits{/sha}","git_commits_url":"https://api.github.com/repos/CanalTP/navitia/git/commits{/sha}","comments_url":"https://api.github.com/repos/CanalTP/navitia/comments{/number}","issue_comment_url":"https://api.github.com/repos/CanalTP/navitia/issues/comments{/number}","contents_url":"https://api.github.com/repos/CanalTP/navitia/contents/{+path}","compare_url":"https://api.github.com/repos/CanalTP/navitia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CanalTP/navitia/merges","archive_url":"https://api.github.com/repos/CanalTP/navitia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CanalTP/navitia/downloads","issues_url":"https://api.github.com/repos/CanalTP/navitia/issues{/number}","pulls_url":"https://api.github.com/repos/CanalTP/navitia/pulls{/number}","milestones_url":"https://api.github.com/repos/CanalTP/navitia/milestones{/number}","notifications_url":"https://api.github.com/repos/CanalTP/navitia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CanalTP/navitia/labels{/name}","releases_url":"https://api.github.com/repos/CanalTP/navitia/releases{/id}","deployments_url":"https://api.github.com/repos/CanalTP/navitia/deployments","created_at":"2013-06-19T15:34:30Z","updated_at":"2016-08-27T12:08:35Z","pushed_at":"2016-08-31T08:00:39Z","git_url":"git://github.com/CanalTP/navitia.git","ssh_url":"git@github.com:CanalTP/navitia.git","clone_url":"https://github.com/CanalTP/navitia.git","svn_url":"https://github.com/CanalTP/navitia","homepage":"http://www.navitia.io","size":38912,"stargazers_count":176,"watchers_count":176,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":64,"mirror_url":null,"open_issues_count":27,"forks":64,"open_issues":27,"watchers":176,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/CanalTP/navitia/pulls/1741"},"html":{"href":"https://github.com/CanalTP/navitia/pull/1741"},"issue":{"href":"https://api.github.com/repos/CanalTP/navitia/issues/1741"},"comments":{"href":"https://api.github.com/repos/CanalTP/navitia/issues/1741/comments"},"review_comments":{"href":"https://api.github.com/repos/CanalTP/navitia/pulls/1741/comments"},"review_comment":{"href":"https://api.github.com/repos/CanalTP/navitia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CanalTP/navitia/pulls/1741/commits"},"statuses":{"href":"https://api.github.com/repos/CanalTP/navitia/statuses/bbb87b750472a66bb7d7dca72bd7026b8ef9907e"}}}}
{"actor":{"display_login":"kinnou02"}}