1474 Commits

Author SHA1 Message Date
Frank Schmid
cc91ca2563 Prevent circular references during search. 2017-04-26 23:56:01 +02:00
Frank Schmid
9257256e7a Restore self references on state restore 2017-04-26 22:09:51 +02:00
Frank Schmid
33a93e7a28 Move findReferences to utils. It will be used in extendedValidate too. 2017-04-26 21:57:40 +02:00
Frank Schmid
46646a9bff Replace self references with "${self:}" on save state 2017-04-26 21:44:35 +02:00
Philipp Muens
f9997c9814 Update tests to reflect correct naming and avoid confusion 2017-04-26 13:59:50 +02:00
Philipp Muens
9b0d5619f4 Revert name of compiled CloudFormation template 2017-04-26 13:57:05 +02:00
Philipp Muens
67a7031c83 Fix naming of compiled CloudFormation template 2017-04-26 13:23:18 +02:00
Philipp Muens
924e5664d7 Remove unnecessary check for noDeploy option 2017-04-26 09:40:20 +02:00
Philipp Muens
2bfb29949c Skip on noDeploy when running info command hooks 2017-04-26 09:37:29 +02:00
Philipp Muens
f32ac41492 Update if statements for easier reasoning 2017-04-26 09:17:51 +02:00
Eslam A. Hefnawy
4623e0bbed final packaging fixes 2017-04-25 23:03:46 +07:00
Philipp Muens
803c28f8f1 Merge pull request #3469 from HyperBrain/fix-package-artifact
Persist package.artifact correctly
2017-04-24 12:50:56 +02:00
Frank Schmid
a67674528e Do not persist artifact if individually is set true. 2017-04-24 10:44:53 +02:00
Philipp Muens
684e909e65 Update test descriptions 2017-04-24 08:36:07 +02:00
horike37
1dc680a7ff Add new syntax to specify arn for sns event 2017-04-23 22:51:51 +09:00
Frank Schmid
36bff9856e Remove naming reference 2017-04-21 20:40:43 +02:00
Frank Schmid
aa29c9632e Persist artifact in saved state
The `service.package.artifact` property was missing in the saveState function, so it was not available in the deploy phase.
This PR saves and restores the property correctly, and for AWS additionally sets it during packaging. For AWS the initialization of the property also was missing, possibly due to a merge conflict.

Combination of the following commits:
Re-revert changes for saveServiceState and extendedValidate
Revert most recent changes
Update package artifact to include path and .zip name
Update artifact file path for packaging and name for service state
Update tests for saveServiceState
Do not persist artifacts as it is not needed
Persist package.artifact correctly
2017-04-21 19:50:00 +02:00
Frank Schmid
376d5cf6fe Fixed unit tests. Coverage back to 100%. 2017-04-20 18:39:55 +02:00
Frank Schmid
84d48a5a48 Move explicit function packaging entrypoint to topmost level.
3rd party plugins now can access it and trigger a single function package which was restricted to AWS before.
2017-04-20 17:49:55 +02:00
Frank Schmid
6086111704 Set artifact properties with the ZIP result paths. 2017-04-20 16:43:20 +02:00
Frank Schmid
20cd54b229 Removed provider dependencies. 2017-04-20 15:33:50 +02:00
Frank Schmid
6be0ba2f8f Move package code up and add createDeploymentArtifacts to topmost package command. 2017-04-20 15:11:35 +02:00
Frank Schmid
c74d9c6dda Fixed unit tests and got coverage to 100% again 2017-04-20 14:30:55 +02:00
Frank Schmid
8cabda3a18 Added missing map options to this.options 2017-04-20 13:40:16 +02:00
Frank Schmid
5b2efb0753 Control command flow for deploy at framework level. 2017-04-20 13:12:54 +02:00
Eslam λ Hefnawy
0293faa026 Merge pull request #3483 from dschep/python3.6
Python3.6 support is coming to Lambda!
2017-04-20 17:50:02 +07:00
Philipp Muens
977c4bf4ac Update missing python3 references 2017-04-19 10:06:08 +02:00
Daniel Schep
e1c27c3569 🐍🐍🐍 Python3.6 support is coming to Lambda!
closes #3482

https://aws.amazon.com/releasenotes/5198208415517126
2017-04-18 17:57:48 -04:00
Philipp Muens
015938853b Update test description 2017-04-17 17:12:26 +02:00
Frank Schmid
2c1b18eb1f Separate S3 bucket name validation. Import in generateCoreTemplate.js. 2017-04-17 12:22:42 +02:00
Philipp Muens
c87b61e5c2 Merge pull request #3446 from aoskotsky-amplify/master
Fix for cfnRole attribute in createFallback method
2017-04-17 09:34:10 +02:00
Philipp Muens
6f1547d423 Fix typo in test 2017-04-14 09:46:24 +02:00
Philipp Muens
41d03aff8d Update error messages 2017-04-14 09:45:32 +02:00
Philipp Muens
fda5b63d05 Merge branch 'master' into 3295-CF-intrinsic-functions-sns-event 2017-04-14 09:33:07 +02:00
Matt Hernandez
e620836b53 Correct some spelling errors in the Azure template.
Corrected some spelling mistakes in the Azure template files.
2017-04-13 13:45:08 -07:00
Philipp Muens
2fa91b53c3 Merge pull request #3466 from htynkn/feature/upgrade-gradle-to-latest-version
upgradle gradle wrapper to 3.5
2017-04-13 12:36:18 +02:00
Huang Yunkun
8b34c1815a upgradle gradle wrapper to 3.5 2017-04-13 17:07:17 +08:00
Philipp Muens
10ed9c97bb Fix whitespace 2017-04-13 10:30:56 +02:00
Philipp Muens
725c7dfe00 Merge branch 'master' into fix-depends-on-with-event-stream 2017-04-13 10:28:55 +02:00
Philipp Muens
fea2699471 Merge pull request #3454 from jthomas/master
Extend OpenWhisk Runtime Support
2017-04-13 10:25:41 +02:00
Philipp Muens
ded0df6082 Fix runtime 2017-04-13 10:22:48 +02:00
Danny Varner
fbf09e03c7 Fix lint issues 2017-04-11 20:44:17 -07:00
Danny Varner
47185aded8 Add type check for a string 2017-04-11 19:56:54 -07:00
Danny Varner
555b2fefa6 Add additional test for custom role at provider 2017-04-11 19:56:51 -07:00
Danny Varner
7a3d9edeb2 Fix failing test 2017-04-11 19:40:23 -07:00
Danny Varner
f5610e6f2c Add failing test 2017-04-11 19:40:23 -07:00
Me OutPerformIt
eedabf0cfb Fix SNS event 2017-04-11 20:30:33 +03:00
James Thomas
cf2e9f1708 Adding new OpenWhisk runtime templates. 2017-04-11 14:39:50 +01:00
Philipp Muens
df5384c210 Fix incorrect / misleading naming in tests 2017-04-11 14:29:32 +02:00
Philipp Muens
2017b36c69 Fix broken tests 2017-04-11 14:18:50 +02:00