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

fix(assets/service_broker): Use RewindableInput middleware #1037

Merged
merged 3 commits into from
Jan 24, 2024

Conversation

ctlong
Copy link
Member

@ctlong ctlong commented Jan 23, 2024

Are you submitting this PR against the develop branch?

Yes

What is this change about?

Uses the RewindableInput middleware to recapture a Rack 2 expectation that no longer exists in Rack 3 – that the request.body is rewindable.

Resolves the following error message when curling the /config endpoint:

undefined method `rewind'

Please provide contextual information.

What version of cf-deployment have you run this cf-acceptance-test change against?

v37.0.0

Please check all that apply for this PR:

  • updates an asset
  • introduces a new test --- Are you sure everyone should be running this test?
  • changes an existing test
  • requires an update to a CATs integration-config

Did you update the README as appropriate for this change?

  • YES
  • N/A

If you are introducing a new acceptance test, what is your rationale for including it CATs rather than your own acceptance test suite?

N/A

How many more (or fewer) seconds of runtime will this change introduce to CATs?

None

What is the level of urgency for publishing this change?

  • Urgent - unblocks current or future work
  • Slightly Less than Urgent

Tag your pair, your PM, and/or team!

None

Makes rack.input rewindable, which this application expects since that
was the default in Rack 2.

Resolves the following error message when curling the `/config`
endpoint:
```
undefined method `rewind'
```
@ctlong ctlong marked this pull request as ready for review January 24, 2024 17:26
@ctlong ctlong requested review from a team January 24, 2024 17:26
@ctlong ctlong merged commit 886b598 into develop Jan 24, 2024
3 checks passed
@ctlong ctlong deleted the fix/assets/service_broker branch January 24, 2024 18:00
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.

2 participants