3108 Commits

Author SHA1 Message Date
Philipp Muens
8ea06053a2 Fix s3 is undefined bug 2016-06-14 20:03:56 +02:00
Philipp Muens
5eed5c3621 Merge pull request #1318 from serverless/add-more-docs-for-event-usage
Add more docs for event usage
2016-06-14 10:50:05 +02:00
Philipp Muens
8f913b2e59 Add more docs for event usage 2016-06-14 10:45:28 +02:00
Philipp Muens
500ef2daa8 Merge pull request #1317 from serverless/add-docs-for-serverless-service-files
Add docs for Serverless service files
2016-06-14 10:44:20 +02:00
Philipp Muens
42bd7a4371 Add docs for Serverless service files
Fix some minor stuff alongside.
2016-06-14 09:30:40 +02:00
Philipp Muens
76ebd07d8c Merge pull request #1315 from serverless/add-event-sources-concept-to-docs
Add event sources concept to docs
2016-06-14 08:48:40 +02:00
Philipp Muens
d7b6c6ff75 Add event sources concept to docs
Updated the services definition to reflect the recent changes and fixed some minor
stuff.
2016-06-13 19:42:17 +02:00
Eslam λ Hefnawy
51fca4d663 Merge pull request #1309 from serverless/add-tutorial-for-event-sources
Add tutorial for event sources
2016-06-13 18:09:49 +02:00
Philipp Muens
37d876b55c Add tutorial for event sources 2016-06-13 12:53:47 +02:00
Eslam λ Hefnawy
08d385b966 Merge pull request #1301 from serverless/schedule
Adde Schedule Event Source support
2016-06-10 17:05:34 +02:00
Eslam A. Hefnawy
bb22303e4c commented out schedule from serverless.yaml 2016-06-10 16:57:48 +02:00
Eslam A. Hefnawy
e56f61718e added Event to resource names 2016-06-10 16:57:48 +02:00
Eslam A. Hefnawy
21adc30ded fix docs 2016-06-10 16:57:48 +02:00
Eslam A. Hefnawy
87ae951335 fixed copy type 2016-06-10 16:57:48 +02:00
Eslam A. Hefnawy
9f64281bc3 fix copy typo 2016-06-10 16:57:48 +02:00
Eslam A. Hefnawy
2c7ae54eac added docs for schedules 2016-06-10 16:56:48 +02:00
Eslam A. Hefnawy
4060ad6507 removed options obj 2016-06-10 16:55:14 +02:00
Eslam A. Hefnawy
11a5507f31 removed outdated comment 2016-06-10 16:55:14 +02:00
Eslam A. Hefnawy
f23ae6933f added schedule event 2016-06-10 16:55:14 +02:00
Philipp Muens
b114b995c1 Merge pull request #1300 from serverless/improve-docs
Improve docs
2016-06-10 15:17:11 +02:00
Philipp Muens
f5c7f65d8f Add "Your first service" tutorial to docs 2016-06-10 15:12:16 +02:00
Philipp Muens
7bf85e99ea Improve docs 2016-06-10 14:42:31 +02:00
Eslam λ Hefnawy
59e815089a Merge pull request #1302 from serverless/append-namespaces-to-s3-event-resources
Append namespaces to s3 event resources
2016-06-10 14:20:48 +02:00
Philipp Muens
1403088b29 Append namespaces to s3 event resources 2016-06-10 14:09:15 +02:00
Philipp Muens
5ad1c4fc7c Merge pull request #1299 from serverless/remove-namespacing-of-s3-event-bucket
Remove namespacing of S3 event bucket
2016-06-10 12:00:21 +02:00
Philipp Muens
df25e0af48 Remove namespacing of S3 event bucket
This way users are not confused if they won't find their bucket because of the
namespacing that was previously applied.
2016-06-10 11:21:18 +02:00
Philipp Muens
a3ddd92093 Merge pull request #1298 from serverless/rename-aws-remove-resources-plugin
Rename "awsRemoveResources" to "awsRemove"
2016-06-10 10:47:23 +02:00
Philipp Muens
60e7be805d Rename "awsRemoveResources" to "awsRemove"
This way it's less verbose and sticks to the overall used naming convention.
2016-06-10 10:40:37 +02:00
Philipp Muens
8c93317fb0 Merge pull request #1296 from serverless/comment-out-s3-events-in-serverless-yaml
Comment out S3 events in serverless.yaml
2016-06-10 09:14:43 +02:00
Philipp Muens
a3a7440c32 Add check if S3 events are available
Add this check so that the forEach loop won't fail if the user has not setup an
S3 event.
2016-06-10 09:05:42 +02:00
Philipp Muens
e72208bf48 Comment out S3 events in serverless.yaml
Comment out the S3 events as they may clash because of naming problems
(name should be globally unique) with the generated S3 buckets when running
integration tests in parallel.
2016-06-10 08:45:26 +02:00
Philipp Muens
7d44c4119f Merge pull request #1295 from serverless/travis-improvements
Run integration tests and eslint for job 1 only
2016-06-10 08:33:45 +02:00
Florian Motlik
ce7edee6a5 Run integration tests and eslint for job 1 only 2016-06-10 08:24:04 +02:00
Philipp Muens
01596d1486 Merge pull request #1292 from serverless/fix-linting-errors
Fix linting errors and reduce ratchet to 100
2016-06-10 08:23:14 +02:00
Philipp Muens
24b90af89d Fix linting errors and reduce ratchet to 100 2016-06-10 07:43:37 +02:00
Philipp Muens
da0ed6b909 Merge pull request #1270 from serverless/add-option-validation-in-plugin-manager
Refactor PluginManager functionality / Add option validation in plugin manager
2016-06-09 20:39:06 +02:00
Philipp Muens
82cbccf6b0 Refactor plugins to use new constructor based options passing 2016-06-09 20:09:50 +02:00
Philipp Muens
e563a071b5 Add option definitions to core plugins 2016-06-09 19:43:13 +02:00
Philipp Muens
b7ce3e1ed2 Update plugins concept docs
Update plugins concept docs so that both, the serverless instance and the options are
shown in the examples.
2016-06-09 19:43:13 +02:00
Philipp Muens
2e701c1d4d Fix failing tests for "create" plugin 2016-06-09 19:43:13 +02:00
Eslam A. Hefnawy
4d9e236b7e added global rejection handler 2016-06-09 19:43:13 +02:00
Philipp Muens
09b701fa40 Start updating of create plugin to work with recent changes in PluginManager 2016-06-09 19:43:13 +02:00
Philipp Muens
c2fc2adead Refactor help displaying in CLI
Extract the help displaying from processInput to an own method.
2016-06-09 19:43:13 +02:00
Philipp Muens
db9dfdde45 Replace error throwing with Serverless error class 2016-06-09 19:43:13 +02:00
Philipp Muens
90c4feeca5 Add validateOptions functionality in PluginManager class 2016-06-09 19:43:13 +02:00
Philipp Muens
40f6dab03f Move options passing to the plugins constructor 2016-06-09 19:43:13 +02:00
Philipp Muens
85c603dbb0 Refactor CLI class usage
So that the loaded plugins are not passed into the constructor. This is a preparation
for the upcoming task to move the options to the plugins constructor rather than the hook
which is run.
2016-06-09 19:39:57 +02:00
Philipp Muens
9a53a64057 Merge pull request #1288 from serverless/add-aws-compile-s3-events-plugin
Add implementation for awsCompileS3Events plugin
2016-06-09 19:38:37 +02:00
Philipp Muens
48c9529f6b Add documentation for "awsCompileS3Events" plugin 2016-06-09 19:10:07 +02:00
Philipp Muens
67ba3f06ae Add merging of generated resources to the aws.Resources section (in service)
This way the plugin simply adds the Resources to the CloudFormation template in the
compileEvents lifecycle. The deploy plugin will use this resources to update the stack later on.
This removes the dependency between the awsCompileS3Events plugin and the deploy plugin
as the awsCompileS3Events plugin simply adds the resources to the section and forgets about it.
2016-06-09 19:08:54 +02:00