6899 Commits

Author SHA1 Message Date
Mariusz Nowak
304f0ec2b9 refactor(Variables): Clear ineffective promise functions usage 2020-01-29 14:45:12 +04:00
Mariusz Nowak
bc5bbbed3c fix(Variables): Ensure to retrieve status code correctly
It changed with #7237
2020-01-29 14:45:12 +04:00
Mariusz Nowak
31987ce072 refactor(Variables): Reflect if/else logic in async handling 2020-01-29 14:45:12 +04:00
ncipollina
0549d85bc0 feat: azure-nodejs-typescript template. (#7252) 2020-01-24 14:54:23 +01:00
tcastelli
4f273785f4 feat: Support RedrivePolicy configuration on SNS events (#7239) 2020-01-24 13:05:51 +01:00
Ivaylo Novakov
1793cf8d7a fix: Do not overwrite go.mod on make in Go template (#7245) 2020-01-22 08:58:48 +01:00
Mariusz Nowak
f6c51796f8 refactor: Convert statusCode to code error parameter 2020-01-21 13:20:02 +01:00
Mariusz Nowak
f1cc3a8998 test: Update to not rely on side ServerlessError feature 2020-01-21 13:20:02 +01:00
Mariusz Nowak
c7fea34e85 fix: Separate AWS region and credentials resolution concern
Dashboard plugin at intialization eventually resolves credentials
for a framework, and as region resolution comes with it,
it also resolves region.
Still it happens prior variables resolution and there's
no guarantee that region value is resolved.

Fixes https://github.com/serverless/enterprise-plugin/issues/340
2020-01-16 11:33:29 +01:00
Eric Silva
526b21b994 refactor: corrected spelling errors (#7218) 2020-01-15 09:37:23 +01:00
Mariusz Nowak
7f9b2a520e test: Fix race condition 2020-01-14 12:56:51 +01:00
Mariusz Nowak
8814671435 fix(AWS APIGW): Fix default resource policy configuration
Regression introduced with #7138
Fixes #7194 #7211
2020-01-14 12:56:23 +01:00
Richard Davison
780fb46e72 fix: Fix CLI params resolution (switch to yargs-parser) (#7187)
Closes #6083
2020-01-10 14:50:57 +01:00
Mariusz Nowak
5e63cee340 fix(AWS Lambda): Do not break permission resource
Fixes #7189
2020-01-09 18:28:28 +01:00
Mariusz Nowak
77b92686a7 refactor(AWS Lambda): Do not deep merge when not necessary 2020-01-09 18:28:28 +01:00
Mariusz Nowak
cbf8c74c6d refactor(AWS Lambda): Resolve deep value once 2020-01-09 18:28:28 +01:00
Mariusz Nowak
27cda47cd4 test(AWS Lambda): Improve coverage
Expose #7189
2020-01-09 18:28:28 +01:00
Mariusz Nowak
91f1d2f203 refactor(AWS Lambda): Ensure natural function reference when no alias 2020-01-09 18:28:28 +01:00
Marc Marino
5973c9fd58 feat: support RollbackConfiguration in service config (#7193) 2020-01-09 16:19:47 +01:00
Philipp Muens
da69527d1d test: Add tests 2020-01-09 15:30:33 +01:00
Philipp Muens
3cfa7502e2 feat: Add support for plain .git template URLs 2020-01-09 15:30:33 +01:00
Mariusz Nowak
8932307dce test: Ensure to generate tmp files in tmp dir 2020-01-09 14:16:34 +01:00
Artur Grzybowski
9591d5a232 feat: Enhance configuration options of cloudFront event (#7170)
Fixes #7151 
Addresses partially #6843 and #6785
2020-01-09 14:07:33 +01:00
Mariusz Nowak
a433367c09 test: Fix race condition 2020-01-09 13:12:54 +01:00
Christian
560ceee5b3 feat: Support BisectBatchOnFunctionError option on event streams (#7105) 2020-01-07 15:14:34 +01:00
maafk
3236adb040 fix: Remove hard-coded AWS partitions (#7175) 2020-01-07 14:51:08 +01:00
coyoteecd
53a18cbff6 fix: Ensure CF stacks are deleted on failed creaton attempt (#7158)
Until now, failed stack deploys when using deploymentBucket to specify
an existing bucket were left in ROLLBACK_COMPLETE state.
This required manual 'sls remove' before a redeploy.

Fixes #6612, follow-up of incomplete fix in #5631
2020-01-07 13:19:39 +01:00
YellyYU
41d7d0bf07 fix: Fix and improve openwhisk-java-maven templates (#7164) 2020-01-03 20:41:25 +01:00
Mariusz Nowak
c94a614676 fix(Standalone): Workaround pkg #420 bug 2020-01-03 14:20:11 +01:00
Mariusz Nowak
4821ad21a5 fix(AWS Lambda): Remove AWS issue workaround
Issue was fixed on AWS side, and by next week it should be fixed for
gov-cloud regions.
Still in a meantime other AWS issue emerged,
An "A conflicting deployment is in progress." error,
Which happens only when workaround in question is involved

Fixes #7137
2020-01-03 14:17:03 +01:00
Mariusz Nowak
7a804e1c06 fix(CLI): Recognize CLI aliases as documented
Fixes #7106
2019-12-29 18:56:10 +01:00
Mariusz Nowak
ca4d046785 refactor(CLI): Unify argv to commands and options resolution 2019-12-29 18:56:10 +01:00
Mariusz Nowak
fffd00cbe8 refactor(CLI): Reuse same argv slice
Will allow reliable memoization of argv resolution
2019-12-29 18:56:10 +01:00
Mariusz Nowak
074647c502 fix(CLI): Fix ambiguity of '-v' option
It was supported as alias for both `--version` and `--verbose`
(when `--help` was passed).
Ensure it's only an alias for `--version`
2019-12-29 18:56:10 +01:00
Mariusz Nowak
b5dbdafe5b fix(Plugins): Fix resolution of config when installing plugin
Fixes #7130
2019-12-29 18:56:10 +01:00
b_d
e662a91d92 fix(AWS APIGW): Fix handling of removal of resourcePolicy setting
Fixes #6789
2019-12-27 21:04:07 +01:00
Mariusz Nowak
2995f8fef9
fix(AWS APIGW): Fix handling of provisionedConcurrency: 0 setting
Fixes #7133
2019-12-24 00:26:37 +01:00
Mariusz Nowak
b05d5bcce3
fix(AWS APIGW): Fix Rest API id detection when no API GW involved
Regression introduced with #7126
2019-12-23 16:10:59 +01:00
Mariusz Nowak
dfa0967ecf
fix(AWS APIGW): Ensure to apply API GW stage settings with no endpoints
Fixes #7036
2019-12-23 13:58:33 +01:00
Mariusz Nowak
4a947b215c
fix(AWS Lambda): Fix CloudWatch logs creation access
Fixes #6241
Closes #6692
2019-12-23 13:58:33 +01:00
Mariusz Nowak
38f6ac125e
fix(AWS APIGW): Ensure to point provisioned version
Addresses #7059
2019-12-23 13:58:33 +01:00
Mariusz Nowak
3210a94ef9
fix(AWS Lambda): Workaround AWS issue related to alias redeployments
Addresses #7059
2019-12-23 13:58:32 +01:00
Mariusz Nowak
eaf9b6117f
fix(AWS Lambda): Fix provisioned concurrency configuration
- So it works with multiple lambda versions
- “internal error” is avoided on change of provisioned
  config configuration

Addresses #7059
2019-12-23 13:58:32 +01:00
Mariusz Nowak
3e2f59e27c
refactor(AWS Lambda): Resolve object once 2019-12-23 13:58:32 +01:00
Mariusz Nowak
388c2993f0
refactor(AWS APIGW): Rely on object destructuring 2019-12-23 13:58:32 +01:00
Mariusz Nowak
cf5497198b
refactor(AWS Lambda): Improve var name 2019-12-23 13:58:32 +01:00
Mariusz Nowak
95a397d731
refactor(AWS Lambda): Improve variables naming 2019-12-23 13:58:31 +01:00
Mariusz Nowak
271499777d
refactor(AWS Lambda): Rely on more reliable Object.assign
_.merge is deep merge, and may introduce unexpected outcome
2019-12-23 13:58:31 +01:00
Mariusz Nowak
6af76ed237
refactor(AWS APIGW): Convert trailing arguments into options 2019-12-23 13:58:31 +01:00
Mariusz Nowak
84b1d1eb11
fix: Fix custom resource lambda artifact generation
When multiple custom resources where generated,
then multiple times we tried to copy generated zip file
into service folder.
On same occasions it crashed with EPERM or ENOENT errors
2019-12-23 13:57:51 +01:00