Skip to content

Conversation

hoffa
Copy link
Contributor

@hoffa hoffa commented May 20, 2021

Issue #, if available:

#2010

Same as #2044 but against develop, how it should've been.

Description of changes:

Description of how you validated changes:

Checklist:

  • Write/update tests
  • make pr passes
  • Update documentation
  • Verify transformed template deploys and application functions as expected

Examples?

Please reach out in the comments, if you want to add an example. Examples will be
added to sam init through https://github.com/awslabs/aws-sam-cli-app-templates/

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@mgrandis mgrandis added pr/internal stage/approved PR is approved but shouldn't be merged for now labels May 21, 2021
@hoffa hoffa merged commit e7a1496 into develop Jun 4, 2021
@hoffa hoffa deleted the hoffa-patch-1 branch June 4, 2021 18:57
c2tarun pushed a commit to c2tarun/serverless-application-model that referenced this pull request Jul 7, 2021
c2tarun added a commit that referenced this pull request Jul 8, 2021
* test: New test group to test for side effects (#2046)

* test: New test group to test for side effects

* refactor: Updated to use _compare_transform and test CN and GOV partitions

* docs: fix dead link (#2045)

* Percentage-based Enablement for Feature Toggle (#1952)

* Percentage-based Enablement for Feature Toggle

* Update Feature Toggle to accept stage, account_id and region during instanciation

* remove unnecessary uses of dict.get method

* Refactor feature toggle methods

* Update test names

* black reformat

* Update FeatureToggle to require stage, region and account_id to instanciate

* Update log message

* Implement calculating account percentile based on hash of account_id and feature_name

* Refactor _is_feature_enabled_for_region_config

* Refactor dialup logic into its own classes

* Add comments for dialup classes

* Rename NeverEnabledDialup to DisabledDialup

* chore(tests): Adding any tests (#2053)

* Adding api_request_model any tests

* Add any to api_request_model_openapi_3 cases

* Add rest of relevant any test cases

* Fix hashing to match python2

* add api_with_swagger_authorizer_none to be run

* fix py2 hashes in api_with_swagger_authorizer_none tests

Co-authored-by: Jacob Fuss <[email protected]>

* Add modes support for RestApi (#2055)

* Adding Mode passthrough property to RestApi with unit tests.

* Adding integration test for Mode

* Fixing sam-translate for manual translation.

* running black formatting

* Running black formatting, again.

* Clearing pip-wheel-metadata.

* Clearing tmp folder created by integ test.

Co-authored-by: Tarun Mall <[email protected]>

* chore: bump version to 1.38.0 (#2081)

Co-authored-by: Mathieu Grandis <[email protected]>
Co-authored-by: Chris Rehn <[email protected]>
Co-authored-by: Wing Fung Lau <[email protected]>
Co-authored-by: Jacob Fuss <[email protected]>
Co-authored-by: Jacob Fuss <[email protected]>
Co-authored-by: Tarun Mall <[email protected]>
Co-authored-by: Raymond Wang <[email protected]>
@c2tarun c2tarun mentioned this pull request Jul 16, 2021
4 tasks
c2tarun added a commit that referenced this pull request Jul 19, 2021
* test: New test group to test for side effects (#2046)

* test: New test group to test for side effects

* refactor: Updated to use _compare_transform and test CN and GOV partitions

* docs: fix dead link (#2045)

* Percentage-based Enablement for Feature Toggle (#1952)

* Percentage-based Enablement for Feature Toggle

* Update Feature Toggle to accept stage, account_id and region during instanciation

* remove unnecessary uses of dict.get method

* Refactor feature toggle methods

* Update test names

* black reformat

* Update FeatureToggle to require stage, region and account_id to instanciate

* Update log message

* Implement calculating account percentile based on hash of account_id and feature_name

* Refactor _is_feature_enabled_for_region_config

* Refactor dialup logic into its own classes

* Add comments for dialup classes

* Rename NeverEnabledDialup to DisabledDialup

* chore(tests): Adding any tests (#2053)

* Adding api_request_model any tests

* Add any to api_request_model_openapi_3 cases

* Add rest of relevant any test cases

* Fix hashing to match python2

* add api_with_swagger_authorizer_none to be run

* fix py2 hashes in api_with_swagger_authorizer_none tests

Co-authored-by: Jacob Fuss <[email protected]>

* Add modes support for RestApi (#2055)

* Adding Mode passthrough property to RestApi with unit tests.

* Adding integration test for Mode

* Fixing sam-translate for manual translation.

* running black formatting

* Running black formatting, again.

* Clearing pip-wheel-metadata.

* Clearing tmp folder created by integ test.

Co-authored-by: Tarun Mall <[email protected]>

* chore: bump version to 1.38.0 (#2081)

Co-authored-by: Mathieu Grandis <[email protected]>
Co-authored-by: Chris Rehn <[email protected]>
Co-authored-by: Wing Fung Lau <[email protected]>
Co-authored-by: Jacob Fuss <[email protected]>
Co-authored-by: Jacob Fuss <[email protected]>
Co-authored-by: Tarun Mall <[email protected]>
Co-authored-by: Raymond Wang <[email protected]>

Co-authored-by: Mathieu Grandis <[email protected]>
Co-authored-by: Chris Rehn <[email protected]>
Co-authored-by: Wing Fung Lau <[email protected]>
Co-authored-by: Jacob Fuss <[email protected]>
Co-authored-by: Jacob Fuss <[email protected]>
Co-authored-by: Tarun Mall <[email protected]>
Co-authored-by: Raymond Wang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stage/approved PR is approved but shouldn't be merged for now
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants