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
Philipp Muens
911998c61d
Fix describe block in compileResources test
2016-06-15 12:25:44 +02:00
Philipp Muens
834c17ea50
Remove functionName from compiled RestApi resource
2016-06-15 12:25:44 +02:00
Philipp Muens
fe5edf1a2b
Add compileMethods functionality
2016-06-15 12:25:44 +02:00
Eslam A. Hefnawy
d69a4ba711
more tests for resources
2016-06-15 12:25:44 +02:00
Eslam A. Hefnawy
7dfd5d938a
added tests for compile resources
2016-06-15 12:25:44 +02:00
Philipp Muens
01afb8aefe
Fix typo in JSON.stringify usages
2016-06-15 12:25:44 +02:00
Eslam A. Hefnawy
8031d07d1b
added compileResources logic for apig
2016-06-15 12:25:44 +02:00
Eslam A. Hefnawy
e96130ff2e
testing compileResources
2016-06-15 12:25:44 +02:00
Philipp Muens
89083dac56
Add plugin to Plugins.json file
2016-06-15 12:25:44 +02:00
Philipp Muens
1d631e0133
Add validateInput method
...
Add a validation step so that validation checks don't need to be rewritten in
each compile method / step.
2016-06-15 12:25:44 +02:00
Philipp Muens
83a5851473
Add compileStage functionality
2016-06-15 12:25:44 +02:00
Philipp Muens
f4afca3c32
Add compileDeployment functionality
2016-06-15 12:25:44 +02:00
Philipp Muens
6a00a36cfa
Fix typo in test naming
2016-06-15 12:25:44 +02:00
Philipp Muens
5007f3b564
Add compileRestApi functionality
2016-06-15 12:25:44 +02:00
Eslam A. Hefnawy
b4f0c80bc1
removed basePathMapping
2016-06-15 12:25:44 +02:00
Eslam A. Hefnawy
6cd49bf117
basic structure for apig event
2016-06-15 12:25:44 +02:00
Philipp Muens
c9fb51e70a
Fix custom resource merging from serverless.yaml file
2016-06-15 11:34:45 +02:00
Philipp Muens
8ea06053a2
Fix s3 is undefined bug
2016-06-14 20:03:56 +02:00
Eslam A. Hefnawy
e56f61718e
added Event to resource names
2016-06-10 16:57:48 +02:00
Eslam A. Hefnawy
4060ad6507
removed options obj
2016-06-10 16:55:14 +02:00