allow api methods whitelisting

This commit is contained in:
Guillermo Dev
2018-12-05 00:25:41 +01:00
parent 02573f343c
commit 941b47eb06
3 changed files with 62 additions and 19 deletions

View File

@@ -1,16 +1,16 @@
(n-a) - [14.10.2018 12:35:19] - 400 NoArguments - 2.01ms - (none)
(n-a) - [14.10.2018 12:35:19] - 400 NoArguments - 0.73ms - (none)
(n-a) - [14.10.2018 12:35:19] - 400 MissingMethod - 1.23ms - (none)
(n-a) - [14.10.2018 12:35:19] - 400 MissingMethod - 0.04ms - (none)
(n-a) - [14.10.2018 12:35:19] - 400 MissingMethod - 0.06ms - (none)
(n-a) - [14.10.2018 12:35:19] - 400 BadMethod - 0.06ms - someNonExistentMockFunction()
(n-a) - [14.10.2018 12:35:19] - 400 BadMethod - 0.05ms - someNonExistentMockFunction()
(n-a) - [14.10.2018 12:35:19] - 400 TooFewArgs - 0.85ms - someMockFunction()
(n-a) - [14.10.2018 12:35:19] - 400 TooFewArgs - 0.18ms - someMockFunction(val)
(n-a) - [14.10.2018 12:35:19] - 400 TooManyArgs - 0.15ms - someMockFunction(val, val, val, val)
(n-a) - [14.10.2018 12:35:19] - 200 - 0.03ms - someMockFunction(val, val)
(n-a) - [14.10.2018 12:35:19] - 200 - 0.03ms - someMockFunction(val, val, val)
(n-a) - [14.10.2018 12:35:19] - 200 - 0.03ms - someMockFunction(val, val, val)
(n-a) - [14.10.2018 12:35:19] - 200 - 0.03ms - someOtherMockFunction(one, two, threeOpt)
(n-a) - [14.10.2018 12:35:19] - 200 - 0.03ms - someOtherMockFunction(two, threeOpt, one)
(n-a) - [14.10.2018 12:35:19] - 200 - 0.03ms - someOtherMockFunction(two, threeOpt, one)
(n-a) - [04.12.2018 23:25:12] - 400 NoArguments - 1.29ms - (none)
(n-a) - [04.12.2018 23:25:12] - 400 NoArguments - 1.13ms - (none)
(n-a) - [04.12.2018 23:25:12] - 400 MissingMethod - 0.91ms - (none)
(n-a) - [04.12.2018 23:25:12] - 400 MissingMethod - 0.07ms - (none)
(n-a) - [04.12.2018 23:25:12] - 400 MissingMethod - 0.05ms - (none)
(n-a) - [04.12.2018 23:25:12] - 400 BadMethod - 0.06ms - (none)
(n-a) - [04.12.2018 23:25:12] - 400 BadMethod - 0.06ms - (none)
(n-a) - [04.12.2018 23:25:12] - 400 TooFewArgs - 0.91ms - (none)
(n-a) - [04.12.2018 23:25:12] - 400 TooFewArgs - 0.23ms - (none)
(n-a) - [04.12.2018 23:25:12] - 400 TooManyArgs - 0.28ms - (none)
(n-a) - [04.12.2018 23:25:12] - 200 - 0.05ms - someMockFunction(val, val)
(n-a) - [04.12.2018 23:25:12] - 200 - 0.05ms - someMockFunction(val, val, val)
(n-a) - [04.12.2018 23:25:12] - 200 - 0.04ms - someMockFunction(val, val, val)
(n-a) - [04.12.2018 23:25:12] - 200 - 0.04ms - someOtherMockFunction(one, two, threeOpt)
(n-a) - [04.12.2018 23:25:12] - 200 - 0.05ms - someOtherMockFunction(two, threeOpt, one)
(n-a) - [04.12.2018 23:25:12] - 200 - 0.06ms - someOtherMockFunction(two, threeOpt, one)