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

Make sending events to Jembi optional #264

Merged

Conversation

rudigiesler
Copy link
Contributor

This has 2 parts.

First, we need to have a flag that we can set to stop sending events.

Second, we need a command we can run to resend any events that weren't sent

@rudigiesler rudigiesler changed the title Make sending to Jembi optional Make sending events to Jembi optional Nov 1, 2019
)

self.assertEqual(response.status_code, 200)
self.assertEqual(len(responses.calls), 1)
Copy link
Contributor

Choose a reason for hiding this comment

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

What is the call being made here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's the call to Junebug, so probably not the best test to pick, but you can see the previous test asserts 2 calls, and this one asserts one

Copy link
Contributor

Choose a reason for hiding this comment

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

ok

Copy link
Contributor

@KaitCrawford KaitCrawford left a comment

Choose a reason for hiding this comment

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

👍

@rudigiesler rudigiesler merged commit 94a96d1 into develop Nov 4, 2019
@rudigiesler rudigiesler deleted the feature/PANIC-1-allow-disabling-of-sending-to-openhim branch November 4, 2019 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants