<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chouette-core/lib, branch 7159-netex-exports</title>
<subtitle>Chouette manage transport static data</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/'/>
<entry>
<title>Merge pull request #568 from af83/6996-dockerfile-build</title>
<updated>2018-05-23T13:37:59+00:00</updated>
<author>
<name>Luc Donnet</name>
</author>
<published>2018-05-23T13:37:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=599645b4912e6ef8e37e60bb1276bfd732922955'/>
<id>599645b4912e6ef8e37e60bb1276bfd732922955</id>
<content type='text'>
6996 - Dockerfile for build</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
6996 - Dockerfile for build</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #553 from af83/6884-tomtom-matrix--handle-error-when-response-doesn,t-inclu</title>
<updated>2018-05-16T13:42:24+00:00</updated>
<author>
<name>Alban Peignier</name>
</author>
<published>2018-05-16T13:42:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=223d988ef59e562b201cac8391c397630c8953e5'/>
<id>223d988ef59e562b201cac8391c397630c8953e5</id>
<content type='text'>
Handle API error(s) in Tomtom matrix. Fixes #6884</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Handle API error(s) in Tomtom matrix. Fixes #6884</pre>
</div>
</content>
</entry>
<entry>
<title>Add ci:fix_webpacker task to prevent yarn launch. Refs #6996. Refs #5802</title>
<updated>2018-05-13T17:56:48+00:00</updated>
<author>
<name>Alban Peignier</name>
</author>
<published>2018-05-13T17:56:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=62857d2779a62967feaa307ea50f87218d8a82f8'/>
<id>62857d2779a62967feaa307ea50f87218d8a82f8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Keep unchanged database.yml when KEEP_DATABASE_CONFIG is defined. Refs #6996</title>
<updated>2018-05-13T17:50:45+00:00</updated>
<author>
<name>Alban Peignier</name>
</author>
<published>2018-05-13T17:50:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=e5d1a53468aa3e28ee446c02af9433733c417c95'/>
<id>e5d1a53468aa3e28ee446c02af9433733c417c95</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Test api_key format in TomTom.enabled?. Refs #6993</title>
<updated>2018-05-13T11:52:00+00:00</updated>
<author>
<name>Alban Peignier</name>
</author>
<published>2018-05-13T11:52:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=6c4f6e6232b4423c1161e1c2ab4d3fcac860dee2'/>
<id>6c4f6e6232b4423c1161e1c2ab4d3fcac860dee2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Define a dummy TomTom api_key in spec</title>
<updated>2018-05-13T09:21:12+00:00</updated>
<author>
<name>Alban Peignier</name>
</author>
<published>2018-05-13T09:21:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=458f55a73105d8ade30f9874e8ca6b82e86011f1'/>
<id>458f55a73105d8ade30f9874e8ca6b82e86011f1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs #6961; Update Workbench#edit</title>
<updated>2018-05-09T08:19:33+00:00</updated>
<author>
<name>Zog</name>
</author>
<published>2018-05-09T08:19:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=64933b6903583b585f7de5bc391a9ab2ade1c6a7'/>
<id>64933b6903583b585f7de5bc391a9ab2ade1c6a7</id>
<content type='text'>
- Update the form
- Use policies and update the seeds accordingly
- Add a link in the navbar(s)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Update the form
- Use policies and update the seeds accordingly
- Add a link in the navbar(s)
</pre>
</div>
</content>
</entry>
<entry>
<title>Update ci task to enable simple chouette-core build. Refs #6957</title>
<updated>2018-05-06T14:16:16+00:00</updated>
<author>
<name>Alban Peignier</name>
</author>
<published>2018-05-06T14:16:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=be0f5d29462f3dba084098a6dc39413a8f784a93'/>
<id>be0f5d29462f3dba084098a6dc39413a8f784a93</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Move `TomTom::Matrix::RemoteError` to`TomTom::Errors::MatrixRemoteError`</title>
<updated>2018-05-04T10:54:25+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-05-04T10:49:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=9c442cd66c7d12266ba53e85949f775f6b842d2d'/>
<id>9c442cd66c7d12266ba53e85949f775f6b842d2d</id>
<content type='text'>
I previously tried to correct a circular dependency problem in
a057276129b1f62b811743db3b8f867a05241ed3, but that didn't fix it (it was
intermittent, and came back).

After some wrangling, I've now deduced with some confidence that the
problem comes from `RouteWayCostCalculator`, which used
`TomTom::Matrix::RemoteError`. From the way it looks, this seems to mess
up the Rails autoloader since `tom_tom.rb` will try to load the `Matrix`
class from the `TomTom.matrix` call above. Or something.

In an attempt to fix the circular dependency error for real this time,
move the error class to a completely separate module from `Matrix`, and
refer to this when we need to use the error class.

Refs #6884
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I previously tried to correct a circular dependency problem in
a057276129b1f62b811743db3b8f867a05241ed3, but that didn't fix it (it was
intermittent, and came back).

After some wrangling, I've now deduced with some confidence that the
problem comes from `RouteWayCostCalculator`, which used
`TomTom::Matrix::RemoteError`. From the way it looks, this seems to mess
up the Rails autoloader since `tom_tom.rb` will try to load the `Matrix`
class from the `TomTom.matrix` call above. Or something.

In an attempt to fix the circular dependency error for real this time,
move the error class to a completely separate module from `Matrix`, and
refer to this when we need to use the error class.

Refs #6884
</pre>
</div>
</content>
</entry>
<entry>
<title>TomTom::Matrix#check_for_error_response: Handle HTTP error status codes</title>
<updated>2018-05-03T16:25:57+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-05-03T16:21:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=ad49ad52ee8e7cfbf4dc3f1bc34c533e186100b9'/>
<id>ad49ad52ee8e7cfbf4dc3f1bc34c533e186100b9</id>
<content type='text'>
We might not always get a nicely formatted JSON
`['error']['description']` response body. Sometimes, like for example
when you use an incorrect API key, even with an 'application/json'
content type, TomTom will respond with:

    &lt;h1&gt;Developer Inactive&lt;/h1&gt;

What?

In that case, the response has a 403 status. In addition to checking for
an error in the response, should also be checking for the HTTP status
code.

Log the status code in the exception to give us more information about
what went wrong.

Update our existing tests now that `#check_for_error_response` takes a
response object instead of a JSON string.

Refs #6884
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We might not always get a nicely formatted JSON
`['error']['description']` response body. Sometimes, like for example
when you use an incorrect API key, even with an 'application/json'
content type, TomTom will respond with:

    &lt;h1&gt;Developer Inactive&lt;/h1&gt;

What?

In that case, the response has a 403 status. In addition to checking for
an error in the response, should also be checking for the HTTP status
code.

Log the status code in the exception to give us more information about
what went wrong.

Update our existing tests now that `#check_for_error_response` takes a
response object instead of a JSON string.

Refs #6884
</pre>
</div>
</content>
</entry>
</feed>
