Skip to content

Conversation

trivikr
Copy link
Owner

@trivikr trivikr commented Jan 2, 2020

No description provided.

AllanZhengYP and others added 30 commits January 2, 2020 12:18
* chore: add http request type guard for middlewares

header default middleware
expect continue middleare

* chore: add http request type guard for apply body checksum middlewares

* chore: only build and test demo smithy client

* feat: add isInstance to httpResponse

* chore: update rds data model

* chore: update to ts3.7; update rds model#3

* chore: update tsconfig to genenerte types only once

* chore: update gitignore

* chore: parse body with streamCollector

* chore: add error deserialization

* chore: stub Field union

* fix: fix middleware-header-default test

* fix: fix retry-middleware unit test
* feat: remove 'apply' entry from configuration definition

'apply' was used to adjust middleware stack and resolved configuration.
It is not relative as we are moving to conposition configuration, and
middleware stack should not be altered by configurations.
Address: aws#94

* feat: complete PoC composable configuration

* feat: change config resolver to multiple client config components

* feat: rename stack finalize step to finalizeRequest

* feat: add use() to smithy client to inject middleware

* fix: rename resolvedruntime configuration

* fix: remove exported reviouslyResolved interface

* feat: add metadatabearer to shapes

* feat: parse derializing utils as parameters

* use config interface as middleware parameter
* use smithy command as super class of all commands so we can support use() in commands

* feat: parse serialize(deserialize) util functions from client config

* Serializers/Deserializers should take utils functions from client config
first, if not available then fallback to generated dependencies. This
allows configuring the runtime dependencies manually from client config when
runtime-specific bundlers' decision is not accountable

* feat: add metadata deserializer

* docs: add documentation for config properties

* feat: add defaultUserAgen config

* feat: move some config components to middleware folder

* signing middleware
* retry middleware; Also update retry config interface by introducing RetryStrategy class

* feat: add input type proxy for better intellisense

* docs: add config doc block for retry config

* feat: add a user agent middleware to support custom useragent
* feat: add RetryStrategy class and change retryMiddleware interface
* feat: remove generated SerDe runtime dependencies

Instead, use the runtime-specific utils specified in client config

* fix: change plugin interface to callback functions mutating the stack
* feat: support pluggable runtime config

* export runtimeConfig.runtime.ts to manually set the client to be compatible with specific runtime
* get rid of rollup, instead using browser property to swap runtime config
* add endpoint to the serializer utilities and insert it when building a request

* chore: set prettier-vscode as default formatter
* fix: remove duplicated declaration of endpoints

* fix: rename serializerUtils to serializerContext
* feat: combine serde types, cleanup unused imports

* feat: update model location

* feat: change Injectable to Pluggable
* feat: remove rest-json protocol class

* feat: rename handler to RequestHandler; Consolidate types
Chase Coalwell and others added 26 commits January 2, 2020 13:27
* feat: add md5 body checksum middleware

* feat: add ApplyMd5BodyChecksum plugin
* chore: add generate-clients script generating clients from models path

* feat: clean the codegen input and output folder after generating

* fix: update lerna commands

use use '--include-dependencies' in replace of '--include-filtered-dependencies'
* feat: add and apply accountIdDefaultMiddleware

* feat: remove middleware-input-default

* feat: shared plugin

* fix: remove second glacier plugin
* Update JSON protocol codegen for cleanliness

This commit includes assorted updates to the protocol generators
to improve reusability, set proper visibility, use an import alias
for SerdeContext, and other minor updates.

It also includes a fix for handling the unknown case when
deserializing a union.

* Use Model instead of deprecated ShapeIndex

* Use better name for document body shape serde gen
* feat: add predictEndpointMiddleware

* feat: remove modeled-endpoint-middleware

* feat: apply PredictEndpoint plugin
* fix: resolve region
feat: name package

feat: migrate and apply middleware

feat: remove $ input options

feat: remove preformedBucket option
* fix: add BucketEndpoint config plugin

* fix: package exports
…ddleware (aws#574)

* fix: use host name from request instead of endpont provider

* fix: assure bucketEndpointMw applies before hostHeaderMw
@trivikr
Copy link
Owner Author

trivikr commented Jan 5, 2020

Example PR upstream aws#620

@trivikr trivikr closed this Jan 5, 2020
@trivikr trivikr deleted the smithy-codegen-rebased branch January 8, 2020 04:37
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.

4 participants