10 Commits

Author SHA1 Message Date
Mariusz Nowak
4944f471b1
Prettify 2019-06-26 12:43:01 +02:00
Philipp Muens
e1f09f3039
Revert "Fixed #4188 - Package generating incorrect package artifact path in serverless-state.json" 2019-03-18 11:12:25 +01:00
Philipp Muens
2a846cabb8 Add check for packageReference / Add tests 2019-03-07 14:44:13 +01:00
Doug Moscrop
8d9f4a296b only use json-cycles when opt-in, for state serialization 2018-06-06 15:07:03 -04:00
Erik Erikson
ca5ba8daac Remove unused parameters in platform.js (and deal with consequences)
Add explicit use of options where they were defined.
2017-12-12 11:59:08 -08:00
Frank Schmid
e8bdd0ca33 Added unit tests and a small fix with property paths 2017-04-27 02:28:13 +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
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
Philipp Muens
b63f48b558 Add tests for "saveServiceState" function 2017-04-11 14:03:22 +02:00