Skip to content

Update DESIGN.md to include an Overview and entry point for SAM - #370

Merged
brettstack merged 2 commits into
aws:developfrom
jfuss:update-design-readme
May 25, 2018
Merged

brettstack merged 2 commits into
aws:developfrom
jfuss:update-design-readme

Conversation

@jfuss

@jfuss jfuss commented Apr 6, 2018

Copy link
Copy Markdown
Contributor

Issue #, if available:

Description of changes:
This will add an Overview section to the DESIGN.md file that explains how SAM works and the entry point into the code base. This is useful to help new people in being able to trace through the code base.

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

@PaulMaddox PaulMaddox left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm except s/entry pointed/entry point/

Comment thread DESIGN.md Outdated
@@ -1,3 +1,11 @@
# Overview

SAM is invoke/called by the CloudFormation Service. CloudFormation recognises the `Transform: AWS::Serverless-2016-10-31` header and invokes the SAM translator. This will then take your SAM template and expand it

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

invoke -> invoked? Or maybe just drop and do “SAM is called by...”

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated in next commit.

@Nr18

Nr18 commented Apr 7, 2018

Copy link
Copy Markdown
Contributor

Oh this was what i was looking for but the reason why was because i wanted to know how i can help and add some things like a property LogRetention on the AWS::Serverless::Function resource that will created a log group.

A generic description how you can add things like that would help me and others to contribute to SAM.

@jfuss

jfuss commented Apr 9, 2018

Copy link
Copy Markdown
Contributor Author

@PaulMaddox Will be updated in the next commit.

@Nr18 Been discussing on #sam-dev slack channel on adding the support but this also got me thinking of how to add more docs. Will comment in slack my idea around more docs and surfacing this data.

@mwarkentin

Copy link
Copy Markdown

👍

@brettstack brettstack self-assigned this May 22, 2018

@dhruvsood dhruvsood left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, Jacob!

@brettstack
brettstack merged commit c7549e7 into aws:develop May 25, 2018
brettstack added a commit that referenced this pull request Jun 11, 2018
* doc: update DESIGN.md to include an Overview and entry point for SAM (#370)

* Update DESIGN.md to include an Overview and entry point for SAM

* Updated wording in DESIGN.md based on PR feedback

* docs(example): improve microservice-http-endpoint-python3 example (#415)

* Remove unnecessary index.js"

* Moved common config to template Globals and uncomment debug log.

* Add sample payload and commands for testing.

* Rename test script as a script.

* Exit from script after command.

* Simplify use case for easier startup.

- Move table creation into template.
- Eliminates need to provide table name in every REST call.
- Fix GET with no params.
- Split test.sh script from output log.

* Address requested changes.

* doc(example): update api_backend example to use ES6 arrow function immediate return (#446)

Since this code is using ES6 we can use the short version of returning a param

* feat(event-source): add SQS as Lambda event source (#451)

* feat(cli): add lightweight transformer cli (#459)

* bug: fix ANY method ARN generation using wildcard (#449)

* fix(event-source): fix SQS Queue schema to allow intrinsic functions (#465)

* fix: log a warning on invalid schema validation (#466)
brettstack added a commit that referenced this pull request Jun 12, 2018
* doc: update DESIGN.md to include an Overview and entry point for SAM (#370)

* Update DESIGN.md to include an Overview and entry point for SAM

* Updated wording in DESIGN.md based on PR feedback

* docs(example): improve microservice-http-endpoint-python3 example (#415)

* Remove unnecessary index.js"

* Moved common config to template Globals and uncomment debug log.

* Add sample payload and commands for testing.

* Rename test script as a script.

* Exit from script after command.

* Simplify use case for easier startup.

- Move table creation into template.
- Eliminates need to provide table name in every REST call.
- Fix GET with no params.
- Split test.sh script from output log.

* Address requested changes.

* doc(example): update api_backend example to use ES6 arrow function immediate return (#446)

Since this code is using ES6 we can use the short version of returning a param

* feat(event-source): add SQS as Lambda event source (#451)

* feat(cli): add lightweight transformer cli (#459)

* bug: fix ANY method ARN generation using wildcard (#449)

* fix(event-source): fix SQS Queue schema to allow intrinsic functions (#465)

* fix: log a warning on invalid schema validation (#466)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants