Commit Graph

87 Commits

Author SHA1 Message Date
pancho horrillo
e4606ab84a Drop compound error scenario
In order to allow different Kapow! implementations (Go, Python, ...)
compound errors will be left as implementation-dependent.
The spec will only test for simple error conditions.

Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
2019-11-11 17:47:28 +01:00
pancho horrillo
9eb186bd0f Revert "Closes: #66"
This reverts commit c3be29255a.

Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
2019-11-11 17:47:20 +01:00
pancho horrillo
c3180e3e7d spec: fix incorrect default value for KAPOW_DATAAPI_URL
This caused ghost failures when running the tests.
2019-10-30 17:40:40 +01:00
Héctor Hurtado
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
c3be29255a Closes: #66 2019-10-25 09:52:12 +02:00
Héctor Hurtado
a54c6f24a1 Added getRoute to control api 2019-10-24 17:52:03 +02:00
Héctor Hurtado
90449773e4 Added legal header to all features and step definitions files 2019-10-23 13:45:54 +02:00
Roberto Abdelkader Martínez Pérez
be6a2efcc4 Wait less time between retries
Co-authored-by: Hector Hurtado <hector.hurtado@bbva.com>
2019-10-22 13:23:49 +02:00
pancho horrillo
6154210b3f Update PoC and features with the 204 -> 404 update
Closes #33
2019-10-04 17:24:27 +02:00
pancho horrillo
36a61285b9 Style fix.
Note: "midst" tends to be used in more literary settings.
2019-09-06 13:55:22 +02:00
pancho horrillo
157886c3a5 Add scenario to the test suite where overwriting resources is checked.
Thanks to @nilp0inter for providing justification for the scenario.
2019-09-05 18:57:47 +02:00
Roberto Abdelkader Martínez Pérez
58a800e5e9 Replace request/response with new commands 2019-09-05 08:40:59 +02:00
Roberto Abdelkader Martínez Pérez
8e259b42de Fix tables alignment 2019-09-03 09:21:20 +02:00
Roberto Abdelkader Martínez Pérez
99ab41d2cb Change URL examples by metasyntactic variable names (RFC3092) 2019-09-03 09:13:30 +02:00
Roberto Abdelkader Martínez Pérez
0ebbc0674a Feature data/response/success 2019-08-30 15:17:48 +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
Roberto Abdelkader Martínez Pérez
0535f66c85 Implement Resource Item Not Found 2019-08-30 12:40:20 +02:00
Roberto Abdelkader Martínez Pérez
c9a9e90a7e Fix Invalid Path Resource error 2019-08-30 12:33:29 +02:00
Roberto Abdelkader Martínez Pérez
6e5633a460 Use double quotes for values 2019-08-30 11:26:49 +02:00
Roberto Abdelkader Martínez Pérez
3aec3a0c30 Steps to get and analyze resources 2019-08-30 11:26:18 +02:00
Roberto Abdelkader Martínez Pérez
c156eb1bdc A nicer pun 2019-08-29 16:34:59 +02:00
Roberto Abdelkader Martínez Pérez
312d7af506 Remove unnecessary steps 2019-08-29 16:32:58 +02:00
Roberto Abdelkader Martínez Pérez
b8d76e0aca Steps and entrypoint to yield control from Kapow! handlers 2019-08-29 16:32:45 +02:00
César Gallego Rodríguez
b039db214f finished draf implementation of data debug 2019-08-29 16:28:10 +02:00
César Gallego Rodríguez
990cc1ba8f WIP: data handler success.feature 2019-08-29 16:27:31 +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
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
6bb8f974fb Added features for data/handler/error_invalidresource, data/handler/error_notfound and data/handler/success 2019-08-27 09:44:37 +02:00
Roberto Abdelkader Martínez Pérez
df31992c1b Typo 2019-08-23 15:19:12 +02:00
Roberto Abdelkader Martínez Pérez
6b0ff05010 Implement get route details. Closes #12 2019-08-23 15:18:54 +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
Roberto Abdelkader Martínez Pérez
fc760205ea Spelling errors 2019-08-23 12:56:09 +02:00
Roberto Abdelkader Martínez Pérez
3649db92b0 Fail if one lists differ in size 2019-08-23 12:51:35 +02:00
Roberto Abdelkader Martínez Pérez
4db8814a69 Scenario fix 2019-08-23 12:48:44 +02:00
Roberto Abdelkader Martínez Pérez
991ae618bb Review feature and scenario definitions. Removing unnecesary and redundant steps. 2019-08-23 12:46:10 +02:00
Roberto Abdelkader Martínez Pérez
8752f419b5 Implementing 204 on delete and removing unnecessary steps 2019-08-23 12:01:51 +02:00
Roberto Abdelkader Martínez Pérez
93a3562c04 Empty response body step is too restrictive 2019-08-23 11:53:14 +02:00
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
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
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
Roberto Abdelkader Martínez Pérez
e8c98bcfeb Remove unwanted tag 2019-08-21 13:07:44 +02:00