88 Commits

Author SHA1 Message Date
Mike Pugh
5477eb2bb4 Update tests involving getAccountInfoStub 2018-02-08 09:19:57 -05:00
Mike Pugh
1f9e32d4c8 Reverting test file back to old version to avoid linting issues 2018-02-07 20:03:14 -05:00
Mike Pugh
7b6a8ff262 Lodash and test updates 2018-02-07 19:50:24 -05:00
Mike Pugh
113ec4cceb Updae tests 2018-01-19 14:59:49 -05:00
Mike Pugh
b921d2656e Rename provider getAccountId() to getAccountInfo() since it now returns the caller identity object including partition based on ARN 2018-01-19 13:56:00 -05:00
Mike Pugh
16debac62e Replace AWS Partition strings with CF Pseudo Param or from STS 2018-01-19 13:52:29 -05: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
81c896bc12
Removed reintroduction of stage+region in request. Added options.
Delete bucket was still using them

Hopefully all :)

Further test fixes.

.... worked too long yesterday

Fixed Variable tests

Remove not used parameters from request() and add options with warning
2017-12-11 12:33:35 +01:00
Frank Schmid
06cf6df2e6 More tests to increase coverage 2017-10-26 12:14:10 +02:00
Frank Schmid
97896eb34f Do not update configuration parts that contain references. 2017-10-26 11:57:10 +02:00
Rafal Wilinski
36a37d08e0 Fix helloTwo function deployment 2017-10-14 13:39:37 +02:00
Rafal Wilinski
db97a5fd2f Fix edge case with implicit root path 2017-09-29 22:18:58 +02:00
Rafal Wilinski
a48ed390ea Add normalizeArnRole tests 2017-09-29 22:09:33 +02:00
Rafal Wilinski
bafd7ede5a Fix failing tests 2017-09-29 21:02:37 +02:00
Rafal Wilinski
5423d8bf28 Fix Fn::GetAtt case 2017-09-28 19:19:54 +02:00
Rafal Wilinski
2e6d9733ec Add IAM Role normalization 2017-09-28 19:01:34 +02:00
Rafal Wilinski
087c78b91e Fix BbPromise.resolve 2017-09-19 15:36:52 +02:00
Philipp Muens
c6c589fdbb Update to use Bluebird promise 2017-09-19 11:00:27 +02:00
Rafal Wilinski
1500d24d51 Add invalid characters test 2017-09-14 18:14:50 +02:00
Rafal Wilinski
df145c45c8 Add provider-level inheritance test 2017-09-14 18:06:24 +02:00
Rafal Wilinski
7ce86483ab Fix concurrent update and deploy operations 2017-09-14 17:39:42 +02:00
Rafal Wilinski
e125ca141c Fix deploy function not inheriting config 2017-09-14 17:21:38 +02:00
Rafal Wilinski
5f19ff757c Fix updateFunctionConfiguration logic 2017-09-07 18:57:13 +02:00
Rafal Wilinski
86b8ef729c Change deploy:function hook behavior 2017-09-07 17:26:42 +02:00
Rafal Wilinski
9df7c836a8 Fix test by omiting undefined values 2017-08-29 16:48:19 +02:00
Rafal Wilinski
a5ace701ac Add --update-config tests 2017-08-29 16:42:23 +02:00
Rafal Wilinski
82c4e3af48 Add deploy function --update-config implementation 2017-08-29 15:48:15 +02:00
Eslam A. Hefnawy
42d48892c2 fix deploy function with service artifact 2017-07-07 19:22:42 +07:00
Philipp Muens
17814d7912 Update and fix tests 2017-07-04 09:08:50 +02:00
Philipp Muens
0d8174ba72 Merge master into PR 2017-07-03 17:04:49 +02:00
Philipp Muens
6893bba324 Add support for "force" option 2017-07-03 09:36:49 +02:00
Sunny
d5de23f482 Fix extendedValidate issue and refactor some code 2017-07-01 01:02:52 +05:30
Sunny
042b6e2e74 Add test for deployFunction() with artifact 2017-06-30 23:29:19 +05:30
Sunny
59a25a9dbd Add function artifact check in deployFunction
- Adds check for function package artifact in packageFunction() and
avoids packing if a package artifact is found.
- Adds check for function artifact in deployFunction() and use the
provided artifact to deploy if available.
2017-06-30 23:29:19 +05:30
Philipp Muens
fb5442354a Rephrase deploy function info message when skipping deployment 2017-06-30 13:51:37 +02:00
Philipp Muens
d13881a012 Update location where remoteFunctionData is saved 2017-06-30 13:36:06 +02:00
Philipp Muens
3ad2c5031d Add tests 2017-06-30 13:17:39 +02:00
Philipp Muens
e329bf9ad8 Only re-deploy when code or service updated 2017-06-30 09:26: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
Philipp Muens
6f895b312f Remove unnecessary whitespace 2017-04-11 12:52:50 +02:00
Eslam A. Hefnawy
bc0eaf23e6 fixed unit tests 2017-04-07 18:30:11 +07:00
Eslam A. Hefnawy
7da3a1ae35 resovled conflicts on master 2017-04-06 18:28:59 +07:00
Eslam A. Hefnawy
cd71ccfa1e fixing tests for package plugin 2017-04-06 18:28:59 +07:00
Eslam A. Hefnawy
a233a3f36a fixing tests 2017-04-06 18:28:59 +07:00
Frank Schmid
df6cff1d55 Use lifecycle dependencies for deploy function 2017-04-06 18:28:59 +07:00
Frank Schmid
1a3b18797d Fixed error on npm link in serverless. servicePath is null in this case. 2017-04-06 18:28:59 +07:00
Eslam A. Hefnawy
e38f22585f seperated packaging and deployment 2017-04-06 18:28:59 +07:00
Doug Moscrop
1012c351b7 add sinon-bluebird to make promises in tests a bit cleaner 2017-02-08 12:59:18 -05:00
Philipp Muens
8aad2372eb Refactor test structure
So that all tests follow the *.test.js pattern and globs are used to find test files.
2016-11-22 12:49:26 +01:00
Nik Graf
386d9d6718 replace ellipsis with three dots to improve non-unicode console support 2016-11-15 14:00:27 +01:00