40 Commits

Author SHA1 Message Date
Doug Moscrop
8bde1b4902 Support arrays in function definition too 2018-04-04 20:03:56 -04:00
Pavel Vlasov
d05e45668e validate serverless.js to export plain object + address feedback 2017-12-20 08:50:10 +11:00
Pavel Vlasov
bca4da55b3 add support for serverless.js 2017-12-19 20:14:39 +11:00
Philipp Muens
6ee4cd4df8 Fix Service class tests 2017-09-04 09:18:41 +02:00
Mariusz Nowak
5dce256f00 Ensure errorneous calls are properly exposed 2017-08-22 15:11:33 +02:00
Philipp Muens
f8787d4289 Minor fixes 2017-08-21 13:35:04 +02:00
Philipp Muens
701187bc59 Update all variableSyntax usages 2017-08-21 13:11:29 +02:00
Toby Hede
33431cb45a Allow double-quoted and single-quoted variables
Empty string is now valid
2017-08-20 11:05:15 +10:00
Toby Hede
2b3181c362 Handle both single and double quoted strings 2017-08-18 09:13:01 +10:00
Toby Hede
a1c8a37b9a Allow use of string as default values in variables 2017-08-18 09:07:29 +10:00
Philipp Muens
5d1bbd5999 Remove provider name validation 2017-07-17 14:33:33 +02:00
Eslam λ Hefnawy
bb32b01f7a Merge pull request #3909 from jaikdean/variable-syntax-documentation-fix
Update example custom variable syntax to work with loading files
2017-07-12 19:42:18 +07:00
Jaik Dean
214e57621e Lint service tests 2017-07-10 13:55:33 +01:00
Jaik Dean
c33c4f782a Update example alternate variable syntax to work with loading files 2017-07-06 16:42:08 +01:00
Filipe Azevedo
aab492f079 handle absolute paths with ~ in file() 2017-07-03 18:19:23 +01:00
Philipp Muens
34595e1f6d Add opt-out config for dev dependency exclusion 2017-06-30 09:25:59 +02:00
Frank Schmid
97399773a7 Added file load tests for YAML, YML and JSON. Added precedence test. 2017-05-19 11:41:24 +02:00
Frank Schmid
45a2b20467 Fixed unit tests - removed filename from literal error check 2017-05-18 21:47:15 +02:00
Frank Schmid
1e43138295 Update UT for lib/classes/Service 2017-05-17 17:13:30 +02:00
Doug Moscrop
4dbd94e465 fix resources as an array to support variables 2017-05-16 15:41:00 -04:00
Frank Schmid
4da99861fa Added unit tests 2017-04-26 16:54:50 +02:00
Rafał Wiliński
59bd52d520 Merge remote-tracking branch 'serverless/master' 2017-04-15 00:05:55 +02:00
Rafał Wiliński
50cfdf45c9 Fix getAllEventsInFunction & getEventInFunction tests 2017-04-15 00:05:54 +02:00
Philipp Muens
de8adc71e5 Update to latest Node.js runtime 2017-03-25 22:18:00 +01:00
Eslam λ Hefnawy
74ceec541b Merge pull request #3186 from dannycohn/Issue2997
fix #2997
2017-02-23 20:38:53 +07:00
Vlad Golubev
9a8a9ddff4 Add missing unit tests for #getAllFunctionsNames 2017-02-08 00:03:10 +02:00
Danny Cohn
7bbf9ce6d0 fix #2997 2017-02-05 00:11:20 -06:00
Philipp Muens
54fbaadede Remove defaults service property 2017-01-30 11:03:40 +01:00
Philipp Muens
a30984d908 Fix broken unit test after merging #2434 2017-01-25 09:12:28 +01:00
Eslam λ Hefnawy
1cb298d592 Merge pull request #2434 from fruffin/fix-2418
[Fix #2418] Allow function event definitions to be variables
2017-01-24 20:15:34 +07:00
Philipp Muens
b6683d9440 Merge pull request #2842 from dougmoscrop/array_resources
add Support for resources as an array
2016-12-08 13:28:51 +01:00
James Thomas
da3356b1e2 Rename provider name from 'ibm' to 'openwhisk'. 2016-12-05 15:46:10 +00:00
Doug Moscrop
e4395875c1 add Support for resources as an array 2016-12-01 19:31:36 -05:00
Philipp Muens
74a3f004d7 Bring back include configuration for an easier packaging control 2016-11-14 10:26:44 +01:00
Fabien Ruffin
e7ef6fdbb9 Merge remote-tracking branch 'upstream/master' into fix-2418 2016-11-03 08:04:15 +11:00
Nik Graf
fca214c184 add version check tests and refactoring 2016-11-01 10:11:30 +01:00
John McKim
fd1545d89d Allow services with no functions #2267 2016-10-25 06:15:23 +10:00
Fabien Ruffin
73ef6587aa Refactored service validation to happen after variable population 2016-10-23 13:57:10 +11:00
Fabien Ruffin
a6a8074519 Merge remote-tracking branch 'upstream/master' into fix-2418 2016-10-23 10:53:32 +11:00
Philipp Muens
25b233137f Move class tests into classes directory 2016-10-19 08:32:06 +02:00