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

Added of-watchdog http mode support (for #67): #68

Merged
merged 3 commits into from Jan 9, 2019

Conversation

Projects
None yet
3 participants
@acornies
Copy link
Contributor

acornies commented Jan 7, 2019

When testing functions with of-watchdog/http mode, the upstream response needs to be honored by provider.

  • Update proxy client to return status code
  • Bump the faas gateway versions
  • Update tests and mock client

Addresses: #67

Added of-watchdog http mode support:
- Update proxy client to return status code
- Bump the faas gateway versions
- Update tests and mock client

Signed-off-by: Andrew Cornies <acornies@gmail.com>
Show resolved Hide resolved handlers/proxy_test.go Outdated
Show resolved Hide resolved handlers/proxy_test.go Outdated
Show resolved Hide resolved handlers/proxy_test.go Outdated
Show resolved Hide resolved handlers/proxy_test.go Outdated
Show resolved Hide resolved handlers/proxy.go Outdated

acornies added some commits Jan 8, 2019

Updates based on PR feedback
- change to use const for test response codes
- more appropriate test values

Signed-off-by: Andrew Cornies <acornies@gmail.com>
Bumping versions in gateway
- update the example faas.hcl
- update the salt/vagrant provisioning file as well

Signed-off-by: Andrew Cornies <acornies@gmail.com>

@nicholasjackson nicholasjackson merged commit 4ad6275 into hashicorp:master Jan 9, 2019

2 checks passed

codeclimate All good!
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment