Skip to content
Unverified Commit 12338ad5 authored by John DiSanti's avatar John DiSanti Committed by GitHub
Browse files

Change the orchestrator feature gate into a quad state (#2657)

## Motivation and Context
So far we have been testing with the orchestrator on or off, with "on"
meaning that both the middleware and orchestrator implementations exist,
and you have to opt into the orchestrator via a `send_v2` function call
(instead of `send`). This approach makes it difficult to test against
the orchestrator exclusively, and also test the existing integration
tests with the orchestrator implementation.

This PR changes `enableNewSmithyRuntime` into a quad-state with:
- middleware
- both middleware and orchestrator, defaulting to middleware
- both middleware and orchestrator, defaulting to orchestrator
- orchestrator

This allows for generating a client with the orchestrator exclusively,
or generating both and defaulting to the orchestrator, to reduce testing
friction.

----

_By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice._
parent 65e376d8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment