35 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
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
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