Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reorganizes the asynchronous classes. #19

Merged
merged 10 commits into from
Aug 31, 2016
Merged

Reorganizes the asynchronous classes. #19

merged 10 commits into from
Aug 31, 2016

Conversation

archolewa
Copy link
Contributor

-- Before everything was shoved into the single jobs package. Now, the
package structure has been made much more organized (and hopefully)
tractable.

}

def "We are able to get the correct self url"() {
expect:
JobPayloadBuilder.getSelfUrl("ticket1", uriInfo) == "https://localhost:9998/v1/jobs/ticket1"
JobPayloadBuilder.getSelfUrl("ticket1", uriInfo) == "https://localhost:9998/v1/async/ticket1"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I checked with Rick and he was under the impression that the api endpoint should still be jobs and not async. (Applies elsewhere as well)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that should still be jobs. My renaming got a bit overzealous, it looks like.

@archolewa archolewa force-pushed the async-packages branch 3 times, most recently from efb3798 to 3bcfb56 Compare August 31, 2016 17:07
@cdeszaq
Copy link
Collaborator

cdeszaq commented Aug 31, 2016

👍

@michael-mclawhorn
Copy link
Contributor

👍

michael-mclawhorn and others added 9 commits August 31, 2016 14:31
-- The spec has test that verifies that when the timeout expires, an
empty Observable is emitted. However, the timeout was 2 milliseconds,
and the main test thread was only sleeping 5 milliseconds before sending
the message. These two times were too close together, so that the test
may result in a false failure in a highly contested environment (i.e.
Travis). In order to avoid this problem, the timing element has been
removed completely:

-- We now assert that the Observable received by the Subscriber
completes without sending any values (i.e. the Observable subscribed to
is empty).
-- Before everything was shoved into the single jobs package. Now, the
package structure has been made much more organized (and hopefully)
tractable.
@cdeszaq cdeszaq merged commit 0c154a6 into master Aug 31, 2016
@archolewa archolewa deleted the async-packages branch August 31, 2016 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants