394 Commits

Author SHA1 Message Date
Philipp Muens
b443b2cf9d Add SlStats functionality 2016-10-12 18:25:55 -07:00
Florian Motlik
5e61aa53c0 Merge pull request #2250 from serverless/add-aws-compile-stream-events-plugin
Add AwsCompileStreamEvents plugin
2016-10-07 19:34:28 +02:00
Philipp Muens
d8859bf157 Update code so that the stream event source is service independent
This way both, DynamoDB and Kinesis streams can be used with the help of the
"stream" event rather than two different event types ("dynamodb" and "kinesis").
2016-10-07 08:43:39 -07:00
Philipp Muens
4ade196d9f Add AwsCompileDynamoDbEvents plugin 2016-10-07 08:43:39 -07:00
Philipp Muens
415e80be4e Rebase / refactor current implementation 2016-10-05 12:53:14 -07:00
ac360
1d930bbfa5 add test in all.js 2016-10-05 12:53:14 -07:00
Nick den Engelsman
c2d2152679 Moved monitorStack to shared lib/plugins/aws/lib 2016-09-02 13:35:29 +02:00
Eslam A. Hefnawy
714020e65d added unit tests for variables class 2016-08-31 16:37:58 +09:00
Philipp Muens
5fedf6a4f9 Add getTmpDir util method and refactor tests 2016-08-23 13:51:16 +02:00
Philipp Muens
a0f7bb20d1 Add tests to increase test coverage 2016-08-08 08:27:26 +02:00
Philipp Muens
f3cd36e74a Add single function deployment plugin 2016-08-01 11:13:54 +02:00
Eslam A. Hefnawy
98ec45ce7e added tests and docs for logging plugin 2016-07-29 20:40:54 +09:00
Benny Bauer
d587dd93a6 fix 1468 - handle non existing stack and errors + add tests 2016-07-29 13:06:59 +02:00
Philipp Muens
a6bedbf793 Add tracking plugin 2016-07-15 18:22:03 +02:00
Philipp Muens
6a2ef2752b Add tests for AWS SNS plugin 2016-07-12 13:31:44 +02:00
Philipp Muens
259c58d822 Add package plugin 2016-07-07 20:10:05 +02:00
Eslam A. Hefnawy
135330995b added tests for aws sdk 2016-06-21 17:27:18 +02:00
Philipp Muens
389cbd7de2 Fix AwsCompileApigEvents plugin and tests 2016-06-21 11:28:44 +02:00
Eslam A. Hefnawy
aa3a807813 making the load method more robust 2016-06-20 21:43:01 +02:00
Philipp Muens
086158eae0 Remove comments in front of tests 2016-06-20 19:01:23 +02:00
Eslam A. Hefnawy
96a3441c1e create plugin no longer generates package.json 2016-06-20 17:49:55 +02:00
Eslam A. Hefnawy
2c20687793 update plugins for provider-per-service arch 2016-06-19 21:38:01 +02:00
Eslam A. Hefnawy
1e3763deac updated tests for Service class and create plugin 2016-06-17 21:42:41 +02:00
Eslam A. Hefnawy
7cab94da7b merging v1.0 2016-06-17 14:30:46 +02:00
Eslam A. Hefnawy
23a41fe6ae add plugin/cli integration test 2016-06-17 14:29:23 +02:00
Philipp Muens
efddd829ac Fix unreliable plugin test coverage
Fix the test coverage so that it's reliable and won't error out unexpectedly.
2016-06-17 13:58:52 +02:00
Eslam A. Hefnawy
9d7f429a9d organizing tests 2016-06-17 12:31:00 +02:00
Eslam A. Hefnawy
6191a38e26 bring back apig tests 2016-06-17 10:51:37 +02:00
Eslam A. Hefnawy
ef2fffe130 refatored aws plugins structure 2016-06-16 21:24:09 +02:00
Philipp Muens
5007f3b564 Add compileRestApi functionality 2016-06-15 12:25:44 +02:00
Eslam A. Hefnawy
f23ae6933f added schedule event 2016-06-10 16:55:14 +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
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
Philipp Muens
8e2dcf4c15 Add implementation for awsCompileS3Events plugin 2016-06-09 19:07:47 +02:00
Philipp Muens
179e92cd01 Move "compileFunctions" into own plugin 2016-06-07 16:37:46 +02:00
Eslam A. Hefnawy
aa228c832c integration tests are now seperate 2016-06-06 14:55:17 +02:00
Eslam A. Hefnawy
745cbaa131 added integration tests for service lifecycle 2016-06-06 14:09:50 +02:00
Philipp Muens
cc79161aa1 Rename invokeAws to awsInvoke
So that it sticks to the overall used plugin naming.
2016-06-05 20:49:15 +02:00
Philipp Muens
25f127517e Add scaffold for awsRemoveResources plugin
Add a basic scaffold to kickstart work on the awsRemoveResources plugin.
Refs #1228
2016-06-02 21:24:21 +02:00
Eslam A. Hefnawy
fd80e6df63 added invoke functionality/plugin 2016-06-02 15:07:35 +02:00
Philipp Muens
8e503bbc80 Rename removeResources to remove
Rename the plugin so that it can implement multiple remove actions (such as
"serverless remove resources", "serverless remove stage" etc.).
2016-06-02 08:58:53 +02:00
Philipp Muens
39f2cd148d Closes #1227 - Implement removeResources plugin
Implements the basic removeResources plugin which defines a
"removeResources" lifecycle hook.
Refs #1161
2016-06-02 07:49:43 +02:00
Philipp Muens
279b0d5a2d Add zipping files test for zipFiles functionality 2016-06-01 16:45:28 +02:00
Eslam A. Hefnawy
f79d112859 added tests for createStack 2016-06-01 11:30:55 +02:00
Philipp Muens
10d0216ada Cleanup and fix tests 2016-06-01 09:14:58 +02:00
Eslam A. Hefnawy
26f534f481 basic deployCore functionality 2016-05-30 13:29:44 +02:00
Philipp Muens
6f891797cf Merge branch 'v1.0' into add-aws-compile-functions-to-resources-plugin 2016-05-27 14:43:33 +02:00
Eslam A. Hefnawy
10de5bcdda added tests for awsResourcesDeploy hooks promise chain 2016-05-27 13:00:12 +02:00
Philipp Muens
86b3a175f1 Add first plugin tests 2016-05-27 11:40:50 +02:00
Eslam A. Hefnawy
1e9b7182ff running all tests. all 130 tests passing 🎉 2016-05-25 14:50:22 +02:00