Commit Graph
100 Commits
Author SHA1 Message Date
Héctor Hurtado a65eb102b2 Fix variable name in spawn function. Added working with json, upload examples and install&configuration documentation 2019-11-20 16:33:18 +01:00
Héctor Hurtado 7bca5b8577 New error handling added to module resource in package data. Minor coding improvements. 2019-11-18 19:09:55 +01:00
Héctor Hurtado 4c7eae8ebb New error handling added to getRequestBody function in data package 2019-11-18 15:01:02 +01:00
Héctor Hurtado e4b3a4f718 New error handling added to server and decorator module in data package 2019-11-18 14:52:52 +01:00
Héctor Hurtado edff842c3b New srverrors package added. New error handling added to control package 2019-11-18 14:32:54 +01:00
Héctor Hurtado ee9bb8df9c New error handling in poc and features 2019-11-14 15:05:19 +01:00
Héctor Hurtado e6b779dfbb Specification modified to include changes in error responses 2019-11-14 13:51:16 +01:00
Héctor Hurtado ec788f68c2 Added documentation comments to the control package 2019-11-14 12:10:00 +01:00
Héctor Hurtado 0618e55ce0 New documentation. Resume, short example and intallation 2019-11-13 21:18:30 +01:00
Héctor Hurtado 69cbcd7fda Fix code highlights in README.rst 2019-10-31 15:37:32 +01:00
Héctor Hurtado 31f71c2ed7 Fix code highlights in README.rst 2019-10-31 15:30:02 +01:00
Héctor Hurtado 7c48eb730d CLOSES: #77 2019-10-31 15:22:56 +01:00
Héctor Hurtado 84a106db19 Target for building a Kapow! container image and Dockerfile 2019-10-31 15:22:56 +01:00
Héctor Hurtado 19c4e8d482 Changed user server bind address to 0.0.0.0 to allow listen on a container 2019-10-31 15:22:56 +01:00
Héctor Hurtadoandpancho horrillo <pedrofelipe.horrillo.@bbva.com> 0021f754fd Changed get resource item and handler ID not found scenarios.
This change is to comply with Go's implementation.

Co-authored-by: pancho horrillo <pedrofelipe.horrillo.@bbva.com>
2019-10-29 15:50:43 +01:00
Héctor Hurtado fb50e24836 CLOSES: #71 2019-10-28 11:42:52 +01:00
Héctor Hurtado 9cb9e9335d Closes: #68 2019-10-25 11:50:14 +02:00
Héctor Hurtado d9e072f89a Removed references to reason phrase from spec. Closes #66 2019-10-25 10:15:21 +02:00
Héctor Hurtado c3be29255a Closes: #66 2019-10-25 09:52:12 +02:00
Héctor Hurtado 26a7b690b7 Verify content type on getRoute method 2019-10-25 09:02:36 +02:00
Héctor Hurtado a54c6f24a1 Added getRoute to control api 2019-10-24 17:52:03 +02:00
Héctor Hurtado 84a71815e4 FIXES: #44 2019-10-24 10:44:57 +02:00
Héctor Hurtado f4b9a96a06 Added note to spec to state cookie name case sensitivity: FIXES: #43 2019-10-23 16:40:04 +02:00
Héctor Hurtado 90449773e4 Added legal header to all features and step definitions files 2019-10-23 13:45:54 +02:00
Héctor Hurtado 723e4787b3 Added legal header to all Go source files 2019-10-23 13:35:01 +02:00
Héctor Hurtado 06c1c49d8e First test for files feature 2019-10-18 08:35:33 +02:00
Héctor Hurtado 92e1658844 Added tests for getHeaders feature Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com> 2019-10-17 13:37:15 +02:00
Héctor Hurtado a3a9158cfe Configure funcRemove in control server 2019-10-14 16:03:41 +02:00
Héctor Hurtado 93dfe9ef7b Finished last test case; over, embarrassing but over 2019-10-10 22:33:17 +02:00
Héctor Hurtado e0371ef881 Test bad request for cookies solved && git push 2019-10-10 17:14:09 +02:00
Héctor Hurtado 9ed75d14a9 Test bad request solved 2019-10-10 17:04:59 +02:00
Héctor Hurtado b9d65783b3 Added data server tests for checking valid handler 2019-10-10 16:41:02 +02:00
Héctor Hurtado 7ab353072b Need to review tests in data api 2019-10-10 13:33:33 +02:00
Héctor Hurtado 958175c59a Test TestConfigRouterHasRoutesWellConfigured resolved 2019-10-10 11:49:15 +02:00
Héctor Hurtado 6d9b9522e9 First test for data server 2019-10-10 10:43:23 +02:00
Héctor Hurtado 007923de8a Added test for checking router configuration in control api 2019-10-09 17:27:17 +02:00
Héctor Hurtado f85660c97b TestAddRouteReturns422ErrorWhenMandatoryFieldsMissing refactor 2019-10-09 16:30:52 +02:00
Héctor Hurtado 2e2fcc4edd Skip WIP in listRoutes tests 2019-10-09 15:50:14 +02:00
Héctor Hurtado 544b01a1ff Merge branch 'master' of ssh://github.com/BBVA/kapow 2019-10-09 15:46:57 +02:00
Héctor Hurtado 876e4da43a Fixed tests for listRoutes and removeRoute 2019-10-09 15:46:49 +02:00
Héctor Hurtado 7d1f0bf97c Added content type check in responses for control api tests 2019-10-09 13:04:11 +02:00
Héctor Hurtado 9b5e39ee9c Added test fot removeRoute and listRoutes in control api 2019-10-09 12:02:43 +02:00
Héctor Hurtado b794af01e0 Coorected control api test function names 2019-10-09 12:00:47 +02:00
Héctor Hurtado 95aea4bce1 Replaced calls to Snapshot by List when accessing Routes state package 2019-10-09 10:22:43 +02:00
Héctor Hurtado 4164f3e3de Added control api validation test for addRoute 2019-10-09 09:39:36 +02:00
Héctor Hurtado 6df4369358 Added test for checking Index 2019-10-08 16:18:51 +02:00
Héctor Hurtado 4a258e74ce Added Index fient to the Route model 2019-10-08 15:40:43 +02:00
Héctor Hurtado a4b1a5504b Merge branch 'master' of ssh://github.com/BBVA/kapow 2019-10-08 15:15:02 +02:00
Héctor Hurtado 198584f517 First green in control server 2019-10-08 15:14:50 +02:00
Héctor Hurtado 3fa2357f71 First failing test in control package 2019-10-08 12:35:05 +02:00
Héctor Hurtado 8fe46d1c6b Merge branch 'master' of ssh://github.com/BBVA/kapow 2019-10-08 12:03:13 +02:00
Héctor Hurtado fe7d962581 Reworking in module definition 2019-10-08 12:02:46 +02:00
Héctor Hurtado 73e05afee3 Merge branch 'master' of ssh://github.com/BBVA/kapow 2019-10-08 09:42:03 +02:00
Héctor Hurtado 98faa6f155 Merge branch 'feature_server_launcher' 2019-10-08 09:41:19 +02:00
Héctor Hurtado bb0a283813 Prepare to merge master 2019-10-08 09:40:51 +02:00
Héctor Hurtado 02f0410685 Merge branch 'feature_control_server' 2019-10-08 09:21:27 +02:00
Héctor Hurtado e32116abad Rewrite 2019-10-08 09:20:58 +02:00
Héctor Hurtado 7fdef70e39 Moved to internal 2019-10-08 08:56:04 +02:00
Héctor Hurtado 56db1ce2ac Moved to internal 2019-10-08 08:54:07 +02:00
Héctor Hurtado 9266f48c7e First test 2019-10-07 16:00:14 +02:00
Héctor Hurtado 81379c22e2 First non-working version of server package 2019-10-07 13:48:35 +02:00
Héctor Hurtado bbda43b193 Merge branch 'master' of ssh://github.com/BBVA/kapow 2019-10-04 14:33:00 +02:00
Héctor Hurtado feaa836093 Connect set command. TODOs in route command 2019-10-04 14:32:39 +02:00
Héctor Hurtado 6b34047d75 Added gock.IsDone() to route list and remove tests. Remove content type in route remove command. Removed disturbing data for texts. Remove unneeded test in set command. 2019-10-04 13:55:36 +02:00
Héctor Hurtado b93a5a0c98 Fixed error specification of get and set commands in Data API 2019-10-04 13:17:29 +02:00
Héctor Hurtado 8b7d1d69e7 Added gock call validation 2019-10-03 10:43:51 +02:00
Héctor Hurtado 332d897927 Added set command fuction to client package 2019-10-03 10:37:29 +02:00
Héctor Hurtado 741867b5f3 Fix data/handler/success feature file 2019-08-30 13:18:00 +02:00
Héctor Hurtado 4e3470afa0 Implemented step definitions for data/handler/error_notfound feature. Changed resource paths in data features to be prefixed by / 2019-08-30 12:56:53 +02:00
Héctor Hurtado 513f12e2e4 Rewritten data/request and data/response features. Bigger size for scenarios and steps in gherkin-lint 2019-08-29 14:44:45 +02:00
Héctor Hurtado 48ab14d49d Modified some steps in data/handler features and added data/handler/error_itemnotfound feature 2019-08-29 14:14:04 +02:00
Héctor Hurtado fe0de6fc1b Error codes for data API requests 2019-08-29 12:52:46 +02:00
Héctor Hurtado c8e4019dc6 Modify Gherkin-lint example indentation value. Added features for data/request/success and data/response/success 2019-08-27 12:02:45 +02:00
Héctor Hurtado 91c1966699 Fix typos 2019-08-27 10:11:00 +02:00
Héctor Hurtado 074880873d Added @wip tag to features and fix name length issues 2019-08-27 10:00:29 +02:00
Héctor Hurtado 666bfb09f9 Merge branch 'master' of ssh://github.com/BBVA/kapow
Merged
2019-08-27 09:44:43 +02:00
Héctor Hurtado 6bb8f974fb Added features for data/handler/error_invalidresource, data/handler/error_notfound and data/handler/success 2019-08-27 09:44:37 +02:00
Héctor Hurtado 227ad8e4b7 Merge branch 'master' of ssh://github.com/BBVA/kapow
Merged
2019-08-26 13:32:17 +02:00
Héctor Hurtado 6afc9d8c25 Fixed some typos on url params 2019-08-26 13:31:43 +02:00
Héctor Hurtado 2b35a1fbfe Changed spec, URL parameters specified by curly brackets instead of colon 2019-08-23 13:24:31 +02:00
Héctor Hurtado b38023a033 Changed specification to rise an error when inserting with a negative index. Added new scenario to check this condition 2019-08-23 13:18:12 +02:00
Héctor Hurtado d564ff9206 New route added for 'Control API' for retrieving route info 2019-08-23 13:11:05 +02:00
Héctor Hurtado 4cfa5a9aa1 Merge branch 'master' of ssh://github.com/BBVA/kapow
Merged to master
2019-08-21 13:17:25 +02:00
Héctor Hurtado 6261f5aa59 Changed delete/success feature to remove id references 2019-08-21 13:17:10 +02:00
Héctor Hurtado 308ba58479 Merge branch 'master' of ssh://github.com/BBVA/kapow
Merged to master
2019-08-21 13:08:27 +02:00
Héctor Hurtado 64998360f9 Merge branch 'master' of ssh://github.com/BBVA/kapow
Merged to master
2019-08-21 13:07:04 +02:00
Héctor Hurtado 7e687daf23 Replaced id wildcard value for ANY 2019-08-21 13:06:56 +02:00
Héctor Hurtado aa4cd84e79 Merged 2019-08-21 11:07:23 +02:00
Héctor Hurtado 450bb48953 Replaced gherkin tables by json documents in requests and responses of insert features 2019-08-21 11:03:29 +02:00
Héctor Hurtado d7813f6487 Replaced gherkin tables by json documents in requests and responses of list features. Fix typos in delete/list_order feature 2019-08-21 10:16:03 +02:00
Héctor Hurtado fe9534fe51 Replaced gherkin tables by json documents in requests and responses of delete features 2019-08-21 10:07:08 +02:00
Héctor Hurtado 1dac4d41c8 Replaced gherkin tables by json documents in requests and responses of append features 2019-08-21 09:43:48 +02:00
Héctor Hurtado b86454179a Fixed some formating and naming issues 2019-08-20 10:51:24 +02:00
Héctor Hurtado 2b31b2b9f0 Added features for append/error_malformed, delete/list_order, insert/error_malformed and insert/list_order. Updated append/error_unprocessable and resolve conflicts in list/success. 2019-08-20 10:36:24 +02:00
Héctor Hurtado 380eed57d9 Added features for append/error_malformed, delete/list_order, insert/error_malformed and insert/list_order. Updated append/error_unprocessable and list/success. 2019-08-20 10:31:14 +02:00
Héctor Hurtado 040fc55b39 Added insert/success and insert/error_unprocessable features. Fixed some typos on append/error_unprocessable feature 2019-08-17 10:37:36 +02:00
Héctor Hurtado ba9e80e620 Added delete/success and delete/error_notfound features 2019-08-17 10:28:47 +02:00
Héctor Hurtado baf8217a14 Added append/success and append/error_unprocessable features 2019-08-17 10:26:40 +02:00
Héctor Hurtado 12a5d8761b Rewritten the step to start a preconfigured server 2019-08-17 10:24:10 +02:00
Héctor Hurtado fc5e510f89 Fix typo in new error code 2019-08-14 21:06:33 +02:00