Commit Graph

230 Commits

Author SHA1 Message Date
Roberto Abdelkader Martínez Pérez
90c0c6ddb7 Append and Insert should return 201 on success. Delete should return 204 on success with no content. 2019-08-23 11:48:52 +02:00
Roberto Abdelkader Martínez Pérez
71bca13fed Cosmetic changes to kapow route commands output and new 'kapow route list' subcommand 2019-08-22 10:51:30 +02:00
Roberto Abdelkader Martínez Pérez
1bf08c706b Kapow! is non interactive by default now
Update docker to run it in the background.
2019-08-22 10:40:32 +02:00
Roberto Abdelkader Martínez Pérez
0e257b92dd Makefile reorder 2019-08-22 09:30:24 +02:00
Roberto Abdelkader Martínez Pérez
80dc654115 Minor fixes to steps and compliant poc control API 2019-08-22 09:27:53 +02:00
Roberto Abdelkader Martínez Pérez
93a89acbce Add a fix target to ease the development 2019-08-21 13:18:46 +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
Roberto Abdelkader Martínez Pérez
483056ea16 Clarification about aiohttp unsafe usage in PoC 2019-08-21 13:11:49 +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
Roberto Abdelkader Martínez Pérez
e8c98bcfeb Remove unwanted tag 2019-08-21 13:07:44 +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
Roberto Abdelkader Martínez Pérez
2ec064a933 Allow special marker ANY inside JSON examples 2019-08-21 13:01:56 +02:00
Roberto Abdelkader Martínez Pérez
c96584efcc Return route information on insert & append 2019-08-21 12:20:11 +02:00
Roberto Abdelkader Martínez Pérez
9ae748e5c1 Merge pull request #17 from CesarGallego/master
Spec changes
2019-08-21 12:05:37 +02:00
César Gallego Rodríguez
3a8adb19f7 Minor fixes on human words.
Thanks-to: Nilp0inter
2019-08-21 12:01:08 +02:00
Roberto Abdelkader Martínez Pérez
8040cb5b3b Removing "entity" from steps 2019-08-21 12:00:56 +02:00
César Gallego Rodríguez
9ef714309d Update spec/README.md
language fix

Co-Authored-By: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
2019-08-21 11:59:32 +02:00
César Gallego Rodríguez
44287738f5 Update spec/README.md
language fix

Co-Authored-By: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
2019-08-21 11:59:21 +02:00
César Gallego Rodríguez
d9f247cc17 Update spec/README.md
language fix

Co-Authored-By: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
2019-08-21 11:59:07 +02:00
Roberto Abdelkader Martínez Pérez
f840de2b59 Use text instead of table for raw JSON passing 2019-08-21 11:58:09 +02:00
Roberto Abdelkader Martínez Pérez
c3e26b0e8f Remove old spec behavior 2019-08-21 11:57:14 +02:00
Roberto Abdelkader Martínez Pérez
956bb2a2a3 Missing steps 2019-08-21 11:29:16 +02:00
Roberto Abdelkader Martínez Pérez
e1590df418 Using "response reason phrase" instead of "response phrase" in step 2019-08-21 11:28:16 +02:00
Roberto Abdelkader Martínez Pérez
1540f6d3a7 Implement step to insert route. 2019-08-21 11:23:25 +02:00
Roberto Abdelkader Martínez Pérez
e9b46921b8 Missing word in step 2019-08-21 11:23:25 +02:00
Roberto Abdelkader Martínez Pérez
50262c599d Implemented insert route in PoC. 2019-08-21 11:23:25 +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
César Gallego Rodríguez
d4bcd4cae6 Correct line breaks. 2019-08-21 10:21:16 +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
César Gallego Rodríguez
2eaac52a03 Less errors, less complex. 2019-08-21 10:15:55 +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
César Gallego Rodríguez
c834bd4447 Robustness principle and optional body. 2019-08-21 09:57:44 +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
César Gallego Rodríguez
a7ea97d1d5 Explicit format in command. 2019-08-21 09:42:21 +02:00
Roberto Abdelkader Martínez Pérez
7d83432500 Factorized run_kapow_server function to allow reuse. 2019-08-21 09:11:10 +02:00
Roberto Abdelkader Martínez Pérez
126beca86e More appropiate defaults for testing targets. 2019-08-21 09:10:42 +02:00
Roberto Abdelkader Martínez Pérez
443aa0f39c Use 201 for successfule route append response. 2019-08-21 09:08:22 +02:00
Roberto Abdelkader Martínez Pérez
6257db82dd Add wip target to test wip marked scenarios. 2019-08-21 08:56:24 +02:00
Roberto Abdelkader Martínez Pérez
7a93c16dec Implement JSON validation in append. 2019-08-21 08:52:13 +02:00
Roberto Abdelkader Martínez Pérez
f6014ab403 Step alias for JSON document. 2019-08-21 08:38:13 +02:00
Roberto Abdelkader Martínez Pérez
0cfc55c175 Helper function to compare nested structures in tests. 2019-08-21 08:23:20 +02:00
Roberto Abdelkader Martínez Pérez
be49120511 Missing step. 2019-08-20 11:10:40 +02:00
Roberto Abdelkader Martínez Pérez
226ac5b90a Reason phrase instead of phrase. 2019-08-20 11:09:05 +02:00
Roberto Abdelkader Martínez Pérez
c07638601b Implementing poc spec behavior in append route. 2019-08-20 10:59:39 +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