66 Commits

Author SHA1 Message Date
Eslam A. Hefnawy
4bd4c3f5a9 tested deployment and subscription 2018-07-23 16:05:45 +03: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
Erik Erikson
bf8d57fa9f Improve Stage and Region Usage
Remove the errant (but understandable) distributed usage of region and stage settings.  This otherwise locks in a multitude of bugs around the improper algorithm for selecting (given all context) the proper region or stage setting.  Instead, all code should use the centralized algorithm for determining such values.  This creates a strange first and second class configuration concept but these two are sufficiently varied and complex in their creation and use that this seems appropriate.
2017-12-11 16:39:44 -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
Timothy Stott
2df0d8a954
Provide option to conceal API Gateway key values from the output 2017-10-17 22:42:01 +01:00
Frank Schmid
2845ba3204 AWS info unit tests have to provide a valid cli object.
Otherwise code that logs, will crash.
2017-09-04 16:41:32 +02:00
Toby Hede
4461034137 Display stack name in info output 2017-08-15 14:11:57 +10:00
Philipp Muens
1ef42b7211 Condense console output 2017-04-27 11:20:50 +02:00
Philipp Muens
ba967f6802 Merge master into branch 2017-04-27 11:05:56 +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
Frank Schmid
6230810302 Fixes #3502 - Add detailed lifecycle events to info plugin
Added unit tests for empty results
Added/modified display unit tests
Added unit tests for info-index
Added internal lifecycle
2017-04-24 13:20:47 +02:00
Eslam A. Hefnawy
13689a0674 removed references to --noDeploy 2017-04-10 02:33:53 +07:00
Philipp Muens
8d348da0ce Merge master into PR 2017-03-23 12:29:07 +01:00
Philipp Muens
ff4bff6b74 Update name displaying to include name and deployed name 2017-02-14 10:19:22 +01:00
Philipp Muens
edbd86aba2 Update function name displaying for info plugin 2017-02-13 13:27:57 +01: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
20a2a48a74 Remove on-the-fly arn generation for displayed functions 2017-01-27 13:22:27 +01:00
Philipp Muens
9c067e84f9 Update stage and region retrieval 2017-01-23 13:28:17 +01:00
Philipp Muens
116c79dbf8 Refactor function arn generation for info plugin 2017-01-20 14:45:11 +01:00
Nik Graf
1b5f25a31d consitent code style in display 2016-12-07 11:03:36 +01:00
Nik Graf
5ddadedbe4 fix tests 2016-12-07 10:53:31 +01:00
Nik Graf
1395eaa92a reverted change in formating as some people parse it 2016-12-07 10:47:53 +01:00
Philipp Muens
1f2f3ad202 Update displaying of function ARNs 2016-12-05 08:25:35 +01:00
Philipp Muens
f7f15bb27c Remove metrics fetching from info plugin 2016-12-02 15:16:02 +01:00
Philipp Muens
ebd42867e5 Fix test descriptions 2016-12-02 13:34:50 +01:00
Philipp Muens
8d4ce41b63 Add dot at the end of average abbreviation 2016-12-02 13:34:50 +01:00
Philipp Muens
3410b75194 Refactor info plugin and add tests 2016-12-02 13:34:50 +01:00
Philipp Muens
e06364be60 Remove x after invocations and throttles messages 2016-12-02 13:33:18 +01:00
Philipp Muens
12161f2921 Add metric retrieval (invocations, throttles, errors and duration) and their displaying 2016-12-02 13:33:18 +01:00
Philipp Muens
d376c6981d Refactor codebase to make it easier to understand 2016-12-02 13:33:18 +01:00
Doug Moscrop
fcbdf8e073 fix Linting 2016-11-25 20:07:32 -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
Eslam λ Hefnawy
7095f22b50 Merge pull request #2679 from serverless/naming-js
Added logical ids in centralized file
2016-11-11 18:31:24 +07:00
Eslam A. Hefnawy
fef9b68e5a refactored naming-js method naming 2016-11-10 19:05:02 +07:00
Eslam A. Hefnawy
1a02e15d9b updated tests using name-js 2016-11-10 15:14:33 +07:00
Eetu Tuomala
5ce7f95663 cleans test 2016-11-10 00:18:04 +02:00
Eetu Tuomala
32b78dbb76 adds test for endpoints with slashes 2016-11-10 00:10:04 +02:00
Eetu Tuomala
a19d2bdb78 fixed bad condition 2016-11-09 23:34:16 +02:00
Eetu Tuomala
7bebf1ae21 fixes endpoint path slash issue 2016-11-09 23:17:48 +02:00
Eslam A. Hefnawy
61efd35850 added logical id names in naming-js file 2016-11-09 19:31:08 +07:00
Nik Graf
03bace6d23 fix info test 2016-10-20 15:14:59 +02:00
Philipp Muens
c273abec68 Move AwsProvider plugin into aws directory 2016-10-19 08:32:06 +02:00
Philipp Muens
c7b7472a48 Update provider properties in plugins 2016-10-19 08:32:06 +02:00
Philipp Muens
df7692ac80 Introduce AwsProvider plugin 2016-10-19 08:32:06 +02:00
Sander van de Graaf
ee5a5019ab
removed misleading comment 2016-10-10 09:09:50 +02:00
Sander van de Graaf
3c15f0e04c
make eslint happy 2016-10-03 12:48:06 +02:00
Sander van de Graaf
f121d6c1ed
added --verbose option for info, which will add Stack Outputs to the output 2016-10-03 12:41:31 +02:00
Philipp Muens
40da6be2b2 Remove dependency on API key id in outputs section 2016-09-26 10:45:03 +02:00
Philipp Muens
a5dcee1cad Add / fix tests for api key value retrieval 2016-09-26 10:45:03 +02:00