4020 Commits

Author SHA1 Message Date
Vinod S R
3e4d62acfe Use naming.getStackName method instead of hardcoding. 2017-07-27 23:04:24 +05:30
indieisaconcept
71f1aa09cb preserve context when executing exported function from .js file
The change ensures that when a .js file exported function is executed,
the original execution context is supplied in order to maintain "this".
2017-07-26 11:21:09 +10:00
Philipp Muens
26051ad798 Fix function retrieval for "deploy list functions" command 2017-07-21 16:35:43 +02:00
Philipp Muens
e07f48f80b Merge pull request #3960 from RafalWilinski/master
Load Serverless plugins only once
2017-07-21 11:16:23 +02:00
Philipp Muens
9c856dc7b6 Minor code refactorings 2017-07-21 11:09:05 +02:00
Philipp Muens
99a12414e1 Merge pull request #3959 from RafalWilinski/3956-catch-unknown-plugin
Wrap addPlugin in try/catch statement when loading plugins
2017-07-21 10:58:44 +02:00
Philipp Muens
d04889b4aa Minor refactorings 2017-07-21 10:41:30 +02:00
Eslam λ Hefnawy
a3a1d09ba3 Merge pull request #3904 from serverless/travis-keys
Add auto deployment through travis
2017-07-20 17:05:54 +07:00
Rafal Wilinski
32bf998406 Prepend messages with correct prefixes 2017-07-20 11:26:20 +02:00
Rafal Wilinski
787341d5bf Conditionally throw error or log a warning 2017-07-20 10:47:42 +02:00
Rafal Wilinski
675233ffc0 Change log to throwing an Error 2017-07-20 10:08:55 +02:00
Rafal Wilinski
550f9d9d97 Replace Array.includes with _.includes 2017-07-20 07:30:17 +02:00
Rafal Wilinski
f0a67b94e4 Add duplicate plugins test 2017-07-20 07:13:40 +02:00
Rafal Wilinski
007c5c9607 Add duplicate check in PluginManager.addPlugin function 2017-07-20 07:13:28 +02:00
Rafal Wilinski
c1812721aa Add PluginManager.loadPlugins test 2017-07-20 06:16:16 +02:00
Rafal Wilinski
157e8b88dc Wrap this.addPlugin function into try/catch statement and log a warning 2017-07-20 06:16:01 +02:00
Eslam λ Hefnawy
de6bebeea9 Merge pull request #3808 from rpunkfu/specify-default-option-values
Allow to provide a default value for plugin options
2017-07-19 19:25:03 +07:00
Eslam λ Hefnawy
47df1e4177 Merge pull request #3889 from serverless/fix-dev-dependency-exclusion-bug
Fix dev dependency exclusion bug
2017-07-19 18:48:25 +07:00
Philipp Muens
e0a329da34 Change serviceName to name 2017-07-19 12:40:24 +02:00
Philipp Muens
9ffde98f28 Add tests 2017-07-19 10:39:54 +02:00
Philipp Muens
f5b5c7f0f5 Switch from _.filter to _.compact to remove falsey values 2017-07-19 10:06:23 +02:00
Brian Neisler
ec9538127d Add support for a publish flag for disabling publish of service to platform 2017-07-18 14:26:15 -07:00
Philipp Muens
f089e8f07f Fix and update tests 2017-07-18 12:48:54 +02:00
Philipp Muens
5916665cb6 Add enhancements to harden dev dependency detection 2017-07-18 12:48:31 +02:00
Eslam A. Hefnawy
5ec9911827 enhanced test for readfileifexists 2017-07-18 16:36:21 +07:00
Alex DeBrie
7e33670748 Send to new tracking endpoint. Add serviceName in tracking. 2017-07-17 21:32:13 +00:00
Eslam A. Hefnawy
dd6c21d51a auto deployment update 2017-07-17 19:55:43 +07:00
Philipp Muens
ed029a32da Catch and resolve rejected exec calls 2017-07-17 14:33:53 +02:00
Philipp Muens
9e1c322436 Add line-based eslint disable statements 2017-07-17 14:33:53 +02:00
Philipp Muens
9700ebf226 Add usage of Lodash utility methods 2017-07-17 14:33:53 +02:00
Philipp Muens
cb00caed84 Switch from stdout stream based to tmp file approach 2017-07-17 14:33:53 +02:00
Philipp Muens
bb5e62e61a Fix dev dependency exclusion bug 2017-07-17 14:33:53 +02:00
Philipp Muens
cf7a6fb4bf Enhance tests for invoke local 2017-07-17 10:51:20 +02:00
Eslam λ Hefnawy
970302573b Merge pull request #3935 from ryanmurakami/handle-rollback-status
Handle Export errors when deleting CF stack
2017-07-16 18:16:27 +07:00
Eslam λ Hefnawy
f7d1e55be6 Merge pull request #3722 from HeroesDieYoung/master
Allow request parameter configuration with lambda-proxy integration
2017-07-13 16:01:14 +07:00
Ryan Lewis
ac59f993b4 lint error 2017-07-12 16:26:44 -07:00
Ryan Lewis
003752462b adding test 2017-07-12 14:28:06 -07:00
Eslam λ Hefnawy
f0892630f7 Merge pull request #3908 from dschep/invoke-local-config-region
Also set region env vars from config, not just CLI, for invoke local
2017-07-12 20:51:59 +07: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
Eslam λ Hefnawy
084f8f3027 Merge pull request #3910 from ryansb/ignore-custom-plugins
Ignore custom plugins in the project when uploading artifacts
2017-07-12 19:41:14 +07:00
Eslam λ Hefnawy
b6cff4ebfd Merge pull request #3931 from horike37/issue-3920
fixed unhandled rejection errors in Utils test
2017-07-12 19:38:16 +07:00
Eslam λ Hefnawy
40d529ced5 Revert "Improves invalid security token message per issue #3862" 2017-07-12 17:49:37 +07:00
horike37
172e12dfc5 update to use chai-as-promise instead of chai 2017-07-12 08:47:59 +09:00
horike37
10acadc09c remove unnecessary parts 2017-07-12 08:29:42 +09:00
horike37
311d322b82 fixed unhandled rejection errors 2017-07-12 08:26:26 +09:00
Jaik Dean
214e57621e Lint service tests 2017-07-10 13:55:33 +01:00
Eslam λ Hefnawy
f0b1474f1e Merge pull request #3912 from serverless/darkowlzz-3625-deploy-function-pkg
Follow up for #3876 & #3856: Fixes for custom package artifacts
2017-07-10 16:00:09 +07:00
Philipp Muens
f877c25dbc Merge pull request #3903 from rdugue/issue-#3862
Improves invalid security token message per issue #3862
2017-07-07 16:52:42 +02:00
Philipp Muens
4ed4a8e9bb Update to match two security token related cases 2017-07-07 16:40:17 +02:00
Eslam A. Hefnawy
bcbbd907ab skip service packaging if artifact is provided 2017-07-07 20:59:00 +07:00