Commit Graph

  • 227ad8e4b7 Merge branch 'master' of ssh://github.com/BBVA/kapow Héctor Hurtado 2019-08-26 13:32:17 +02:00
  • 6afc9d8c25 Fixed some typos on url params Héctor Hurtado 2019-08-26 13:31:43 +02:00
  • ceb41d4f7d Update README.rst Roberto Abdelkader Martínez Pérez 2019-08-26 11:49:29 +02:00
  • 6de3ca9ebe Instructions about running spec tests. Roberto Abdelkader Martínez Pérez 2019-08-26 11:47:52 +02:00
  • 4919d2892f Use double backquotes Roberto Abdelkader Martínez Pérez 2019-08-26 11:25:28 +02:00
  • fac67e5885 Add rstcheck tool Roberto Abdelkader Martínez Pérez 2019-08-26 11:24:39 +02:00
  • ae9b417433 Update README.rst Roberto Abdelkader Martínez Pérez 2019-08-26 11:17:27 +02:00
  • e787f82c2d Spec test suite README. Roberto Abdelkader Martínez Pérez 2019-08-26 11:14:49 +02:00
  • f28ca5a114 Proper indentation Roberto Abdelkader Martínez Pérez 2019-08-23 17:31:24 +02:00
  • 53ce823448 New gif with interactive mode option '-i' Roberto Abdelkader Martínez Pérez 2019-08-23 17:21:24 +02:00
  • 703f2ab762 New gif with interactive mode option '-i' Roberto Abdelkader Martínez Pérez 2019-08-23 17:19:53 +02:00
  • df31992c1b Typo Roberto Abdelkader Martínez Pérez 2019-08-23 15:19:12 +02:00
  • 6b0ff05010 Implement get route details. Closes #12 Roberto Abdelkader Martínez Pérez 2019-08-23 15:18:25 +02:00
  • 2b35a1fbfe Changed spec, URL parameters specified by curly brackets instead of colon Héctor Hurtado 2019-08-23 13:24:31 +02:00
  • b38023a033 Changed specification to rise an error when inserting with a negative index. Added new scenario to check this condition Héctor Hurtado 2019-08-23 13:18:12 +02:00
  • d564ff9206 New route added for 'Control API' for retrieving route info Héctor Hurtado 2019-08-23 13:11:05 +02:00
  • fc760205ea Spelling errors Roberto Abdelkader Martínez Pérez 2019-08-23 12:56:09 +02:00
  • 3649db92b0 Fail if one lists differ in size Roberto Abdelkader Martínez Pérez 2019-08-23 12:51:35 +02:00
  • 4db8814a69 Scenario fix Roberto Abdelkader Martínez Pérez 2019-08-23 12:48:44 +02:00
  • 991ae618bb Review feature and scenario definitions. Removing unnecesary and redundant steps. Roberto Abdelkader Martínez Pérez 2019-08-23 12:46:10 +02:00
  • 8752f419b5 Implementing 204 on delete and removing unnecessary steps Roberto Abdelkader Martínez Pérez 2019-08-23 12:01:51 +02:00
  • 93a3562c04 Empty response body step is too restrictive Roberto Abdelkader Martínez Pérez 2019-08-23 11:53:11 +02:00
  • 90c0c6ddb7 Append and Insert should return 201 on success. Delete should return 204 on success with no content. Roberto Abdelkader Martínez Pérez 2019-08-23 11:48:18 +02:00
  • 71bca13fed Cosmetic changes to kapow route commands output and new 'kapow route list' subcommand Roberto Abdelkader Martínez Pérez 2019-08-22 10:51:17 +02:00
  • 1bf08c706b Kapow! is non interactive by default now Roberto Abdelkader Martínez Pérez 2019-08-22 10:40:32 +02:00
  • 0e257b92dd Makefile reorder Roberto Abdelkader Martínez Pérez 2019-08-22 09:30:24 +02:00
  • 80dc654115 Minor fixes to steps and compliant poc control API Roberto Abdelkader Martínez Pérez 2019-08-22 09:27:53 +02:00
  • 93a89acbce Add a fix target to ease the development Roberto Abdelkader Martínez Pérez 2019-08-21 13:18:43 +02:00
  • 4cfa5a9aa1 Merge branch 'master' of ssh://github.com/BBVA/kapow Héctor Hurtado 2019-08-21 13:17:25 +02:00
  • 6261f5aa59 Changed delete/success feature to remove id references Héctor Hurtado 2019-08-21 13:17:10 +02:00
  • 483056ea16 Clarification about aiohttp unsafe usage in PoC Roberto Abdelkader Martínez Pérez 2019-08-21 13:11:45 +02:00
  • 308ba58479 Merge branch 'master' of ssh://github.com/BBVA/kapow Héctor Hurtado 2019-08-21 13:08:27 +02:00
  • e8c98bcfeb Remove unwanted tag Roberto Abdelkader Martínez Pérez 2019-08-21 13:07:44 +02:00
  • 64998360f9 Merge branch 'master' of ssh://github.com/BBVA/kapow Héctor Hurtado 2019-08-21 13:07:04 +02:00
  • 7e687daf23 Replaced id wildcard value for ANY Héctor Hurtado 2019-08-21 13:06:56 +02:00
  • 2ec064a933 Allow special marker ANY inside JSON examples Roberto Abdelkader Martínez Pérez 2019-08-21 13:01:56 +02:00
  • c96584efcc Return route information on insert & append Roberto Abdelkader Martínez Pérez 2019-08-21 12:19:48 +02:00
  • 9ae748e5c1 Merge pull request #17 from CesarGallego/master Roberto Abdelkader Martínez Pérez 2019-08-21 12:05:37 +02:00
  • 3a8adb19f7 Minor fixes on human words. César Gallego Rodríguez 2019-08-21 12:01:08 +02:00
  • 8040cb5b3b Removing "entity" from steps Roberto Abdelkader Martínez Pérez 2019-08-21 12:00:56 +02:00
  • 9ef714309d Update spec/README.md César Gallego Rodríguez 2019-08-21 11:59:32 +02:00
  • 44287738f5 Update spec/README.md César Gallego Rodríguez 2019-08-21 11:59:21 +02:00
  • d9f247cc17 Update spec/README.md César Gallego Rodríguez 2019-08-21 11:59:07 +02:00
  • f840de2b59 Use text instead of table for raw JSON passing Roberto Abdelkader Martínez Pérez 2019-08-21 11:58:09 +02:00
  • c3e26b0e8f Remove old spec behavior Roberto Abdelkader Martínez Pérez 2019-08-21 11:57:14 +02:00
  • 956bb2a2a3 Missing steps Roberto Abdelkader Martínez Pérez 2019-08-21 11:29:16 +02:00
  • e1590df418 Using "response reason phrase" instead of "response phrase" in step Roberto Abdelkader Martínez Pérez 2019-08-21 11:28:16 +02:00
  • 1540f6d3a7 Implement step to insert route. Roberto Abdelkader Martínez Pérez 2019-08-21 11:22:50 +02:00
  • e9b46921b8 Missing word in step Roberto Abdelkader Martínez Pérez 2019-08-21 11:22:27 +02:00
  • 50262c599d Implemented insert route in PoC. Roberto Abdelkader Martínez Pérez 2019-08-21 11:21:44 +02:00
  • aa4cd84e79 Merged Héctor Hurtado 2019-08-21 11:07:23 +02:00
  • 450bb48953 Replaced gherkin tables by json documents in requests and responses of insert features Héctor Hurtado 2019-08-21 11:03:29 +02:00
  • d4bcd4cae6 Correct line breaks. César Gallego Rodríguez 2019-08-21 10:21:16 +02:00
  • d7813f6487 Replaced gherkin tables by json documents in requests and responses of list features. Fix typos in delete/list_order feature Héctor Hurtado 2019-08-21 10:16:03 +02:00
  • 2eaac52a03 Less errors, less complex. César Gallego Rodríguez 2019-08-21 10:15:55 +02:00
  • fe9534fe51 Replaced gherkin tables by json documents in requests and responses of delete features Héctor Hurtado 2019-08-21 10:07:08 +02:00
  • c834bd4447 Robustness principle and optional body. César Gallego Rodríguez 2019-08-21 09:57:44 +02:00
  • 1dac4d41c8 Replaced gherkin tables by json documents in requests and responses of append features Héctor Hurtado 2019-08-21 09:43:48 +02:00
  • a7ea97d1d5 Explicit format in command. César Gallego Rodríguez 2019-08-21 09:42:21 +02:00
  • 7d83432500 Factorized run_kapow_server function to allow reuse. Roberto Abdelkader Martínez Pérez 2019-08-21 09:11:10 +02:00
  • 126beca86e More appropiate defaults for testing targets. Roberto Abdelkader Martínez Pérez 2019-08-21 09:10:42 +02:00
  • 443aa0f39c Use 201 for successfule route append response. Roberto Abdelkader Martínez Pérez 2019-08-21 09:08:22 +02:00
  • 6257db82dd Add wip target to test wip marked scenarios. Roberto Abdelkader Martínez Pérez 2019-08-21 08:56:24 +02:00
  • 7a93c16dec Implement JSON validation in append. Roberto Abdelkader Martínez Pérez 2019-08-21 08:52:13 +02:00
  • f6014ab403 Step alias for JSON document. Roberto Abdelkader Martínez Pérez 2019-08-21 08:38:13 +02:00
  • 0cfc55c175 Helper function to compare nested structures in tests. Roberto Abdelkader Martínez Pérez 2019-08-21 08:23:20 +02:00
  • be49120511 Missing step. Roberto Abdelkader Martínez Pérez 2019-08-20 11:10:40 +02:00
  • 226ac5b90a Reason phrase instead of phrase. Roberto Abdelkader Martínez Pérez 2019-08-20 11:09:05 +02:00
  • c07638601b Implementing poc spec behavior in append route. Roberto Abdelkader Martínez Pérez 2019-08-20 10:59:26 +02:00
  • b86454179a Fixed some formating and naming issues Héctor Hurtado 2019-08-20 10:51:24 +02:00
  • 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. Héctor Hurtado 2019-08-20 10:36:24 +02:00
  • 380eed57d9 Added features for append/error_malformed, delete/list_order, insert/error_malformed and insert/list_order. Updated append/error_unprocessable and list/success. Héctor Hurtado 2019-08-20 10:31:14 +02:00
  • 0a93135b4e Check for reachable API in initial step. Roberto Abdelkader Martínez Pérez 2019-08-20 10:29:58 +02:00
  • 7c5f127f22 If no interactive without scripts is not interactive. Roberto Abdelkader Martínez Pérez 2019-08-20 10:29:30 +02:00
  • 6368532717 Parametrize step Roberto Abdelkader Martínez Pérez 2019-08-20 09:59:38 +02:00
  • 7267b3a821 make catalog to show step catalog Roberto Abdelkader Martínez Pérez 2019-08-20 09:59:23 +02:00
  • 5e253c9814 Change response code from phrase to code and 'phrase' by 'reason phrase' Roberto Abdelkader Martínez Pérez 2019-08-20 09:54:18 +02:00
  • 5352322ad5 Adapting style to the capabilities of gherkin-lint. Roberto Abdelkader Martínez Pérez 2019-08-20 08:22:48 +02:00
  • e4771de5ed Implement non-interactive mode. Add -i/--interactive flag. Roberto Abdelkader Martínez Pérez 2019-08-16 17:19:19 +02:00
  • 040fc55b39 Added insert/success and insert/error_unprocessable features. Fixed some typos on append/error_unprocessable feature Héctor Hurtado 2019-08-17 10:37:36 +02:00
  • ba9e80e620 Added delete/success and delete/error_notfound features Héctor Hurtado 2019-08-17 10:28:47 +02:00
  • baf8217a14 Added append/success and append/error_unprocessable features Héctor Hurtado 2019-08-17 10:26:40 +02:00
  • 12a5d8761b Rewritten the step to start a preconfigured server Héctor Hurtado 2019-08-17 10:24:10 +02:00
  • fc5e510f89 Fix typo in new error code Héctor Hurtado 2019-08-14 21:06:33 +02:00
  • 2d53a66c3e Fixed some typos in spec's correction Héctor Hurtado 2019-08-14 20:57:19 +02:00
  • 42bebfcc89 Fixed som errors and modified control API specs to support route_id ans new 412 error codes Héctor Hurtado 2019-08-14 20:43:33 +02:00
  • bc2b323923 Implement feature list success. Roberto Abdelkader Martínez Pérez 2019-08-14 13:19:56 +02:00
  • 4e86cf1ba4 Added control/list/success.feature scenarios Héctor Hurtado 2019-08-14 11:02:37 +02:00
  • 29b85bdfdb Added Hector's Go poc Héctor Hurtado 2019-08-13 14:17:39 +02:00
  • b4b8be995b Starting the spec E2E tests. Roberto Abdelkader Martínez Pérez 2019-08-13 13:19:40 +02:00
  • dcb12801ce GoLint Roberto Abdelkader Martínez Pérez 2019-08-06 16:35:22 +02:00
  • b5110cb681 Ignore binary output. Roberto Abdelkader Martínez Pérez 2019-08-06 16:19:37 +02:00
  • 4f279059a2 Import order. Roberto Abdelkader Martínez Pérez 2019-08-06 16:19:26 +02:00
  • 4b8ca7d379 Go module. Roberto Abdelkader Martínez Pérez 2019-08-06 16:18:13 +02:00
  • c6cb9e361e Remove executable. Roberto Abdelkader Martínez Pérez 2019-08-06 12:32:28 +02:00
  • 0c783447e3 Minimal poc in Go, executing one command and with two HTTP servers. Roberto Abdelkader Martínez Pérez 2019-08-06 12:06:58 +02:00
  • 292acac8ab Inserting an empty line between .pow files when loading multiple at a time. Closes #6. Roberto Abdelkader Martínez Pérez 2019-08-02 10:34:27 +02:00
  • 0f87d22317 Setup files for PoC. Closes #7 Roberto Abdelkader Martínez Pérez 2019-08-02 10:21:50 +02:00
  • 505b1ca07a Added SSL support and ability to change bind host and port. Roberto Abdelkader Martínez Pérez 2019-07-17 16:11:37 +02:00
  • 21547e3fe9 Optimize Dockerfile layer order to improve speed. Roberto Abdelkader Martínez Pérez 2019-07-09 11:35:41 +02:00