3156 Commits

Author SHA1 Message Date
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
c16eec25ee Comment out http_endpoint definition in serverless.yaml
So that an endpoint is not automatically created when a user sets up and
deploys a service.
2016-06-15 15:11:19 +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
9e15f177cd Comment out http_endpoint definition in serverless.yaml
So that an endpoint is not automatically created when a user sets up and
deploys a service.
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
7311d3c89a Add documentation for awsCompileApigEvents plugin
Fix some minor typos and format issues alongside.
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
618841ad3c Merge pull request #1327 from serverless/fix-invalid-docs
Fix invalid docs
2016-06-15 12:24:57 +02:00
Philipp Muens
974922e0d2 Fix invalid docs
Fix the docs so that the custom resources section is correct again.
2016-06-15 12:17:47 +02:00
Philipp Muens
1b694ba49a Merge pull request #1326 from serverless/update-serverless-yaml-file
Update serverless.yaml file
2016-06-15 12:03:58 +02:00
Philipp Muens
c9fb51e70a Fix custom resource merging from serverless.yaml file 2016-06-15 11:34:45 +02:00
Philipp Muens
633420d9c5 Remove invalid Resources definitions for AWS 2016-06-15 11:34:45 +02:00
Philipp Muens
75b9c617af Update serverless.yaml file
Fix indentations and fix naming in resources section so that it matches the recent changes.
2016-06-15 11:34:45 +02:00
Philipp Muens
e45c1b10b5 Merge pull request #1325 from serverless/revamp-docs
Add a new FAQ section in README.md / updates awsDeploy doc
2016-06-15 09:59:21 +02:00
Philipp Muens
e7173167bf Add a new FAQ section in README.md / updates awsDeploy doc
This makes it easier to get started on Plugin development.
2016-06-15 09:52:08 +02:00
Philipp Muens
54983e503c Merge pull request #1320 from serverless/fix-s3-is-undefined-bug
Fix s3 is undefined bug
2016-06-14 20:09:18 +02:00
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