Skip to content
This repository has been archived by the owner on Mar 18, 2021. It is now read-only.

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

Merged

Conversation

acornies
Copy link
Collaborator

@acornies 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

- 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>
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 Show resolved Hide resolved
- change to use const for test response codes
- more appropriate test values

Signed-off-by: Andrew Cornies <acornies@gmail.com>
- 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
@acornies acornies deleted the feature/ofwatchdog_support branch February 6, 2019 03:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants