You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 26, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: Docs/articles/CICD.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -248,15 +248,15 @@ fi
248
248
249
249
### Import module artifacts to deployment tier
250
250
251
-
With the deployment tier upgraded, the previously built modules can now be imported. The following command copies the CloudFormation templates and artifacts produced by the _Build_ phase to the deployment tier bucket. All module dependencies must be imported explicitly when using the `--from-origin` option.
251
+
With the deployment tier upgraded, the previously built modules can now be imported. The following command copies the CloudFormation templates and artifacts produced by the _Build_ phase to the deployment tier bucket. All module dependencies must be imported explicitly when using the `--from-bucket` option.
252
252
253
253
> NOTE: `lash publish` can import multiple modules at once.
> Hicetas was a Greek philosopher of the Pythagorean School. He was born in Syracuse. Like his fellow Pythagorean Ecphantus and the Academic Heraclides Ponticus, he believed that the daily movement of permanent stars was caused by the rotation of the Earth around its axis. When Copernicus referred to Nicetus Syracusanus (Nicetus of Syracuse) in _De revolutionibus orbium coelestium_ as having been cited by Cicero as an ancient who also argued that the Earth moved, it is believed that he was actually referring to Hicetas. [(Wikipedia)](https://en.wikipedia.org/wiki/Hicetas)
10
10
@@ -141,6 +141,36 @@ Part of this release, _LambdaSharp.Core_ functions were ported to .NET Core 3.1
141
141
142
142
## Releases
143
143
144
+
### (v0.8.2.3) - 2021-04-01
145
+
146
+
#### Features
147
+
148
+
* CLI
149
+
* Added `--from-bucket` as alias for `--from-origin` to make the intent clearer (`--from-origin` is still supported for backwards compatibility).
150
+
151
+
* Syntax
152
+
* Added `stack` as a scope keyword to make an item available from a nested stack, but not publicly available for import.
153
+
* Added `Module::RestApi::CorsOrigin` as a referenceable variable to the module environment.
154
+
155
+
#### Fixes
156
+
157
+
* CLI
158
+
* Fixed an issue where cached module versions were not refreshed when importing a new module to a bucket.
159
+
* Fixed an issue where `--existing-s3-bucket-name` was not respected when `--quick-start` was used.
160
+
* Fixed an issue where performance statistics were no longer shown for externally invoked tools.
161
+
* Fixed an issue where the `$default` WebSocket route could not respond with a custom payload.
162
+
163
+
* Modules
164
+
* _LambdaSharp.App.Api_
165
+
* Use `stack` scope outputs variables instead of `public` scope to prevent them being accidentally imported.
166
+
* _LambdaSharp.App.Bucket_
167
+
* Use `stack` scope outputs variables instead of `public` scope to prevent them being accidentally imported.
168
+
* _LambdaSharp.App.EventBus_
169
+
* Enforce stricter adherence to protocol with client.
170
+
* Respond to unknown actions with an error instead of silently ignoring them.
171
+
* Use `stack` scope outputs variables instead of `public` scope to prevent them being accidentally imported.
172
+
* Added `WebSocketApiId` as output value so that the WebSocket API can be referenced from the parent stack.
**NOTE for MacOS Users:** If you run `zsh` shell (default on MacOS Catalina and later), you must add `dotnet` to your environment path variable manually by adding the following line to your `~/.zshrc` file.
Copy file name to clipboardExpand all lines: Docs/articles/VideoTutorials.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,3 +31,9 @@ Learn how you can build and deploy your serverless solution in minutes using Lam
31
31
This presentation covers some of the serverless design patterns, such as CQRS (Command and Query Responsibility Separation), CloudFormation stacks, sharing of resources, nested vs. side-by-side composition, and then put it all together with some code samples found at: https://github.com/LambdaSharp/ServerlessPatterns-ServiceComposition
## Serverless .NET Patterns: Publishing and Sharing
36
+
37
+
This presentation dives into the details of how modules are published. It shows how artifacts from the build process are copied to the deployment bucket. As well as how to stage builds for validation, before publishing the approved artifacts. It is a deep-dive into one of the most critical features in LambdaSharp to ensure a safe development process for production environments. Code samples can be found at: https://github.com/LambdaSharp/ServerlessPatterns-PublishingAndSharing
Copy file name to clipboardExpand all lines: Docs/modules/LambdaSharp-App-Api.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -209,7 +209,13 @@ The <code>RootPath</code> outputs contains the root path for the app API.
209
209
210
210
## REST API
211
211
212
-
The API key is computed by concatenating the app version identifier with the colon character (i.e. `':'`) and the CloudFormation stack identifier, and then applying a base 64 encoding to the result. When `DevMode` is enabled, the API key only uses the CloudFormation stack identifier.
212
+
The REST API endpoint can be found in the `Url` output value of the nested stack.
213
+
214
+
### Authentication
215
+
216
+
The REST API expects a `X-Api-Key` header in the request to validate access to the API.
217
+
218
+
The API key is computed by concatenating `AppVersionId` with the colon character (i.e. `':'`) and the CloudFormation stack identifier, and then applying a base 64 encoding to the result. When `DevMode` is enabled, the API key only uses the CloudFormation stack identifier.
213
219
214
220
To compute the effective API key, base 64 decode the `ApiKey` output value and concatenate it to the app version identifier:
0 commit comments