<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chouette-core/spec/workers, branch robert-bup</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 #106 from af83/4782-create-worker-for-compliance-check-copy--rb201710301748</title>
<updated>2017-11-03T13:58:11+00:00</updated>
<author>
<name>Robert Dober</name>
</author>
<published>2017-11-03T13:58:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=75988d4b5d821266131aec86e33c67eda0c38dcb'/>
<id>75988d4b5d821266131aec86e33c67eda0c38dcb</id>
<content type='text'>
4782 create worker for compliance check copy  rb201710301748</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
4782 create worker for compliance check copy  rb201710301748</pre>
</div>
</content>
</entry>
<entry>
<title>Refs: #4817@0.3h; Hotfix for wrong message for spurious directories in zip file</title>
<updated>2017-10-31T17:24:57+00:00</updated>
<author>
<name>Robert</name>
</author>
<published>2017-10-31T17:24:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=db6ef457149b333e75fb2015c510fb6aa01b2572'/>
<id>db6ef457149b333e75fb2015c510fb6aa01b2572</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs: #4817@0.1h; CodeReview related fix filename instead of import name</title>
<updated>2017-10-31T11:02:02+00:00</updated>
<author>
<name>Robert</name>
</author>
<published>2017-10-31T11:02:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=f9a4e2b828f689853c19f885c3cc9f0b96211590'/>
<id>f9a4e2b828f689853c19f885c3cc9f0b96211590</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixes: #4817@0.35; Translations changed, Specs adpated to new translation param name</title>
<updated>2017-10-31T09:55:12+00:00</updated>
<author>
<name>Robert</name>
</author>
<published>2017-10-31T09:41:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=1bd438a50965bf57e87c98990239ffea956c3352'/>
<id>1bd438a50965bf57e87c98990239ffea956c3352</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ComplianceControlSetCopyWorker spec: Always stub API call</title>
<updated>2017-10-30T16:48:58+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2017-10-30T16:45:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=1299a941e45be30d75709db096a7bc233b64eb95'/>
<id>1299a941e45be30d75709db096a7bc233b64eb95</id>
<content type='text'>
In the first test, we weren't stubbing the Java API call, so it would
get executed for real. Put the HTTP stub in a `before(:each)` call so
that it gets stubbed for every test here.

Additionally, reorganise the tests a bit to clean them up. Move the HTTP
stub to a `let` to allow it to be called in a couple different places.
Since the HTTP stub depends on the `check_set` double, move that to a
`let` too. And have the `ComplianceControlSetCopier` mock always return
`check_set`, now that the app code depends on that return value.

Refs #4782
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In the first test, we weren't stubbing the Java API call, so it would
get executed for real. Put the HTTP stub in a `before(:each)` call so
that it gets stubbed for every test here.

Additionally, reorganise the tests a bit to clean them up. Move the HTTP
stub to a `let` to allow it to be called in a couple different places.
Since the HTTP stub depends on the `check_set` double, move that to a
`let` too. And have the `ComplianceControlSetCopier` mock always return
`check_set`, now that the app code depends on that return value.

Refs #4782
</pre>
</div>
</content>
</entry>
<entry>
<title>ComplianceControlSetCopyWorker: Pass ComplianceCheckSet ID to Java</title>
<updated>2017-10-30T16:48:58+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2017-10-30T16:42:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=f7d48398f5cb2ad714691bd630619b02c8958ac5'/>
<id>f7d48398f5cb2ad714691bd630619b02c8958ac5</id>
<content type='text'>
Previously I had been passing the `ComplianceControlSet` ID to the Java
API. The API actually expects the ID of the `ComplianceCheckSet`.

In order to get this ID, have the `ComplianceControlSetCopier` return
the `ComplianceCheckSet` that it creates, and use that to pass the the
ID to the Java API.

Refs #4782
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously I had been passing the `ComplianceControlSet` ID to the Java
API. The API actually expects the ID of the `ComplianceCheckSet`.

In order to get this ID, have the `ComplianceControlSetCopier` return
the `ComplianceCheckSet` that it creates, and use that to pass the the
ID to the Java API.

Refs #4782
</pre>
</div>
</content>
</entry>
<entry>
<title>ComplianceControlSetCopyWorker: Call Java validation API</title>
<updated>2017-10-30T16:48:58+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2017-10-30T13:59:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=17dcf8fe67972f6287fdac40a4477ef8b63ae1b9'/>
<id>17dcf8fe67972f6287fdac40a4477ef8b63ae1b9</id>
<content type='text'>
Call the Java API URL to launch a validation after having copied the
`ComplianceControlSet` into a `ComplianceCheckSet`.

Copied the format with error logging from
`NetexImport#launch_java_import`.

In the test, make the ID variables global by putting them in `let`s.

Add `config.iev_url` to the Rails `test` environment so that we can
access this from our tests.

TODO: I just realised I'm sending the wrong ID. I should be sending the
check set ID.

Refs #4782
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Call the Java API URL to launch a validation after having copied the
`ComplianceControlSet` into a `ComplianceCheckSet`.

Copied the format with error logging from
`NetexImport#launch_java_import`.

In the test, make the ID variables global by putting them in `let`s.

Add `config.iev_url` to the Rails `test` environment so that we can
access this from our tests.

TODO: I just realised I'm sending the wrong ID. I should be sending the
check set ID.

Refs #4782
</pre>
</div>
</content>
</entry>
<entry>
<title>Add ComplianceControlSetCopyWorker</title>
<updated>2017-10-30T16:48:58+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2017-10-26T10:26:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=48a0641066d1b7c534b45e36c921e4b2a708138a'/>
<id>48a0641066d1b7c534b45e36c921e4b2a708138a</id>
<content type='text'>
A new worker that launches the work to copy a `ComplianceControlSet` to
a `ComplianceCheckSet`.

Currently only handles a single control set and referential pair.
Probably want to extend this to handle multiple lists of these objects.
Also need to add in a call to the Java API to validate the check.

Refs #4782
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A new worker that launches the work to copy a `ComplianceControlSet` to
a `ComplianceCheckSet`.

Currently only handles a single control set and referential pair.
Probably want to extend this to handle multiple lists of these objects.
Also need to add in a call to the Java API to validate the check.

Refs #4782
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixes: #4633;@0.5h; CR changes</title>
<updated>2017-10-24T14:15:29+00:00</updated>
<author>
<name>Robert</name>
</author>
<published>2017-10-24T13:38:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=dd4d24eb8470d4e348f45f4c364b8aaca904de83'/>
<id>dd4d24eb8470d4e348f45f4c364b8aaca904de83</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixes: #4633@0.5h; Implenting correct message for inconsistent zip file</title>
<updated>2017-10-24T13:28:45+00:00</updated>
<author>
<name>Robert</name>
</author>
<published>2017-10-23T11:30:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=f88df773cb31c9967430af0c3cd7bd9df46e46e0'/>
<id>f88df773cb31c9967430af0c3cd7bd9df46e46e0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
