210 Commits

Author SHA1 Message Date
Philipp Muens
389cbd7de2 Fix AwsCompileApigEvents plugin and tests 2016-06-21 11:28:44 +02:00
Philipp Muens
0f4613f4b0 Minor cosmetic tweaks for the AwsCompileS3Events plugin 2016-06-20 19:16:48 +02:00
Philipp Muens
a046b599f0 Fix AwsCompileScheduledEvents plugin and tests 2016-06-20 19:16:06 +02:00
Philipp Muens
3f13cd6adf Fix AwsCompileS3Events plugin and tests 2016-06-20 19:00:38 +02:00
Eslam A. Hefnawy
96a3441c1e create plugin no longer generates package.json 2016-06-20 17:49:55 +02:00
Philipp Muens
16b1d79845 Fix AwsCompileFunctions tests 2016-06-20 16:43:52 +02:00
Eslam A. Hefnawy
b6eaae7ae3 updated apig to use the provider specific service 2016-06-20 16:25:45 +02:00
Philipp Muens
b5f3e6a53b Fix AwsInvoke tests 2016-06-20 15:39:47 +02:00
Philipp Muens
bd223ebdbb Update AwsDeploy tests
So that they are all follow the same pattern.
2016-06-20 15:20:34 +02:00
Philipp Muens
dfa6565a0b Fix AwsRemove tests 2016-06-20 15:12:39 +02:00
Philipp Muens
255c04404c Fix AwsDeploy tests 2016-06-20 14:37:51 +02:00
Eslam A. Hefnawy
5af4507f94 updated invoke and remove plugins 2016-06-20 13:26:34 +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
f403af11cf sls create now takes a provider option 2016-06-17 19:51:22 +02:00
Philipp Muens
48922da750 Improve stack removal checking 2016-06-17 15:59:53 +02:00
Philipp Muens
67d9b0d0b3 Remove "HelloWorld" plugin dependency
Remove the "HelloWorld" plugin which was previously used in tests for the PluginManager
class.
2016-06-17 14:42:21 +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
Philipp Muens
9ead01010b Rename plugin names in docs
Rename the plugin names in docs so that they are more human readable and easier to understand.
2016-06-17 09:19:32 +02:00
Philipp Muens
cf7028677b Refactor docs structure
Each plugin now has a README.md file in it's root folder. The docs/README.md file
links to each plugins index folder so that the user can directly see the plugins folder structure
and the corresponding README.md file at once. This makes understanding the plugin way easier.
2016-06-17 08:43:51 +02:00
Eslam A. Hefnawy
ef2fffe130 refatored aws plugins structure 2016-06-16 21:24:09 +02:00
Philipp Muens
a57126f38a Update IntegrationHttpMethod to always be POST
Lambda function can only be invoked by POST methods so we always need to
add an integration for a POST method.
2016-06-16 13:57:58 +02:00
Philipp Muens
3677406924 Add necessary IntegrationResponses property to method resource 2016-06-16 10:03:04 +02:00
Philipp Muens
4ffbf0d228 Fix lambda permission error
Was caused because the function name in the lambda ARN was wrong (service
name was not prefixed).
2016-06-16 09:43:47 +02:00
Philipp Muens
a23ac28bba Refactor naming of compiled permission resource
So that it sticks to the overall used convention.
2016-06-16 08:37:04 +02:00
Philipp Muens
6043d603e5 Fix lambdaUri generation bug 2016-06-16 08:18:28 +02:00
Philipp Muens
5eb02b3d5a Replace input.path("$") with input.json("$") in universal request template 2016-06-15 19:45:38 +02:00
Philipp Muens
87b5407aee Add universal JSON request template
Thanks to work from @rma4ok in #894.
2016-06-15 19:33:47 +02:00
Philipp Muens
6bb55dbd63 Refactoring and code cleanup
So that the code looks everywhere the familiar.
2016-06-15 18:39:48 +02:00
Philipp Muens
4d3fa667ca Remove validateInput as it's functionality is replaced 2016-06-15 18:32:30 +02:00
Philipp Muens
cdbc3bafbc Add tests for awsCompileApigEvents file 2016-06-15 18:30:49 +02:00
Eslam A. Hefnawy
6d5fd107f7 minor fixes 2016-06-15 16:08:54 +02:00
Eslam A. Hefnawy
5d2cba35a8 removed apig stage tests 2016-06-15 15:26:25 +02:00
Eslam A. Hefnawy
8e89863a78 apig refactoring 2016-06-15 15:22:40 +02:00
Eslam A. Hefnawy
c8eaae1238 fixed typo 2016-06-15 15:16:34 +02:00
Eslam A. Hefnawy
427333d222 check for http_endpoint property - apig 2016-06-15 15:13:48 +02:00
Philipp Muens
d2303f0e5e Add Integration property to method compilation
And fix broken permission compilation tests.
2016-06-15 15:07:13 +02:00
Philipp Muens
3c407ea2d9 Switch from http_endpoint to http_endpoints
http_endpoints is correct as the property might contain one or more endpoints.
2016-06-15 12:25:44 +02:00
Philipp Muens
5a209c875e Fix tests and normalize code
Normalized code so that it sticks to the "conventions".
Add check for present "http_endpoint" property so that tests won't fail if
it's not available.
2016-06-15 12:25:44 +02:00
Eslam A. Hefnawy
205e7803d7 fixed tests 2016-06-15 12:25:44 +02:00
Eslam A. Hefnawy
2d9c23067b minor fixes 2016-06-15 12:25:44 +02:00
Eslam A. Hefnawy
f84b609450 fixed typo 2016-06-15 12:25:44 +02:00
Eslam A. Hefnawy
ffabf4f691 added permissions resource for apig 2016-06-15 12:25:44 +02:00
Philipp Muens
da29ccb464 Add checks if http_endpoint property is accessible 2016-06-15 12:25:44 +02:00
Philipp Muens
6514a2bd5f Fix Resource naming of compiled resources
So that they follow the new naming schema.
2016-06-15 12:25:44 +02:00
Philipp Muens
c0c0abfd63 Fix Resource naming of compiled methods
Add the method and the resourceId to the name so that they are unique.
2016-06-15 12:25:44 +02:00
Philipp Muens
1292c1ea4b Fix broken tests 2016-06-15 12:25:44 +02:00
Philipp Muens
21a68b07e3 Rename Resource and Method CloudFormation resource names
Rename the resource names to that they stick to the overalls used convention.
2016-06-15 12:25:44 +02:00