Skip to content

Tags: Manny27nyc/serverless-application-model

Tags

v1.45.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request aws#2370 from aws/release/v1.45.0

Release/v1.45.0

v1.44.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request aws#2362 from aws/release/v1.44.0

Release/v1.44.0 (to main)

v1.43.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request aws#2358 from aws/release/v1.43.0

Release/v1.43.0

v1.42.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
merge: release 1.42.0

release: 1.42.0

v1.40.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Chore: Version bump to 1.40 (aws#2178)

v1.39.0

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
Release/v1.39.0 (aws#2165)

* Release/v1.39.0 (aws#2141)

* chore: don't install integration tests (aws#1964)

* Remove unnecessary use of comprehension (aws#1805)

* fix: Grammatical error in README.md (aws#1965)

* fix: Added SAR Support Check (aws#1972)

* Added SAR Support Check

* Added docstring and Removed Instance Initialization for Class Method

* update pyyaml version to get the security update (aws#1974)

* fix the request parameter parsing, the value can contain dots (aws#1975)

* fix the request parameter parsing, the value can contain dots

* fix the unit test for python 2.7

* use built in split, instead of concatenating the string

* Documentation: fix incorrect header (aws#1979)

Fixed the incorrectly formatted header for HTTP API section

* fix: mutable default values in method definitions (aws#1997)

* fix: remove explicit logging level set in single module (aws#1998)

* fix: Fail when Intrinsics are in SourceVPC list instead of IntrinsicsSourceVPC (aws#1999)

* feat: Adding support for metric publishing. (aws#2062)

* Adding support for metric publishing, manually tested and tests pending.

* Adding make action for running test with html coverage.

* Adding unit tests for metrics.

* Writing integration tests for metrics publishing.

* Black reformatting

* Fixing unit test.

* Addressing PR comments.

* Clearing __init__py from test module.

* Updating documentation for publish method.

Co-authored-by: Tarun Mall <tarun@amazon.noreply.github.com>

* Update AppConfig boto3 client config to shorten timeout (aws#2070)

* Update AppConfig boto3 client config to shorten timeout

* Update timeout config of AppConfig boto3 client

* feat: Add ValidateBody/ValidateParameters attribute to API models (aws#2026)

* Added validators to the swagger definitions when a model is required

* Remove approach of trying an extra field for validators

* WIP - tests deps not working

* Finished and fixed all tests to make pr command was complaining. Fixed case where a validator could have a / only and changed it to translate as 'root'

* py2.7 complaint

* Fix py2.7 order of validators on output folder

* WIP - adding validator fields

* Set another strategy to set the validators without affect existent clients with model required

* Set another strategy to set the validators without affect existent clients with model required

* Remove mistaken file pushed

* Remove mistaken file pushed

* Partial coments fixes

* Implemented case where we can set a only limited combinations on the specs

* Fix case test when multiple path are using same validator

* Added openapi3 specific tests

* Added openapi3 specific tests

* Fix requested changes from review: Renamed from ValidateRequest -> ValidateParameters also renamed everything from validator_request. Moved validators names according with the comum use.

* new approach to not cause KeyErrors

* Setting validator to the only given method not all methods on the path

* removed extra space on comment - lint

* Normalized method name path that comes from the template

Co-authored-by: Rondineli Gomes de Araujo <rgomesdearaujo@rgomesdearaujo-mbp.ad.shuttercorp.net>
Co-authored-by: Rondineli <rondineli.gomes.araujo@gmail.com>
Co-authored-by: Rondineli <rgomesdearaujo@yahoo.com.br>

* fix: fail with invalid resource, when RetentionPolicy has unresolved intrinsic value (aws#2074)

* fix: fail with invalid resource, when RetentionPolicy has unresolved intrinsic value

* make black

* remove extra formatting

* add test case for !ref

* test: Migration of combination integration tests (aws#1970)

* fix: Compare integration tests results using hash of file content instead of image compare (aws#2086)

* change yaml.load to yaml.safe_load for the security best practice

* use yaml_parse for consistant style

* remove pillow library for image comparing, use hash instead

* make it compatible with py2

* Remove logging of SAR service call response (aws#2064)

* Test CloudWatchEvent Properties With Intrinsic Functions (aws#2090)

* Add headers whenever cors is set

* Add cw event success cases

* Replace GetAtt with condition

* Cleanup test yaml

* Cleanup test yaml

* Remove files

* Add intrinsic to pattern field

* Fix wrong files committed

* test: Added intrinsic tests for Function SNS Event (aws#2101)

* fix: Validate Trigger field and test Cognito properties with intrinsic functions (aws#2092)

* Add headers whenever cors is set

* Fix Cognito trigger validation

* Make templates deployable

* Removed trigger value validation

* Fix Python2 string matching test issue

* Use PropertyType mechanism to exclude intrinsics

* Remove unused import

* feat(Intrinsic Tests): Added Tests for Kinesis Event Source with Intrinsics (aws#2103)

* Added Tests for Kinesis EventSource with Intrinsics

* Fixed Formatting with Black

* fix: Don't attempt to refetch a swagger method object by its name as we already have it (aws#2031)

* Fix a bad logic where a hash key is modified then refetched which results in KeyError

* add unit tests and update other instance of same usage on line 534

* fix: Fix the same code in open_api.py

Co-authored-by: Mehmet Nuri Deveci <5735811+mndeveci@users.noreply.github.com>
Co-authored-by: Mathieu Grandis <grmathie@amazon.com>

* test: Adding intrinsic tests for Function S3 Event (aws#2100)

* fix(bug): Check if Identity.ReauthorizeEvery equals zero (aws#2105)

* Revert "Revert "Issue 1508 remove check requiring identity ... (aws#1577)" (aws#2038)"

This reverts commit ed3c283.

* Update implementation to support intrinsics/ add more tests to validate changes

* Fixing hashes for py2

* Run make black

* Handle pr feedback

* Add another unit tests to cover the original issue

Co-authored-by: Jacob Fuss <jfuss@users.noreply.github.com>

* chore: Update PR Checklist to include writing intrinsic tests (aws#2106)

* Update PR Checklist to include writing intrinsic tests

* Handle pr feedback

Co-authored-by: Jacob Fuss <jfuss@users.noreply.github.com>

* Delete .travis.yml (aws#2102)

* fix: Correct grammar in the waiting for changeset message (aws#2027)

* chore: bump version to 1.39.0 (aws#2128)

Co-authored-by: Chih-Hsuan Yen <yan12125@gmail.com>
Co-authored-by: Harsh Mishra <erbeusgriffincasper@gmail.com>
Co-authored-by: Pranav <54665036+Pranav016@users.noreply.github.com>
Co-authored-by: Cosh_ <CoshUS@users.noreply.github.com>
Co-authored-by: Mohamed Elasmar <71043312+moelasmar@users.noreply.github.com>
Co-authored-by: Ben <freiberg.ben@gmail.com>
Co-authored-by: Mehmet Nuri Deveci <5735811+mndeveci@users.noreply.github.com>
Co-authored-by: Jacob Fuss <32497805+jfuss@users.noreply.github.com>
Co-authored-by: Tarun <c2tarun@users.noreply.github.com>
Co-authored-by: Tarun Mall <tarun@amazon.noreply.github.com>
Co-authored-by: Wing Fung Lau <4760060+hawflau@users.noreply.github.com>
Co-authored-by: Rondineli <Rondineli@users.noreply.github.com>
Co-authored-by: Rondineli Gomes de Araujo <rgomesdearaujo@rgomesdearaujo-mbp.ad.shuttercorp.net>
Co-authored-by: Rondineli <rondineli.gomes.araujo@gmail.com>
Co-authored-by: Rondineli <rgomesdearaujo@yahoo.com.br>
Co-authored-by: mingkun2020 <68391979+mingkun2020@users.noreply.github.com>
Co-authored-by: Daniel Mil <84205762+mildaniel@users.noreply.github.com>
Co-authored-by: Ahmed Elbayaa <72949274+elbayaaa@users.noreply.github.com>
Co-authored-by: Jacob Fuss <jfuss@users.noreply.github.com>
Co-authored-by: Ichinose Shogo <shogo82148@gmail.com>
Co-authored-by: Ryan Parman <ryan@ryanparman.com>

* feat: ARM support (aws#2163)

* feat: ARM architecture support for Function and Layer

* Add docs/tests for Globals Architectures (aws#85)

Co-authored-by: Renato Valenzuela <37676028+valerena@users.noreply.github.com>

Co-authored-by: Chih-Hsuan Yen <yan12125@gmail.com>
Co-authored-by: Harsh Mishra <erbeusgriffincasper@gmail.com>
Co-authored-by: Pranav <54665036+Pranav016@users.noreply.github.com>
Co-authored-by: Cosh_ <CoshUS@users.noreply.github.com>
Co-authored-by: Mohamed Elasmar <71043312+moelasmar@users.noreply.github.com>
Co-authored-by: Ben <freiberg.ben@gmail.com>
Co-authored-by: Mehmet Nuri Deveci <5735811+mndeveci@users.noreply.github.com>
Co-authored-by: Jacob Fuss <32497805+jfuss@users.noreply.github.com>
Co-authored-by: Tarun <c2tarun@users.noreply.github.com>
Co-authored-by: Tarun Mall <tarun@amazon.noreply.github.com>
Co-authored-by: Wing Fung Lau <4760060+hawflau@users.noreply.github.com>
Co-authored-by: Rondineli <Rondineli@users.noreply.github.com>
Co-authored-by: Rondineli Gomes de Araujo <rgomesdearaujo@rgomesdearaujo-mbp.ad.shuttercorp.net>
Co-authored-by: Rondineli <rondineli.gomes.araujo@gmail.com>
Co-authored-by: Rondineli <rgomesdearaujo@yahoo.com.br>
Co-authored-by: mingkun2020 <68391979+mingkun2020@users.noreply.github.com>
Co-authored-by: Daniel Mil <84205762+mildaniel@users.noreply.github.com>
Co-authored-by: Ahmed Elbayaa <72949274+elbayaaa@users.noreply.github.com>
Co-authored-by: Jacob Fuss <jfuss@users.noreply.github.com>
Co-authored-by: Ichinose Shogo <shogo82148@gmail.com>
Co-authored-by: Ryan Parman <ryan@ryanparman.com>
Co-authored-by: Renato Valenzuela <37676028+valerena@users.noreply.github.com>

v1.38.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Release/v1.38.0 (aws#2082) (aws#2095)

* test: New test group to test for side effects (aws#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 (aws#2045)

* Percentage-based Enablement for Feature Toggle (aws#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 (aws#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 <jfuss@users.noreply.github.com>

* Add modes support for RestApi (aws#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 <tarun@amazon.noreply.github.com>

* chore: bump version to 1.38.0 (aws#2081)

Co-authored-by: Mathieu Grandis <73313235+mgrandis@users.noreply.github.com>
Co-authored-by: Chris Rehn <crehn@outlook.com>
Co-authored-by: Wing Fung Lau <4760060+hawflau@users.noreply.github.com>
Co-authored-by: Jacob Fuss <32497805+jfuss@users.noreply.github.com>
Co-authored-by: Jacob Fuss <jfuss@users.noreply.github.com>
Co-authored-by: Tarun Mall <tarun@amazon.noreply.github.com>
Co-authored-by: Raymond Wang <14915548+wchengru@users.noreply.github.com>

Co-authored-by: Mathieu Grandis <73313235+mgrandis@users.noreply.github.com>
Co-authored-by: Chris Rehn <crehn@outlook.com>
Co-authored-by: Wing Fung Lau <4760060+hawflau@users.noreply.github.com>
Co-authored-by: Jacob Fuss <32497805+jfuss@users.noreply.github.com>
Co-authored-by: Jacob Fuss <jfuss@users.noreply.github.com>
Co-authored-by: Tarun Mall <tarun@amazon.noreply.github.com>
Co-authored-by: Raymond Wang <14915548+wchengru@users.noreply.github.com>

v1.37.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Release/v1.37.0 (aws#2079)

* Release/v1.37.0 (aws#2069)
* chore: bump version to 1.37.0 (aws#2068)

* fix: Increase PageSize of ListPolicies Paginator (aws#2033)
Co-authored-by: Jacob Fuss <32497805+jfuss@users.noreply.github.com>
Co-authored-by: Jacob Fuss <jfuss@users.noreply.github.com>

* feat: Support VIRTUAL_HOST as Type for SourceAccessConfiguration for MQ events (aws#76) (aws#2078)
Co-authored-by: Renato Valenzuela <37676028+valerena@users.noreply.github.com>

v1.36.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Release/v1.36.0 (aws#2042) (aws#2050)

* refactor: Optimize shared API usage plan handling (aws#1973)

* fix: use instance variables for generating shared api usage plan

* add extra log statements

* fix: Added SAR Support Check (aws#1972)

* Added SAR Support Check

* Added docstring and Removed Instance Initialization for Class Method

* set log level explicitly

* update pyyaml version to get the security update (aws#1974)

* fix: use instance variables for generating shared api usage plan

* add extra log statements

* set log level explicitly

* black formatting

* black formatting

Co-authored-by: Cosh_ <CoshUS@users.noreply.github.com>
Co-authored-by: Mohamed Elasmar <71043312+moelasmar@users.noreply.github.com>

* feat: Resource level attributes support (aws#2008)

* Fix for invalid MQ event source managed policy

* Fix for invalid managed policy for MQ, included support for new MQ event source property, updated test cases

* Black reformatting

* Test case changes

* Changed policy name

* Modified test cases with new policy name

* Added resource attributes and unit tests

* Resource attributes initial work

* Passthrough attributes for some resources, updated some tests

* Resolve merge conflicts

* Fixed a typo

* Modified implicit api plugin for resource attributes support

* Partial update of the tests

* Partially updated test cases, black reformatted

* Partially updated test templates

* Partially updated test templates

* Partially updated test templates

* Added event bridge support for passthrough resource attributes

* Partially updated test templates (up to function with amq kms)

* Partially updated test templates (up to sns)

* Partially updated test templates (all the ones left)

* Prevented passthrough resource attributes from changing layer version hashes

* Added test to verify resource passthrough precedence for implicit api

* Modified tests related to lambda layer to revert the hash changes, keeping the hash the same with resource attributes added

* fix: mutable default values in method definitions (aws#1997)

* fix: remove explicit logging level set in single module (aws#1998)

* run automated tests for resource level attribute support

* Skipping metadata in layer hashing

* Refactored the classes for TestTranslatorEndToEnd and TestResourceLevelAttributes to share the same parent class

* Added new translator tests for version and layer resources

* Added new unit tests

* Removed after transform resource plugin

* Black reformatting

* Refactoring implicit api plugin support for DeletionPolicy and UpdateReplacePolicy

* Refactoring to improve code quality

* Added simple documentation

* Black reformatting

* Added input template that was missing

* Refactoring: use sets instead of lists for implicit api plugin

* Changing import to be compatible with py2.7

* Changing test deployment hashes to their actual values

Co-authored-by: Mehmet Nuri Deveci <5735811+mndeveci@users.noreply.github.com>

* chore: bump version to 1.36.0 (aws#2014)

* fix: Shared Usage Plan scenarios for Resource Level Attribute Support (aws#2040)

* do not propagate attributes to CognitoUserPool

* shared usage plan with propagated resource level attributes

* add unit tests

* Added test templates for shared usage plan with resource attributes

* Black reformatting

* Removing unused import

* fix python2 hashes

Co-authored-by: Qingchuan Ma <qingchm@amazon.com>

Co-authored-by: Mehmet Nuri Deveci <5735811+mndeveci@users.noreply.github.com>
Co-authored-by: Cosh_ <CoshUS@users.noreply.github.com>
Co-authored-by: Mohamed Elasmar <71043312+moelasmar@users.noreply.github.com>

Co-authored-by: Mehmet Nuri Deveci <5735811+mndeveci@users.noreply.github.com>
Co-authored-by: Cosh_ <CoshUS@users.noreply.github.com>
Co-authored-by: Mohamed Elasmar <71043312+moelasmar@users.noreply.github.com>

v1.35.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Release/v1.35.0 (aws#1962)

* Release/v1.35.0 (aws#1950)

* fix: Change yaml.load to yaml_parse as a best practice (aws#1951) (aws#1961)

Co-authored-by: mingkun2020 <68391979+mingkun2020@users.noreply.github.com>