repo stringclasses 21
values | pull_number float64 45 194k | instance_id stringlengths 16 34 | issue_numbers stringlengths 6 27 | base_commit stringlengths 40 40 | patch stringlengths 263 270k | test_patch stringlengths 312 408k | problem_statement stringlengths 38 47.6k | hints_text stringlengths 1 257k ⌀ | created_at stringdate 2016-01-11 17:37:29 2024-10-18 14:52:41 | language stringclasses 4
values | Dockerfile stringclasses 279
values | P2P stringlengths 2 10.2M | F2P stringlengths 11 38.9k | F2F stringclasses 86
values | test_command stringlengths 27 11.4k | task_category stringclasses 5
values | is_no_nodes bool 2
classes | is_func_only bool 2
classes | is_class_only bool 2
classes | is_mixed bool 2
classes | num_func_changes int64 0 238 | num_class_changes int64 0 70 | num_nodes int64 0 264 | is_single_func bool 2
classes | is_single_class bool 2
classes | modified_nodes stringlengths 2 42.2k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
serverless/serverless | 7,388 | serverless__serverless-7388 | ['7318'] | 19012a9068357f307693823bc56bb2ce1d881a64 | diff --git a/lib/plugins/aws/lib/getServiceState.js b/lib/plugins/aws/lib/getServiceState.js
index fe5b95b018c..b5edce78548 100644
--- a/lib/plugins/aws/lib/getServiceState.js
+++ b/lib/plugins/aws/lib/getServiceState.js
@@ -8,7 +8,7 @@ module.exports = {
const servicePath = this.serverless.config.servicePath;
... | diff --git a/lib/plugins/aws/lib/getServiceState.test.js b/lib/plugins/aws/lib/getServiceState.test.js
index f7540287f85..44db155ee9c 100644
--- a/lib/plugins/aws/lib/getServiceState.test.js
+++ b/lib/plugins/aws/lib/getServiceState.test.js
@@ -32,14 +32,14 @@ describe('#getServiceState()', () => {
});
it('shou... | deploy --package with layers issue
# Bug Report
## Description
1. What did you do?
I create a package in my CI using `sls package --package /tmp/mypackage` and this successfully packages everything including my layers.
I then store the output of the publish as a build artefact and my CI gets the artefact ... | null | 2020-02-25 09:05:08+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | [] | ['#getServiceState() should use the argument-based state file path if the "package" option is used ', '#getServiceState() should use the default state file path if the "package" option is not used'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/lib/getServiceState.test.js --reporter json | Bug Fix | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/plugins/aws/lib/getServiceState.js->program->method_definition:getServiceState"] |
serverless/serverless | 7,382 | serverless__serverless-7382 | ['6715'] | 3e1e1f486c4f6e283e172c99d9a38838bfbe2ab6 | diff --git a/docs/providers/aws/events/apigateway.md b/docs/providers/aws/events/apigateway.md
index 1e6f068a88c..27922e7c8a7 100644
--- a/docs/providers/aws/events/apigateway.md
+++ b/docs/providers/aws/events/apigateway.md
@@ -655,6 +655,24 @@ functions:
method: get
```
+API Gateway also supports the as... | diff --git a/lib/plugins/aws/package/compile/events/apiGateway/lib/restApi.test.js b/lib/plugins/aws/package/compile/events/apiGateway/lib/restApi.test.js
index 73ffbe6872f..8aaed26f631 100644
--- a/lib/plugins/aws/package/compile/events/apiGateway/lib/restApi.test.js
+++ b/lib/plugins/aws/package/compile/events/apiGat... | Add support for VPC Endpoint associations in AWS.
# This is a Feature Proposal
## Description
Amazon API Gateway support [associating your API with an interface VPC endpoint](https://docs.aws.amazon.com/apigateway/latest/developerguide/associate-private-api-with-vpc-endpoint.html). This is supported in cloudformati... | ## Update
I found today that, though the aws api supports this, it has not yet been brought to cloudformation. I imagine this would happen here before there unless it's with a 3rd party plugin.
Any news on this one?
Looking at the CFT docs, looks like the VpcEndpointIds property is supported now. It was added on Nov 2... | 2020-02-24 18:45:53+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['#compileRestApi() should set binary media types if defined at the apiGateway provider config level', '#compileRestApi() should compile if endpointType property is PRIVATE and vpcEndpointIds property is [id1]', '#compileRestApi() throw error if endpointType property is not a string', '#compileRestApi() should compile ... | ['#compileRestApi() should throw error if endpointType property is PRIVATE and vpcEndpointIds property is not an array'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/compile/events/apiGateway/lib/restApi.test.js --reporter json | Feature | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/plugins/aws/package/compile/events/apiGateway/lib/restApi.js->program->method_definition:compileRestApi"] |
serverless/serverless | 7,374 | serverless__serverless-7374 | ['7369'] | 8518000d4fbf3a6cf0a6e2f81bd6421e017a1b5f | diff --git a/lib/utils/fs/fileExistsSync.js b/lib/utils/fs/fileExistsSync.js
index 147300e7b51..e11066ef26b 100644
--- a/lib/utils/fs/fileExistsSync.js
+++ b/lib/utils/fs/fileExistsSync.js
@@ -4,7 +4,7 @@ const fse = require('./fse');
function fileExistsSync(filePath) {
try {
- const stats = fse.lstatSync(file... | diff --git a/lib/utils/fs/fileExistsSync.test.js b/lib/utils/fs/fileExistsSync.test.js
index e6e3b6e85df..ca075cc322e 100644
--- a/lib/utils/fs/fileExistsSync.test.js
+++ b/lib/utils/fs/fileExistsSync.test.js
@@ -2,6 +2,7 @@
const path = require('path');
const expect = require('chai').expect;
+const fse = require('... | serverlessrc keeps changing
# Bug Report
Seems like every time I do anything with serverless, it changes my `~/.serverlessrc`
## Description
I have all my rc files in source control, and I want this one in source control as well because I want to set `trackingDisabled`. Annoyingly, every time I do anything wit... | @c0d3d thanks for reporting. That's indeed weird.
I do not observe such behavior on my side. Does it happen after you toggle some settings, or every time even if you do not touch the file?
If so, can you describe the flow (which commands force file to be recreated), and say which version of `serverless` exactly y... | 2020-02-21 16:54:16+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ["#fileExistsSync() When reading a symlink to a file should detect if the file doesn't exist", "#fileExistsSync() When reading a symlink to a file should detect if the file doesn't exist w/ symlink to dir", '#fileExistsSync() When reading a file should detect if a file exists', "#fileExistsSync() When reading a symlink... | ['#fileExistsSync() When reading a symlink to a file should detect if the file exists'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/utils/fs/fileExistsSync.test.js --reporter json | Bug Fix | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/utils/fs/fileExistsSync.js->program->function_declaration:fileExistsSync"] |
serverless/serverless | 7,333 | serverless__serverless-7333 | ['6973'] | ca693872855a59799ec22079d20d048b40ab33a1 | diff --git a/docs/providers/aws/events/apigateway.md b/docs/providers/aws/events/apigateway.md
index cef6ea35b12..1e6f068a88c 100644
--- a/docs/providers/aws/events/apigateway.md
+++ b/docs/providers/aws/events/apigateway.md
@@ -1575,6 +1575,30 @@ provider:
The log streams will be generated in a dedicated log group ... | diff --git a/lib/plugins/aws/package/compile/events/apiGateway/lib/stage/index.test.js b/lib/plugins/aws/package/compile/events/apiGateway/lib/stage/index.test.js
index 932fee7dde3..2f9d64df6f0 100644
--- a/lib/plugins/aws/package/compile/events/apiGateway/lib/stage/index.test.js
+++ b/lib/plugins/aws/package/compile/e... | Enabling API Gateway Logs in serverless.yml tries to create new IAM Role and a new Lambda
# Bug Report
## Description
1. What did you do?
```yml
logs:
restApi: # Optional configuration which specifies if API Gateway logs are used. This can either be set to true to use defaults, or configured via subproper... | I'm having the same issue.
The error seems to be here.
https://github.com/serverless/serverless/blob/d33ee52d28b3d19c4df9bfdd63ac86b63ee6995d/lib/plugins/aws/package/compile/events/lib/ensureApiGatewayCloudWatchRole.js#L16
Even though `roleArn` is configured via `logs.restApi.role`, it still tries to create a cu... | 2020-02-13 08:42:19+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['#compileStage() logs should create a Log Group resource', '#compileStage() logs should ensure CloudWatch role custom resource', 'ensureApiGatewayCloudWatchRole when using a custom REST API role should add the custom REST API role to the resources', 'ensureApiGatewayCloudWatchRole when leveraging custom resources Shou... | ['ensureApiGatewayCloudWatchRole when role assignment is managed externally should not add any custom resources', '#compileStage() logs should skip CloudWatch role custom resource when restApi.roleManagedExternally is set'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/compile/events/apiGateway/lib/stage/index.test.js lib/plugins/aws/package/compile/events/lib/ensureApiGatewayCloudWatchRole.test.js --reporter json | Bug Fix | true | false | false | false | 0 | 0 | 0 | false | false | [] |
serverless/serverless | 7,327 | serverless__serverless-7327 | ['7296'] | 3399c9651e15aff70c6b80008387dc9709041c38 | diff --git a/docs/providers/aws/events/apigateway.md b/docs/providers/aws/events/apigateway.md
index 0e1925b1e9a..cef6ea35b12 100644
--- a/docs/providers/aws/events/apigateway.md
+++ b/docs/providers/aws/events/apigateway.md
@@ -444,11 +444,32 @@ functions:
method: post
authorizer:
ar... | diff --git a/lib/plugins/aws/package/compile/events/apiGateway/lib/permissions.test.js b/lib/plugins/aws/package/compile/events/apiGateway/lib/permissions.test.js
index ce7aa18daa5..360656e870d 100644
--- a/lib/plugins/aws/package/compile/events/apiGateway/lib/permissions.test.js
+++ b/lib/plugins/aws/package/compile/e... | Allow omitting the AWS::Lambda::Permission for cross-account authorizers
# Feature Proposal
Support skipping the creation of an `AWS::Lambda::Permission` resource for cross-account authorizer functions.
## Description
### Use case
When you specify an authorizer ARN for a function, the AWS provider for `serv... | @glb thanks for request. Code you point sets necessary permissions for API Gateway (so it can invoke needed lambdas).
How can API Gateway trigger the authorizer lambda from different account? Does it work, by ensuring necessary permissions on that lambda, but in scope of that different account?
@medikoo see the [AWS... | 2020-02-12 16:46:03+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['#validate() should set default statusCodes to response for lambda by default', '#awsCompilePermissions() should create limited permission resource scope to REST API', '#validate() should throw if request is malformed', '#validate() should validate the http events "method" property', '#validate() should accept authori... | ['#validate() should throw an error if authorizer "managedExternally" exists and is not a boolean', '#validate() should set authorizer defaults', '#awsCompilePermissions() should not create permission resources when the authorizer is managed externally', '#validate() should accept authorizer config'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/compile/events/apiGateway/lib/permissions.test.js lib/plugins/aws/package/compile/events/apiGateway/lib/validate.test.js --reporter json | Feature | false | true | false | false | 2 | 0 | 2 | false | false | ["lib/plugins/aws/package/compile/events/apiGateway/lib/validate.js->program->method_definition:getAuthorizer", "lib/plugins/aws/package/compile/events/apiGateway/lib/permissions.js->program->method_definition:compilePermissions"] |
serverless/serverless | 7,322 | serverless__serverless-7322 | ['7292'] | 9eba2187f9565b39d31e88572c06ea2ccaa4bade | diff --git a/docs/providers/aws/events/alb.md b/docs/providers/aws/events/alb.md
index 54d4bace79e..03ae7b1332c 100644
--- a/docs/providers/aws/events/alb.md
+++ b/docs/providers/aws/events/alb.md
@@ -103,3 +103,25 @@ module.exports.hello = async (event, context, callback) => {
```
The handler response object must ... | diff --git a/lib/plugins/aws/lib/naming.test.js b/lib/plugins/aws/lib/naming.test.js
index 6ba60667f41..4bbf37a61ff 100644
--- a/lib/plugins/aws/lib/naming.test.js
+++ b/lib/plugins/aws/lib/naming.test.js
@@ -737,6 +737,15 @@ describe('#naming()', () => {
'79039bd239ac0b3f6ff6d9296f23e27c'
);
});
+... | ALB event Target Group names should have a prefix and not be completely random
# Feature Proposal
## Description
<!-- Please use https://forum.serverless.com, StackOverflow or other forums for Q&A -->
<!-- Please answer ALL the question below. Otherwise we probably have to close the issue due to missing informat... | @isen-ng thanks for report.
Indeed this could be improved.
Maybe good middle ground would be to do: `` `${serviceName}${md5hash}`.slice(0, 32) `` ?
The problem with using `${serviceName}${md5hash}.slice(0, 32)` is that, if the serviceName itself exceeds 32 characters, you will still end up with duplicate target g... | 2020-02-12 04:59:37+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['AwsProvider #request() using the request cache should resolve to the same response with multiple parallel requests', '#naming() #getScheduleId() should add the standard suffix', '#naming() #getLambdaCognitoUserPoolPermissionLogicalId() #getLambdaRegisterTargetPermissionLogicalId() should normalize the function name a... | ['AwsProvider #getAlbTargetGroupPrefix() should return empty string if alb is not defined', 'AwsProvider #getAlbTargetGroupPrefix() should return empty string if not defined', 'AwsProvider #getAlbTargetGroupPrefix() should support no prefix', '#naming() #getAlbTargetGroupName() should return a prefixed unique identifer... | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/lib/naming.test.js lib/plugins/aws/provider/awsProvider.test.js --reporter json | Feature | false | false | false | true | 2 | 1 | 3 | false | false | ["lib/plugins/aws/provider/awsProvider.js->program->class_declaration:AwsProvider->method_definition:getAlbTargetGroupPrefix", "lib/plugins/aws/lib/naming.js->program->method_definition:getAlbTargetGroupName", "lib/plugins/aws/provider/awsProvider.js->program->class_declaration:AwsProvider"] |
serverless/serverless | 7,283 | serverless__serverless-7283 | ['7275'] | b9c8049455b4f48ce9247edeb6561e5c302373ae | diff --git a/docs/providers/aws/guide/serverless.yml.md b/docs/providers/aws/guide/serverless.yml.md
index 322fdd3e215..f2b34d70bd5 100644
--- a/docs/providers/aws/guide/serverless.yml.md
+++ b/docs/providers/aws/guide/serverless.yml.md
@@ -41,6 +41,7 @@ provider:
logRetentionInDays: 14 # Set the default RetentionIn... | diff --git a/lib/plugins/aws/deploy/lib/cleanupS3Bucket.test.js b/lib/plugins/aws/deploy/lib/cleanupS3Bucket.test.js
index abd44b8ad16..e66fe343e37 100644
--- a/lib/plugins/aws/deploy/lib/cleanupS3Bucket.test.js
+++ b/lib/plugins/aws/deploy/lib/cleanupS3Bucket.test.js
@@ -133,7 +133,7 @@ describe('cleanupS3Bucket', () ... | Make number of deployment artifacts to keep configurable.
# Feature Proposal
## Description
It would be nice feature if we could configure number of deployment artifacts to keep on S3 bucket. Currently this number is [hard-coded to 5](https://github.com/serverless/serverless/blob/master/lib/plugins/aws/deploy/lib... | @eeroniemi thanks for proposal. It's definitely a good idea.
I think we can support tweaking it directly in `serverless.yml` as e.g.
```yaml
provider:
preservedLastStackVersionsCount: 5 # default
```
PR that implements it, is definitely welcome! | 2020-02-03 13:52:52+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['cleanupS3Bucket #removeObjects() should remove all old service files from the S3 bucket if available', 'cleanupS3Bucket #getObjectsToRemove() should return an empty array if there are exactly 4 directories available', 'cleanupS3Bucket #cleanupS3Bucket() should run promise chain in order', 'cleanupS3Bucket #getObjects... | ['cleanupS3Bucket #getObjectsToRemove() custom maxPreviousDeploymentArtifacts should allow configuring the number of artifacts to preserve'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/deploy/lib/cleanupS3Bucket.test.js --reporter json | Feature | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/plugins/aws/deploy/lib/cleanupS3Bucket.js->program->method_definition:getObjectsToRemove"] |
serverless/serverless | 7,277 | serverless__serverless-7277 | ['7276'] | c09f71897a67fe8ec98d460075f0f02b397f8ee5 | diff --git a/docs/providers/aws/events/sns.md b/docs/providers/aws/events/sns.md
index 556153b7791..6bb43ba99ec 100644
--- a/docs/providers/aws/events/sns.md
+++ b/docs/providers/aws/events/sns.md
@@ -149,7 +149,7 @@ functions:
## Setting a redrive policy
-This event definition creates an SNS topic that sends mess... | diff --git a/lib/plugins/aws/package/compile/events/sns/index.test.js b/lib/plugins/aws/package/compile/events/sns/index.test.js
index b2ddabc7fc7..e17a6045c55 100644
--- a/lib/plugins/aws/package/compile/events/sns/index.test.js
+++ b/lib/plugins/aws/package/compile/events/sns/index.test.js
@@ -597,7 +597,7 @@ describ... | Redrive Policy not properly referencing queue
## Description
Recentely, I have been able to test serverless 1.62 which includes the option to use redriverPolicy for sns events. However, when I submited a PR for that feature, I overlooked the param specificacion format on the queuePolicy that is created. To be mo... | null | 2020-01-31 13:22:40+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['AwsCompileSNSEvents #compileSNSEvents() should throw an error when arn object and no topicName are given as object properties', 'AwsCompileSNSEvents #compileSNSEvents() should throw an error if SNS event type is not a string or an object', 'AwsCompileSNSEvents #compileSNSEvents() should throw an error when invalid im... | ['AwsCompileSNSEvents #compileSNSEvents() should link topic to corresponding dlq when redrivePolicy is defined with resource ref', 'AwsCompileSNSEvents #compileSNSEvents() should link topic to corresponding dlq when redrivePolicy is defined by arn string'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/compile/events/sns/index.test.js --reporter json | Bug Fix | false | true | false | false | 2 | 0 | 2 | false | false | ["lib/plugins/aws/lib/naming.js->program->method_definition:getTopicDLQPolicyLogicalId", "lib/plugins/aws/package/compile/events/sns/index.js->program->class_declaration:AwsCompileSNSEvents->method_definition:compileSNSEvents"] |
serverless/serverless | 7,265 | serverless__serverless-7265 | ['7255'] | 0549d85bc0254a10d3314613892e335da2bc3722 | diff --git a/lib/classes/Variables.js b/lib/classes/Variables.js
index e007044e98f..4b47521a021 100644
--- a/lib/classes/Variables.js
+++ b/lib/classes/Variables.js
@@ -808,36 +808,34 @@ class Variables {
},
{ useCache: true }
) // Use request cache
- .then(response => {
- const pla... | diff --git a/lib/classes/Variables.test.js b/lib/classes/Variables.test.js
index 05800ca09f4..73d7bef1a9a 100644
--- a/lib/classes/Variables.test.js
+++ b/lib/classes/Variables.test.js
@@ -1229,7 +1229,9 @@ module.exports = {
const awsProvider = new AwsProvider(serverless, options);
const param = '/some/p... | SSM warning is now throwing an error
# Bug Report
## Description
1. What did you do? upgrade serverless
1. What happened?
```
Serverless Error ---------------------------------------
ParameterNotFound
```
1. What should've happened?
```
Serverless Warning
A valid SSM parameter to satisfy the decl... | Also getting this issue: confirmed this change is specific to serverless `1.61.3` as `1.61.2` works.
@jeremiahlukus thanks for report.
Do you mean that you have `int1`, `uat` and `prod` configuration put top level in `serverless.yml` or are they nested at some property?
I don't think there's any convention intern... | 2020-01-28 17:18:22+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['Variables #prepopulateService dependent service rejections should reject CloudFormation variables in profile values', 'Variables #prepopulateService basic population tests should populate variables in profile values', 'Variables #getValueFromSource() caching should only call getValueFromS3 once, returning the cached ... | ['Variables #getValueFromSsm() should return undefined if SSM parameter does not exist', 'Variables #populateProperty() should warn if an SSM parameter does not exist'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/classes/Variables.test.js --reporter json | Bug Fix | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/classes/Variables.js->program->class_declaration:Variables->method_definition:getValueFromSsm"] |
serverless/serverless | 7,262 | serverless__serverless-7262 | ['7236'] | 4468805d2a93224b63d99dc04f6c6056226af689 | diff --git a/docs/providers/aws/events/streams.md b/docs/providers/aws/events/streams.md
index 3a04e5a5e6b..e971e33bab7 100644
--- a/docs/providers/aws/events/streams.md
+++ b/docs/providers/aws/events/streams.md
@@ -153,6 +153,72 @@ functions:
enabled: false
```
+## Setting the OnFailure destination
+
+T... | diff --git a/lib/plugins/aws/package/compile/events/stream/index.test.js b/lib/plugins/aws/package/compile/events/stream/index.test.js
index b61ee8a1248..e22c72b14de 100644
--- a/lib/plugins/aws/package/compile/events/stream/index.test.js
+++ b/lib/plugins/aws/package/compile/events/stream/index.test.js
@@ -385,6 +385,... | expose Destination on Failure prop for Kinesis Streams
# Feature Proposal
https://aws.amazon.com/about-aws/whats-new/2019/11/aws-lambda-supports-failure-handling-features-for-kinesis-and-dynamodb-event-sources/
**Destination on Failure**
Now your Lambda function can continue processing a shard even when it retur... | Thank you @SydneyKereliuk for request, we're definitely open for PR's that implements that
@SydneyKereliuk are you working on the implementation of this? If not, I would love to give it a try | 2020-01-28 15:06:11+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['AwsCompileStreamEvents #compileStreamEvents() when a DynamoDB stream ARN is given fails if keys other than Fn::GetAtt/ImportValue/Join are used for dynamic stream ARN', 'AwsCompileStreamEvents #compileStreamEvents() should not throw error if custom IAM role is set in provider', 'AwsCompileStreamEvents #compileStreamE... | ['AwsCompileStreamEvents #compileStreamEvents() when a DynamoDB stream ARN is given fails if Fn::ImportValue is misused for onFailure ARN', 'AwsCompileStreamEvents #compileStreamEvents() when a DynamoDB stream ARN is given fails if invalid onFailure type is given', 'AwsCompileStreamEvents #compileStreamEvents() when a ... | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/compile/events/stream/index.test.js --reporter json | Feature | false | false | false | true | 3 | 1 | 4 | false | false | ["lib/plugins/aws/package/compile/events/stream/index.js->program->class_declaration:AwsCompileStreamEvents->method_definition:resolveInvalidDestinationPropertyErrorMessage", "lib/plugins/aws/package/compile/events/stream/index.js->program->class_declaration:AwsCompileStreamEvents->method_definition:compileStreamEvents... |
serverless/serverless | 7,239 | serverless__serverless-7239 | ['7229'] | 47e005f85e939e6ac051d97b53dafb65b54e2eb2 | diff --git a/docs/providers/aws/events/sns.md b/docs/providers/aws/events/sns.md
index 4c9ecd86da1..a973a510a7e 100644
--- a/docs/providers/aws/events/sns.md
+++ b/docs/providers/aws/events/sns.md
@@ -146,3 +146,25 @@ functions:
- dog
- cat
```
+
+## Setting a redrive policy
+
+This event... | diff --git a/lib/plugins/aws/package/compile/events/sns/index.test.js b/lib/plugins/aws/package/compile/events/sns/index.test.js
index 1eeab35c410..b2ddabc7fc7 100644
--- a/lib/plugins/aws/package/compile/events/sns/index.test.js
+++ b/lib/plugins/aws/package/compile/events/sns/index.test.js
@@ -596,5 +596,60 @@ descri... | Support setting RedrivePolicty for AWS::SNS::Subscription when using sns as a trigger for a function
Similarly to the option of using a FilterPolicy when defining a sns topic as the trigger of a function, it would be useful to allow to define the dead letter target (the name or the arn) so the generated code looks some... | Thanks @tcastelli for suggestion. We're definitely open for PR that provides that | 2020-01-21 11:51:17+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['AwsCompileSNSEvents #compileSNSEvents() should throw an error when arn object and no topicName are given as object properties', 'AwsCompileSNSEvents #compileSNSEvents() should throw an error if SNS event type is not a string or an object', 'AwsCompileSNSEvents #compileSNSEvents() should throw an error when invalid im... | ['AwsCompileSNSEvents #compileSNSEvents() should link topic to corresponding dlq when redrivePolicy is defined'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/compile/events/sns/index.test.js --reporter json | Feature | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/plugins/aws/package/compile/events/sns/index.js->program->class_declaration:AwsCompileSNSEvents->method_definition:compileSNSEvents"] |
serverless/serverless | 7,212 | serverless__serverless-7212 | ['7194'] | de887ac23a1fbb3f68ea64f16c13c02d75c21932 | diff --git a/lib/plugins/aws/package/compile/events/apiGateway/lib/restApi.js b/lib/plugins/aws/package/compile/events/apiGateway/lib/restApi.js
index fa0f3715bb4..c30c99c535f 100644
--- a/lib/plugins/aws/package/compile/events/apiGateway/lib/restApi.js
+++ b/lib/plugins/aws/package/compile/events/apiGateway/lib/restAp... | diff --git a/lib/plugins/aws/package/compile/events/apiGateway/lib/restApi.test.js b/lib/plugins/aws/package/compile/events/apiGateway/lib/restApi.test.js
index 142ed7cc149..73ffbe6872f 100644
--- a/lib/plugins/aws/package/compile/events/apiGateway/lib/restApi.test.js
+++ b/lib/plugins/aws/package/compile/events/apiGat... | After upgrading to 1.60.5, Api method property "Invoke with caller credentials" cannot be set anymore
# Bug Report
## Description
1. What did you do?
`npx serverless deploy --id test`
1. What happened?
The default generated "resourcePolicy" for ApiGateway is conflicting with the method option "Invoke wit... | Thanks @ftmazzone for report. Can you update the test case, so it doesn't involve any plugins?
(if the issue is influenced by a plugin, the bug report should be reported at plugin repository)
In substitution for Florent, here is the example:
----------------------------------------------------------
```
service... | 2020-01-14 10:58:11+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['#compileRestApi() should compile correctly if apiKeySourceType property is HEADER', '#compileRestApi() should compile correctly if apiKeySourceType property is AUTHORIZER', '#compileRestApi() throw error if endpointType property is not a string', '#compileRestApi() should compile if endpointType property is PRIVATE',... | ['#compileRestApi() should provide open policy if no policy specified', '#compileRestApi() should set binary media types if defined at the apiGateway provider config level', '#compileRestApi() should create a REST API resource'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/compile/events/apiGateway/lib/restApi.test.js --reporter json | Bug Fix | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/plugins/aws/package/compile/events/apiGateway/lib/restApi.js->program->method_definition:compileRestApi"] |
serverless/serverless | 7,197 | serverless__serverless-7197 | ['7189'] | 5452d3fafcc4f166fec76a2bcc7f31f09fad2523 | diff --git a/lib/plugins/aws/package/compile/events/apiGateway/lib/permissions.js b/lib/plugins/aws/package/compile/events/apiGateway/lib/permissions.js
index 1b3b28b4dc4..e331be1d40e 100644
--- a/lib/plugins/aws/package/compile/events/apiGateway/lib/permissions.js
+++ b/lib/plugins/aws/package/compile/events/apiGatewa... | diff --git a/lib/plugins/aws/package/compile/events/apiGateway/lib/permissions.test.js b/lib/plugins/aws/package/compile/events/apiGateway/lib/permissions.test.js
index 5cb70c0d45e..c1edd41ac91 100644
--- a/lib/plugins/aws/package/compile/events/apiGateway/lib/permissions.test.js
+++ b/lib/plugins/aws/package/compile/e... | Breaking change introduced for Custom Authorizer Lambdas
# Bug Report
Merged PR https://github.com/serverless/serverless/commit/38f6ac125e54d927871b4e5f5b387e0d4c28a6a7 introduced breaking changes for lambda based custom authorizer.
## Description
Given I am running serverless v1.60.5
When I run `sls deploy`
The... | `Fn::Join` is a valid CloudFormation instruction, and this change is confirmed to work.
I'm guessing that some plugin relied on specific format of `FunctionName`, hence the error. Can you run same with `SLS_DEBUG=*` and check where exactly crash happens?
The `Fn::Join` is only joining `":"` and `[{"Fn::GetAtt": ["... | 2020-01-09 11:11:02+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['#awsCompilePermissions() should setup permissions for an alias in case of provisioned function', '#awsCompilePermissions() should not create permission resources when http events are not given'] | ['#awsCompilePermissions() should create limited permission resource scope to REST API', '#awsCompilePermissions() should create limited permission resource scope to REST API with restApiId provided', '#awsCompilePermissions() should create permission resources for authorizers', '#awsCompilePermissions() should create ... | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/compile/events/apiGateway/lib/permissions.test.js --reporter json | Bug Fix | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/plugins/aws/package/compile/events/apiGateway/lib/permissions.js->program->method_definition:compilePermissions"] |
serverless/serverless | 7,193 | serverless__serverless-7193 | ['7134'] | 7f9f8084304c705139ad20a2ea4d2f44f6693eb1 | diff --git a/docs/providers/aws/guide/serverless.yml.md b/docs/providers/aws/guide/serverless.yml.md
index 799a10cacfb..7eedcab9c29 100644
--- a/docs/providers/aws/guide/serverless.yml.md
+++ b/docs/providers/aws/guide/serverless.yml.md
@@ -129,6 +129,13 @@ provider:
IpAddress:
aws:SourceIp:
... | diff --git a/lib/plugins/aws/lib/updateStack.test.js b/lib/plugins/aws/lib/updateStack.test.js
index 6398d15ee33..076f86a6144 100644
--- a/lib/plugins/aws/lib/updateStack.test.js
+++ b/lib/plugins/aws/lib/updateStack.test.js
@@ -187,6 +187,29 @@ describe('updateStack', () => {
expect(updateStackStub.args[0][2]... | AWS Stack Rollback Configuration
# Feature Proposal
Set Rollback Configuration using AWS provider configuration.
## Description
I would like our serverless framework deployments to be safer. CloudFormation can automatically [monitor and roll back stack operations]. I just need the serverless framework to set the ... | null | 2020-01-08 21:21:21+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['updateStack #updateStack() should run promise chain in order', 'updateStack #createFallback() should use CloudFormation service role if it is specified', 'updateStack #update() should add CAPABILITY_AUTO_EXPAND if a Transform directive is specified', 'updateStack #createFallback() should include custom stack tags', '... | ['updateStack #update() should use use rollbackConfiguration if it is specified'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/lib/updateStack.test.js --reporter json | Feature | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/plugins/aws/lib/updateStack.js->program->method_definition:update"] |
serverless/serverless | 7,158 | serverless__serverless-7158 | ['6612', '6612'] | 41d7d0bf0798188284f38e0f4e3effadad1f8d42 | diff --git a/lib/plugins/aws/lib/updateStack.js b/lib/plugins/aws/lib/updateStack.js
index 0677d2d6336..9944587b1df 100644
--- a/lib/plugins/aws/lib/updateStack.js
+++ b/lib/plugins/aws/lib/updateStack.js
@@ -24,7 +24,7 @@ module.exports = {
const params = {
StackName: stackName,
- OnFailure: 'ROLLBA... | diff --git a/lib/plugins/aws/lib/updateStack.test.js b/lib/plugins/aws/lib/updateStack.test.js
index 6398d15ee33..a91465c888a 100644
--- a/lib/plugins/aws/lib/updateStack.test.js
+++ b/lib/plugins/aws/lib/updateStack.test.js
@@ -51,7 +51,7 @@ describe('updateStack', () => {
expect(
createStackStub.c... | serverless deploy fails with ROLLBACK_COMPLETE error
<!--
1. If you have a question and not a bug report please ask first at http://forum.serverless.com
2. Please check if an issue already exists. This bug may have already been documented
3. Check out and follow our Guidelines: https://github.com/serverless/serverle... | Encountered same issue while deploying the serverless on AWS.
Internally serverless create an AWS cloud formation stack by the name of your serverless name.
In my case, it was in "ROLLBACK_COMPLETE" state, so I manually deleted the stack from AWS console & redeploy the serverless again and worked perfectly.
I ho... | 2020-01-02 16:10:28+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['updateStack #updateStack() should run promise chain in order', 'updateStack #createFallback() should use CloudFormation service role if it is specified', 'updateStack #update() should add CAPABILITY_AUTO_EXPAND if a Transform directive is specified', 'updateStack #createFallback() should include custom stack tags', '... | ['updateStack #createFallback() should create a stack with the CF template URL'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/lib/updateStack.test.js --reporter json | Bug Fix | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/plugins/aws/lib/updateStack.js->program->method_definition:createFallback"] |
serverless/serverless | 7,138 | serverless__serverless-7138 | ['6789', '6789'] | 2938a95b8711d3bfab1e665318f46f66db91d6a4 | diff --git a/lib/plugins/aws/package/compile/events/apiGateway/lib/restApi.js b/lib/plugins/aws/package/compile/events/apiGateway/lib/restApi.js
index b420b28812f..fa0f3715bb4 100644
--- a/lib/plugins/aws/package/compile/events/apiGateway/lib/restApi.js
+++ b/lib/plugins/aws/package/compile/events/apiGateway/lib/restAp... | diff --git a/lib/plugins/aws/package/compile/events/apiGateway/lib/restApi.test.js b/lib/plugins/aws/package/compile/events/apiGateway/lib/restApi.test.js
index 4c7ffa6df70..142ed7cc149 100644
--- a/lib/plugins/aws/package/compile/events/apiGateway/lib/restApi.test.js
+++ b/lib/plugins/aws/package/compile/events/apiGat... | API-G resource policies require manual removal
# Bug Report
## Description
Deleting an API-G resource policy from the stack configuration doesn't remove the previously defined policy from the endpoint.
Similar or dependent issues:
- #4926
API-G resource policies require manual removal
# Bug Report
##... | Same issue here. Commenting or deleting the resourcePolicy definition does not remove it. As workaround - for my use case - I removed the conditions (IP whitelisting)
From:
```
resourcePolicy:
- Effect: Allow
Principal: '*'
Action: execute-api:Invoke
Resource:
- execute-api:/*
... | 2019-12-24 17:16:07+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['#compileRestApi() should compile correctly if apiKeySourceType property is HEADER', '#compileRestApi() should compile correctly if apiKeySourceType property is AUTHORIZER', '#compileRestApi() throw error if endpointType property is not a string', '#compileRestApi() should compile if endpointType property is PRIVATE',... | ['#compileRestApi() should provide open policy if no policy specified', '#compileRestApi() should set binary media types if defined at the apiGateway provider config level', '#compileRestApi() should create a REST API resource'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/compile/events/apiGateway/lib/restApi.test.js --reporter json | Bug Fix | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/plugins/aws/package/compile/events/apiGateway/lib/restApi.js->program->method_definition:compileRestApi"] |
serverless/serverless | 7,126 | serverless__serverless-7126 | ['7036'] | 67d27edbfe420e5133d2acf970979bdfaa1d5905 | diff --git a/.travis.yml b/.travis.yml
index f55db13e741..169b15f563e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,7 +4,7 @@ git:
# Minimize git history, but ensure to not break things:
# - Merging multiple PR's around same time may introduce a case where it's not
# the last merge commit that is to be te... | diff --git a/lib/plugins/aws/package/compile/events/apiGateway/index.test.js b/lib/plugins/aws/package/compile/events/apiGateway/index.test.js
index ca404283829..3009f8de19b 100644
--- a/lib/plugins/aws/package/compile/events/apiGateway/index.test.js
+++ b/lib/plugins/aws/package/compile/events/apiGateway/index.test.js... | Cannot activate API gateway logs for shared API gateway
# Bug Report
## Description
The API gateway log settings are not applied when using a shared API gateway as described [here](https://serverless.com/framework/docs/providers/aws/events/apigateway#easiest-and-cicd-friendly-example-of-using-shared-api-gateway-an... | Will be fixed with: https://github.com/serverless/serverless/pull/7034
Note, that for shared APIGW, logs need to be configured in place in which APIGW is configured (and not in services which refer to it)
>
> Note, that for shared APIGW, logs need to be configured in place in which APIGW is configured (and not i... | 2019-12-23 11:21:14+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['AwsCompileApigEvents #constructor() should set the provider variable to be an instanceof AwsProvider', 'AwsCompileApigEvents #constructor() when running the "after:deploy:deploy" promise chain should run the promise chain in order', 'AwsCompileApigEvents #constructor() should run "before:remove:remove" promise chain ... | ['AwsCompileApigEvents #constructor() when running the "after:deploy:deploy" promise chain should not skip the updateStage step when no http events are found'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/compile/events/apiGateway/index.test.js --reporter json | Bug Fix | false | false | false | true | 0 | 0 | 1 | false | false | ["lib/plugins/aws/package/compile/events/apiGateway/index.js->program->class_declaration:AwsCompileApigEvents->method_definition:constructor->pair:[]"] |
serverless/serverless | 7,118 | serverless__serverless-7118 | ['7117'] | 8828d9594752a8978b417ee92106af526226f2fc | diff --git a/commitlint.config.js b/commitlint.config.js
index 07422529a3e..09509aa82f4 100644
--- a/commitlint.config.js
+++ b/commitlint.config.js
@@ -8,7 +8,7 @@ module.exports = {
'footer-max-line-length': [2, 'always', 72],
'header-max-length': [2, 'always', 72],
'scope-case': [2, 'always', 'start-c... | diff --git a/lib/classes/PluginManager.test.js b/lib/classes/PluginManager.test.js
index 941a9b6e59b..a676d69f622 100644
--- a/lib/classes/PluginManager.test.js
+++ b/lib/classes/PluginManager.test.js
@@ -2014,6 +2014,22 @@ describe('PluginManager', () => {
);
});
+ it('should load plugins from custom ... | Unable to deploy services with custom `plugins.localPath` after upgrading serverless
# Bug Report
## Description
Upgrading to serverless version >= 1.55.0 breaks local serverless plugins
1. What did you do?
Ran `npm i -g serverless@latest` and was unable to deploy or locally invoke functions which speci... | null | 2019-12-20 07:20:55+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['PluginManager #run() should throw an error when the given command is a container', 'PluginManager #run() when using a promise based hook function when running a simple command should run the simple command', 'PluginManager #validateOptions() should throw an error if a customValidation is not met', 'PluginManager #run... | ['PluginManager Plugin / Load local plugins should load plugins from custom folder outside of serviceDir'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/classes/PluginManager.test.js --reporter json | Bug Fix | true | false | false | false | 0 | 0 | 0 | false | false | [] |
serverless/serverless | 7,110 | serverless__serverless-7110 | ['7098'] | 8828d9594752a8978b417ee92106af526226f2fc | diff --git a/commitlint.config.js b/commitlint.config.js
index 07422529a3e..b062f6769d2 100644
--- a/commitlint.config.js
+++ b/commitlint.config.js
@@ -8,7 +8,7 @@ module.exports = {
'footer-max-line-length': [2, 'always', 72],
'header-max-length': [2, 'always', 72],
'scope-case': [2, 'always', 'start-c... | diff --git a/lib/classes/Variables.test.js b/lib/classes/Variables.test.js
index 8513177444a..7a9d4f54f56 100644
--- a/lib/classes/Variables.test.js
+++ b/lib/classes/Variables.test.js
@@ -226,6 +226,33 @@ describe('Variables', () => {
});
});
+ describe('ensure unique instances', () => {
+ it('sh... | Access-Control-Allow-Methods being accumulated from previous definitions
# Bug Report
## Description
When deploying to AWS setting custom cors, the `Access-Control-Allow-Methods` header is not being set correctly on preflight request. When cors value is to `true` this doesn't happen, so it's an issue only when co... | null | 2019-12-18 17:56:27+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['Variables #prepopulateService dependent service rejections should reject CloudFormation variables in profile values', 'Variables #prepopulateService basic population tests should populate variables in profile values', 'Variables #getValueFromSource() caching should only call getValueFromS3 once, returning the cached ... | ['Variables fallback ensure unique instances should not produce same instances for same variable patters used more than once'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/classes/Variables.test.js --reporter json | Bug Fix | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/classes/Variables.js->program->class_declaration:Variables->method_definition:getValueFromSource"] |
serverless/serverless | 7,105 | serverless__serverless-7105 | ['7041'] | f29d1697dd89a418ca4aacac23b64b928e68f643 | diff --git a/docs/providers/aws/events/streams.md b/docs/providers/aws/events/streams.md
index f36aa98317f..3a04e5a5e6b 100644
--- a/docs/providers/aws/events/streams.md
+++ b/docs/providers/aws/events/streams.md
@@ -110,6 +110,26 @@ functions:
batchWindow: 10
```
+## Setting BisectBatchOnFunctionError
+
... | diff --git a/lib/plugins/aws/package/compile/events/stream/index.test.js b/lib/plugins/aws/package/compile/events/stream/index.test.js
index fe7cb8b2b20..b61ee8a1248 100644
--- a/lib/plugins/aws/package/compile/events/stream/index.test.js
+++ b/lib/plugins/aws/package/compile/events/stream/index.test.js
@@ -379,6 +379,... | expose Bisect on Function Error prop for Kinesis Streams
# Feature Proposal
https://aws.amazon.com/about-aws/whats-new/2019/11/aws-lambda-supports-failure-handling-features-for-kinesis-and-dynamodb-event-sources/
## Description
<!-- Please use https://forum.serverless.com, StackOverflow or other forums for Q&A... | @WIZARDISHUNGRY Are you working on an implementation for this? If not, I'd like to give it a go
No, go for it | 2019-12-17 16:52:49+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['AwsCompileStreamEvents #compileStreamEvents() when a DynamoDB stream ARN is given fails if keys other than Fn::GetAtt/ImportValue/Join are used for dynamic stream ARN', 'AwsCompileStreamEvents #compileStreamEvents() should not throw error if custom IAM role is set in provider', 'AwsCompileStreamEvents #compileStreamE... | ['AwsCompileStreamEvents #compileStreamEvents() when a DynamoDB stream ARN is given should create event source mappings when a DynamoDB stream ARN is given', 'AwsCompileStreamEvents #compileStreamEvents() when a Kinesis stream ARN is given should create event source mappings when a Kinesis stream ARN is given'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/compile/events/stream/index.test.js --reporter json | Feature | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/plugins/aws/package/compile/events/stream/index.js->program->class_declaration:AwsCompileStreamEvents->method_definition:compileStreamEvents"] |
serverless/serverless | 7,102 | serverless__serverless-7102 | ['7059'] | 0618e0d899e80e56d7f22e9bfbcc6d512848db05 | diff --git a/commitlint.config.js b/commitlint.config.js
index 472acb4709b..9686e039632 100644
--- a/commitlint.config.js
+++ b/commitlint.config.js
@@ -8,7 +8,11 @@ module.exports = {
'footer-max-line-length': [2, 'always', 72],
'header-max-length': [2, 'always', 72],
'scope-case': [2, 'always', 'start-... | diff --git a/lib/plugins/aws/package/compile/events/apiGateway/lib/method/index.test.js b/lib/plugins/aws/package/compile/events/apiGateway/lib/method/index.test.js
index 16950dcb33b..81e733f73cb 100644
--- a/lib/plugins/aws/package/compile/events/apiGateway/lib/method/index.test.js
+++ b/lib/plugins/aws/package/compil... | Provisioned Concurrency Does Not Work As Described
# Bug Report
Provisioned Concurrency was recently added in Serverless v1.59 and described in detail in this blog post: https://serverless.com/blog/aws-lambda-provisioned-concurrency/
The blog post makes the claim that enabling provisioned concurrency is as easy a... | @AndrewBarba great thanks for reporting that issue
We will shortly (hopefully tomorrow) publish an update that fix the behavior in a framework (to make blog post accurate).
Thank you really appreciate it
@medikoo Would the fix you guys are making need to be applied/supported on all event types? Example, the API for ... | 2019-12-17 15:36:02+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['AwsCompileFunctions #compileFunctions() when using onError config should reject if config is provided as a number', 'AwsCompileFunctions #compileFunctions() should overwrite a provider level environment config when function config is given', '#compileMethods() should set api key as not required if private property is... | ['AwsCompileFunctions #compileFunctions() should set function declared provisioned concurrency limit', '#awsCompilePermissions() should setup permissions for an alias in case of provisioned function', '#awsCompilePermissions() should create limited permission resource scope to REST API with restApiId provided', '#awsCo... | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/compile/events/apiGateway/lib/method/index.test.js lib/plugins/aws/package/compile/events/apiGateway/lib/permissions.test.js lib/plugins/aws/package/compile/functions/index.test.js --reporter json | Bug Fix | false | true | false | false | 10 | 0 | 10 | false | false | ["lib/plugins/aws/package/compile/events/apiGateway/lib/permissions.js->program->method_definition:compilePermissions", "lib/plugins/aws/lib/naming.js->program->method_definition:getLambdaProvisionedConcurrencyAliasLogicalId", "lib/plugins/aws/lib/naming.js->program->method_definition:getCodeDeployApplicationLogicalId"... |
serverless/serverless | 7,067 | serverless__serverless-7067 | ['7059'] | 1c6dc165ea4fecc56c1b3837772e1255f676a97a | diff --git a/.travis.yml b/.travis.yml
index 09728c6d6d3..35cf4ce9d65 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -44,6 +44,8 @@ before_script:
# Fail build right after first script fails. Travis doesn't ensure that: https://github.com/travis-ci/travis-ci/issues/1066
# More info on below line: https://www.david... | diff --git a/lib/plugins/aws/package/compile/events/stream/index.test.js b/lib/plugins/aws/package/compile/events/stream/index.test.js
index f3c129491dd..8ab31a7f881 100644
--- a/lib/plugins/aws/package/compile/events/stream/index.test.js
+++ b/lib/plugins/aws/package/compile/events/stream/index.test.js
@@ -807,7 +807,... | Provisioned Concurrency Does Not Work As Described
# Bug Report
Provisioned Concurrency was recently added in Serverless v1.59 and described in detail in this blog post: https://serverless.com/blog/aws-lambda-provisioned-concurrency/
The blog post makes the claim that enabling provisioned concurrency is as easy a... | @AndrewBarba great thanks for reporting that issue
We will shortly (hopefully tomorrow) publish an update that fix the behavior in a framework (to make blog post accurate).
Thank you really appreciate it
@medikoo Would the fix you guys are making need to be applied/supported on all event types? Example, the API for ... | 2019-12-06 16:53:35+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['AwsCompileFunctions #compileFunctions() when using onError config should reject if config is provided as a number', 'AwsCompileFunctions #compileFunctions() should overwrite a provider level environment config when function config is given', 'AwsCompileStreamEvents #compileStreamEvents() should not throw error if cus... | ['AwsCompileStreamEvents #compileStreamEvents() when a Kinesis stream ARN is given should create event source mappings when a Kinesis stream ARN is given', 'AwsCompileFunctions #compileFunctions() should set function declared provisioned concurrency limit'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/compile/events/stream/index.test.js lib/plugins/aws/package/compile/functions/index.test.js --reporter json | Bug Fix | false | true | false | false | 3 | 0 | 3 | false | false | ["lib/plugins/aws/package/compile/events/stream/index.js->program->class_declaration:AwsCompileStreamEvents->method_definition:compileStreamEvents", "lib/plugins/aws/package/compile/functions/index.js->program->class_declaration:AwsCompileFunctions->method_definition:compileFunction", "lib/plugins/aws/lib/naming.js->pr... |
serverless/serverless | 7,054 | serverless__serverless-7054 | ['7050'] | 0e5e9545d44d92a6f85d86f4181be5778d380b91 | diff --git a/.travis.yml b/.travis.yml
index e7c6ad3d821..e4864702fdd 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -22,6 +22,7 @@ install:
branches:
only:
- master # Do not build PR branches
+ - release-fast-track # Do not build PR branches
- /^v\d+\.\d+\.\d+$/ # Ensure to build release tags
env:
@... | diff --git a/lib/plugins/aws/invokeLocal/index.test.js b/lib/plugins/aws/invokeLocal/index.test.js
index ff42324977a..9128e03be40 100644
--- a/lib/plugins/aws/invokeLocal/index.test.js
+++ b/lib/plugins/aws/invokeLocal/index.test.js
@@ -352,6 +352,18 @@ describe('AwsInvokeLocal', () => {
});
});
+ it... | Serverless invoke local plugin for aws provider seems to be broken after updating to 1.59
# Bug Report
## Description
<!-- Please use https://forum.serverless.com, StackOverflow or other forums for Q&A -->
<!-- Please answer ALL the question below. Otherwise we probably have to close the issue due to missing inf... | null | 2019-12-05 08:45:58+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['AwsInvokeLocal #getEnvVarsFromOptions returns key with empty value for option without =', "AwsInvokeLocal #invokeLocalNodeJs promise by callback method even if callback isn't called syncronously should succeed once if succeed if by callback", 'AwsInvokeLocal #extendedValidate() it should throw error if function is no... | ['AwsInvokeLocal #loadEnvVars() it should work without cached credentials set'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/invokeLocal/index.test.js --reporter json | Bug Fix | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/plugins/aws/invokeLocal/index.js->program->class_declaration:AwsInvokeLocal->method_definition:loadEnvVars"] |
serverless/serverless | 7,044 | serverless__serverless-7044 | ['7013'] | a45d2a20a00e5041aaf2fe3c1fcf8452c5c16508 | diff --git a/lib/plugins/aws/invokeLocal/index.js b/lib/plugins/aws/invokeLocal/index.js
index 02b7341aeee..d68e027e386 100644
--- a/lib/plugins/aws/invokeLocal/index.js
+++ b/lib/plugins/aws/invokeLocal/index.js
@@ -128,13 +128,17 @@ class AwsInvokeLocal {
NODE_PATH: '/var/runtime:/var/task:/var/runtime/node_mo... | diff --git a/lib/plugins/aws/invokeLocal/index.test.js b/lib/plugins/aws/invokeLocal/index.test.js
index 1cffadbcf41..ff42324977a 100644
--- a/lib/plugins/aws/invokeLocal/index.test.js
+++ b/lib/plugins/aws/invokeLocal/index.test.js
@@ -327,18 +327,31 @@ describe('AwsInvokeLocal', () => {
expect(process.env.NO... | 1.58 was causing aws access keys to return as undefined
# Bug Report
## Description
<!-- Please use https://forum.serverless.com, StackOverflow or other forums for Q&A -->
<!-- Please answer ALL the question below. Otherwise we probably have to close the issue due to missing information -->
1. What did you do... | See inline code comment that makes our issue go away, will try and spend some time with a more realistic fix, but not familiar enough with serverless to understand what's happening -- someone smarter than .me should address :) https://github.com/serverless/serverless/commit/ae36c256c0cdcfe5e0732dd6f502f9d05e109366#r361... | 2019-12-04 09:08:37+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['AwsInvokeLocal #getEnvVarsFromOptions returns key with empty value for option without =', 'AwsInvokeLocal #invokeLocal() should call invokeLocalNodeJs when no runtime is set', 'AwsInvokeLocal #invokeLocalNodeJs promise should exit with error exit code', 'AwsInvokeLocal #constructor() should set an empty options objec... | ['AwsInvokeLocal #loadEnvVars() it should set credential env vars #1', 'AwsInvokeLocal #loadEnvVars() it should set credential env vars #2'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/invokeLocal/index.test.js --reporter json | Bug Fix | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/plugins/aws/invokeLocal/index.js->program->class_declaration:AwsInvokeLocal->method_definition:loadEnvVars"] |
serverless/serverless | 7,040 | serverless__serverless-7040 | ['7012'] | e080dd2a125353ac71084de07adb5be9b67cd01a | diff --git a/docs/providers/aws/events/streams.md b/docs/providers/aws/events/streams.md
index 835de5c3b6d..f36aa98317f 100644
--- a/docs/providers/aws/events/streams.md
+++ b/docs/providers/aws/events/streams.md
@@ -80,6 +80,7 @@ functions:
arn: arn:aws:kinesis:region:XXXXXX:stream/foo
batchSize:... | diff --git a/lib/plugins/aws/package/compile/events/stream/index.test.js b/lib/plugins/aws/package/compile/events/stream/index.test.js
index f3c129491dd..7be3fa156e7 100644
--- a/lib/plugins/aws/package/compile/events/stream/index.test.js
+++ b/lib/plugins/aws/package/compile/events/stream/index.test.js
@@ -373,6 +373,... | AWS Now Supports Max Retry Attempts
Add support for the new lambda config option `MaximumRetryAttempts`.
Retry attempts – The number of times Lambda retries when the function returns an error, between 0 and 2.
https://aws.amazon.com/about-aws/whats-new/2019/11/aws-lambda-supports-max-retry-attempts-event-age-asyn... | Thanks @Gerst20051 We definitely should support that. Any help would be appreciated
Hey @Gerst20051. If you don't plan to implement this I'd like to try to take a stab at it.
@keithalpichi Thank you! | 2019-12-03 17:07:52+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['AwsCompileStreamEvents #compileStreamEvents() when a DynamoDB stream ARN is given fails if keys other than Fn::GetAtt/ImportValue/Join are used for dynamic stream ARN', 'AwsCompileStreamEvents #compileStreamEvents() should not throw error if custom IAM role is set in provider', 'AwsCompileStreamEvents #compileStreamE... | ['AwsCompileStreamEvents #compileStreamEvents() when a DynamoDB stream ARN is given should create event source mappings when a DynamoDB stream ARN is given', 'AwsCompileStreamEvents #compileStreamEvents() when a Kinesis stream ARN is given should create event source mappings when a Kinesis stream ARN is given'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/compile/events/stream/index.test.js --reporter json | Feature | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/plugins/aws/package/compile/events/stream/index.js->program->class_declaration:AwsCompileStreamEvents->method_definition:compileStreamEvents"] |
serverless/serverless | 7,031 | serverless__serverless-7031 | ['7030'] | f1d2d0038c650f9629fbec76cede42e289290f8a | diff --git a/lib/plugins/aws/provider/awsProvider.js b/lib/plugins/aws/provider/awsProvider.js
index dce68f18bfb..ed368256431 100644
--- a/lib/plugins/aws/provider/awsProvider.js
+++ b/lib/plugins/aws/provider/awsProvider.js
@@ -284,7 +284,8 @@ class AwsProvider {
if (options && !_.isUndefined(options.region))... | diff --git a/lib/plugins/aws/provider/awsProvider.test.js b/lib/plugins/aws/provider/awsProvider.test.js
index 401adfb03d9..24d25c5a94a 100644
--- a/lib/plugins/aws/provider/awsProvider.test.js
+++ b/lib/plugins/aws/provider/awsProvider.test.js
@@ -283,6 +283,41 @@ describe('AwsProvider', () => {
});
});
... | AWS - ability to request DynamoDB.DocumentClient in a plugin
# Feature Proposal
## Description
<!-- Please use https://forum.serverless.com, StackOverflow or other forums for Q&A -->
<!-- Please answer ALL the question below. Otherwise we probably have to close the issue due to missing information -->
1. What... | null | 2019-11-30 02:51:07+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['AwsProvider #request() using the request cache should resolve to the same response with multiple parallel requests', 'AwsProvider values #getValues should return an array of values given paths to them', 'AwsProvider #canUseS3TransferAcceleration() should return false when CLI option is provided but not an S3 upload',... | ['AwsProvider #request() should handle subclasses'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/provider/awsProvider.test.js --reporter json | Feature | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/plugins/aws/provider/awsProvider.js->program->class_declaration:AwsProvider->method_definition:request"] |
serverless/serverless | 7,024 | serverless__serverless-7024 | ['7019'] | 83a486dbf0b1ef5ff020c0a281cd34c67623e1ba | diff --git a/docs/providers/aws/events/streams.md b/docs/providers/aws/events/streams.md
index 17d89c9413a..835de5c3b6d 100644
--- a/docs/providers/aws/events/streams.md
+++ b/docs/providers/aws/events/streams.md
@@ -108,3 +108,23 @@ functions:
arn: arn:aws:kinesis:region:XXXXXX:stream/foo
batchWi... | diff --git a/lib/plugins/aws/package/compile/events/stream/index.test.js b/lib/plugins/aws/package/compile/events/stream/index.test.js
index 7701870c117..f3c129491dd 100644
--- a/lib/plugins/aws/package/compile/events/stream/index.test.js
+++ b/lib/plugins/aws/package/compile/events/stream/index.test.js
@@ -731,6 +731,... | Expose new ParallelizationFactor option for Kinesis streams
Add support for the new Kinesis config option ParallelizationFactor which allows you to scale the concurrency of a shard up to 10 (currently set to 1). More info here:
https://aws.amazon.com/blogs/compute/new-aws-lambda-scaling-controls-for-kinesis-and-dyna... | @michael-ar thanks for request! PR is definitely very welcome | 2019-11-28 12:19:39+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['AwsCompileStreamEvents #compileStreamEvents() when a DynamoDB stream ARN is given fails if keys other than Fn::GetAtt/ImportValue/Join are used for dynamic stream ARN', 'AwsCompileStreamEvents #compileStreamEvents() should not throw error if custom IAM role is set in provider', 'AwsCompileStreamEvents #compileStreamE... | ['AwsCompileStreamEvents #compileStreamEvents() when a Kinesis stream ARN is given should create event source mappings when a Kinesis stream ARN is given'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/compile/events/stream/index.test.js --reporter json | Feature | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/plugins/aws/package/compile/events/stream/index.js->program->class_declaration:AwsCompileStreamEvents->method_definition:compileStreamEvents"] |
serverless/serverless | 7,002 | serverless__serverless-7002 | ['6789', '6789'] | 03759e4388c71d112dd4e0e4415ba4e6049c04d3 | diff --git a/lib/plugins/aws/package/compile/events/apiGateway/lib/restApi.js b/lib/plugins/aws/package/compile/events/apiGateway/lib/restApi.js
index b420b28812f..8030367ddb2 100644
--- a/lib/plugins/aws/package/compile/events/apiGateway/lib/restApi.js
+++ b/lib/plugins/aws/package/compile/events/apiGateway/lib/restAp... | diff --git a/lib/plugins/aws/package/compile/events/apiGateway/lib/restApi.test.js b/lib/plugins/aws/package/compile/events/apiGateway/lib/restApi.test.js
index 4c7ffa6df70..e0edf3738a5 100644
--- a/lib/plugins/aws/package/compile/events/apiGateway/lib/restApi.test.js
+++ b/lib/plugins/aws/package/compile/events/apiGat... | API-G resource policies require manual removal
# Bug Report
## Description
Deleting an API-G resource policy from the stack configuration doesn't remove the previously defined policy from the endpoint.
Similar or dependent issues:
- #4926
API-G resource policies require manual removal
# Bug Report
##... | Same issue here. Commenting or deleting the resourcePolicy definition does not remove it. As workaround - for my use case - I removed the conditions (IP whitelisting)
From:
```
resourcePolicy:
- Effect: Allow
Principal: '*'
Action: execute-api:Invoke
Resource:
- execute-api:/*
... | 2019-11-22 19:46:53+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['#compileRestApi() should compile correctly if apiKeySourceType property is HEADER', '#compileRestApi() should compile correctly if apiKeySourceType property is AUTHORIZER', '#compileRestApi() throw error if endpointType property is not a string', '#compileRestApi() should compile if endpointType property is PRIVATE',... | ['#compileRestApi() should provide open policy if no policy specified', '#compileRestApi() should set binary media types if defined at the apiGateway provider config level', '#compileRestApi() should create a REST API resource'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/compile/events/apiGateway/lib/restApi.test.js --reporter json | Bug Fix | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/plugins/aws/package/compile/events/apiGateway/lib/restApi.js->program->method_definition:compileRestApi"] |
serverless/serverless | 6,999 | serverless__serverless-6999 | ['6994'] | 9a81af586f04ea9d4ea1fb38f44eec565d9b0365 | diff --git a/docs/providers/aws/events/apigateway.md b/docs/providers/aws/events/apigateway.md
index aa43826ed8f..1c014b95d99 100644
--- a/docs/providers/aws/events/apigateway.md
+++ b/docs/providers/aws/events/apigateway.md
@@ -284,6 +284,8 @@ Please note that since you can't send multiple values for [Access-Control-A... | diff --git a/lib/plugins/aws/package/compile/events/apiGateway/lib/cors.test.js b/lib/plugins/aws/package/compile/events/apiGateway/lib/cors.test.js
index 4415a817e84..c81e2f107fc 100644
--- a/lib/plugins/aws/package/compile/events/apiGateway/lib/cors.test.js
+++ b/lib/plugins/aws/package/compile/events/apiGateway/lib/... | CORS - allowCredentials: false - does not omit response headers Access-Control-Allow-Credentials
# Bug Report
## Description
### What did you do?
Setting up a resource with CORS and set `allowCredentials: false` e.g.
```yaml
# ...
functions:
getProduct:
handler: handler.getProduct
events:
... | null | 2019-11-22 13:44:35+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['#compileCors() should throw error if maxAge is not an integer greater than 0', '#compileCors() should throw error if no origin or origins is provided', '#compileCors() should throw error if maxAge is not an integer', '#compileCors() should add the methods resource logical id to the array of method logical ids'] | ['#compileCors() should create preflight method for CORS enabled resource'] | ['AWS - API Gateway Integration Test "before all" hook in "AWS - API Gateway Integration Test"', 'AWS - API Gateway Integration Test "after all" hook in "AWS - API Gateway Integration Test"'] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/compile/events/apiGateway/lib/cors.test.js tests/integration-all/api-gateway/tests.js --reporter json | Bug Fix | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/plugins/aws/package/compile/events/apiGateway/lib/cors.js->program->method_definition:compileCors"] |
serverless/serverless | 6,996 | serverless__serverless-6996 | ['6995'] | 8e022ba3fe6b6f857be6096bb6c0718d0e6f244a | diff --git a/lib/plugins/aws/customResources/resources/apiGatewayCloudWatchRole/handler.js b/lib/plugins/aws/customResources/resources/apiGatewayCloudWatchRole/handler.js
index 063adab8761..08722332625 100644
--- a/lib/plugins/aws/customResources/resources/apiGatewayCloudWatchRole/handler.js
+++ b/lib/plugins/aws/custo... | diff --git a/lib/plugins/aws/customResources/resources/utils.test.js b/lib/plugins/aws/customResources/resources/utils.test.js
index f9c4cf69819..aa42c4eb601 100644
--- a/lib/plugins/aws/customResources/resources/utils.test.js
+++ b/lib/plugins/aws/customResources/resources/utils.test.js
@@ -6,15 +6,52 @@ const { getLa... | Custom Resource does not support AWS US Gov Cloud Region (us-gov-west-1)
# Bug Report
## Description
1. What did you do?
Attempting to deploy a serverless application in `us-gov-west-1` that utilizes Custom Resources (an AWS Lambda function with event trigger on existing S3 bucket.
1. What happened?
The Clo... | null | 2019-11-21 21:40:41+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | [] | ['#getLambdaArn() govloud west should return the govcloud Lambda arn', '#getEnvironment() govcloud east should return an object with information about the govcloud execution environment', '#getLambdaArn() china region should return the china Lambda arn', '#getEnvironment() should return an object with information about... | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/customResources/resources/utils.test.js --reporter json | Bug Fix | false | true | false | false | 13 | 0 | 13 | false | false | ["lib/plugins/aws/customResources/resources/s3/handler.js->program->function_declaration:update", "lib/plugins/aws/customResources/resources/eventBridge/lib/permissions.js->program->function_declaration:addPermission", "lib/plugins/aws/customResources/resources/s3/handler.js->program->function_declaration:create", "lib... |
serverless/serverless | 6,987 | serverless__serverless-6987 | ['6949'] | 05eec837ec20ec0d321b3592e5440d126de9c218 | diff --git a/docs/providers/aws/events/apigateway.md b/docs/providers/aws/events/apigateway.md
index aa43826ed8f..a78d3331297 100644
--- a/docs/providers/aws/events/apigateway.md
+++ b/docs/providers/aws/events/apigateway.md
@@ -1494,6 +1494,22 @@ provider:
In your Lambda function you need to ensure that the correct... | diff --git a/lib/plugins/aws/package/compile/events/apiGateway/lib/method/index.test.js b/lib/plugins/aws/package/compile/events/apiGateway/lib/method/index.test.js
index a4481719073..16950dcb33b 100644
--- a/lib/plugins/aws/package/compile/events/apiGateway/lib/method/index.test.js
+++ b/lib/plugins/aws/package/compil... | Request with binary media returns 500
# Bug Report
## Description
When using `binaryMediaTypes` in combination with lambda non-proxy integration, then a 500 error is always returned. When using the lambda proxy integration (as given here: #6063 ) everything works fine.
The only workaround I found is to manually ... | It was not related to permissions after all. Instead, it was caused by the missing [contentHandling](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration.html#cfn-apigateway-method-integration-contenthandling) property.
Workaround:
```
resources:
Resource... | 2019-11-20 21:18:42+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['#compileMethods() should add multiple response templates for a custom response codes', '#compileMethods() should add method responses for different status codes', '#compileMethods() should set api key as not required if private property is not specified', '#compileMethods() when dealing with request configuration sho... | ['#compileMethods() should use defined content-handling behavior', '#compileMethods() when dealing with request configuration should use defined content-handling behavior', '#compileMethods() should add integration responses for different status codes'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/compile/events/apiGateway/lib/method/index.test.js --reporter json | Bug Fix | false | true | false | false | 2 | 0 | 2 | false | false | ["lib/plugins/aws/package/compile/events/apiGateway/lib/method/integration.js->program->method_definition:getIntegrationResponses", "lib/plugins/aws/package/compile/events/apiGateway/lib/method/integration.js->program->method_definition:getMethodIntegration"] |
serverless/serverless | 6,977 | serverless__serverless-6977 | ['6961'] | 578c1bc3ba7e91598dc3ab359f0dc0a4676c1f15 | diff --git a/lib/plugins/aws/lib/validate.js b/lib/plugins/aws/lib/validate.js
index 77dad1abfc6..77e3f758b49 100644
--- a/lib/plugins/aws/lib/validate.js
+++ b/lib/plugins/aws/lib/validate.js
@@ -35,27 +35,25 @@ module.exports = {
!process.env.AWS_CONTAINER_CREDENTIALS_FULL_URI
) {
// first check if... | diff --git a/lib/plugins/aws/lib/validate.test.js b/lib/plugins/aws/lib/validate.test.js
index 0a0a5e2aeea..652ee0b4a5d 100644
--- a/lib/plugins/aws/lib/validate.test.js
+++ b/lib/plugins/aws/lib/validate.test.js
@@ -9,9 +9,13 @@ chai.use(require('chai-as-promised'));
const expect = chai.expect;
-class MetadataSer... | Credentials not found error after upgrade
# Bug Report
After upgrade from 1.44.1 to 1.55 we started seeing intermittent errors "AWS provider credentials not found", which is happening in about 15% of deploys. Nothing else is changed. Problem goes away with sls downgrade back to 1.44.
Apparently there was no vali... | @runk great thanks for report!
What was added with v1.48.0 was to fast fail when credentials are not available (without that, process tend to hang for a long time).
It'll be good to understand why it fails for you. How do you have an AWS authentication setup?
Maybe it's a result of some race condition, that at... | 2019-11-19 05:42:09+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['#validate #validate() should succeed if inside service (servicePath defined)', '#validate #validate() should use the service.provider region if present', '#validate #validate() should not check the metadata service if not using a command that needs creds', '#validate #validate() should throw error if not inside servi... | ['#validate #validate() should check the metadata service and pass if return credentials', '#validate #validate() should check the metadata service and throw an error if no creds and no metadata response'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/lib/validate.test.js --reporter json | Bug Fix | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/plugins/aws/lib/validate.js->program->method_definition:validate"] |
serverless/serverless | 6,960 | serverless__serverless-6960 | ['4984'] | 00c7a8c5017d5f6936d4e97504f989e7aeda1148 | diff --git a/lib/classes/PromiseTracker.js b/lib/classes/PromiseTracker.js
index 0abaa46bbe6..ffbe2eafae5 100644
--- a/lib/classes/PromiseTracker.js
+++ b/lib/classes/PromiseTracker.js
@@ -2,6 +2,12 @@
const logInfo = require('./Error').logInfo;
+const constants = {
+ pending: 'pending',
+ rejected: 'rejected',
... | diff --git a/lib/classes/PromiseTracker.test.js b/lib/classes/PromiseTracker.test.js
index 5635a6a86a7..66cd37c75ad 100644
--- a/lib/classes/PromiseTracker.test.js
+++ b/lib/classes/PromiseTracker.test.js
@@ -28,45 +28,70 @@ describe('PromiseTracker', () => {
promiseTracker.report(); // shouldn't throw
return... | SSM fetch waits on when use interpolation
## Description
Using version `>= 1.27.0` makes my SSM variable waits on and do not work.
```
# 2501: ssm:/homolog/purger/VARNISH_DESCRIBING_ARN waited on by: ${ssm:/homolog/purger/VARNISH_DESCRIBING_ARN}
```
* What did you expect should have happened?
It shoul... | /cc @erikerikson
Thank you for this (and for CCing me Frank). Sorry for leaving it on the back burner, I have been spinning up a team but should have time to investigate today.
Hi @wbotelhos
I've been working to reproduce this using your listed config but struggling to do so.
I have altered my getValueFromSsm,... | 2019-11-14 23:55:20+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['PromiseTracker reports and then clears tracked promises when stopped.', 'PromiseTracker logs a warning without throwing'] | ['PromiseTracker reports the correct number of added promise statuses', 'PromiseTracker reports no promises when none have been added'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/classes/PromiseTracker.test.js --reporter json | Bug Fix | false | true | false | false | 7 | 0 | 7 | false | false | ["lib/classes/PromiseTracker.js->program->class_declaration:PromiseTracker->method_definition:add", "lib/classes/PromiseTracker.js->program->class_declaration:PromiseTracker->method_definition:getResolved", "lib/classes/PromiseTracker.js->program->class_declaration:PromiseTracker->method_definition:getRejected", "lib/c... |
serverless/serverless | 6,954 | serverless__serverless-6954 | ['6162'] | b5c0117b06c13675b5547212e8292c15f11f32c7 | diff --git a/lib/plugins/aws/package/compile/events/apiGateway/lib/method/index.js b/lib/plugins/aws/package/compile/events/apiGateway/lib/method/index.js
index e846393a251..d83ad2ba82e 100644
--- a/lib/plugins/aws/package/compile/events/apiGateway/lib/method/index.js
+++ b/lib/plugins/aws/package/compile/events/apiGat... | diff --git a/lib/plugins/aws/package/compile/events/apiGateway/lib/method/index.test.js b/lib/plugins/aws/package/compile/events/apiGateway/lib/method/index.test.js
index cdfe6ba9452..a4481719073 100644
--- a/lib/plugins/aws/package/compile/events/apiGateway/lib/method/index.test.js
+++ b/lib/plugins/aws/package/compil... | AWS API Gateway request body validation not working with multiple schemas
<!--
1. If you have a question and not a bug report please ask first at http://forum.serverless.com
2. Please check if an issue already exists. This bug may have already been documented
3. Check out and follow our Guidelines: https://github.co... | +1
This line overwrites the map of models for each schema, rather than adding to it:
https://github.com/serverless/serverless/blob/f93b27bf684d9a14b1e67ec554a7719ca3628135/lib/plugins/aws/package/compile/events/apiGateway/lib/method/index.js#L88
| 2019-11-12 02:52:09+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['#compileMethods() should add multiple response templates for a custom response codes', '#compileMethods() should add method responses for different status codes', '#compileMethods() should set api key as not required if private property is not specified', '#compileMethods() when dealing with request configuration sho... | ['#compileMethods() should support multiple request schemas'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/compile/events/apiGateway/lib/method/index.test.js --reporter json | Bug Fix | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/plugins/aws/package/compile/events/apiGateway/lib/method/index.js->program->method_definition:compileMethods"] |
serverless/serverless | 6,948 | serverless__serverless-6948 | ['6925', '6925'] | bedd0fc9ea4905abb80ea3e02f6ea6dbeef0c97b | diff --git a/lib/plugins/aws/package/compile/events/apiGateway/lib/hack/updateStage.js b/lib/plugins/aws/package/compile/events/apiGateway/lib/hack/updateStage.js
index a4c5da7435f..34d24e83731 100644
--- a/lib/plugins/aws/package/compile/events/apiGateway/lib/hack/updateStage.js
+++ b/lib/plugins/aws/package/compile/e... | diff --git a/lib/plugins/aws/package/compile/events/apiGateway/lib/hack/updateStage.test.js b/lib/plugins/aws/package/compile/events/apiGateway/lib/hack/updateStage.test.js
index 7c0ff165298..db646154e22 100644
--- a/lib/plugins/aws/package/compile/events/apiGateway/lib/hack/updateStage.test.js
+++ b/lib/plugins/aws/pa... | AWS unable to use tags with custom partition name `aws-cn`
# Bug Report
AWS provider tagging fails on custom partition when a function is deployed as an API Gateway
## Description
<!-- Please use https://forum.serverless.com, StackOverflow or other forums for Q&A -->
<!-- Please answer ALL the question below.... | Not only `aws-cn` but `aws-us-gov`.
Code can be found [here](https://github.com/serverless/serverless/blob/master/lib/plugins/aws/package/compile/events/apiGateway/lib/hack/updateStage.js#L287), and [here](https://github.com/serverless/serverless/blob/master/lib/plugins/aws/package/compile/events/apiGateway/lib/hack... | 2019-11-08 19:14:50+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['#updateStage() should create a new stage and proceed as usual if none can be found', '#updateStage() should update the stage with a custom APIGW log level if given ERROR', '#updateStage() should resolve custom APIGateway name', '#updateStage() should support gov regions', '#updateStage() should update the stage based... | ['#updateStage() should support all partitions'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/compile/events/apiGateway/lib/hack/updateStage.test.js --reporter json | Bug Fix | false | true | false | false | 5 | 0 | 5 | false | false | ["lib/plugins/aws/package/compile/events/apiGateway/lib/hack/updateStage.js->program->function_declaration:handleTags", "lib/plugins/aws/package/compile/events/apiGateway/lib/hack/updateStage.js->program->function_declaration:resolveAccountInfo", "lib/plugins/aws/package/compile/events/apiGateway/lib/hack/updateStage.j... |
serverless/serverless | 6,945 | serverless__serverless-6945 | ['6944'] | bedd0fc9ea4905abb80ea3e02f6ea6dbeef0c97b | diff --git a/docs/providers/azure/cli-reference/create.md b/docs/providers/azure/cli-reference/create.md
index c2de7ca0efa..46b625789f8 100644
--- a/docs/providers/azure/cli-reference/create.md
+++ b/docs/providers/azure/cli-reference/create.md
@@ -48,6 +48,7 @@ To see a list of available templates run `serverless crea... | diff --git a/lib/plugins/create/create.test.js b/lib/plugins/create/create.test.js
index b8ec520ca54..de956e19288 100644
--- a/lib/plugins/create/create.test.js
+++ b/lib/plugins/create/create.test.js
@@ -588,6 +588,25 @@ describe('Create', () => {
});
});
+ it('should generate scaffolding for "azure-p... | Add azure-python template to CLI
# Feature Proposal
## Description
Make azure-python template available through the CLI with `sls create -t azure-python`
Similar or dependent issues:
- #6822
| I can open a PR for this matter.
Thanks @AlexandreSi for request. Yes PR with that will be highly welcome. | 2019-11-08 17:12:32+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['Create #create() should generate scaffolding for "aws-python3" template', 'Create #create() should set servicePath based on cwd', 'Create #create() should generate scaffolding for "aws-provided" template', 'Create #create() should generate scaffolding for "google-python" template', 'Create #create() should generate s... | ['Create #create() should generate scaffolding for "azure-python" template'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/create/create.test.js --reporter json | Feature | true | false | false | false | 0 | 0 | 0 | false | false | [] |
serverless/serverless | 6,922 | serverless__serverless-6922 | ['6913'] | dec1e74b6d3d168c8ab03dab31bff218ba5ae794 | diff --git a/docs/providers/aws/events/cloudfront.md b/docs/providers/aws/events/cloudfront.md
index 2b9137f7daa..5c397a16200 100644
--- a/docs/providers/aws/events/cloudfront.md
+++ b/docs/providers/aws/events/cloudfront.md
@@ -33,6 +33,8 @@ Lambda@Edge has four options when the Lambda function is triggered
**IMPOR... | diff --git a/lib/plugins/aws/package/compile/events/cloudFront/index.test.js b/lib/plugins/aws/package/compile/events/cloudFront/index.test.js
index 61bd3b25931..12922ab7b6f 100644
--- a/lib/plugins/aws/package/compile/events/cloudFront/index.test.js
+++ b/lib/plugins/aws/package/compile/events/cloudFront/index.test.js... | Unable to use cloudfront origin-response eventType if memorySize or timeout exceeds 128 and 5
# Bug Report
## Description
### What did you do?
In setting up an image resize lambda function in the origin-request of a cloudformation distribution with AWS.Rekognition and sharp. This function consumes more than 128Mb ... | I followed [this example from AWS blog](https://aws.amazon.com/blogs/networking-and-content-delivery/resizing-images-with-amazon-cloudfront-lambdaedge-aws-cdn-blog/) to write the image resize function. | 2019-11-04 18:01:47+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['AwsCompileCloudFrontEvents #compileCloudFrontEvents() should throw an error if the region is not us-east-1', 'AwsCompileCloudFrontEvents #compileCloudFrontEvents() should create corresponding resources when cloudFront events are given', 'AwsCompileCloudFrontEvents #constructor() should use "before:remove:remove" hook... | ['AwsCompileCloudFrontEvents #validate() should throw if memorySize is greater than 3008 for origin-request or origin-response functions', 'AwsCompileCloudFrontEvents #validate() should throw if timeout is greater than 30 for origin-request or origin response functions'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/compile/events/cloudFront/index.test.js --reporter json | Bug Fix | false | true | false | false | 2 | 0 | 2 | false | false | ["lib/plugins/aws/package/compile/events/cloudFront/index.js->program->class_declaration:AwsCompileCloudFrontEvents->method_definition:constructor", "lib/plugins/aws/package/compile/events/cloudFront/index.js->program->class_declaration:AwsCompileCloudFrontEvents->method_definition:validate"] |
serverless/serverless | 6,909 | serverless__serverless-6909 | ['6908'] | 6d57e041c3c92474086f67d1868e11637c738eb4 | diff --git a/CHANGELOG.md b/CHANGELOG.md
index f04af3021c1..99329e0905e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,11 @@
+# 1.56.1 (2019-10-31)
+
+- [Fix deployment bucket policy handling with custom bucket ](https://github.com/serverless/serverless/pull/6909)
+
+## Meta
+
+- [Comparison since last release... | diff --git a/lib/plugins/aws/package/lib/generateCoreTemplate.test.js b/lib/plugins/aws/package/lib/generateCoreTemplate.test.js
index 915c0e28dce..4314ac169c7 100644
--- a/lib/plugins/aws/package/lib/generateCoreTemplate.test.js
+++ b/lib/plugins/aws/package/lib/generateCoreTemplate.test.js
@@ -88,8 +88,8 @@ describe(... | Unresolved resource dependencies [ServerlessDeploymentBucket]
# Bug Report
## Description
I started receiving a `Template format error: Unresolved resource dependencies [ServerlessDeploymentBucket] in the Resources block of the templat` error on my CD pipeline, probably after the https://github.com/serverless/serve... | I just encountered the same problem. It was working fine yesterday running version 1.55.1
@flpStrri great thanks for report! Indeed it's a regression introduced with #6823. Fix is on the way
Just adding an extra info, just ran `npx serverless@1.55.1 deploy --stage zdca106` and it worked. 💃
The issue seems to be with ... | 2019-10-31 12:01:51+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['#generateCoreTemplate() should explicitly disable S3 Transfer Acceleration, if requested', '#generateCoreTemplate() should exclude AccelerateConfiguration for govcloud region', '#generateCoreTemplate() should reject non-HTTPS requests to the deployment bucket', '#generateCoreTemplate() should enable S3 Block Public A... | ['#generateCoreTemplate() should use a custom bucket if specified'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/lib/generateCoreTemplate.test.js --reporter json | Bug Fix | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/plugins/aws/package/lib/generateCoreTemplate.js->program->method_definition:generateCoreTemplate"] |
serverless/serverless | 6,880 | serverless__serverless-6880 | ['6864'] | eee5526ce5164b707a7df4f3099b9df835182b43 | diff --git a/lib/plugins/aws/package/compile/events/cloudFront/index.js b/lib/plugins/aws/package/compile/events/cloudFront/index.js
index 3097f1a39cb..126141269de 100644
--- a/lib/plugins/aws/package/compile/events/cloudFront/index.js
+++ b/lib/plugins/aws/package/compile/events/cloudFront/index.js
@@ -166,7 +166,10 @... | diff --git a/lib/plugins/aws/package/compile/events/cloudFront/index.test.js b/lib/plugins/aws/package/compile/events/cloudFront/index.test.js
index b80360c5ef7..93cba16388a 100644
--- a/lib/plugins/aws/package/compile/events/cloudFront/index.test.js
+++ b/lib/plugins/aws/package/compile/events/cloudFront/index.test.js... | cloudFront events using originPath to distinguish origins
# Bug Report
CloudFront Origins created using CloudFront events try to distinguish origins based on the OriginPath and not the pathPattern
## Description
<!-- Please use https://forum.serverless.com, StackOverflow or other forums for Q&A -->
<!-- Pleas... | The fix is relatively straightforward as the check for an existing origin only checks for a matching OriginPath. If it was changed to find a match on DomainName and OriginPath It would correctly.
I'm happy to submit a pull request for this fix | 2019-10-24 19:09:24+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['AwsCompileCloudFrontEvents #validate() should throw if memorySize is greater than 128', 'AwsCompileCloudFrontEvents #compileCloudFrontEvents() should create corresponding resources when cloudFront events are given', 'AwsCompileCloudFrontEvents #constructor() should use "before:remove:remove" hook to log a message bef... | ['AwsCompileCloudFrontEvents #compileCloudFrontEvents() should create different origins for different domains with the same path'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/compile/events/cloudFront/index.test.js --reporter json | Bug Fix | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/plugins/aws/package/compile/events/cloudFront/index.js->program->class_declaration:AwsCompileCloudFrontEvents->method_definition:compileCloudFrontEvents"] |
serverless/serverless | 6,879 | serverless__serverless-6879 | ['6760'] | eee5526ce5164b707a7df4f3099b9df835182b43 | diff --git a/lib/plugins/aws/package/compile/events/sns/index.js b/lib/plugins/aws/package/compile/events/sns/index.js
index 358733b1c08..1ede2b364a2 100644
--- a/lib/plugins/aws/package/compile/events/sns/index.js
+++ b/lib/plugins/aws/package/compile/events/sns/index.js
@@ -62,7 +62,14 @@ class AwsCompileSNSEvents {
... | diff --git a/lib/plugins/aws/package/compile/events/sns/index.test.js b/lib/plugins/aws/package/compile/events/sns/index.test.js
index 46fbc64d09d..1eeab35c410 100644
--- a/lib/plugins/aws/package/compile/events/sns/index.test.js
+++ b/lib/plugins/aws/package/compile/events/sns/index.test.js
@@ -309,6 +309,39 @@ descri... | SNS cross region trigger breaks pseudo parameters
# Bug Report
For reference, see the bug report here: https://github.com/svdgraaf/serverless-pseudo-parameters/issues/38
Also for reference, currently the plugin uses `after:aws:package:finalize:mergeCustomProviderResources` to trigger, perhaps this needs to run at... | null | 2019-10-24 16:34:30+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['AwsCompileSNSEvents #constructor() should set the provider variable to an instance of AwsProvider', 'AwsCompileSNSEvents #compileSNSEvents() should throw an error when arn object and no topicName are given as object properties', 'AwsCompileSNSEvents #compileSNSEvents() should create SNS topic when only arn is given a... | ['AwsCompileSNSEvents #compileSNSEvents() should create a cross region subscription when SNS topic arn in a different region is using pseudo params'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/compile/events/sns/index.test.js --reporter json | Bug Fix | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/plugins/aws/package/compile/events/sns/index.js->program->class_declaration:AwsCompileSNSEvents->method_definition:compileSNSEvents"] |
serverless/serverless | 6,871 | serverless__serverless-6871 | ['6595'] | 8d5f6b889fa87999f37603040e09ecf6371caf76 | diff --git a/lib/plugins/aws/customResources/index.js b/lib/plugins/aws/customResources/index.js
index b3b9b4f99cc..3b84d4663ce 100644
--- a/lib/plugins/aws/customResources/index.js
+++ b/lib/plugins/aws/customResources/index.js
@@ -86,78 +86,83 @@ function addCustomResourceToService(awsProvider, resourceName, iamRoleS... | diff --git a/lib/plugins/aws/customResources/index.test.js b/lib/plugins/aws/customResources/index.test.js
index ceb5a328dfd..639f25cd881 100644
--- a/lib/plugins/aws/customResources/index.test.js
+++ b/lib/plugins/aws/customResources/index.test.js
@@ -221,6 +221,119 @@ describe('#addCustomResourceToService()', () => {... | Support custom role setting for custom resources
# This is a Bug Report
## Description
- What went wrong?
We use our own role which is specified at the provider level. This role is used for every lambda. Since we added the Eventbridge event to a Lambda it fails to try to create a custom role (which it shou... | @gordianberger thanks for that report.
> Since we added the Eventbridge event to a Lambda it fails to try to create a custom role (which it should not do since we use our predefined one).
Why exactly it fails? Relying on custom resources is expected to work seamlessly with custom role setting
> Custom-resource... | 2019-10-22 15:16:33+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['#addCustomResourceToService() should add one IAM role and the custom resources to the service', '#addCustomResourceToService() should setup CloudWatch Logs when logs.frameworkLambda is true', '#addCustomResourceToService() should throw when an unknown custom resource is used', "#addCustomResourceToService() should en... | ['#addCustomResourceToService() Should not setup new IAM role, when cfnRole is provided'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/customResources/index.test.js --reporter json | Bug Fix | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/plugins/aws/customResources/index.js->program->function_declaration:addCustomResourceToService"] |
serverless/serverless | 6,869 | serverless__serverless-6869 | ['6782'] | 18852ec34bbe1bdd9457c563e21e53cab3dc2fcd | diff --git a/docs/providers/aws/guide/variables.md b/docs/providers/aws/guide/variables.md
index 6076cbeda8d..08078cf12ba 100644
--- a/docs/providers/aws/guide/variables.md
+++ b/docs/providers/aws/guide/variables.md
@@ -46,6 +46,9 @@ You can define your own variable syntax (regex) if it conflicts with CloudFormat
- [... | diff --git a/lib/classes/Variables.test.js b/lib/classes/Variables.test.js
index 5162f0ee4b5..6bf869b3ac6 100644
--- a/lib/classes/Variables.test.js
+++ b/lib/classes/Variables.test.js
@@ -2378,6 +2378,70 @@ module.exports = {
});
});
+ describe('#getValueStrToBool()', () => {
+ const errMessage = 'Unexpe... | The always restApi logs enable when using an SSM parameter in the configuration.
# Bug Report
## Description
<!-- Please use https://forum.serverless.com, StackOverflow or other forums for Q&A -->
<!-- Please answer ALL the question below. Otherwise we probably have to close the issue due to missing information ... | There are lots of non-string configuration (boolean or numeric) in severless framework, and unfortunately most of them does not accept string value from `$opt` or `$ssm`...
It is recommended to [use `$file` variable and use booleans/numbers in those files](https://github.com/serverless/serverless/pull/6561#issuecomm... | 2019-10-21 23:23:25+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['Variables #prepopulateService dependent service rejections should reject CloudFormation variables in profile values', 'Variables #prepopulateService basic population tests should populate variables in profile values', 'Variables #getValueFromSource() caching should only call getValueFromS3 once, returning the cached ... | ['Variables #getValueStrToBool() regex for empty input', 'Variables #getValueStrToBool() false (string) should return false (boolean)', 'Variables #getValueStrToBool() 0 (string) should return false (boolean)', 'Variables #getValueStrToBool() regex for "true" input', 'Variables #getValueStrToBool() regex for "0" input'... | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/classes/Variables.test.js --reporter json | Bug Fix | false | false | false | true | 2 | 1 | 3 | false | false | ["lib/classes/Variables.js->program->class_declaration:Variables", "lib/classes/Variables.js->program->class_declaration:Variables->method_definition:getValueStrToBool", "lib/classes/Variables.js->program->class_declaration:Variables->method_definition:constructor"] |
serverless/serverless | 6,842 | serverless__serverless-6842 | ['6841'] | 6e5572350549e1277eebb5952dc01b45a96a8957 | diff --git a/lib/plugins/aws/package/lib/mergeIamTemplates.js b/lib/plugins/aws/package/lib/mergeIamTemplates.js
index 2d97671ad03..c302e496f42 100644
--- a/lib/plugins/aws/package/lib/mergeIamTemplates.js
+++ b/lib/plugins/aws/package/lib/mergeIamTemplates.js
@@ -192,12 +192,14 @@ module.exports = {
violationsF... | diff --git a/lib/plugins/aws/package/lib/mergeIamTemplates.test.js b/lib/plugins/aws/package/lib/mergeIamTemplates.test.js
index b7da9693183..7e7d898b585 100644
--- a/lib/plugins/aws/package/lib/mergeIamTemplates.test.js
+++ b/lib/plugins/aws/package/lib/mergeIamTemplates.test.js
@@ -513,10 +513,28 @@ describe('#mergeI... | Support NotAction and NotResource
# Feature Proposal
## Description
<!-- Please use https://forum.serverless.com, StackOverflow or other forums for Q&A -->
<!-- Please answer ALL the question below. Otherwise we probably have to close the issue due to missing information -->
Currently Serverless refuses to bu... | null | 2019-10-15 22:59:22+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['#mergeIamTemplates() should not add the default role if all functions have an ARN role', '#mergeIamTemplates() should ensure IAM policies when service contains only canonically named functions', '#mergeIamTemplates() should add managed policy arns', '#mergeIamTemplates() should add default role if one of the function... | ['#mergeIamTemplates() should throw error if a custom IAM policy statement does not have an Action field', '#mergeIamTemplates() should throw error if a custom IAM policy statement does not have a Resource field', '#mergeIamTemplates() should throw an error describing all problematics custom IAM policy statements', '#m... | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/lib/mergeIamTemplates.test.js --reporter json | Feature | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/plugins/aws/package/lib/mergeIamTemplates.js->program->method_definition:validateStatements"] |
serverless/serverless | 6,827 | serverless__serverless-6827 | ['6266'] | aba4e09c7be7e1c89b14728428f0f1a3bf9ccbbb | diff --git a/docs/providers/aws/events/cloudwatch-log.md b/docs/providers/aws/events/cloudwatch-log.md
index d5021973b7d..e6e385cc599 100644
--- a/docs/providers/aws/events/cloudwatch-log.md
+++ b/docs/providers/aws/events/cloudwatch-log.md
@@ -26,6 +26,8 @@ functions:
- cloudwatchLog: '/aws/lambda/hello'
```
... | diff --git a/lib/plugins/aws/package/compile/events/cloudWatchLog/index.test.js b/lib/plugins/aws/package/compile/events/cloudWatchLog/index.test.js
index 9161f09dcc1..7803c51814b 100644
--- a/lib/plugins/aws/package/compile/events/cloudWatchLog/index.test.js
+++ b/lib/plugins/aws/package/compile/events/cloudWatchLog/i... | Using 2 or more "CloudWatchLog event handlers" for the same lambda fails to create correct permissions
<!--
1. If you have a question and not a bug report please ask first at http://forum.serverless.com
2. Please check if an issue already exists. This bug may have already been documented
3. Check out and follow our ... | As a workaround I found serverless@1.35.1 to be the latest version which does not suffer from this bug. | 2019-10-13 18:15:52+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['AwsCompileCloudWatchLogEvents #compileCloudWatchLogEvents() should respect "filter" variable', 'AwsCompileCloudWatchLogEvents #compileCloudWatchLogEvents() should set an empty string for FilterPattern statement when "filter" variable is not given', 'AwsCompileCloudWatchLogEvents #compileCloudWatchLogEvents() should r... | ['AwsCompileCloudWatchLogEvents #compileCloudWatchLogEvents() should create a longest-common suffix of logGroup to minimize scope'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/compile/events/cloudWatchLog/index.test.js --reporter json | Bug Fix | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/plugins/aws/package/compile/events/cloudWatchLog/index.js->program->class_declaration:AwsCompileCloudWatchLogEvents->method_definition:longestCommonSuffix"] |
serverless/serverless | 6,823 | serverless__serverless-6823 | ['5621'] | aba4e09c7be7e1c89b14728428f0f1a3bf9ccbbb | diff --git a/lib/plugins/aws/lib/naming.js b/lib/plugins/aws/lib/naming.js
index 9fe9a4b1f76..a420b828bc1 100644
--- a/lib/plugins/aws/lib/naming.js
+++ b/lib/plugins/aws/lib/naming.js
@@ -299,6 +299,9 @@ module.exports = {
getDeploymentBucketOutputLogicalId() {
return 'ServerlessDeploymentBucketName';
},
+ ... | diff --git a/lib/plugins/aws/lib/naming.test.js b/lib/plugins/aws/lib/naming.test.js
index f288996d72b..9349b43c325 100644
--- a/lib/plugins/aws/lib/naming.test.js
+++ b/lib/plugins/aws/lib/naming.test.js
@@ -470,6 +470,14 @@ describe('#naming()', () => {
});
});
+ describe('#getDeploymentBucketPolicyLogical... | Ensure AWS S3 buckets created by Serverless can't be accessed over HTTP
# This is a Feature Proposal
## Description
At a recent security audit I had done on some infrastructure, several of the S3 buckets created by the Serverless Framework showed up as not having `SecureTransport` flag set to true as part of the ... | That's a good idea @a-h!
I would like to work on this feature if nobody minds. | 2019-10-12 02:36:32+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['#generateCoreTemplate() should explicitly disable S3 Transfer Acceleration, if requested', '#naming() #getScheduleId() should add the standard suffix', '#naming() #getNormalizedFunctionName() should normalize the given functionName with a dash', '#naming() #getWebsocketsIntegrationLogicalId() should return the integr... | ['#generateCoreTemplate() should reject non-HTTPS requests to the deployment bucket', '#naming() #getDeploymentBucketPolicyLogicalId() should return "ServerlessDeploymentBucketPolicy"'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/lib/naming.test.js lib/plugins/aws/package/lib/generateCoreTemplate.test.js --reporter json | Security | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/plugins/aws/lib/naming.js->program->method_definition:getDeploymentBucketPolicyLogicalId"] |
serverless/serverless | 6,808 | serverless__serverless-6808 | ['4624'] | f767fab43952c5a394d76b6b0f3f9779c8a5a3e6 | diff --git a/lib/classes/Service.js b/lib/classes/Service.js
index 1e372ad0631..afd489d1a3f 100644
--- a/lib/classes/Service.js
+++ b/lib/classes/Service.js
@@ -21,7 +21,7 @@ class Service {
this.serviceObject = null;
this.provider = {
stage: 'dev',
- variableSyntax: '\\${([ ~:a-zA-Z0-9._@\'",\\-\... | diff --git a/lib/classes/Service.test.js b/lib/classes/Service.test.js
index 8d599578aee..3b0b398d10c 100644
--- a/lib/classes/Service.test.js
+++ b/lib/classes/Service.test.js
@@ -31,7 +31,7 @@ describe('Service', () => {
expect(serviceInstance.serviceObject).to.be.equal(null);
expect(serviceInstance.pro... | Can't parse variable system when a second argument is hard-coded
<!--
1. If you have a question and not a bug/feature request please ask it at http://forum.serverless.com
2. Please check if an issue already exists so there are no duplicates
3. Check out and follow our Guidelines: https://github.com/serverless/server... | I'm facing this issue as well. It's been open for quite a while - is anyone on it? | 2019-10-09 12:48:08+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['Service #update() should update service instance data', 'Variables #prepopulateService basic population tests should populate variables in profile values', 'Variables #prepopulateService dependent service rejections should reject CloudFormation variables in profile values', 'Variables #getValueFromSource() caching sh... | ['Service #constructor() should construct with defaults'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/print/print.test.js lib/classes/Service.test.js lib/classes/Variables.test.js --reporter json | Bug Fix | false | true | false | false | 3 | 0 | 3 | false | false | ["lib/plugins/print/print.js->program->class_declaration:Print->method_definition:adorn", "lib/classes/Service.js->program->class_declaration:Service->method_definition:constructor", "lib/classes/Utils.js->program->class_declaration:Utils->method_definition:logStat"] |
serverless/serverless | 6,749 | serverless__serverless-6749 | ['6454'] | a8f195e6e125707107c67ef3eca7a5a5b4d5fe42 | diff --git a/bin/serverless.js b/bin/serverless.js
index 77d4a0150c9..4745d9fc715 100755
--- a/bin/serverless.js
+++ b/bin/serverless.js
@@ -45,44 +45,55 @@ process.on('unhandledRejection', error => {
throw error;
});
-require('../lib/utils/tracking').sendPending();
+let resolveServerlessExecutionSpan;
+require('... | diff --git a/lib/utils/tracking.test.js b/lib/utils/tracking.test.js
index b498179e0ea..650cb8f2c1a 100644
--- a/lib/utils/tracking.test.js
+++ b/lib/utils/tracking.test.js
@@ -1,14 +1,12 @@
'use strict';
const { join } = require('path');
-const fs = require('fs');
const { homedir } = require('os');
const BbPromi... | FetchError: network timeout on tracking.serverlessteam.com
<!--
1. If you have a question and not a bug report please ask first at http://forum.serverless.com
2. Please check if an issue already exists. This bug may have already been documented
3. Check out and follow our Guidelines: https://github.com/serverless/se... | I'm receiving the same error at diff software release and diff command (sls deploy). In case it makes a diff my Serverless and node installs were done with home-brew
Original poster said he was getting the error randomly, while I am getting it consistently at 1PM ET July 27,/2019
> $ sls deploy
> Serverless: DOT... | 2019-09-25 08:51:56+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['tracking Should ignore missing cacheDirPath', 'tracking Should ignore body procesing error', 'tracking Should cache failed requests and rerun then with sendPending'] | ['tracking Should ditch stale events at sendPending', 'tracking Should limit concurrent requests at sendPending', 'tracking Should not issue further requests after serverless execution ends'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/utils/tracking.test.js --reporter json | Bug Fix | false | true | false | false | 4 | 0 | 4 | false | false | ["lib/utils/tracking.js->program->function_declaration:request", "lib/utils/tracking.js->program->function_declaration:resolveTimestamp", "lib/utils/tracking.js->program->function_declaration:track", "lib/utils/tracking.js->program->function_declaration:sendPending"] |
serverless/serverless | 6,719 | serverless__serverless-6719 | ['6710'] | f0ccf6441ace7b5cc524e774f025a39c3c0667f2 | diff --git a/lib/plugins/plugin/install/install.js b/lib/plugins/plugin/install/install.js
index c2df8ffa77b..3b5982e92cf 100644
--- a/lib/plugins/plugin/install/install.js
+++ b/lib/plugins/plugin/install/install.js
@@ -7,8 +7,8 @@ const path = require('path');
const _ = require('lodash');
const userStats = require(... | diff --git a/lib/plugins/plugin/install/install.test.js b/lib/plugins/plugin/install/install.test.js
index d9666cc83d2..8c96653e0d7 100644
--- a/lib/plugins/plugin/install/install.test.js
+++ b/lib/plugins/plugin/install/install.test.js
@@ -178,7 +178,7 @@ describe('PluginInstall', () => {
});
});
- it... | Why is `plugin install` limited to those in serverless plugin registry?
Hey folks, thanks for the great technology! 🤖
It appears that `sls plugin install --name <plugin>` first checks that the plugin is in the serverless registry and only npm installs if it is. Why is that? Are you open to loosening that restricti... | Hey @mcjfunk thanks for opening the issue :+1:
Good question. The main idea for `plugin install` is to abstract `npm` away. In the future we don't want to expose the npm dependency to end users. That's also the reason why we're reaching out to our own registry (which currently is just a `.json` file we `fetch`).
... | 2019-09-20 16:02:10+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['PluginUninstall #constructor() should have a "plugin:uninstall:uninstall" hook', 'PluginInstall #addPluginToServerlessFile() if plugins object is not array should add the plugin to the service file', 'PluginUninstall #removePluginFromServerlessFile() should remove the plugin from the service if it is the only one', '... | ['PluginUninstall #uninstall() should uninstall the plugin even if it can not be found in the registry', 'PluginUtils #getPluginInfo() should return the plugins name', 'PluginUtils #getPluginInfo() should return the plugins name and version', 'PluginUtils #getPluginInfo() should support scoped names', 'PluginInstall #i... | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/plugin/install/install.test.js lib/plugins/plugin/lib/utils.test.js lib/plugins/plugin/uninstall/uninstall.test.js --reporter json | Feature | false | true | false | false | 3 | 0 | 3 | false | false | ["lib/plugins/plugin/uninstall/uninstall.js->program->class_declaration:PluginUninstall->method_definition:uninstall", "lib/plugins/plugin/install/install.js->program->class_declaration:PluginInstall->method_definition:install", "lib/plugins/plugin/lib/utils.js->program->method_definition:getPluginInfo"] |
serverless/serverless | 6,711 | serverless__serverless-6711 | ['6289'] | 929d22f969c89fb0e51a44666255c8ac27073dbe | diff --git a/docs/providers/aws/cli-reference/invoke.md b/docs/providers/aws/cli-reference/invoke.md
index f3ab278a0f6..09673e4fdb2 100644
--- a/docs/providers/aws/cli-reference/invoke.md
+++ b/docs/providers/aws/cli-reference/invoke.md
@@ -27,6 +27,7 @@ serverless invoke [local] --function functionName
- `--function`... | diff --git a/lib/plugins/aws/invoke/index.test.js b/lib/plugins/aws/invoke/index.test.js
index d40e83c18c7..e6c476e3c4b 100644
--- a/lib/plugins/aws/invoke/index.test.js
+++ b/lib/plugins/aws/invoke/index.test.js
@@ -265,6 +265,26 @@ describe('AwsInvoke', () => {
awsInvoke.provider.request.restore();
})... | Add qualifier option for the invoke command
# This is a Feature Proposal
## Description
Currently, there's no way of calling a specific version/alias (qualifier) from the `serverless` CLI, so we have to fall back to the `aws` native CLI under the `--qualifier` option.
It would be good if there was an optional fl... | null | 2019-09-18 21:04:08+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['AwsInvoke #extendedValidate() should parse data if it is a json string', 'AwsInvoke #extendedValidate() should keep data if it is a simple string', 'AwsInvoke #extendedValidate() it should throw error if file path does not exist', 'AwsInvoke #invoke() should invoke with other invocation type', 'AwsInvoke #extendedVal... | ['AwsInvoke #invoke() should be able to invoke with a qualifier'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/invoke/index.test.js --reporter json | Feature | false | true | false | false | 2 | 0 | 2 | false | false | ["lib/plugins/invoke/invoke.js->program->class_declaration:Invoke->method_definition:constructor", "lib/plugins/aws/invoke/index.js->program->class_declaration:AwsInvoke->method_definition:invoke"] |
serverless/serverless | 6,689 | serverless__serverless-6689 | ['6688'] | b41f8e43b751c98855d5df6d733e386a2727b77d | diff --git a/lib/plugins/aws/package/compile/functions/index.js b/lib/plugins/aws/package/compile/functions/index.js
index 004cf14c936..ee38dc221ae 100644
--- a/lib/plugins/aws/package/compile/functions/index.js
+++ b/lib/plugins/aws/package/compile/functions/index.js
@@ -83,7 +83,7 @@ class AwsCompileFunctions {
... | diff --git a/lib/plugins/aws/package/compile/functions/index.test.js b/lib/plugins/aws/package/compile/functions/index.test.js
index bd533359344..dee42115ae5 100644
--- a/lib/plugins/aws/package/compile/functions/index.test.js
+++ b/lib/plugins/aws/package/compile/functions/index.test.js
@@ -140,6 +140,20 @@ describe('... | Error in regular expression that checks S3 URLs
<!--
1. If you have a question and not a bug report please ask first at http://forum.serverless.com
2. Please check if an issue already exists. This bug may have already been documented
3. Check out and follow our Guidelines: https://github.com/serverless/serverless/bl... | null | 2019-09-14 05:46:55+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['AwsCompileFunctions #compileFunctions() when using onError config should reject if config is provided as a number', 'AwsCompileFunctions #compileFunctions() should overwrite a provider level environment config when function config is given', 'AwsCompileFunctions #compileFunctions() when using onError config when IamR... | ['AwsCompileFunctions #downloadPackageArtifacts() should not access AWS.S3 if URL is not an S3 URl'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/compile/functions/index.test.js --reporter json | Bug Fix | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/plugins/aws/package/compile/functions/index.js->program->class_declaration:AwsCompileFunctions->method_definition:downloadPackageArtifact"] |
serverless/serverless | 6,658 | serverless__serverless-6658 | ['6657'] | f187ba711330c518e0f47ef4a7bdf791739dd84a | diff --git a/lib/plugins/aws/package/compile/events/websockets/lib/stage.js b/lib/plugins/aws/package/compile/events/websockets/lib/stage.js
index 0c21ca85cb6..c959d6b3099 100644
--- a/lib/plugins/aws/package/compile/events/websockets/lib/stage.js
+++ b/lib/plugins/aws/package/compile/events/websockets/lib/stage.js
@@ ... | diff --git a/lib/plugins/aws/package/compile/events/websockets/lib/stage.test.js b/lib/plugins/aws/package/compile/events/websockets/lib/stage.test.js
index e4f9e1c1196..9afc94c923e 100644
--- a/lib/plugins/aws/package/compile/events/websockets/lib/stage.test.js
+++ b/lib/plugins/aws/package/compile/events/websockets/l... | AWS API GW WebSocket logs does not respect logRetentionInDays
# This is a Bug Report
## Description
- What went wrong?
Log retentions days not set for CloudWatch log group for websocket.
- What did you expect should have happened?
Log retension days should be set, as same as for lambda and rest APIs.
- Wh... | null | 2019-09-10 01:13:11+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['#compileStage() logs should create a Log Group resource', '#compileStage() should not create a stage resource if a websocketApiId is specified', '#compileStage() should create a stage resource if no websocketApiId specified', '#compileStage() logs should create a dedicated stage resource if logs are configured', '#co... | ['#compileStage() logs should set a RetentionInDays in a Log Group if provider has logRetentionInDays'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/compile/events/websockets/lib/stage.test.js --reporter json | Bug Fix | false | true | false | false | 2 | 0 | 2 | false | false | ["lib/plugins/aws/package/compile/events/websockets/lib/stage.js->program->function_declaration:getLogGroupResource", "lib/plugins/aws/package/compile/events/websockets/lib/stage.js->program->method_definition:compileStage"] |
serverless/serverless | 6,653 | serverless__serverless-6653 | ['6557'] | c0ec32b4e0f2e3dacce12a614db92dfba6e526a6 | diff --git a/bin/serverless.js b/bin/serverless.js
index 82bc47a1c54..77d4a0150c9 100755
--- a/bin/serverless.js
+++ b/bin/serverless.js
@@ -2,6 +2,13 @@
'use strict';
+// global graceful-fs patch
+// https://github.com/isaacs/node-graceful-fs#global-patching
+const realFs = require('fs');
+const gracefulFs = requ... | diff --git a/lib/plugins/package/lib/zipService.test.js b/lib/plugins/package/lib/zipService.test.js
index b7050dd6416..f8b964a488b 100644
--- a/lib/plugins/package/lib/zipService.test.js
+++ b/lib/plugins/package/lib/zipService.test.js
@@ -9,7 +9,7 @@ const JsZip = require('jszip');
const globby = require('globby');
... | Deploy stops at "Installing dependencies for custom CloudFormation resources"
I´m using this template https://github.com/msfidelis/serverless-architecture-boilerplate
and the issue has only occured with this template so far.
Creating new projects from scratch with the sls assistent and deploying works fine.
When... | I also experienced the same problem, but with the error message:
`EMFILE: too many open files, open 'C: \ Users \ marda \ AppData \ Local \ Temp \ tmpdirs-serverless \ 330d \ b435695edb9e63a1 \ resources \ node_modules \ tokopedia-api \ api node_modules \ caniuse-lite \ data \ regions \ GL.js'`
```
Your Enviro... | 2019-09-09 12:09:52+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['zipService #zip() should keep file permissions', 'zipService #zip() should zip a whole service (without include / exclude usage)', 'zipService #zip() should re-include files using include config', 'zipService #excludeDevDependencies() should resolve when opted out of dev dependency exclusion', 'zipService #zip() shou... | ['zipService #excludeDevDependencies() when dealing with Node.js runtimes should return excludes and includes if a exec Promise is rejected', 'zipService #excludeDevDependencies() when dealing with Node.js runtimes should fail silently and continue if "npm ls" call throws an error', 'zipService #excludeDevDependencies(... | ['zipService #getFileContent() "before each" hook for "should keep the file content as is"', 'zipService #getFileContentAndStat() "before each" hook for "should keep the file content as is"'] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/package/lib/zipService.test.js --reporter json | Bug Fix | true | false | false | false | 0 | 0 | 0 | false | false | [] |
serverless/serverless | 6,642 | serverless__serverless-6642 | ['6641'] | c4b7726a21dddd5c948c527fcd9982d3de6791d8 | diff --git a/docs/providers/aws/guide/serverless.yml.md b/docs/providers/aws/guide/serverless.yml.md
index 5bbbf1b1b89..e96a65004a8 100644
--- a/docs/providers/aws/guide/serverless.yml.md
+++ b/docs/providers/aws/guide/serverless.yml.md
@@ -190,6 +190,10 @@ functions:
layers: # An optional list Lambda Layers to us... | diff --git a/lib/plugins/aws/package/compile/functions/index.test.js b/lib/plugins/aws/package/compile/functions/index.test.js
index 654e4bfb033..bd533359344 100644
--- a/lib/plugins/aws/package/compile/functions/index.test.js
+++ b/lib/plugins/aws/package/compile/functions/index.test.js
@@ -2432,5 +2432,39 @@ describe... | Support Condition and DependsOn
<!--
1. If you have a question and not a feature request please ask first at http://forum.serverless.com
2. Please check if an issue already exists. This feature may have already been requested
3. Check out and follow our Guidelines: https://github.com/serverless/serverless/blob/maste... | null | 2019-09-05 22:48:30+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['AwsCompileFunctions #compileFunctions() when using onError config should reject if config is provided as a number', 'AwsCompileFunctions #compileFunctions() should overwrite a provider level environment config when function config is given', 'AwsCompileFunctions #compileFunctions() when using onError config when IamR... | ['AwsCompileFunctions #compileRole() should set Condition when specified', 'AwsCompileFunctions #compileRole() should include DependsOn when specified'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/compile/functions/index.test.js --reporter json | Feature | false | true | false | false | 2 | 0 | 2 | false | false | ["lib/plugins/aws/package/compile/functions/index.js->program->class_declaration:AwsCompileFunctions->method_definition:compileRole", "lib/plugins/aws/package/compile/functions/index.js->program->class_declaration:AwsCompileFunctions->method_definition:compileFunction"] |
serverless/serverless | 6,611 | serverless__serverless-6611 | ['6607'] | 91ae8bcc17d3ab7874507c8192375b4a28627592 | diff --git a/lib/plugins/aws/package/compile/events/apiGateway/lib/hack/updateStage.js b/lib/plugins/aws/package/compile/events/apiGateway/lib/hack/updateStage.js
index e8ebe3cbaf3..7c50415c073 100644
--- a/lib/plugins/aws/package/compile/events/apiGateway/lib/hack/updateStage.js
+++ b/lib/plugins/aws/package/compile/e... | diff --git a/lib/plugins/aws/package/compile/events/apiGateway/lib/hack/updateStage.test.js b/lib/plugins/aws/package/compile/events/apiGateway/lib/hack/updateStage.test.js
index 79a70911198..3b16c4e9520 100644
--- a/lib/plugins/aws/package/compile/events/apiGateway/lib/hack/updateStage.test.js
+++ b/lib/plugins/aws/pa... | Serverless complains about "Rest API id could not be resolved."
# This is a Bug Report
## Description
- What went wrong?
After updating serverless to version 1.51.0 the deployment process never succeeds. Deploy command does the job partially. I can see in the logs that Stack update has finished and it prints out... | @gevorggalstyan can you share your `serverless.yml` (at least part related to API Gateway configuration) ?
Sorry, accidentally closed
@medikoo I think I found the exact lines that cause this
```yaml
provider:
logs:
restApi: true
```
We had these lines based on https://serverless.com/framework/docs/provi... | 2019-08-30 10:52:36+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['#updateStage() should disable existing access log settings when accessLogging is set to false', '#updateStage() should resolve expected restApiId when beyond 500 APIs are deployed', '#updateStage() should update the stage with a custom APIGW log level if given ERROR', '#updateStage() should create a new stage and pro... | ['#updateStage() should resolve with a default api name if the AWS::ApiGateway::Resource is not present'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/compile/events/apiGateway/lib/hack/updateStage.test.js --reporter json | Bug Fix | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/plugins/aws/package/compile/events/apiGateway/lib/hack/updateStage.js->program->function_declaration:resolveRestApiId"] |
serverless/serverless | 6,556 | serverless__serverless-6556 | ['6555'] | 8445a6966f9e9ddaffd6e49537c3ae2e44c4944e | diff --git a/lib/classes/Utils.js b/lib/classes/Utils.js
index 1140ee8bbe6..38a4a1e7d10 100644
--- a/lib/classes/Utils.js
+++ b/lib/classes/Utils.js
@@ -352,6 +352,8 @@ class Utils {
return resolve(data);
}).then(data => {
if (data) tracking.track('segment', data);
+ // prevent Bluebird `Warning... | diff --git a/lib/classes/Utils.test.js b/lib/classes/Utils.test.js
index 8db311a69cf..43ab87ed3b9 100644
--- a/lib/classes/Utils.test.js
+++ b/lib/classes/Utils.test.js
@@ -791,7 +791,8 @@ describe('Utils', () => {
package: {},
};
- return expect(utils.logStat(serverless)).to.be.fulfilled.then(()... | v1.48.1 triggers Bluebird promise warning when NODE_ENV=development
<!--
1. If you have a question and not a bug report please ask first at http://forum.serverless.com
2. Please check if an issue already exists. This bug may have already been documented
3. Check out and follow our Guidelines: https://github.com/serv... | Okay, after looking at [the warning from Bluebird](http://bluebirdjs.com/docs/warning-explanations.html#warning-a-promise-was-created-in-a-handler-but-was-not-returned-from-it) and taking a look at `bluebird/js/release/method.js:30:9` from the stacktrace, I was able to track this down to this function released in v1.48... | 2019-08-16 21:10:28+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['Utils #fileExistsSync() When reading a file should detect if a file exists', 'Utils #getLocalAccessKey() should return false if a user could be found globally but no locally', 'Utils #copyDirContentsSync() should recursively copy directory files', 'Utils #getLocalAccessKey() should return false if a user could be fou... | ['Utils #logStat() should send the gathered information'] | ['Utils #writeFileDir() should create a directory for the path of the given file'] | . /usr/local/nvm/nvm.sh && npx mocha lib/classes/Utils.test.js --reporter json | Bug Fix | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/classes/Utils.js->program->class_declaration:Utils->method_definition:logStat"] |
serverless/serverless | 6,545 | serverless__serverless-6545 | ['6532'] | 210d50ce29e3fcf740fa43c4a19bde5f0242fc3f | diff --git a/lib/plugins/aws/package/compile/layers/index.js b/lib/plugins/aws/package/compile/layers/index.js
index b75e5ec88e0..f19b8279a62 100644
--- a/lib/plugins/aws/package/compile/layers/index.js
+++ b/lib/plugins/aws/package/compile/layers/index.js
@@ -54,7 +54,7 @@ class AwsCompileLayers {
if (layerObject... | diff --git a/lib/plugins/aws/package/compile/layers/index.test.js b/lib/plugins/aws/package/compile/layers/index.test.js
index dfadb7011e9..9d9e9e03211 100644
--- a/lib/plugins/aws/package/compile/layers/index.test.js
+++ b/lib/plugins/aws/package/compile/layers/index.test.js
@@ -3,6 +3,7 @@
const crypto = require('cr... | Unnecessary deployments with retained lambda layer
<!--
1. If you have a question and not a bug report please ask first at http://forum.serverless.com
2. Please check if an issue already exists. This bug may have already been documented
3. Check out and follow our Guidelines: https://github.com/serverless/serverless... | @mokamoto12 thanks for report. Still I think deployment in such case is expected.
While nothing resource-wise was changed, the CloudFormation instruction have been changed and that has implications on its own.
Imagine the scenario, when after deployment we decide to remove the stack, if prior deployment was skipp... | 2019-08-14 15:12:20+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['AwsCompileLayers #constructor() should set the provider variable to an instance of AwsProvider', 'AwsCompileLayers #compileLayers() should use layer artifact if individually', 'AwsCompileLayers #compileLayers() should create a layer resource with permissions', 'AwsCompileLayers #compileLayers() should create a layer ... | ['AwsCompileLayers #compileLayers() should create a layer resource with a retention policy, has the same logical id when not modify', 'AwsCompileLayers #compileLayers() should create a layer resource with a retention policy'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/compile/layers/index.test.js --reporter json | Bug Fix | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/plugins/aws/package/compile/layers/index.js->program->class_declaration:AwsCompileLayers->method_definition:compileLayer"] |
serverless/serverless | 6,534 | serverless__serverless-6534 | ['6262'] | d4c8bc1450d31275596b26bb7464a6f1b28392af | diff --git a/lib/plugins/aws/package/lib/mergeIamTemplates.js b/lib/plugins/aws/package/lib/mergeIamTemplates.js
index 945312b6987..e96534ec1eb 100644
--- a/lib/plugins/aws/package/lib/mergeIamTemplates.js
+++ b/lib/plugins/aws/package/lib/mergeIamTemplates.js
@@ -90,23 +90,13 @@ module.exports = {
.Resources[th... | diff --git a/lib/plugins/aws/package/lib/mergeIamTemplates.test.js b/lib/plugins/aws/package/lib/mergeIamTemplates.test.js
index 09447f64157..b7da9693183 100644
--- a/lib/plugins/aws/package/lib/mergeIamTemplates.test.js
+++ b/lib/plugins/aws/package/lib/mergeIamTemplates.test.js
@@ -127,7 +127,7 @@ describe('#mergeIam... | Wider `logs:CreateLogStream`/`logs:PutLogEvents` permissions in policy for Lambda functions with manual names (v1.45.1)
<!--
1. If you have a question and not a bug report please ask first at http://forum.serverless.com
2. Please check if an issue already exists. This bug may have already been documented
3. Check ou... | This was done to avoid a hard AWS limit of the size of a single role.
We can make the least-privileged permission as an option if some users find the wider troublesome.
Another option is to have each function to have its own role, but the statements added via the `iamRoleStatements` would need to be duplicated o... | 2019-08-13 12:33:01+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['#mergeIamTemplates() should throw an error describing all problematics custom IAM policy statements', '#mergeIamTemplates() should not add the default role if all functions have an ARN role', '#mergeIamTemplates() should ensure IAM policies when service contains only canonically named functions', '#mergeIamTemplates(... | ['#mergeIamTemplates() should ensure IAM policies for custom and canonically named functions', '#mergeIamTemplates() should ensure IAM policies when service contains only custom named functions'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/lib/mergeIamTemplates.test.js --reporter json | Bug Fix | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/plugins/aws/package/lib/mergeIamTemplates.js->program->method_definition:merge"] |
serverless/serverless | 6,520 | serverless__serverless-6520 | ['3983'] | f9c25db76a7c9f2fa3ca88cf95455dfe16c3881e | diff --git a/lib/plugins/aws/deploy/lib/checkForChanges.js b/lib/plugins/aws/deploy/lib/checkForChanges.js
index ad71b3c4b15..cf03a3f885e 100644
--- a/lib/plugins/aws/deploy/lib/checkForChanges.js
+++ b/lib/plugins/aws/deploy/lib/checkForChanges.js
@@ -18,8 +18,15 @@ module.exports = {
return BbPromise.bind(this... | diff --git a/lib/plugins/aws/deploy/lib/checkForChanges.test.js b/lib/plugins/aws/deploy/lib/checkForChanges.test.js
index 915f072497e..a3bbf0bc61e 100644
--- a/lib/plugins/aws/deploy/lib/checkForChanges.test.js
+++ b/lib/plugins/aws/deploy/lib/checkForChanges.test.js
@@ -284,6 +284,36 @@ describe('checkForChanges', ()... | Ignore check for unchanged files after failed deployment
After a failed deployment due to remote (CloudFormation) error I have to use `sls deploy --force` to trigger a new deployment with the same configuration because serverless skips the deployment with the `Service files not changed. Skipping deployment...` notice p... | @sbstjn
Good point. I agree with you.
This is kind of silly... I need to change my project name to another one if it fails in order to bypass this wrong checking.
Have you tried to use `sls deploy --force` @tom10271 ?
Funny thing: The --force flag ignores forced webpack excludes and thus fails due to missing packages... | 2019-08-09 02:01:52+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['checkForChanges #getMostRecentObjects() should resolve with the most recently deployed objects', 'checkForChanges #checkLogGroupSubscriptionFilterResourceLimitExceeded option to force update is set should call delete if there is a subFilter but the ARNs are not the same', 'checkForChanges #checkIfDeploymentIsNecessar... | ['checkForChanges #checkLogGroupSubscriptionFilterResourceLimitExceeded #getFunctionsLatestLastModifiedDate should return null when there are no functions', 'checkForChanges #checkLogGroupSubscriptionFilterResourceLimitExceeded #getFunctionsLatestLastModifiedDate should treat rejections as epoch', 'checkForChanges #che... | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/deploy/lib/checkForChanges.test.js --reporter json | Bug Fix | false | true | false | false | 3 | 0 | 3 | false | false | ["lib/plugins/aws/deploy/lib/checkForChanges.js->program->method_definition:checkIfDeploymentIsNecessary", "lib/plugins/aws/deploy/lib/checkForChanges.js->program->method_definition:checkForChanges", "lib/plugins/aws/deploy/lib/checkForChanges.js->program->method_definition:getFunctionsEarliestLastModifiedDate"] |
serverless/serverless | 6,518 | serverless__serverless-6518 | ['6514'] | 487c21b5b0c462cd22a9930c2ab465b6b352fca7 | diff --git a/lib/plugins/aws/customResources/resources/eventBridge/lib/utils.js b/lib/plugins/aws/customResources/resources/eventBridge/lib/utils.js
index 862612cb1e6..faa54fe4de1 100644
--- a/lib/plugins/aws/customResources/resources/eventBridge/lib/utils.js
+++ b/lib/plugins/aws/customResources/resources/eventBridge/... | diff --git a/lib/plugins/aws/package/compile/events/eventBridge/index.test.js b/lib/plugins/aws/package/compile/events/eventBridge/index.test.js
index 48bf115c3db..b17c12fe285 100644
--- a/lib/plugins/aws/package/compile/events/eventBridge/index.test.js
+++ b/lib/plugins/aws/package/compile/events/eventBridge/index.tes... | Amazon EventBridge not compatible with partner event sources
<!--
1. If you have a question and not a bug report please ask first at http://forum.serverless.com
2. Please check if an issue already exists. This bug may have already been documented
3. Check out and follow our Guidelines: https://github.com/serverless/... | Thanks for opening @trevorrecker :+1:
We're working on a fix for that right now... | 2019-08-08 10:58:20+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['AwsCompileEventBridgeEvents #compileEventBridgeEvents() should create the necessary resources when using an inputPath configuration', 'AwsCompileEventBridgeEvents #compileEventBridgeEvents() should create the necessary resources when using an own event bus arn', 'AwsCompileEventBridgeEvents #constructor() should set ... | ['AwsCompileEventBridgeEvents #compileEventBridgeEvents() should create the necessary resources when using a partner event bus arn'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/compile/events/eventBridge/index.test.js --reporter json | Bug Fix | false | true | false | false | 2 | 0 | 2 | false | false | ["lib/plugins/aws/customResources/resources/eventBridge/lib/utils.js->program->function_declaration:getEventBusName", "lib/plugins/aws/package/compile/events/eventBridge/index.js->program->class_declaration:AwsCompileEventBridgeEvents->method_definition:compileEventBridgeEvents"] |
serverless/serverless | 6,471 | serverless__serverless-6471 | ['6263'] | 5afe14f5b08d4efd5dbb6a76dbfbdce7c496170e | diff --git a/lib/plugins/aws/deploy/lib/checkForChanges.js b/lib/plugins/aws/deploy/lib/checkForChanges.js
index 570503e381b..ad71b3c4b15 100644
--- a/lib/plugins/aws/deploy/lib/checkForChanges.js
+++ b/lib/plugins/aws/deploy/lib/checkForChanges.js
@@ -160,6 +160,7 @@ module.exports = {
return BbPromise.re... | diff --git a/lib/plugins/aws/deploy/lib/checkForChanges.test.js b/lib/plugins/aws/deploy/lib/checkForChanges.test.js
index cf4519d56b4..915f072497e 100644
--- a/lib/plugins/aws/deploy/lib/checkForChanges.test.js
+++ b/lib/plugins/aws/deploy/lib/checkForChanges.test.js
@@ -593,7 +593,7 @@ describe('checkForChanges', () ... | Use function name instead of counter for multiple cloudwatchLogs for avoiding SubscriptionFilter ResourceExceeded error
# This is a Bug Report
## Description
While adding a cloudwatchLog trigger event (subscription event) to a function that has many of them, we're wrongly relying on a counter to create the CloudF... | null | 2019-07-29 17:29:08+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['checkForChanges #getMostRecentObjects() should resolve with the most recently deployed objects', 'checkForChanges #checkLogGroupSubscriptionFilterResourceLimitExceeded option to force update is set should call delete if there is a subFilter but the ARNs are not the same', 'checkForChanges #checkIfDeploymentIsNecessar... | ['checkForChanges #checkLogGroupSubscriptionFilterResourceLimitExceeded option to force update is set should call delete if there is a subFilter but the logical IDs are not the same'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/deploy/lib/checkForChanges.test.js --reporter json | Bug Fix | false | true | false | false | 3 | 0 | 3 | false | false | ["lib/plugins/aws/deploy/lib/checkForChanges.js->program->method_definition:getLogicalIdFromFilterName", "lib/plugins/aws/deploy/lib/checkForChanges.js->program->method_definition:fixLogGroupSubscriptionFilters", "lib/plugins/aws/deploy/lib/checkForChanges.js->program->method_definition:checkLogGroupSubscriptionFilterR... |
serverless/serverless | 6,447 | serverless__serverless-6447 | ['6436'] | 866cc82cb070a4c928ea7521103ca62263b52d65 | diff --git a/CHANGELOG.md b/CHANGELOG.md
index bea7daeeed6..36968bb06da 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,13 @@
+# 1.48.4 (2019-07-25)
+
+- [Add note for supported version of existing bucket feature](https://github.com/serverless/serverless/pull/6435)
+- [Support in interactive flow for SFE provid... | diff --git a/lib/plugins/aws/lib/validate.test.js b/lib/plugins/aws/lib/validate.test.js
index 64dee4c92db..0a0a5e2aeea 100644
--- a/lib/plugins/aws/lib/validate.test.js
+++ b/lib/plugins/aws/lib/validate.test.js
@@ -33,6 +33,7 @@ describe('#validate', () => {
awsPlugin.serverless.setProvider('aws', provider);
... | `sls package` is demanding a default profile since the latest version?
# This is a Bug Report
Since the last update `sls package` requires a default profile to be set in the aws config ( or `--aws-profile` to be given ).
Not sure why the decision was made to require the aws profile even during packaging, or if th... | I have similar issue, local invocation was working fine in 1.48.2 but breaks in 1.48.3 because of profile:
We install serverless globally
```
$ yarn global add serverless
yarn global v1.17.3
[1/4] Resolving packages...
warning serverless > json-refs > path-loader > superagent@3.8.3: Please note that v5.0.1+ of su... | 2019-07-25 12:47:43+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['#validate #validate() should succeed if inside service (servicePath defined)', '#validate #validate() should use the service.provider region if present', '#validate #validate() should throw error if not inside service (servicePath not defined)', '#validate #validate() should default to "dev" if stage is not provided'... | ['#validate #validate() should not check the metadata service if not using a command that needs creds'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/lib/validate.test.js --reporter json | Bug Fix | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/plugins/aws/lib/validate.js->program->method_definition:validate"] |
serverless/serverless | 6,446 | serverless__serverless-6446 | ['6443'] | b6bfe19795520dbd4361d76e6b2805c7a19eecb4 | diff --git a/lib/plugins/aws/deploy/lib/checkForChanges.js b/lib/plugins/aws/deploy/lib/checkForChanges.js
index 1ef50534453..570503e381b 100644
--- a/lib/plugins/aws/deploy/lib/checkForChanges.js
+++ b/lib/plugins/aws/deploy/lib/checkForChanges.js
@@ -151,7 +151,7 @@ module.exports = {
const region = this.provide... | diff --git a/lib/plugins/aws/deploy/lib/checkForChanges.test.js b/lib/plugins/aws/deploy/lib/checkForChanges.test.js
index 313c4c92479..cf4519d56b4 100644
--- a/lib/plugins/aws/deploy/lib/checkForChanges.test.js
+++ b/lib/plugins/aws/deploy/lib/checkForChanges.test.js
@@ -514,7 +514,12 @@ describe('checkForChanges', ()... | Cloudwatch log group subscriptions are removed on subsequent deploys in gov-cloud
<!--
1. If you have a question and not a bug report please ask first at http://forum.serverless.com
2. Please check if an issue already exists. This bug may have already been documented
3. Check out and follow our Guidelines: https://g... | Looks like this would also apply to [China](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-arns) regions | 2019-07-25 11:15:17+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['checkForChanges #getMostRecentObjects() should resolve with the most recently deployed objects', 'checkForChanges #checkLogGroupSubscriptionFilterResourceLimitExceeded option to force update is set should call delete if there is a subFilter but the ARNs are not the same', 'checkForChanges #checkIfDeploymentIsNecessar... | ['checkForChanges #checkLogGroupSubscriptionFilterResourceLimitExceeded option to force update is set should not call delete when ARN is the same accounting for non-standard partitions'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/deploy/lib/checkForChanges.test.js --reporter json | Bug Fix | false | true | false | false | 2 | 0 | 2 | false | false | ["lib/plugins/aws/deploy/lib/checkForChanges.js->program->method_definition:checkLogGroupSubscriptionFilterResourceLimitExceeded", "lib/plugins/aws/deploy/lib/checkForChanges.js->program->method_definition:fixLogGroupSubscriptionFilters"] |
serverless/serverless | 6,445 | serverless__serverless-6445 | ['6444'] | b6bfe19795520dbd4361d76e6b2805c7a19eecb4 | diff --git a/docs/providers/aws/events/sns.md b/docs/providers/aws/events/sns.md
index fdc442a166b..b255c12aa4c 100644
--- a/docs/providers/aws/events/sns.md
+++ b/docs/providers/aws/events/sns.md
@@ -80,7 +80,20 @@ functions:
topicName: MyCustomTopic
```
-**Note:** If an `arn` string is specified but not... | diff --git a/lib/plugins/aws/package/compile/events/sns/index.test.js b/lib/plugins/aws/package/compile/events/sns/index.test.js
index 18b72af715e..46fbc64d09d 100644
--- a/lib/plugins/aws/package/compile/events/sns/index.test.js
+++ b/lib/plugins/aws/package/compile/events/sns/index.test.js
@@ -327,7 +327,7 @@ describ... | Cross account SNS Trigger
# This is a Bug Report
## Description
We create topics with the same name in all regions and all accounts and have one Lambda function to handle all events. When trying to deploy lambda function subscribing to an SNS topic with the same name but in a different account the CloudFormation ... | null | 2019-07-25 11:00:09+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['AwsCompileSNSEvents #constructor() should set the provider variable to an instance of AwsProvider', 'AwsCompileSNSEvents #compileSNSEvents() should throw an error when arn object and no topicName are given as object properties', 'AwsCompileSNSEvents #compileSNSEvents() should create SNS topic when only arn is given a... | ['AwsCompileSNSEvents #compileSNSEvents() should create two SNS topic subsriptions for ARNs with the same topic name in two regions when different topicName parameters are specified', 'AwsCompileSNSEvents #compileSNSEvents() should override SNS topic subsription CF resource name when arn and topicName are given as obje... | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/compile/events/sns/index.test.js --reporter json | Bug Fix | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/plugins/aws/package/compile/events/sns/index.js->program->class_declaration:AwsCompileSNSEvents->method_definition:compileSNSEvents"] |
serverless/serverless | 6,427 | serverless__serverless-6427 | ['6414', '6414'] | 072b7ac61a609f7c57134c23c6faf332a593e90c | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1dd3a5b51c0..bea7daeeed6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,14 @@
+# 1.48.3 (2019-07-23)
+
+- [Issue 6364 request path](https://github.com/serverless/serverless/pull/6422)
+- [Remove spaces from Cognito Pool Name](https://github.com/serverless/serverle... | diff --git a/lib/plugins/aws/invoke/index.test.js b/lib/plugins/aws/invoke/index.test.js
index 08d7febeb41..9ab179a558a 100644
--- a/lib/plugins/aws/invoke/index.test.js
+++ b/lib/plugins/aws/invoke/index.test.js
@@ -86,6 +86,7 @@ describe('AwsInvoke', () => {
};
awsInvoke.options.data = null;
awsI... | 1.48.1 gives Credentials error.
<!--
1. If you have a question and not a bug report please ask first at http://forum.serverless.com
2. Please check if an issue already exists. This bug may have already been documented
3. Check out and follow our Guidelines: https://github.com/serverless/serverless/blob/master/CONTRI... | I am having the same issue
What ever changes you merged onto `master` caused my CodePipeline to break also, as I have the same error. Im rolling back to 1.48 in my BuildSpec.yml for the time being but I would like to figure out what's going on here so I can update my environment when possible. Thanks!
`ServerlessErr... | 2019-07-22 13:32:20+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['#validate #validate() should succeed if inside service (servicePath defined)', 'AwsInvokeLocal #getEnvVarsFromOptions returns key with empty value for option without =', 'AwsInvoke #extendedValidate() should parse data if it is a json string', "AwsInvokeLocal #invokeLocalNodeJs promise by callback method even if call... | ['AwsProvider #getCredentials() should not set credentials if credentials has empty string values', 'AwsProvider #getCredentials() should set region for credentials', '#validate #validate() should check the metadata service and throw an error if no creds and no metadata response', 'AwsProvider #request() using the requ... | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/invokeLocal/index.test.js lib/plugins/aws/invoke/index.test.js lib/plugins/aws/logs/index.test.js lib/plugins/aws/lib/validate.test.js lib/plugins/aws/provider/awsProvider.test.js --reporter json | Bug Fix | false | true | false | false | 2 | 0 | 2 | false | false | ["lib/plugins/aws/provider/awsProvider.js->program->class_declaration:AwsProvider->method_definition:getCredentials", "lib/plugins/aws/lib/validate.js->program->method_definition:validate"] |
serverless/serverless | 6,417 | serverless__serverless-6417 | ['6416'] | 2c1315666a3bd25c6c744cb810b830dd6d248160 | diff --git a/lib/plugins/aws/package/compile/events/s3/index.js b/lib/plugins/aws/package/compile/events/s3/index.js
index 04af67ff703..fa3aaa00f3a 100644
--- a/lib/plugins/aws/package/compile/events/s3/index.js
+++ b/lib/plugins/aws/package/compile/events/s3/index.js
@@ -284,7 +284,7 @@ class AwsCompileS3Events {
... | diff --git a/lib/plugins/aws/package/compile/events/s3/index.test.js b/lib/plugins/aws/package/compile/events/s3/index.test.js
index dce6a20dd59..980346d20e6 100644
--- a/lib/plugins/aws/package/compile/events/s3/index.test.js
+++ b/lib/plugins/aws/package/compile/events/s3/index.test.js
@@ -277,13 +277,16 @@ describe(... | Can't attach event to an existing bucket with an !ImportValue name
<!--
1. If you have a question and not a bug report please ask first at http://forum.serverless.com
2. Please check if an issue already exists. This bug may have already been documented
3. Check out and follow our Guidelines: https://github.com/serve... | null | 2019-07-20 02:05:17+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['AwsCompileS3Events #newS3Buckets() should not create corresponding resources when S3 events are not given', 'AwsCompileS3Events #newS3Buckets() should add the permission resource logical id to the buckets DependsOn array', 'AwsCompileS3Events #newS3Buckets() should throw an error if s3 event type is not a string or a... | ['AwsCompileS3Events #existingS3Buckets() should create a valid policy for an S3 bucket using !ImportValue', 'AwsCompileS3Events #existingS3Buckets() should create the necessary resources for a service using different config parameters', 'AwsCompileS3Events #existingS3Buckets() should create the necessary resources for... | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/compile/events/s3/index.test.js --reporter json | Bug Fix | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/plugins/aws/package/compile/events/s3/index.js->program->class_declaration:AwsCompileS3Events->method_definition:existingS3Buckets"] |
serverless/serverless | 6,402 | serverless__serverless-6402 | ['5700'] | 9b3c17f1e656d413daa43eb55366ef3aadc4996e | diff --git a/lib/plugins/aws/deploy/lib/checkForChanges.js b/lib/plugins/aws/deploy/lib/checkForChanges.js
index ec4419c2599..1ef50534453 100644
--- a/lib/plugins/aws/deploy/lib/checkForChanges.js
+++ b/lib/plugins/aws/deploy/lib/checkForChanges.js
@@ -149,8 +149,6 @@ module.exports = {
*/
checkLogGroupSubscript... | diff --git a/lib/plugins/aws/deploy/lib/checkForChanges.test.js b/lib/plugins/aws/deploy/lib/checkForChanges.test.js
index 9cc808d38aa..313c4c92479 100644
--- a/lib/plugins/aws/deploy/lib/checkForChanges.test.js
+++ b/lib/plugins/aws/deploy/lib/checkForChanges.test.js
@@ -577,6 +577,8 @@ describe('checkForChanges', () ... | CloudWatch Log Event Subscriptions Deleted
# This is a Bug Report
## Description
We have a Serverless Lambda function that forwards logs from CloudWatch to Loggly similar to https://github.com/loggly/cloudwatch2loggly
After the update to 1.36.0 CloudWatch Logs triggers are deleted on deploy
## To reproduce
D... | Hey, I'm sorry my changes caused that. Going to try to reproduce the problem later this week.
Hi, please let me know the work around for this? Revert version back to 1.35.X?
@NishantRanjan Yes, in our case we reverted to 1.35.1 and the problem was fixed.
Any progress @rdsedmundo?
> Triggers are deleted
Perhaps, this... | 2019-07-18 15:48:14+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['checkForChanges #getMostRecentObjects() should resolve with the most recently deployed objects', 'checkForChanges #checkLogGroupSubscriptionFilterResourceLimitExceeded option to force update is set should call delete if there is a subFilter but the ARNs are not the same', 'checkForChanges #checkIfDeploymentIsNecessar... | ['checkForChanges #checkLogGroupSubscriptionFilterResourceLimitExceeded option to force update is set should not call delete if there is a subFilter and the ARNs are the same with custom function name'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/deploy/lib/checkForChanges.test.js --reporter json | Bug Fix | false | true | false | false | 2 | 0 | 2 | false | false | ["lib/plugins/aws/deploy/lib/checkForChanges.js->program->method_definition:checkLogGroupSubscriptionFilterResourceLimitExceeded", "lib/plugins/aws/deploy/lib/checkForChanges.js->program->method_definition:fixLogGroupSubscriptionFilters"] |
serverless/serverless | 6,366 | serverless__serverless-6366 | ['3676'] | dfe6e071612bcb80b14a87f862c33f1620a62d0c | diff --git a/docs/providers/aws/events/sns.md b/docs/providers/aws/events/sns.md
index 738f5e9b4b8..fdc442a166b 100644
--- a/docs/providers/aws/events/sns.md
+++ b/docs/providers/aws/events/sns.md
@@ -62,6 +62,7 @@ functions:
```
Or with intrinsic CloudFormation function like `Fn::Join` or `Fn::GetAtt`.
+**Note:** ... | diff --git a/lib/plugins/aws/package/compile/events/sns/index.test.js b/lib/plugins/aws/package/compile/events/sns/index.test.js
index c312459c48c..18b72af715e 100644
--- a/lib/plugins/aws/package/compile/events/sns/index.test.js
+++ b/lib/plugins/aws/package/compile/events/sns/index.test.js
@@ -11,9 +11,12 @@ describe... | Cross region SNS trigger
<!--
1. If you have a question and not a bug/feature request please ask it at http://forum.serverless.com
2. Please check if an issue already exists so there are no duplicates
3. Check out and follow our Guidelines: https://github.com/serverless/serverless/blob/master/CONTRIBUTING.md
4. Fil... | Thanks for opening @matthisk 👍
🤔 right now Serverless assumes that everything will be deployed into one region. @eahefnawy do you have any idea if there's a possible solution / workaround available for this?
I have the same problem. I need to subscribe to an us-east-1 ARN for the AWS marketplace but my whole inf... | 2019-07-12 01:44:23+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['AwsCompileSNSEvents #constructor() should set the provider variable to an instance of AwsProvider', 'AwsCompileSNSEvents #compileSNSEvents() should throw an error when arn object and no topicName are given as object properties', 'AwsCompileSNSEvents #compileSNSEvents() should create SNS topic when only arn is given a... | ['AwsCompileSNSEvents #compileSNSEvents() should create a cross region subscription when SNS topic arn in a different region than provider'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/compile/events/sns/index.test.js --reporter json | Bug Fix | false | true | false | false | 2 | 0 | 2 | false | false | ["lib/plugins/aws/package/compile/events/sns/index.js->program->class_declaration:AwsCompileSNSEvents->method_definition:constructor", "lib/plugins/aws/package/compile/events/sns/index.js->program->class_declaration:AwsCompileSNSEvents->method_definition:compileSNSEvents"] |
serverless/serverless | 6,365 | serverless__serverless-6365 | ['4608'] | dfe6e071612bcb80b14a87f862c33f1620a62d0c | diff --git a/docs/providers/aws/guide/variables.md b/docs/providers/aws/guide/variables.md
index 9aa6cf0b181..1f814091ab8 100644
--- a/docs/providers/aws/guide/variables.md
+++ b/docs/providers/aws/guide/variables.md
@@ -294,6 +294,19 @@ custom:
In this example, the serverless variable will contain the decrypted val... | diff --git a/lib/classes/Variables.test.js b/lib/classes/Variables.test.js
index e41352fe06d..0fc42bbd79d 100644
--- a/lib/classes/Variables.test.js
+++ b/lib/classes/Variables.test.js
@@ -2154,6 +2154,101 @@ module.exports = {
})
.finally(() => ssmStub.restore());
});
+ it('should get split S... | ssm variable option to split StringList into array
# This is a Feature Proposal
## Description
SSM params can have a StringList type of comma separated values. It would be great if there was some syntax we could provide to automatically split this StringList by comma into an array. Without splitting this string val... | I think this might work better as a separate function, more like: `${split(${ssm:my_path_to_subnet_ids_list~true})}`... Although this gets interesting, since really the SSM string could be anything... javascript, json, yaml, etc. Some ability to process the returned string value might be valuable...
@lorengordon I agre... | 2019-07-11 22:49:05+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['Variables #prepopulateService dependent service rejections should reject CloudFormation variables in profile values', 'Variables #prepopulateService basic population tests should populate variables in profile values', 'Variables #getValueFromSource() caching should only call getValueFromS3 once, returning the cached ... | ['Variables #getValueFromSsm() should warn when attempting to split a non-StringList Ssm variable', 'Variables #getValueFromSsm() should get split StringList variable from Ssm using extended syntax'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/classes/Variables.test.js --reporter json | Feature | false | true | false | false | 2 | 0 | 2 | false | false | ["lib/classes/Variables.js->program->class_declaration:Variables->method_definition:getValueFromSsm", "lib/classes/Variables.js->program->class_declaration:Variables->method_definition:constructor"] |
serverless/serverless | 6,345 | serverless__serverless-6345 | ['6346'] | 650d55da741837ce8ea5ebe2ab957c9b71dcab21 | diff --git a/lib/classes/CLI.js b/lib/classes/CLI.js
index 80299ddf43a..4e26e801733 100644
--- a/lib/classes/CLI.js
+++ b/lib/classes/CLI.js
@@ -209,6 +209,12 @@ class CLI {
this.consoleLog(chalk.yellow.underline('Framework'));
this.consoleLog(chalk.dim('* Documentation: https://serverless.com/framework/docs/... | diff --git a/lib/classes/Error.test.js b/lib/classes/Error.test.js
index 43b10139415..47938e8b14b 100644
--- a/lib/classes/Error.test.js
+++ b/lib/classes/Error.test.js
@@ -110,6 +110,20 @@ describe('Error', () => {
expect(message).to.have.string('SLS_DEBUG=*');
});
+ it('should hide warnings if SLS_WA... | Allow warnings to be hidden
<!--
1. If you have a question and not a feature request please ask first at http://forum.serverless.com
2. Please check if an issue already exists. This feature may have already been requested
3. Check out and follow our Guidelines: https://github.com/serverless/serverless/blob/master/CO... | null | 2019-07-08 16:34:27+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['Error #logError() should capture the exception and exit the process with 1 if errorReporter is setup', 'Error #logError() should not print stack trace without SLS_DEBUG', 'ServerlessError #constructor() should have stack trace', 'ServerlessError #constructor() should store name', 'Error #logError() should notify abou... | ['Error #logError() should hide warnings if SLS_WARNING_DISABLE is defined'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/classes/Error.test.js --reporter json | Feature | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/classes/CLI.js->program->class_declaration:CLI->method_definition:generateMainHelp"] |
serverless/serverless | 6,332 | serverless__serverless-6332 | ['5332'] | 1fe3abbc398dfa355de51102057d125df6b80f8f | diff --git a/docs/providers/aws/cli-reference/install.md b/docs/providers/aws/cli-reference/install.md
index 2220121e1ca..167dab1abe2 100644
--- a/docs/providers/aws/cli-reference/install.md
+++ b/docs/providers/aws/cli-reference/install.md
@@ -29,6 +29,13 @@ serverless install --url https://github.com/some/service
... | diff --git a/lib/utils/downloadTemplateFromRepo.test.js b/lib/utils/downloadTemplateFromRepo.test.js
index b035d375afc..eee3f4c1a04 100644
--- a/lib/utils/downloadTemplateFromRepo.test.js
+++ b/lib/utils/downloadTemplateFromRepo.test.js
@@ -51,7 +51,7 @@ describe('downloadTemplateFromRepo', () => {
});
it('... | Support enterprise Github with 'serverless install'
<!--
1. If you have a question and not a bug/feature request please ask it at http://forum.serverless.com
2. Please check if an issue already exists so there are no duplicates
3. Check out and follow our Guidelines: https://github.com/serverless/serverless/blob/mas... | Given that `parseGitHubURL`, `parseBitbucketURL`, and `parseGitlabURL` are identical functions, it seems that only one parse function is needed. Most, if not all, will parse the same way, including GitHub Enterprise.
I think a better validation would be to check if a git origin exists at the remote address:
```
G... | 2019-07-04 07:44:00+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['downloadTemplateFromRepo parseRepoURL should throw an error if URL is not valid', 'downloadTemplateFromRepo downloadTemplateFromRepo should throw an error if the passed URL option is not a valid URL', 'downloadTemplateFromRepo downloadTemplateFromRepo should download and rename the service based directories in the Gi... | ['downloadTemplateFromRepo parseRepoURL should parse a valid BitBucket URL ', 'downloadTemplateFromRepo parseRepoURL should parse a valid GitLab URL with subdirectory', 'downloadTemplateFromRepo parseRepoURL should parse a valid GitLab URL ', 'downloadTemplateFromRepo parseRepoURL should parse a valid GitHub URL with s... | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/utils/downloadTemplateFromRepo.test.js --reporter json | Feature | false | true | false | false | 5 | 0 | 5 | false | false | ["lib/utils/downloadTemplateFromRepo.js->program->function_declaration:parseBitbucketURL", "lib/utils/downloadTemplateFromRepo.js->program->function_declaration:parseGitHubURL", "lib/utils/downloadTemplateFromRepo.js->program->function_declaration:parseRepoURL", "lib/utils/downloadTemplateFromRepo.js->program->function... |
serverless/serverless | 6,322 | serverless__serverless-6322 | ['6320'] | 4a7e1b3b06df4ca37f6f1c1df3f792279d46fff6 | diff --git a/lib/plugins/aws/lib/naming.js b/lib/plugins/aws/lib/naming.js
index d77336cd916..3ef221a4892 100644
--- a/lib/plugins/aws/lib/naming.js
+++ b/lib/plugins/aws/lib/naming.js
@@ -1,6 +1,7 @@
'use strict';
const _ = require('lodash');
+const crypto = require('crypto');
/**
* A centralized naming objec... | diff --git a/lib/plugins/aws/lib/naming.test.js b/lib/plugins/aws/lib/naming.test.js
index 58b9e6d01e4..87507e43ead 100644
--- a/lib/plugins/aws/lib/naming.test.js
+++ b/lib/plugins/aws/lib/naming.test.js
@@ -703,4 +703,22 @@ describe('#naming()', () => {
);
});
});
+
+ describe('#getAlbTargetGroupName(... | ALB event Target Group names are not unique across services
# This is a Bug Report
## Description
You cannot define function with alb event in different services using the same function name. If you try to do it, the second service deployment will fail saying the a Target Group with that name already exists.
T... | null | 2019-06-28 18:03:22+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['#naming() #getScheduleId() should add the standard suffix', '#naming() #getNormalizedFunctionName() should normalize the given functionName with a dash', '#naming() #getWebsocketsIntegrationLogicalId() should return the integrations logical id', '#naming() #getPolicyName() should use the stage and service name', '#na... | ['#naming() #getAlbTargetGroupNameTagValue() should return the composition of service name, function name and stage', '#naming() #getAlbTargetGroupName() should return a unique identifier based on the service name, function name and stage', '#compileTargetGroups() should create ELB target group resources'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/lib/naming.test.js lib/plugins/aws/package/compile/events/alb/lib/targetGroups.test.js --reporter json | Bug Fix | false | true | false | false | 3 | 0 | 3 | false | false | ["lib/plugins/aws/package/compile/events/alb/lib/targetGroups.js->program->method_definition:compileTargetGroups", "lib/plugins/aws/lib/naming.js->program->method_definition:getAlbTargetGroupName", "lib/plugins/aws/lib/naming.js->program->method_definition:getAlbTargetGroupNameTagValue"] |
serverless/serverless | 6,310 | serverless__serverless-6310 | ['6304', '6304'] | 9b9c9e26418da5a9967fbed257ca8fbd8c38ddf3 | diff --git a/lib/plugins/aws/package/compile/events/websockets/lib/stage.js b/lib/plugins/aws/package/compile/events/websockets/lib/stage.js
index 71c3498e6f1..af5b81e1e55 100644
--- a/lib/plugins/aws/package/compile/events/websockets/lib/stage.js
+++ b/lib/plugins/aws/package/compile/events/websockets/lib/stage.js
@@ ... | diff --git a/lib/plugins/aws/package/compile/events/websockets/lib/stage.test.js b/lib/plugins/aws/package/compile/events/websockets/lib/stage.test.js
index ab931abd3bc..5bc91404f4f 100644
--- a/lib/plugins/aws/package/compile/events/websockets/lib/stage.test.js
+++ b/lib/plugins/aws/package/compile/events/websockets/l... | Enabling websocket logs fails deployment
<!--
1. If you have a question and not a bug report please ask first at http://forum.serverless.com
2. Please check if an issue already exists. This bug may have already been documented
3. Check out and follow our Guidelines: https://github.com/serverless/serverless/blob/mast... | 2019-06-26 13:01:09+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['#compileStage() logs should create a Log Group resource', '#compileStage() logs should create an Account resource', '#compileStage() should create a stage resource', '#compileStage() logs should create a IAM Role resource'] | ['#compileStage() logs should create a dedicated stage resource if logs are configured'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/compile/events/websockets/lib/stage.test.js --reporter json | Bug Fix | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/plugins/aws/package/compile/events/websockets/lib/stage.js->program->method_definition:compileStage"] | |
serverless/serverless | 6,293 | serverless__serverless-6293 | ['6242'] | 40c5383acaeb61bc363ab0715639c9ccf8b76cd2 | diff --git a/docs/providers/aws/events/alb.md b/docs/providers/aws/events/alb.md
index 72f58bfce7f..a367d17aac2 100644
--- a/docs/providers/aws/events/alb.md
+++ b/docs/providers/aws/events/alb.md
@@ -18,6 +18,20 @@ The Serverless Framework makes it possible to setup the connection between Appli
## Event definition
... | diff --git a/lib/plugins/aws/package/compile/events/alb/lib/listenerRules.test.js b/lib/plugins/aws/package/compile/events/alb/lib/listenerRules.test.js
index 4ce62477450..d9d4f22b417 100644
--- a/lib/plugins/aws/package/compile/events/alb/lib/listenerRules.test.js
+++ b/lib/plugins/aws/package/compile/events/alb/lib/l... | Add support for all listener rule conditions on ALB events
# This is a Feature Proposal
## Feature
Add support for all listener rule conditions for ALB events.
## Description
Listener rules can have the following conditions:
- http-header
- http-request-method
- host-header
- path-pattern
- query-string
-... | @cbm-egoubely What you've outlined looks very good, we'll be very happy to take PR that supports that!
If you need any help let us know. | 2019-06-23 21:45:59+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['#validate() #validateHeaderCondition() should throw if header does not have the required properties', '#validate() #validateQueryCondition() should throw if query is not an object', '#validate() #validateIpCondition() should throw if ip is not a valid ipv6 or ipv4 cidr block', '#validate() #validateHeaderCondition() ... | ['#validate() #validateIpCondition() should return the value as array if it is a valid ipv4 cidr block', '#validate() #validateIpCondition() should return the value as array if it is a valid ipv6 cidr block', '#validate() should throw when given an invalid ip condition', '#validate() #validateHeaderCondition() should r... | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/compile/events/alb/lib/listenerRules.test.js lib/plugins/aws/package/compile/events/alb/lib/validate.test.js --reporter json | Feature | false | true | false | false | 5 | 0 | 5 | false | false | ["lib/plugins/aws/package/compile/events/alb/lib/listenerRules.js->program->method_definition:compileListenerRules", "lib/plugins/aws/package/compile/events/alb/lib/validate.js->program->method_definition:validate", "lib/plugins/aws/package/compile/events/alb/lib/validate.js->program->method_definition:validateHeaderCo... |
serverless/serverless | 6,272 | serverless__serverless-6272 | ['6270', '6270'] | b954fa4a17bdf99e0a1bef502fc8b37c288d2923 | diff --git a/docs/providers/aws/events/apigateway.md b/docs/providers/aws/events/apigateway.md
index 1499502d643..41bc88ccd68 100644
--- a/docs/providers/aws/events/apigateway.md
+++ b/docs/providers/aws/events/apigateway.md
@@ -1103,6 +1103,7 @@ provider:
apiGateway:
restApiId: xxxxxxxxxx # REST API resource I... | diff --git a/lib/plugins/aws/package/compile/events/websockets/lib/api.test.js b/lib/plugins/aws/package/compile/events/websockets/lib/api.test.js
index a3ed46155c2..fbe7242f0c6 100644
--- a/lib/plugins/aws/package/compile/events/websockets/lib/api.test.js
+++ b/lib/plugins/aws/package/compile/events/websockets/lib/api... | Support shared websocket API
<!--
1. If you have a question and not a feature request please ask first at http://forum.serverless.com
2. Please check if an issue already exists. This feature may have already been requested
3. Check out and follow our Guidelines: https://github.com/serverless/serverless/blob/master/C... | 2019-06-19 06:47:18+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['#compileAuthorizers() for routes without authorizer definition should NOT create an authorizer resource for routes with not authorizer definition', '#compileApi() should NOT add the websockets policy if role resource does not exist', '#compileApi() should create a websocket api resource', '#compileAuthorizers() for r... | ['#compileApi() should ignore API resource creation if there is predefined websocketApi config', '#compileAuthorizers() for routes with authorizer definition should use existing Api if there is predefined websocketApi config'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/compile/events/websockets/lib/authorizers.test.js lib/plugins/aws/package/compile/events/websockets/lib/api.test.js --reporter json | Feature | false | false | false | true | 8 | 1 | 9 | false | false | ["lib/plugins/aws/provider/awsProvider.js->program->class_declaration:AwsProvider->method_definition:getApiGatewayWebsocketApiId", "lib/plugins/aws/package/compile/events/websockets/lib/stage.js->program->method_definition:compileStage", "lib/plugins/aws/package/compile/events/websockets/lib/permissions.js->program->me... | |
serverless/serverless | 6,261 | serverless__serverless-6261 | ['6017', '6017'] | 61f31b22e2062d2fd622779c6ed2364d79da3058 | diff --git a/docs/providers/aws/guide/plugins.md b/docs/providers/aws/guide/plugins.md
index fc52aafb206..c8414137f4f 100644
--- a/docs/providers/aws/guide/plugins.md
+++ b/docs/providers/aws/guide/plugins.md
@@ -63,9 +63,7 @@ custom:
## Service local plugin
-If you are working on a plugin or have a plugin that is... | diff --git a/lib/classes/PluginManager.test.js b/lib/classes/PluginManager.test.js
index e00c4fd2b6f..bd7a0e56cc0 100644
--- a/lib/classes/PluginManager.test.js
+++ b/lib/classes/PluginManager.test.js
@@ -803,11 +803,13 @@ describe('PluginManager', () => {
describe('#loadServicePlugins()', () => {
beforeEach(fu... | Load plugin from path
<!--
1. If you have a question and not a feature request please ask first at http://forum.serverless.com
2. Please check if an issue already exists. This feature may have already been requested
3. Check out and follow our Guidelines: https://github.com/serverless/serverless/blob/master/CONTRIBU... | 2019-06-17 10:05:07+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['PluginManager #run() should throw an error when the given command is a container', 'PluginManager #run() when using a promise based hook function when running a simple command should run the simple command', 'PluginManager #validateOptions() should throw an error if a customValidation is not met', 'PluginManager #run... | ['PluginManager #loadServicePlugins() should load the service plugins'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/classes/PluginManager.test.js --reporter json | Feature | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/classes/PluginManager.js->program->class_declaration:PluginManager->method_definition:loadPlugins"] | |
serverless/serverless | 6,244 | serverless__serverless-6244 | ['5748'] | f0b3d9f42abbe4d4b26fdbfdcbe5cbf36bca5775 | diff --git a/lib/plugins/package/lib/packageService.js b/lib/plugins/package/lib/packageService.js
index ab6d27a82ed..22792f78a45 100644
--- a/lib/plugins/package/lib/packageService.js
+++ b/lib/plugins/package/lib/packageService.js
@@ -225,6 +225,7 @@ module.exports = {
params.include.forEach((pattern) => {
... | diff --git a/lib/plugins/package/lib/packageService.test.js b/lib/plugins/package/lib/packageService.test.js
index d5c9ac1caee..f03b5e8c300 100644
--- a/lib/plugins/package/lib/packageService.test.js
+++ b/lib/plugins/package/lib/packageService.test.js
@@ -12,7 +12,7 @@ const serverlessConfigFileUtils = require('../../... | Upload size of AWS go lambda's doubles with 1.36.xx
<!--
1. If you have a question and not a bug report please ask first at http://forum.serverless.com
2. Please check if an issue already exists. This bug may have already been documented
3. Check out and follow our Guidelines: https://github.com/serverless/serverles... | it seems that the files in the zip files are not compressed
We've noticed the same issue. Basically, the files in .zip are duplicated;
```
Archive: service-function.zip
Length Date Time Name
--------- ---------- ----- ----
35564224 1980-01-01 00:00 ./bin/api
29804640 1980-01-01 00:00 ./... | 2019-06-12 17:13:27+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['zipService #zip() should zip a whole service (without include / exclude usage)', '#packageService() #packageFunction() should call zipService with settings', 'zipService #excludeDevDependencies() when dealing with Node.js runtimes should fail silently and continue if "npm ls" call throws an error', '#packageService()... | ['zipService #zip() should include files only once'] | ['zipService #getFileContent() "before each" hook for "should keep the file content as is"', 'zipService #getFileContentAndStat() "before each" hook for "should keep the file content as is"'] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/package/lib/zipService.test.js tests/utils/fs/index.js lib/plugins/package/lib/packageService.test.js --reporter json | Bug Fix | false | true | false | false | 2 | 0 | 2 | false | false | ["lib/plugins/package/lib/packageService.js->program->method_definition:resolveFilePathsFromPatterns", "lib/plugins/package/lib/zipService.js->program->method_definition:zipFiles"] |
serverless/serverless | 6,240 | serverless__serverless-6240 | ['6236'] | e659ecb1427e289b80b6d0dd7b48aa0dc001fa94 | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4f38b8c8710..7bf612b1638 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,12 @@
+# 1.45.1 (2019-06-12)
+
+- [Fix IAM policies setup for functions with custom name](https://github.com/serverless/serverless/pull/6240)
+- [Fix Travis CI deploy config](https://github.co... | diff --git a/lib/plugins/aws/package/lib/mergeIamTemplates.test.js b/lib/plugins/aws/package/lib/mergeIamTemplates.test.js
index 59a41473cba..c659ab00fe7 100644
--- a/lib/plugins/aws/package/lib/mergeIamTemplates.test.js
+++ b/lib/plugins/aws/package/lib/mergeIamTemplates.test.js
@@ -9,12 +9,15 @@ const AwsPackage = re... | IAM policy on lambda execution role contains incorrect resource prefixes for writing logs when manually specifying function name
<!--
1. If you have a question and not a bug report please ask first at http://forum.serverless.com
2. Please check if an issue already exists. This bug may have already been documented
3.... | @weeniearms thanks for report.
Are you sure it's the case? Technically what changed is that following:
```
arn:aws:logs:region:account:log-group:/aws/lambda/service-stage-function:*
```
was replaced with:
```
arn:aws:logs:region:account:log-group:/aws/lambda/service-stage*:*
```
And as we tested it didn't... | 2019-06-12 14:00:55+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['#mergeIamTemplates() should throw an error describing all problematics custom IAM policy statements', '#mergeIamTemplates() should not add the default role if all functions have an ARN role', '#mergeIamTemplates() should add managed policy arns', '#mergeIamTemplates() should add default role if one of the functions h... | ['#mergeIamTemplates() should ensure IAM policies for custom named functions'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/lib/mergeIamTemplates.test.js --reporter json | Bug Fix | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/plugins/aws/package/lib/mergeIamTemplates.js->program->method_definition:merge"] |
serverless/serverless | 6,216 | serverless__serverless-6216 | ['5822'] | eb98a7087c5032bda05abb276cd95d133f021936 | diff --git a/docs/providers/aws/cli-reference/deploy.md b/docs/providers/aws/cli-reference/deploy.md
index 305a5d1cb01..058f6ed4ca3 100644
--- a/docs/providers/aws/cli-reference/deploy.md
+++ b/docs/providers/aws/cli-reference/deploy.md
@@ -19,6 +19,7 @@ serverless deploy
```
## Options
+- `--config` or `-c` Path t... | diff --git a/lib/classes/Service.test.js b/lib/classes/Service.test.js
index d5342a097f8..d53c23b4d90 100644
--- a/lib/classes/Service.test.js
+++ b/lib/classes/Service.test.js
@@ -17,6 +17,7 @@ const expect = require('chai').expect;
describe('Service', () => {
describe('#constructor()', () => {
const serverle... | Config should also be read from serverless.config.js file.
# This is a Bug Report
## Description
* What went wrong?
When using a js config file (serverless.js) "npx serverless" opens this file in my editor instead of running the serverless executable.
I guess this is why for example webpack uses webpack.config.... | That's an unfortunate conflict! I've tagged this as being closed by #5589 which will allow you to use any config file name you like 🙂
is there any update on when #5589 will be merged in? looks like there is one review comment blocker, other than that is there anything remaining?
I've been trying to fix up that PR mys... | 2019-06-06 13:13:53+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['Service #validate() stage name validation should not throw an error after variable population if http event is present and\n the populated stage contains only alphanumeric, underscore and hyphen', '#packageService() #packageFunction() should call zipService with settings', 'Service #update() should update ... | ['#getServerlessConfigFile() should throw an error, if serverless.js export not a plain object', '#getServerlessConfigFile() should look in the current working directory if servicePath is undefined', '#getServerlessConfigFile() should return the resolved value if a promise-using serverless.js file found', '#getServerle... | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/print/print.test.js lib/utils/getServerlessConfigFile.test.js lib/classes/Service.test.js lib/plugins/package/lib/packageService.test.js --reporter json | Feature | false | true | false | false | 8 | 0 | 8 | false | false | ["lib/plugins/package/lib/packageService.js->program->method_definition:getExcludes", "lib/plugins/print/print.js->program->class_declaration:Print->method_definition:print", "lib/classes/Service.js->program->class_declaration:Service->method_definition:loadServiceFileParam", "lib/classes/Service.js->program->class_dec... |
serverless/serverless | 6,212 | serverless__serverless-6212 | ['4686'] | e5300a6ba6361a296c3a6f6126207efd1bfba9ed | diff --git a/lib/plugins/aws/package/lib/mergeIamTemplates.js b/lib/plugins/aws/package/lib/mergeIamTemplates.js
index cb74e820d85..2698be83fc6 100644
--- a/lib/plugins/aws/package/lib/mergeIamTemplates.js
+++ b/lib/plugins/aws/package/lib/mergeIamTemplates.js
@@ -83,33 +83,32 @@ module.exports = {
}
);
-... | diff --git a/lib/plugins/aws/package/lib/mergeIamTemplates.test.js b/lib/plugins/aws/package/lib/mergeIamTemplates.test.js
index 43df16c776f..59a41473cba 100644
--- a/lib/plugins/aws/package/lib/mergeIamTemplates.test.js
+++ b/lib/plugins/aws/package/lib/mergeIamTemplates.test.js
@@ -50,7 +50,9 @@ describe('#mergeIamTe... | Feature Proposal: join logs permissions to allow for scaling
# This is a Feature Proposal
## Description
We have a very large serverless application that we're upgrading from sls 0.5 to sls 1. We've been hitting a lot of scaling issues; most recently an error `Maximum policy size of 10240 bytes exceeded for role`. ... | This plugin may help: https://github.com/AntonBazhal/serverless-plugin-custom-roles
@dougmoscrop I'm afraid that won't work for us since about 3/4 of all permissions are easily coming from the logs policies.
Well, that plugin will put those permissions in *separate* policies attached to *separate* roles so you will not... | 2019-06-05 20:52:40+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['#mergeIamTemplates() should throw an error describing all problematics custom IAM policy statements', '#mergeIamTemplates() should not add the default role if all functions have an ARN role', '#mergeIamTemplates() should add managed policy arns', '#mergeIamTemplates() should add default role if one of the functions h... | ['#mergeIamTemplates() should merge the IamRoleLambdaExecution template into the CloudFormation template'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/lib/mergeIamTemplates.test.js --reporter json | Feature | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/plugins/aws/package/lib/mergeIamTemplates.js->program->method_definition:merge"] |
serverless/serverless | 6,192 | serverless__serverless-6192 | ['6185'] | e7f37596dca8151d1f4a82e95a151ded3bc3db2e | diff --git a/lib/plugins/aws/package/compile/events/apiGateway/lib/validate.js b/lib/plugins/aws/package/compile/events/apiGateway/lib/validate.js
index 08e13da2fc8..2b6ced95f33 100644
--- a/lib/plugins/aws/package/compile/events/apiGateway/lib/validate.js
+++ b/lib/plugins/aws/package/compile/events/apiGateway/lib/val... | diff --git a/lib/plugins/aws/package/compile/events/apiGateway/lib/validate.test.js b/lib/plugins/aws/package/compile/events/apiGateway/lib/validate.test.js
index 43f20c7f7c6..a0e692af1a6 100644
--- a/lib/plugins/aws/package/compile/events/apiGateway/lib/validate.test.js
+++ b/lib/plugins/aws/package/compile/events/api... | Cannot read property 'length' of undefined when defining a string authorizer
<!--
1. If you have a question and not a bug report please ask first at http://forum.serverless.com
2. Please check if an issue already exists. This bug may have already been documented
3. Check out and follow our Guidelines: https://github... | I would like to suggest to make both checks, `claims && claims.length > 0`, in the change from: https://github.com/serverless/serverless/commit/9b4ec28a1e377cf1163ab153e99b5afd18727038#diff-a15f3a24289528534cb043857ccac565
Thanks for opening @camilosampedro 👍
🤔 this seems to be related to https://github.com/server... | 2019-05-30 07:18:39+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['#validate() should process cors options', '#validate() should throw if an cognito claims are being with a lambda proxy', '#validate() should set authorizer defaults', '#validate() should process request parameters for HTTP_PROXY integration', '#validate() throw error if authorizer property is not a string or object',... | ['#validate() should not throw when using a cognito string authorizer'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/compile/events/apiGateway/lib/validate.test.js --reporter json | Bug Fix | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/plugins/aws/package/compile/events/apiGateway/lib/validate.js->program->method_definition:getAuthorizer"] |
serverless/serverless | 6,150 | serverless__serverless-6150 | ['6125'] | ad6cd7afb01022cfc1d62c2789b3f9915d1d7819 | diff --git a/docs/providers/aws/events/apigateway.md b/docs/providers/aws/events/apigateway.md
index ad8ff969de9..3e60adfe8f2 100644
--- a/docs/providers/aws/events/apigateway.md
+++ b/docs/providers/aws/events/apigateway.md
@@ -499,9 +499,9 @@ functions:
- nickname
```
-### Using asyncronous integrat... | diff --git a/lib/plugins/aws/package/compile/events/apiGateway/lib/method/index.test.js b/lib/plugins/aws/package/compile/events/apiGateway/lib/method/index.test.js
index 2ac2b295760..e6871ab9dc6 100644
--- a/lib/plugins/aws/package/compile/events/apiGateway/lib/method/index.test.js
+++ b/lib/plugins/aws/package/compil... | API Gateway cognito authorizer scopes don't work with a authorizerId
<!--
1. If you have a question and not a bug report please ask first at http://forum.serverless.com
2. Please check if an issue already exists. This bug may have already been documented
3. Check out and follow our Guidelines: https://github.com/ser... | null | 2019-05-17 06:23:28+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['#compileMethods() should add multiple response templates for a custom response codes', '#compileMethods() should add method responses for different status codes', '#compileMethods() should set api key as not required if private property is not specified', '#compileMethods() when dealing with request configuration sho... | ['#compileMethods() should set authorizer config for a cognito user pool when given authorizerId Ref'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/compile/events/apiGateway/lib/method/index.test.js --reporter json | Bug Fix | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/plugins/aws/package/compile/events/apiGateway/lib/method/authorization.js->program->method_definition:getMethodAuthorization"] |
serverless/serverless | 6,121 | serverless__serverless-6121 | ['6103'] | 572dd8761c0c8283e50b960a66712669b0daf0df | diff --git a/lib/plugins/aws/package/compile/events/apiGateway/lib/validate.js b/lib/plugins/aws/package/compile/events/apiGateway/lib/validate.js
index 9fde97c462b..08e13da2fc8 100644
--- a/lib/plugins/aws/package/compile/events/apiGateway/lib/validate.js
+++ b/lib/plugins/aws/package/compile/events/apiGateway/lib/val... | diff --git a/lib/plugins/aws/package/compile/events/apiGateway/lib/validate.test.js b/lib/plugins/aws/package/compile/events/apiGateway/lib/validate.test.js
index e8fb9792993..a24bc784821 100644
--- a/lib/plugins/aws/package/compile/events/apiGateway/lib/validate.test.js
+++ b/lib/plugins/aws/package/compile/events/api... | Deploy fails with "Cognito claims can only be filtered when using the lambda integration type" after updating to 1.42.0
<!--
1. If you have a question and not a bug report please ask first at http://forum.serverless.com
2. Please check if an issue already exists. This bug may have already been documented
3. Check ou... | It is caused by https://github.com/serverless/serverless/pull/6000
We had to stick with 1.41.1 for deployments for now.
👽
Sorry about that I will look into it. | 2019-05-10 17:18:35+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['#validate() should process cors options', '#validate() should throw if an cognito claims are being with a lambda proxy', '#validate() should set authorizer defaults', '#validate() should process request parameters for HTTP_PROXY integration', '#validate() throw error if authorizer property is not a string or object',... | ['#validate() should not throw if an cognito claims are empty arrays with a lambda proxy'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/compile/events/apiGateway/lib/validate.test.js --reporter json | Bug Fix | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/plugins/aws/package/compile/events/apiGateway/lib/validate.js->program->method_definition:getAuthorizer"] |
serverless/serverless | 6,088 | serverless__serverless-6088 | ['6082'] | 5f0fdae08e52078926cf18c6ef36d8b34e2cbcf8 | diff --git a/.eslintrc.js b/.eslintrc.js
index 4218e236c38..b95dee02b98 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -7,6 +7,7 @@ module.exports = {
"func-names": "off",
"global-require": "off", // Interfers with optional and eventual circular references
"import/no-extraneous-dependencies": ["error", ... | diff --git a/lib/plugins/aws/lib/naming.test.js b/lib/plugins/aws/lib/naming.test.js
index 78f9a6b2377..1b10d0198e8 100644
--- a/lib/plugins/aws/lib/naming.test.js
+++ b/lib/plugins/aws/lib/naming.test.js
@@ -302,6 +302,24 @@ describe('#naming()', () => {
});
});
+ describe('#getWebsocketsLogGroupLogicalId()... | API Gateway Websockets API Logs
Implement API Gateway Logs for Websockets.
Refs https://github.com/serverless/serverless/issues/4461
| null | 2019-05-07 13:01:24+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['#naming() #getScheduleId() should add the standard suffix', '#naming() #getNormalizedFunctionName() should normalize the given functionName with a dash', '#naming() #getWebsocketsIntegrationLogicalId() should return the integrations logical id', '#naming() #getPolicyName() should use the stage and service name', '#na... | ['#naming() #getWebsocketsAccountLogicalId() should return the Websockets account logical id', '#naming() #getWebsocketsLogsRoleLogicalId() should return the Websockets logs IAM role logical id', '#naming() #getWebsocketsLogGroupLogicalId() should return the Websockets log group logical id'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/lib/naming.test.js lib/plugins/aws/package/compile/events/websockets/lib/stage.test.js --reporter json | Feature | false | true | false | false | 7 | 0 | 7 | false | false | ["lib/plugins/aws/lib/naming.js->program->method_definition:getWebsocketsAccountLogicalId", "lib/plugins/aws/package/compile/events/websockets/lib/stage.js->program->function_declaration:getAccountResource", "lib/plugins/aws/package/compile/events/websockets/lib/stage.js->program->method_definition:compileStage", "lib/... |
serverless/serverless | 6,064 | serverless__serverless-6064 | ['6047'] | 92217792c8ca3f7cde362757df3b21ecad3360b9 | diff --git a/docs/providers/aws/events/streams.md b/docs/providers/aws/events/streams.md
index 530eefb77d1..2fc9e0b4c63 100644
--- a/docs/providers/aws/events/streams.md
+++ b/docs/providers/aws/events/streams.md
@@ -44,6 +44,17 @@ functions:
type: kinesis
arn:
Fn::ImportValue: MyExpo... | diff --git a/lib/plugins/aws/package/compile/events/stream/index.test.js b/lib/plugins/aws/package/compile/events/stream/index.test.js
index 1571bab4ed8..cd15293da76 100644
--- a/lib/plugins/aws/package/compile/events/stream/index.test.js
+++ b/lib/plugins/aws/package/compile/events/stream/index.test.js
@@ -337,21 +337... | Allow Fn::Join in stream event source
<!--
1. If you have a question and not a feature request please ask first at http://forum.serverless.com
2. Please check if an issue already exists. This feature may have already been requested
3. Check out and follow our Guidelines: https://github.com/serverless/serverless/blob... | null | 2019-04-29 17:04:06+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['AwsCompileStreamEvents #compileStreamEvents() when a DynamoDB stream ARN is given fails if keys other than Fn::GetAtt/ImportValue/Join are used for dynamic stream ARN', 'AwsCompileStreamEvents #compileStreamEvents() should not throw error if custom IAM role is set in provider', 'AwsCompileStreamEvents #compileStreamE... | ['AwsCompileStreamEvents #compileStreamEvents() when a DynamoDB stream ARN is given should allow specifying DynamoDB and Kinesis streams as CFN reference types'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/compile/events/stream/index.test.js --reporter json | Feature | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/plugins/aws/package/compile/events/stream/index.js->program->class_declaration:AwsCompileStreamEvents->method_definition:compileStreamEvents"] |
serverless/serverless | 6,063 | serverless__serverless-6063 | ['2797'] | b383221d4319b53c8ef2b9c54c64e3df9395154d | diff --git a/docs/providers/aws/events/apigateway.md b/docs/providers/aws/events/apigateway.md
index 79e83da85fd..42f669955d9 100644
--- a/docs/providers/aws/events/apigateway.md
+++ b/docs/providers/aws/events/apigateway.md
@@ -47,6 +47,7 @@ layout: Doc
- [Share Authorizer](#share-authorizer)
- [Resource Policy]... | diff --git a/lib/plugins/aws/package/compile/events/apiGateway/lib/restApi.test.js b/lib/plugins/aws/package/compile/events/apiGateway/lib/restApi.test.js
index f881289f466..559d825d549 100644
--- a/lib/plugins/aws/package/compile/events/apiGateway/lib/restApi.test.js
+++ b/lib/plugins/aws/package/compile/events/apiGat... | Support New AWS APIGW Binary Responses
# This is a Feature Proposal
## Description
Previously, AWS API Gateway did not support binary responses, making it impossible to return images from your serverless API. Now they do (see https://aws.amazon.com/blogs/compute/binary-support-for-api-integrations-with-amazon-api... | Does it mean we will be able to gzip response?
My team is eagerly anticipating this feature in Serverless. We have an image resizing service that currently needs to proxy responses through a traditional server to return images... 😫
Does anybody know of a workaround we could use until this is added to Serverless?
T... | 2019-04-29 11:32:58+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['#compileRestApi() should compile correctly if apiKeySourceType property is HEADER', '#compileRestApi() should compile correctly if apiKeySourceType property is AUTHORIZER', '#compileRestApi() throw error if endpointType property is not a string', '#compileRestApi() should compile if endpointType property is PRIVATE',... | ['#compileRestApi() should set binary media types if defined at the apiGateway provider config level', '#compileRestApi() should create a REST API resource with resource policy', '#compileRestApi() should create a REST API resource'] | ['#compileRestApi() should throw error if minimumCompressionSize is not an integer', '#compileRestApi() should throw error if minimumCompressionSize is greater than 10485760', '#compileRestApi() throw error if apiKeySourceType is not HEADER or AUTHORIZER', '#compileRestApi() should throw error if minimumCompressionSize... | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/compile/events/apiGateway/lib/restApi.test.js --reporter json | Feature | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/plugins/aws/package/compile/events/apiGateway/lib/restApi.js->program->method_definition:compileRestApi"] |
serverless/serverless | 6,057 | serverless__serverless-6057 | ['4461'] | f039172f3f08b2735c6e5f1505b3a73ea6f96762 | diff --git a/docs/providers/aws/events/apigateway.md b/docs/providers/aws/events/apigateway.md
index 7ee56678461..79e83da85fd 100644
--- a/docs/providers/aws/events/apigateway.md
+++ b/docs/providers/aws/events/apigateway.md
@@ -47,7 +47,10 @@ layout: Doc
- [Share Authorizer](#share-authorizer)
- [Resource Policy... | diff --git a/lib/plugins/aws/lib/naming.test.js b/lib/plugins/aws/lib/naming.test.js
index c8420721de3..78f9a6b2377 100644
--- a/lib/plugins/aws/lib/naming.test.js
+++ b/lib/plugins/aws/lib/naming.test.js
@@ -462,6 +462,24 @@ describe('#naming()', () => {
});
});
+ describe('#getApiGatewayLogGroupLogicalId()... | API Gateway REST API Logs
# This is a Feature Proposal
## Description
So, I started today looking about how I can enable the logs on API Gateway. After some googling, I concluded that there isnt a way currently to do it with Serverless. I found a [year old discussion here](https://github.com/serverless/serverless... | Hi @kbariotis ,
I'd propose a similar solution as in my plugin 😄 . There it is possible to configure all APIG stage settings (not only the logs, most notably the trace setting and caching) and that on all possible levels (per service, per function, per endpoint). The reason why I think a possible native SLS solutio... | 2019-04-26 13:16:25+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['#naming() #getScheduleId() should add the standard suffix', '#naming() #getNormalizedFunctionName() should normalize the given functionName with a dash', '#naming() #getWebsocketsIntegrationLogicalId() should return the integrations logical id', '#naming() #getPolicyName() should use the stage and service name', '#na... | ['#naming() #getApiGatewayLogsRoleLogicalId() should return the API Gateway logs IAM role logical id', '#naming() #getApiGatewayAccountLogicalId() should return the API Gateway account logical id', '#naming() #getApiGatewayLogGroupLogicalId() should return the API Gateway log group logical id'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/lib/naming.test.js lib/plugins/aws/package/compile/events/apiGateway/lib/stage.test.js --reporter json | Feature | false | true | false | false | 7 | 0 | 7 | false | false | ["lib/plugins/aws/lib/naming.js->program->method_definition:getApiGatewayLogGroupLogicalId", "lib/plugins/aws/package/compile/events/apiGateway/lib/stage.js->program->function_declaration:getAccountResource", "lib/plugins/aws/package/compile/events/apiGateway/lib/stage.js->program->function_declaration:getIamRoleResour... |
serverless/serverless | 6,051 | serverless__serverless-6051 | ['5025'] | dc7413cee4392946253b153e6bf4d32d074bd8b5 | diff --git a/docs/providers/aws/events/apigateway.md b/docs/providers/aws/events/apigateway.md
index 444a824c873..d15e2d07baa 100644
--- a/docs/providers/aws/events/apigateway.md
+++ b/docs/providers/aws/events/apigateway.md
@@ -42,6 +42,7 @@ layout: Doc
- [Using Status Codes](#using-status-codes)
- [Cust... | diff --git a/lib/plugins/aws/package/compile/events/apiGateway/lib/validate.test.js b/lib/plugins/aws/package/compile/events/apiGateway/lib/validate.test.js
index a01f5b03392..b5be8d52fe1 100644
--- a/lib/plugins/aws/package/compile/events/apiGateway/lib/validate.test.js
+++ b/lib/plugins/aws/package/compile/events/api... | Support VPC - Link
For feature proposals:
This feature makes it possible to restrict access to api-gateway and make the solution only internally available.
https://aws.amazon.com/about-aws/whats-new/2017/11/amazon-api-gateway-supports-endpoint-integrations-with-private-vpcs/?nc1=h_ls
Advantage: Security Enhancem... | This is a duplication of #5052, closing.
A vpc-link is not the same thing as a Private API Gateway.
A Private API gateway is in a VPC and is not publicly accessible, it is only accessible from within its VPC.
[Private endpoints](https://aws.amazon.com/blogs/compute/introducing-amazon-api-gateway-private-endpoints/... | 2019-04-25 18:41:34+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['#validate() should process cors options', '#validate() should throw if an cognito claims are being with a lambda proxy', '#validate() should set authorizer defaults', '#validate() should process request parameters for HTTP_PROXY integration', '#validate() throw error if authorizer property is not a string or object',... | ['#validate() should support HTTP_PROXY integration with VPC_LINK connection type', '#validate() should throw an error when connectionId is not provided with VPC_LINK', '#validate() should throw an error when connectionType is invalid'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/compile/events/apiGateway/lib/validate.test.js --reporter json | Feature | false | true | false | false | 3 | 0 | 3 | false | false | ["lib/plugins/aws/package/compile/events/apiGateway/lib/validate.js->program->method_definition:validate", "lib/plugins/aws/package/compile/events/apiGateway/lib/method/integration.js->program->method_definition:getMethodIntegration", "lib/plugins/aws/package/compile/events/apiGateway/lib/validate.js->program->method_d... |
serverless/serverless | 6,043 | serverless__serverless-6043 | ['6012'] | 76beb286c3b48ae4471226ec54157fce209d4760 | diff --git a/docs/providers/aws/events/apigateway.md b/docs/providers/aws/events/apigateway.md
index 9adab44355e..7ee56678461 100644
--- a/docs/providers/aws/events/apigateway.md
+++ b/docs/providers/aws/events/apigateway.md
@@ -257,6 +257,15 @@ functions:
allowCredentials: false
```
+Wildcards are acce... | diff --git a/lib/plugins/aws/package/compile/events/apiGateway/lib/cors.test.js b/lib/plugins/aws/package/compile/events/apiGateway/lib/cors.test.js
index a51eac76d46..f7a7401ac21 100644
--- a/lib/plugins/aws/package/compile/events/apiGateway/lib/cors.test.js
+++ b/lib/plugins/aws/package/compile/events/apiGateway/lib/... | Support wild-cards in cors multiple origins
# This is a Feature Proposal
## Description
Allow passing wildcards in origins (example https://*.mydomain.com) so that the behaviour is similar to what you can achieve with an actual server.
* What is the use case that should be solved. The more detail you describe th... | @tdmartino Could you fix hyperlinks to PR?
https://github.com/serverless/serverless/pull/5740https://guides.github.com/features/mastering-markdown/ seems broken.
@exoego fixed links
@exoego I am not 100% sure of the process, it says we should open an issue before submitting a pr, this is the issue. If nobody comments... | 2019-04-24 19:26:35+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['#compileCors() should throw error if maxAge is not an integer greater than 0', '#compileCors() should throw error if no origin or origins is provided', '#compileCors() should throw error if maxAge is not an integer', '#compileCors() should add the methods resource logical id to the array of method logical ids'] | ['#compileCors() should create preflight method for CORS enabled resource'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/compile/events/apiGateway/lib/cors.test.js --reporter json | Feature | false | true | false | false | 2 | 0 | 2 | false | false | ["lib/plugins/aws/package/compile/events/apiGateway/lib/cors.js->program->method_definition:regexifyWildcards", "lib/plugins/aws/package/compile/events/apiGateway/lib/cors.js->program->method_definition:generateCorsResponseTemplate"] |
serverless/serverless | 6,038 | serverless__serverless-6038 | ['6035'] | 381aa728cf65bd782852b09cce6ec954a14e2cb8 | diff --git a/lib/classes/PluginManager.js b/lib/classes/PluginManager.js
index ebe0d2e45be..433e3dac735 100644
--- a/lib/classes/PluginManager.js
+++ b/lib/classes/PluginManager.js
@@ -359,6 +359,20 @@ class PluginManager {
&& (isNotEntrypoint || allowEntryPoints)) {
return current.commands[name];
... | diff --git a/lib/classes/PluginManager.test.js b/lib/classes/PluginManager.test.js
index 595c2caf6c2..b1a9a14c5ce 100644
--- a/lib/classes/PluginManager.test.js
+++ b/lib/classes/PluginManager.test.js
@@ -1586,6 +1586,107 @@ describe('PluginManager', () => {
});
});
+ describe('#getCommand()', () => {
+ b... | `sls plugin install` failing
<!--
1. If you have a question and not a bug report please ask first at http://forum.serverless.com
2. Please check if an issue already exists. This bug may have already been documented
3. Check out and follow our Guidelines: https://github.com/serverless/serverless/blob/master/CONTRIBUT... | Ahh I see what I did wrong. I searched for plugins with `$ sls plugin list | grep serverless-express` I didn't use `$ sls plugin search --query express`.
The `plugin search` command tells you that you should
```
To install a plugin run 'serverless plugin install --name plugin-name-here'
It will be automatical... | 2019-04-22 07:05:26+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['PluginManager #run() should throw an error when the given command is a container', 'PluginManager #run() when using a promise based hook function when running a simple command should run the simple command', 'PluginManager #validateOptions() should throw an error if a customValidation is not met', 'PluginManager #run... | ['PluginManager #getCommand() should not give a suggestion for valid top level command'] | ['PluginManager #loadCommands() should log the alias when SLS_DEBUG is set'] | . /usr/local/nvm/nvm.sh && npx mocha lib/classes/PluginManager.test.js --reporter json | Bug Fix | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/classes/PluginManager.js->program->class_declaration:PluginManager->method_definition:getCommand"] |
serverless/serverless | 6,010 | serverless__serverless-6010 | ['5765'] | 34a0e20f7a2c966e6557e5e7f1d42c7b8ceb78f7 | diff --git a/docs/providers/aws/guide/layers.md b/docs/providers/aws/guide/layers.md
index d0920d6c364..fa895be1c71 100644
--- a/docs/providers/aws/guide/layers.md
+++ b/docs/providers/aws/guide/layers.md
@@ -36,6 +36,7 @@ layers:
licenseInfo: GPLv3 # optional, a string specifying license information
allowedA... | diff --git a/lib/plugins/aws/package/compile/layers/index.test.js b/lib/plugins/aws/package/compile/layers/index.test.js
index 6bf8dd41419..c9ec6612408 100644
--- a/lib/plugins/aws/package/compile/layers/index.test.js
+++ b/lib/plugins/aws/package/compile/layers/index.test.js
@@ -1,5 +1,6 @@
'use strict';
+const cry... | AWS lambda layers deployment does not keep old version
<!--
1. If you have a question and not a bug report please ask first at http://forum.serverless.com
2. Please check if an issue already exists. This bug may have already been documented
3. Check out and follow our Guidelines: https://github.com/serverless/server... | Please correct me if im wrong. During a update action, CF will create a new `Lambda:LayerVersion` and replace(delete) the previous one regardless of `DeletePolicy`. So at this moment, old layer version cannot be keep due to issue of CF.
I didn't analyze it deeper, but it looks like SAM can handle that.
Anyways this sho... | 2019-04-10 13:47:42+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['AwsCompileLayers #constructor() should set the provider variable to an instance of AwsProvider', 'AwsCompileLayers #compileLayers() should use layer artifact if individually', 'AwsCompileLayers #compileLayers() should create a layer resource with permissions', 'AwsCompileLayers #compileLayers() should create a layer ... | ['AwsCompileLayers #compileLayers() should create a layer resource with a retention policy'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/compile/layers/index.test.js --reporter json | Feature | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/plugins/aws/package/compile/layers/index.js->program->class_declaration:AwsCompileLayers->method_definition:compileLayer"] |
serverless/serverless | 6,000 | serverless__serverless-6000 | ['4661'] | bbbefc8fee0e2fd531aa0b236b32802b4e511734 | diff --git a/docs/providers/aws/events/apigateway.md b/docs/providers/aws/events/apigateway.md
index b32ca8b88e1..dd3e984398a 100644
--- a/docs/providers/aws/events/apigateway.md
+++ b/docs/providers/aws/events/apigateway.md
@@ -279,7 +279,7 @@ functions:
maxAge: 86400
```
-If you are using CloudFront o... | diff --git a/lib/plugins/aws/package/compile/events/apiGateway/lib/method/index.test.js b/lib/plugins/aws/package/compile/events/apiGateway/lib/method/index.test.js
index 705e477ce50..0c457203dab 100644
--- a/lib/plugins/aws/package/compile/events/apiGateway/lib/method/index.test.js
+++ b/lib/plugins/aws/package/compil... | Support authorization scopes for COGNITO_USER_POOLS authorizer
# This is a Feature Proposal
## Description
When using client credentials flow with Cognito, API Gateway provides the `authorizationScopes` property on the API Gateway Method to match against scopes in the access token.
This is currently only suppo... | +1
+1
+1
+1
Do it finally!!!!
I hate to do this and spam but +1 for me as well, this is super important and a missing piece.
Thanks,
Dan
Any news on this?
Has anyone posted on the AWS forums requesting this feature be implemented in CloudFormation? I haven't found anything
It looks like this is possible via API cal... | 2019-04-05 05:38:18+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['#compileMethods() should add multiple response templates for a custom response codes', '#compileMethods() should add method responses for different status codes', '#compileMethods() should set api key as not required if private property is not specified', '#compileMethods() when dealing with request configuration sho... | ['#compileMethods() should set authorizer config for a cognito user pool'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/compile/events/apiGateway/lib/method/index.test.js --reporter json | Feature | false | true | false | false | 2 | 0 | 2 | false | false | ["lib/plugins/aws/package/compile/events/apiGateway/lib/validate.js->program->method_definition:getAuthorizer", "lib/plugins/aws/package/compile/events/apiGateway/lib/method/authorization.js->program->method_definition:getMethodAuthorization"] |
serverless/serverless | 5,994 | serverless__serverless-5994 | ['5993'] | 15ca8ace6b22a5c1b9f22c9f310c591ca03eb2ea | diff --git a/docs/providers/aws/cli-reference/invoke-local.md b/docs/providers/aws/cli-reference/invoke-local.md
index f360552620a..e9a51687d72 100644
--- a/docs/providers/aws/cli-reference/invoke-local.md
+++ b/docs/providers/aws/cli-reference/invoke-local.md
@@ -31,6 +31,7 @@ serverless invoke local --function functi... | diff --git a/lib/plugins/aws/invokeLocal/index.test.js b/lib/plugins/aws/invokeLocal/index.test.js
index c88c8ec316f..d858494737a 100644
--- a/lib/plugins/aws/invokeLocal/index.test.js
+++ b/lib/plugins/aws/invokeLocal/index.test.js
@@ -1161,6 +1161,7 @@ describe('AwsInvokeLocal', () => {
runtime: 'nodejs8.1... | Ability to pass docker run arguments during invoke local docker
<!--
1. If you have a question and not a feature request please ask first at http://forum.serverless.com
2. Please check if an issue already exists. This feature may have already been requested
3. Check out and follow our Guidelines: https://github.com... | null | 2019-04-03 13:33:58+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ["AwsInvokeLocal #invokeLocalNodeJs promise by callback method even if callback isn't called syncronously should succeed once if succeed if by callback", 'AwsInvokeLocal #constructor() should set an empty options object if no options are given', 'AwsInvokeLocal #invokeLocalNodeJs promise should exit with error exit cod... | ['AwsInvokeLocal #getDockerArgsFromOptions returns arg split by space when single docker-arg option is present', 'AwsInvokeLocal #getDockerArgsFromOptions returns arg split only by first space when docker-arg option has multiple space', 'AwsInvokeLocal #getDockerArgsFromOptions returns empty list when docker-arg option... | ['AwsInvokeLocal #extendedValidate() should skip parsing context if "raw" requested', 'AwsInvokeLocal #extendedValidate() it should parse file if relative file path is provided', 'AwsInvokeLocal #extendedValidate() should resolve if path is not given', 'AwsInvokeLocal #extendedValidate() should parse context if it is a... | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/invokeLocal/index.test.js --reporter json | Feature | false | false | false | true | 3 | 1 | 4 | false | false | ["lib/plugins/aws/invokeLocal/index.js->program->class_declaration:AwsInvokeLocal->method_definition:getDockerArgsFromOptions", "lib/plugins/invoke/invoke.js->program->class_declaration:Invoke->method_definition:constructor", "lib/plugins/aws/invokeLocal/index.js->program->class_declaration:AwsInvokeLocal", "lib/plugin... |
serverless/serverless | 5,988 | serverless__serverless-5988 | ['5945'] | 34a0e20f7a2c966e6557e5e7f1d42c7b8ceb78f7 | diff --git a/lib/plugins/aws/invokeLocal/index.js b/lib/plugins/aws/invokeLocal/index.js
index 4f312ae379a..cc75d1dadba 100644
--- a/lib/plugins/aws/invokeLocal/index.js
+++ b/lib/plugins/aws/invokeLocal/index.js
@@ -103,6 +103,12 @@ class AwsInvokeLocal {
});
}
+ getConfiguredEnvVars() {
+ const provider... | diff --git a/lib/plugins/aws/invokeLocal/index.test.js b/lib/plugins/aws/invokeLocal/index.test.js
index f767643bb36..72c52e6e66e 100644
--- a/lib/plugins/aws/invokeLocal/index.test.js
+++ b/lib/plugins/aws/invokeLocal/index.test.js
@@ -1153,6 +1153,9 @@ describe('AwsInvokeLocal', () => {
serverless.setProvider(... | invoke local docker does not set environment variables configured in serverless.yml
<!--
1. If you have a question and not a bug report please ask first at http://forum.serverless.com
2. Please check if an issue already exists. This bug may have already been documented
3. Check out and follow our Guidelines: https:/... | Same issue occurs when environment variables are passed as command line argument as well
```
sls invoke local -f hello -e SOME_ENV_VAR=foo --docker
``` | 2019-04-02 04:38:18+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ["AwsInvokeLocal #invokeLocalNodeJs promise by callback method even if callback isn't called syncronously should succeed once if succeed if by callback", 'AwsInvokeLocal #constructor() should set an empty options object if no options are given', 'AwsInvokeLocal #invokeLocalNodeJs promise should exit with error exit cod... | ['AwsInvokeLocal #getEnvVarsFromOptions returns key with empty value for option without =', 'AwsInvokeLocal #getEnvVarsFromOptions returns key value for option separated by =', 'AwsInvokeLocal #getEnvVarsFromOptions returns empty object when env option is not set', 'AwsInvokeLocal #getEnvVarsFromOptions returns key wit... | ['AwsInvokeLocal #extendedValidate() should skip parsing context if "raw" requested', 'AwsInvokeLocal #extendedValidate() it should parse file if relative file path is provided', 'AwsInvokeLocal #extendedValidate() should resolve if path is not given', 'AwsInvokeLocal #extendedValidate() should parse context if it is a... | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/invokeLocal/index.test.js --reporter json | Bug Fix | false | false | false | true | 4 | 1 | 5 | false | false | ["lib/plugins/aws/invokeLocal/index.js->program->class_declaration:AwsInvokeLocal->method_definition:getConfiguredEnvVars", "lib/plugins/aws/invokeLocal/index.js->program->class_declaration:AwsInvokeLocal", "lib/plugins/aws/invokeLocal/index.js->program->class_declaration:AwsInvokeLocal->method_definition:getEnvVarsFro... |
serverless/serverless | 5,982 | serverless__serverless-5982 | ['5935'] | 10b7d722502d65b0f628d3f23929f0a450ec6cbd | diff --git a/docs/providers/aws/events/apigateway.md b/docs/providers/aws/events/apigateway.md
index 63ebd290228..9f21501e7fa 100644
--- a/docs/providers/aws/events/apigateway.md
+++ b/docs/providers/aws/events/apigateway.md
@@ -280,7 +280,7 @@ functions:
maxAge: 86400
```
-If you are using CloudFront o... | diff --git a/lib/plugins/aws/info/display.test.js b/lib/plugins/aws/info/display.test.js
index fac3a1969ca..76e5bdb9d43 100644
--- a/lib/plugins/aws/info/display.test.js
+++ b/lib/plugins/aws/info/display.test.js
@@ -79,12 +79,16 @@ describe('#display()', () => {
});
it('should display API keys if given', () =>... | Enable Setting Amazon API Gateway API Key Value
# This is a Feature Proposal
## Description
Finally, AWS added support for defining API Key value using CloudFront. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-apikey.html#cfn-apigateway-apikey-value
This will help in th... | I can take this one
Great! Thanks @laardee :+1: | 2019-03-30 22:05:29+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['#getApiKeyValues() should resolve if API key names are not available', '#display() should display general service info', '#display() should display a warning if 150+ resources', '#display() should display https endpoints if given', '#display() should display wss endpoint if given', '#display() should not display any ... | ['#compileUsagePlanKeys() should support api key notation', '#compileApiKeys() when using usage plan notation should support usage plan notation', '#compileApiKeys() throw error if an apiKey is not a valid object', '#compileUsagePlanKeys() when using usage plan notation should support usage plan notation', '#display() ... | ['#getApiKeyValues() should add API Key values to this.gatheredData if API key names are available', '#getApiKeyValues() should resolve if AWS does not return API key values'] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/compile/events/apiGateway/lib/apiKeys.test.js lib/plugins/aws/package/compile/events/apiGateway/lib/usagePlanKeys.test.js lib/plugins/aws/info/getApiKeyValues.test.js lib/plugins/aws/info/display.test.js --reporter json | Feature | false | true | false | false | 6 | 0 | 6 | false | false | ["lib/plugins/aws/package/compile/events/apiGateway/lib/apiKeys.js->program->function_declaration:createApiKeyResource", "lib/plugins/aws/info/display.js->program->method_definition:displayApiKeys", "lib/plugins/aws/package/compile/events/apiGateway/lib/usagePlanKeys.js->program->method_definition:compileUsagePlanKeys"... |
serverless/serverless | 5,970 | serverless__serverless-5970 | ['4846'] | 90a7adf8f60b9ab450fd7c2e3df425d8e4066307 | diff --git a/docs/providers/aws/events/apigateway.md b/docs/providers/aws/events/apigateway.md
index 8031b83d1f8..63ebd290228 100644
--- a/docs/providers/aws/events/apigateway.md
+++ b/docs/providers/aws/events/apigateway.md
@@ -543,6 +543,45 @@ Please note that those are the API keys names, not the actual values. Once... | diff --git a/lib/plugins/aws/info/getApiKeyValues.test.js b/lib/plugins/aws/info/getApiKeyValues.test.js
index 4a04c8e4e73..74186f1ad40 100644
--- a/lib/plugins/aws/info/getApiKeyValues.test.js
+++ b/lib/plugins/aws/info/getApiKeyValues.test.js
@@ -27,7 +27,7 @@ describe('#getApiKeyValues()', () => {
awsInfo.provi... | Multiple usage plans
<!--
1. If you have a question and not a bug/feature request please ask it at http://forum.serverless.com
2. Please check if an issue already exists so there are no duplicates
3. Check out and follow our Guidelines: https://github.com/serverless/serverless/blob/master/CONTRIBUTING.md
4. Fill ou... | This would be extremely helpful!
I definitely could use this functionality as well! | 2019-03-28 14:02:38+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['#naming() #getScheduleId() should add the standard suffix', '#naming() #getNormalizedFunctionName() should normalize the given functionName with a dash', '#naming() #getWebsocketsIntegrationLogicalId() should return the integrations logical id', '#naming() #getPolicyName() should use the stage and service name', '#na... | ['#compileUsagePlanKeys() should support string notations', '#compileUsagePlan() should support custom usage plan resource via single object notation', '#naming() #getApiKeyLogicalId(keyIndex) should support API Key names', '#naming() #getUsagePlanKeyLogicalId() should support API Key names', '#naming() #getUsagePlanLo... | ['#getApiKeyValues() should add API Key values to this.gatheredData if typed API key names are available', '#getApiKeyValues() should add API Key values to this.gatheredData if simple API key names are available', '#getApiKeyValues() should resolve if AWS does not return API key values'] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/compile/events/apiGateway/lib/apiKeys.test.js lib/plugins/aws/info/getApiKeyValues.test.js lib/plugins/aws/package/compile/events/apiGateway/lib/usagePlanKeys.test.js lib/plugins/aws/package/compile/events/apiGateway/lib/usagePlan.test.js lib/plugins/aws/lib/... | Feature | false | true | false | false | 10 | 0 | 10 | false | false | ["lib/plugins/aws/package/compile/events/apiGateway/lib/usagePlan.js->program->method_definition:compileUsagePlan", "lib/plugins/aws/package/compile/events/apiGateway/lib/usagePlanKeys.js->program->function_declaration:createUsagePlanKeyResource", "lib/plugins/aws/package/compile/events/apiGateway/lib/apiKeys.js->progr... |
serverless/serverless | 5,956 | serverless__serverless-5956 | ['3464'] | 381aa728cf65bd782852b09cce6ec954a14e2cb8 | diff --git a/docs/providers/aws/events/apigateway.md b/docs/providers/aws/events/apigateway.md
index 0a50158a4b8..b319692e4e6 100644
--- a/docs/providers/aws/events/apigateway.md
+++ b/docs/providers/aws/events/apigateway.md
@@ -24,6 +24,7 @@ layout: Doc
- [Setting API keys for your Rest API](#setting-api-keys-for... | diff --git a/lib/plugins/aws/lib/naming.test.js b/lib/plugins/aws/lib/naming.test.js
index da0557213e5..3eee2e78751 100644
--- a/lib/plugins/aws/lib/naming.test.js
+++ b/lib/plugins/aws/lib/naming.test.js
@@ -390,6 +390,22 @@ describe('#naming()', () => {
});
});
+ describe('#getValidatorLogicalId()', () => ... | Add support for AWS API Gateway Basic Request Validation
<!--
1. If you have a question and not a bug/feature request please ask it at http://forum.serverless.com
2. Please check if an issue already exists so there are no duplicates
3. Check out and follow our Guidelines: https://github.com/serverless/serverless/blo... | 👍
@pmuens This would be a great effort, and thanks for taking this as a feature (on April 12). And I am curious what the status/help-wanted label means here (April 12), does that mean you need some volunteer to implement this? (If so, I am interested further discussing this issue)
PS: here is a question I asked rel... | 2019-03-26 14:08:23+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['#naming() #getScheduleId() should add the standard suffix', '#naming() #getNormalizedFunctionName() should normalize the given functionName with a dash', '#compileMethods() should set api key as not required if private property is not specified', '#naming() #getWebsocketsIntegrationLogicalId() should return the integ... | ['#compileMethods() should have request validators/models defined when they are set', '#naming() #getValidatorLogicalId() ', '#naming() #getModelLogicalId() '] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/lib/naming.test.js lib/plugins/aws/package/compile/events/apiGateway/lib/method/index.test.js --reporter json | Feature | false | true | false | false | 4 | 0 | 4 | false | false | ["lib/plugins/aws/package/compile/events/apiGateway/lib/validate.js->program->method_definition:validate", "lib/plugins/aws/package/compile/events/apiGateway/lib/method/index.js->program->method_definition:compileMethods", "lib/plugins/aws/lib/naming.js->program->method_definition:getValidatorLogicalId", "lib/plugins/a... |
serverless/serverless | 5,926 | serverless__serverless-5926 | ['2233'] | 660804d4a6e471825e291a26413bbbf2cb365dc9 | diff --git a/docs/providers/aws/guide/resources.md b/docs/providers/aws/guide/resources.md
index 4384818fd8b..46e085729b6 100644
--- a/docs/providers/aws/guide/resources.md
+++ b/docs/providers/aws/guide/resources.md
@@ -52,12 +52,12 @@ You can overwrite/attach any kind of resource to your CloudFormation stack. You
... | diff --git a/lib/Serverless.test.js b/lib/Serverless.test.js
index cb31dedc68e..abdc4dc5a3e 100644
--- a/lib/Serverless.test.js
+++ b/lib/Serverless.test.js
@@ -125,6 +125,10 @@ describe('Serverless', () => {
serverless.pluginManager.updateAutocompleteCacheFile.restore();
});
+ it('should set an instan... | Not possible to create resources that depend on the ApiGateway::Deployment
<!--
1. If you have a question and not a bug/feature request please ask it at http://forum.serverless.com
2. Please check if an issue already exists so there are no duplicates
3. Check out and follow our Guidelines: https://github.com/serverless... | thanks @alexanderbh for reporting. The main problem is we need to append a random number to the deployment, otherwise on the next deployment nothing happens and the API updates don't get deployed (you can test that locally when removing the random part).
The only real way I see at the moment to do this would be using ... | 2019-03-15 13:54:09+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['Serverless #constructor() should store the Service class inside the classes object', 'Serverless #constructor() should set the servicePath property if it was set in the config object', 'Variables #prepopulateService basic population tests should populate variables in profile values', '#naming() #getScheduleId() shoul... | ['Variables #getValueFromSls() should get variable from Serverless Framework provided variables', '#naming() #generateApiGatewayDeploymentLogicalId() should return ApiGatewayDeployment with a suffix', '#naming() #getWebsocketsDeploymentLogicalId() should return the websockets deployment logical id'] | ['Variables #populateObject() should populate object and return it', 'Variables #overwrite() should overwrite undefined and null values', 'Variables #overwrite() should overwrite empty object values', 'Variables #getValueFromSource() "after each" hook for "should call getValueFromSls if referencing sls var"', 'Variable... | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/lib/naming.test.js lib/plugins/aws/package/compile/events/websockets/lib/stage.test.js lib/Serverless.test.js lib/classes/Variables.test.js --reporter json | Bug Fix | false | false | false | true | 8 | 1 | 9 | false | false | ["lib/classes/Variables.js->program->class_declaration:Variables->method_definition:getValueFromSls", "lib/classes/Variables.js->program->class_declaration:Variables->method_definition:constructor", "lib/plugins/aws/lib/naming.js->program->method_definition:getWebsocketsDeploymentLogicalId", "lib/plugins/aws/lib/naming... |
serverless/serverless | 5,898 | serverless__serverless-5898 | ['4862'] | 0d7f7f49be02fc97ed90524e74b70adb0bf737d5 | diff --git a/docs/providers/aws/events/apigateway.md b/docs/providers/aws/events/apigateway.md
index 3449c6a836c..f3c2912c09a 100644
--- a/docs/providers/aws/events/apigateway.md
+++ b/docs/providers/aws/events/apigateway.md
@@ -483,6 +483,21 @@ functions:
- nickname
```
+### Using asyncronous integra... | diff --git a/lib/plugins/aws/package/compile/events/apiGateway/lib/method/index.test.js b/lib/plugins/aws/package/compile/events/apiGateway/lib/method/index.test.js
index d558150bd98..705e477ce50 100644
--- a/lib/plugins/aws/package/compile/events/apiGateway/lib/method/index.test.js
+++ b/lib/plugins/aws/package/compil... | Add support for asynchronous lambda invocation with integration type AWS
# This is a Feature Proposal
## Description
API Gateway supports asynchronous lambda invocation when integration type is AWS. Described here:
https://docs.aws.amazon.com/apigateway/latest/developerguide/integrating-api-with-aws-services-lam... | @jjkirby Developed the following resource override to use as a work-around until the feature proposal is complete:
```yaml
resources:
Resources:
ApiGatewayMethodUsersPost:
Type: AWS::ApiGateway::Method
Properties:
HttpMethod: POST
Integration:
IntegrationHttpM... | 2019-03-04 19:20:24+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['#compileMethods() should set api key as not required if private property is not specified', '#validate() should set authorizer defaults', '#validate() should set default statusCodes to response for lambda by default', '#validate() should throw if request is malformed', '#compileMethods() should set authorizer config ... | ['#compileMethods() should add request parameter when integration type is AWS_PROXY and async', '#compileMethods() should add request parameter when async config is used', '#validate() should support async AWS integration'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/compile/events/apiGateway/lib/validate.test.js lib/plugins/aws/package/compile/events/apiGateway/lib/method/index.test.js --reporter json | Feature | false | true | false | false | 3 | 0 | 3 | false | false | ["lib/plugins/aws/package/compile/events/apiGateway/lib/method/integration.js->program->method_definition:getMethodIntegration", "lib/plugins/aws/package/compile/events/apiGateway/lib/method/integration.js->program->method_definition:getIntegrationRequestParameters", "lib/plugins/aws/package/compile/events/apiGateway/l... |
serverless/serverless | 5,885 | serverless__serverless-5885 | ['5873'] | 3fdc6ff8cf6d2196a34fa110bb4302d8d011a501 | diff --git a/lib/plugins/aws/lib/normalizeFiles.js b/lib/plugins/aws/lib/normalizeFiles.js
index a8df6ac3bbf..e0150cc18ca 100644
--- a/lib/plugins/aws/lib/normalizeFiles.js
+++ b/lib/plugins/aws/lib/normalizeFiles.js
@@ -6,8 +6,11 @@ module.exports = {
normalizeCloudFormationTemplate(template) {
const normalize... | diff --git a/lib/plugins/aws/lib/normalizeFiles.test.js b/lib/plugins/aws/lib/normalizeFiles.test.js
index de1020f09b5..8f1f25dd34c 100644
--- a/lib/plugins/aws/lib/normalizeFiles.test.js
+++ b/lib/plugins/aws/lib/normalizeFiles.test.js
@@ -35,6 +35,64 @@ describe('normalizeFiles', () => {
});
});
+ it... | Didn't skip deployment if unchanged function has event
<!--
1. If you have a question and not a bug report please ask first at http://forum.serverless.com
2. Please check if an issue already exists. This bug may have already been documented
3. Check out and follow our Guidelines: https://github.com/serverless/server... | null | 2019-03-01 09:16:54+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['normalizeFiles #normalizeCloudFormationTemplate() should reset the S3 content keys for Lambda layer versions', 'normalizeFiles #normalizeCloudFormationTemplate() should keep other resources untouched', 'normalizeFiles #normalizeCloudFormationTemplate() should reset the S3 code keys for Lambda functions'] | ['normalizeFiles #normalizeCloudFormationTemplate() should remove the API Gateway Deployment random id'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/lib/normalizeFiles.test.js --reporter json | Bug Fix | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/plugins/aws/lib/normalizeFiles.js->program->method_definition:normalizeCloudFormationTemplate"] |
serverless/serverless | 5,880 | serverless__serverless-5880 | ['5868'] | 0293040164fe240f2c171ac2357587a77b7afa0f | diff --git a/lib/plugins/aws/package/compile/events/websockets/lib/api.js b/lib/plugins/aws/package/compile/events/websockets/lib/api.js
index 0dbd2804585..f52067a6a67 100644
--- a/lib/plugins/aws/package/compile/events/websockets/lib/api.js
+++ b/lib/plugins/aws/package/compile/events/websockets/lib/api.js
@@ -23,20 +... | diff --git a/lib/plugins/aws/package/compile/events/websockets/lib/api.test.js b/lib/plugins/aws/package/compile/events/websockets/lib/api.test.js
index bf31fbcbb9d..a3ed46155c2 100644
--- a/lib/plugins/aws/package/compile/events/websockets/lib/api.test.js
+++ b/lib/plugins/aws/package/compile/events/websockets/lib/api... | WebSockets custom function roles crash
<!--
1. If you have a question and not a bug report please ask first at http://forum.serverless.com
2. Please check if an issue already exists. This bug may have already been documented
3. Check out and follow our Guidelines: https://github.com/serverless/serverless/blob/master... | Thanks a lot for reporting this @chris-feist . I think I know what's going on, I'll push a fix very soon. | 2019-02-28 12:12:47+00:00 | JavaScript | FROM polybench_javascript_base
WORKDIR /testbed
COPY . .
RUN . /usr/local/nvm/nvm.sh && rm -rf node_modules && npm install --force | ['#compileApi() should create a websocket api resource', '#compileApi() should add the websockets policy'] | ['#compileApi() should NOT add the websockets policy if role resource does not exist'] | [] | . /usr/local/nvm/nvm.sh && npx mocha lib/plugins/aws/package/compile/events/websockets/lib/api.test.js --reporter json | Bug Fix | false | true | false | false | 1 | 0 | 1 | true | false | ["lib/plugins/aws/package/compile/events/websockets/lib/api.js->program->method_definition:compileApi"] |
Subsets and Splits
Top Repos by Test Count
Lists the top 1000 repositories by the number of entries, providing a basic count of entries per repository.
Unique Repo Selection
Lists unique repository names from the dataset, providing a basic overview of the repositories present.