4374 Commits

Author SHA1 Message Date
Jon Sharratt
afa64a1423 remove include property from yml templates 2016-10-01 11:11:36 +01:00
Jon Sharratt
ee494f5d20 update packaging docs for glob ability 2016-10-01 11:11:36 +01:00
Jon Sharratt
d05258516e use sync instead for globbing 2016-10-01 11:11:36 +01:00
Jon Sharratt
e17e4e44cf update readme for package plugin about globs 2016-10-01 11:11:36 +01:00
Jon Sharratt
204632b10e throw glob errors 2016-10-01 11:11:36 +01:00
Jon Sharratt
2d748e3d76 include dot files and fix .serverless glob 2016-10-01 11:11:36 +01:00
Jon Sharratt
28c643ffe5 fix linting issues for zipService changes 2016-10-01 11:11:36 +01:00
Jon Sharratt
c5f7ac9285 update shrinkwrap for additional deps 2016-10-01 11:11:36 +01:00
Jon Sharratt
1735998160 use exclude as globs for zip file 2016-10-01 11:11:36 +01:00
Jon Sharratt
6861a6bdd1 remove passing of include through to package service 2016-10-01 11:11:36 +01:00
Jon Sharratt
8d19078c9f add glob dependency to project 2016-10-01 11:11:36 +01:00
Philipp Muens
c1f10c9556 Fix Promise chain in deployFunction plugin 2016-09-30 15:09:47 -07:00
Philipp Muens
94792284c8 Merge pull request #2198 from zorrofox/master
fix: #1973 deploy fails with unhelpful error message when service name is not a valid CF stack name
2016-09-30 23:03:01 +02:00
Philipp Muens
b8f4b2cf83 Merge pull request #2223 from marcuswhybrow/patch-2
[DOCS] Fix AWS::ApiGateway::Method format
2016-09-30 23:01:49 +02:00
David Tanner
b97c7176d5 Fix issue using this.bucketName, but the bucket on the service package instead.
Also added the content-type to the json file so you can read the file in the browser.
2016-09-30 08:30:35 -06:00
Mohamed Gharsallah
c0489ad754 update tests 2016-09-30 14:42:07 +01:00
Mohamed Gharsallah
645491e63b remove not important s3 event verification 2016-09-30 14:41:59 +01:00
David Tanner
83dfb88302 Fix typos 2016-09-30 05:45:51 -06:00
Marcus Whybrow
6c3e5d8b4e [DOCS] Fix AWS::ApiGateway::Method format
According to the AWS docs `ResourceId` and `RestApiId` should be members of `Properties`
2016-09-30 10:24:37 +01:00
zorrofox
9d04ca0a68 modify error message according to the review 2016-09-30 09:22:20 +01:00
Philipp Muens
7d63e439a0 Merge pull request #2128 from DaxChen/patch-1
[DOCS] Fix docs example code in YML: strings should be quoted
2016-09-29 18:54:29 -07:00
Philipp Muens
6bf6df55dd Merge pull request #2232 from alexanderbh/patch-1
Updated docs: Changed the RestApiId logical name
2016-09-29 18:29:36 -07:00
Florian Motlik
e099533491 Merge pull request #2236 from serverless/eahefnawy-patch-1
update license year
2016-09-29 09:15:56 +02:00
Eslam λ Hefnawy
a3e03fcfcc update license year 2016-09-29 10:25:58 +07:00
Austen
a249a7d2d8 cleanup readme 2016-09-28 13:45:41 -07:00
Austen
86ad6227a1 add plugins and services to readme 2016-09-28 13:44:26 -07:00
Doug Moscrop
a0cde12edc add Merge plugin commands 2016-09-28 13:45:04 -04:00
Doug Moscrop
0c452a6af8 fix Verify that a command is valid before trying to populate variables 2016-09-28 11:34:50 -04:00
Doug Moscrop
d50531b4dc fix #2041 variable population fails for help commands 2016-09-28 11:34:50 -04:00
Doug Moscrop
19f5bfb27f refactor PluginManager and CLI to better support command nesting 2016-09-28 11:34:50 -04:00
David Tanner
71c649b6aa Fix linting issue 2016-09-28 09:33:00 -06:00
David Tanner
f544b778cb Cleaning up the tests to avoid timeouts, might be because of writing file? 2016-09-28 09:27:43 -06:00
David Tanner
4f9f173a3c Fix linting issues, and restore deployFunction 2016-09-28 09:09:21 -06:00
David Tanner
68ef4ceab7 Move CF stack configuration to one place.
The stack is now set up in one place.
The S3 bucket isn't created on create if a bucket is already specified.
Working on configurability for the developer.
There is still the possibility of failing to deploy the stack
if the iamRoleArn is set, and a deploymentBucket is specified
2016-09-28 08:27:09 -06:00
Florian Motlik
e1adf6e921 Merge pull request #2175 from serverless/fix-api-key-value-displaying-in-info-plugin
Fix api key value displaying in info plugin
2016-09-28 16:03:21 +02:00
Alexander Hansen
5d07e285d5 Updated docs: Changed the RestApiId logical name
This was changed in commit:
a5e3c31974

But not changed in the docs.
2016-09-28 10:10:47 +02:00
Florian Motlik
637d0b8e36 Merge pull request #2230 from serverless/pr-2090
Quick fix for #2090
2016-09-28 09:08:47 +02:00
eL0ck
4fa7457f24 fixed. Was incorrectly catching non-http events as empty http events 2016-09-28 08:49:51 +02:00
eL0ck
0f2510eac4 fixed inconsistent error message 2016-09-28 08:49:51 +02:00
eL0ck
dc0b252564 fixed merge error. Tests all passing 2016-09-28 08:49:51 +02:00
eL0ck
228d52cc7c remove redundant service list 2016-09-28 08:49:51 +02:00
eL0ck
a1563a3a73 fix http event validation 2016-09-28 08:47:43 +02:00
Florian Motlik
bac20da38a Merge pull request #2227 from dougmoscrop/fix_other_providers
fix #2226 non-aws providers throw an error
2016-09-28 08:34:22 +02:00
Florian Motlik
792509084f Merge pull request #2218 from localytics/template_scala_sbt
add aws-scala-sbt template for scala lambdas
2016-09-28 08:30:14 +02:00
Erik Erikson
2cfd611329 Rebuild Credential Handling
(scoped to AWS)
Previously you had a number of options, including legacy options for loading credentials.  Given the 0.x=>1.x change, we can drop a lot of the old approaches.  This PR attempts to bring all the good things.

The options for loading credentials are as follows:
1. define credentials on serverless.yml=>service.provider.credentials = { accessKeyId: 'accessKeyId', secretAccessKey: 'secretAccessKey', sessionToken: 'sessionToken' }
2. define a profile from which to get credentials on serverless.yml=>service.provider.profile = 'profile-name' (all profiles loaded using AWS.SharedIniFileCredentials, see http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/SharedIniFileCredentials.html)
3. define credentials for all stages using the standard AWS environment variables (see http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/EnvironmentCredentials.html)
4. define a profile for all stages using the environment variable AWS_PROFILE
5. define credentials for each stage using the standard AWS environment variables with the STAGE name inserted (e.g. stage='test', envVarName='AWS_TEST_*')
6. define a profile for each stage using an environment variable `AWS_${stageName.toUpperCase()}_PROFILE`

If credentials/profiles are declared in multiple ways, the later cases will override the former.

These use cases previously covered all user requirements but the current implemenation allows for an expansion of mechanisms if more mechanisms are desirable.
2016-09-27 16:08:00 -07:00
Mohamed Gharsallah
9db30f620b Add unit tests 2016-09-27 21:30:55 +01:00
Mohamed Gharsallah
b69d1c0dc6 check for event prop when s3 rules prop is defined 2016-09-27 21:30:15 +01:00
David Wells
a06f4f0645 Merge pull request #2228 from serverless/DavidWells-patch-1
Remove broken link
2016-09-27 10:15:52 -07:00
David Wells
3d6f22fb47 Remove broken link 2016-09-27 10:09:03 -07:00
Doug Moscrop
2aab2a2ccc fix #2226 non-aws providers throw an error 2016-09-27 11:59:31 -04:00