Commit Graph
100 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
Roberto Abdelkader Martínez Pérez 483056ea16 Clarification about aiohttp unsafe usage in PoC 2019-08-21 13:11:49 +02:00
Roberto Abdelkader Martínez Pérez e8c98bcfeb Remove unwanted tag 2019-08-21 13:07:44 +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
Roberto Abdelkader Martínez Pérez 8040cb5b3b Removing "entity" from steps 2019-08-21 12:00:56 +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
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
Roberto Abdelkader Martínez Pérez 0a93135b4e Check for reachable API in initial step. 2019-08-20 10:29:58 +02:00
Roberto Abdelkader Martínez Pérez 7c5f127f22 If no interactive without scripts is not interactive. 2019-08-20 10:29:30 +02:00
Roberto Abdelkader Martínez Pérez 6368532717 Parametrize step 2019-08-20 09:59:38 +02:00
Roberto Abdelkader Martínez Pérez 7267b3a821 make catalog to show step catalog 2019-08-20 09:59:23 +02:00
Roberto Abdelkader Martínez Pérez 5e253c9814 Change response code from phrase to code and 'phrase' by 'reason phrase' 2019-08-20 09:54:18 +02:00
Roberto Abdelkader Martínez Pérez 5352322ad5 Adapting style to the capabilities of gherkin-lint. 2019-08-20 08:22:48 +02:00
Roberto Abdelkader Martínez Pérez e4771de5ed Implement non-interactive mode. Add -i/--interactive flag. 2019-08-16 17:19:19 +02:00
Roberto Abdelkader Martínez Pérez bc2b323923 Implement feature list success. 2019-08-14 13:19:56 +02:00
Roberto Abdelkader Martínez Pérez b4b8be995b Starting the spec E2E tests. 2019-08-13 13:19:40 +02:00
Roberto Abdelkader Martínez Pérez dcb12801ce GoLint 2019-08-06 16:35:22 +02:00
Roberto Abdelkader Martínez Pérez b5110cb681 Ignore binary output. 2019-08-06 16:19:37 +02:00
Roberto Abdelkader Martínez Pérez 4f279059a2 Import order. 2019-08-06 16:19:26 +02:00
Roberto Abdelkader Martínez Pérez 4b8ca7d379 Go module. 2019-08-06 16:18:13 +02:00
Roberto Abdelkader Martínez Pérez c6cb9e361e Remove executable. 2019-08-06 12:32:28 +02:00
Roberto Abdelkader Martínez Pérez 0c783447e3 Minimal poc in Go, executing one command and with two HTTP servers. 2019-08-06 12:06:58 +02:00
Roberto Abdelkader Martínez Pérez 292acac8ab Inserting an empty line between .pow files when loading multiple at a time. Closes #6. 2019-08-02 10:34:27 +02:00
Roberto Abdelkader Martínez Pérez 0f87d22317 Setup files for PoC. Closes #7 2019-08-02 10:21:50 +02:00
Roberto Abdelkader Martínez Pérez 505b1ca07a Added SSL support and ability to change bind host and port. 2019-07-17 16:11:37 +02:00
Roberto Abdelkader Martínez Pérez 21547e3fe9 Optimize Dockerfile layer order to improve speed. 2019-07-09 11:35:41 +02:00
Roberto Abdelkader Martínez Pérez a7e5f63612 Added new resources to expose form fields and form fields with files. 2019-07-09 11:31:55 +02:00
Roberto Abdelkader Martínez Pérez a4bc96555e Separated user and control interfaces. 2019-07-03 14:29:22 +02:00
Roberto Abdelkader Martínez Pérez 34e35bbcbf Fixed wrong /request path. 2019-06-12 07:35:39 +02:00
Roberto Abdelkader Martínez Pérez 77f2855471 Added /request/host to both, the spec and the poc. 2019-06-12 07:35:15 +02:00
Roberto Abdelkader Martínez Pérez b10765f623 Merge remote-tracking branch 'origin/develop' into server-as-subcommand 2019-06-05 10:19:43 +02:00
Roberto Abdelkader Martínez Pérez 96739189f1 Making PoC follow spec regarding to the "kapow route" command and, incidentally creating a new "kapow server" command. 2019-06-04 14:40:01 +02:00
Roberto Abdelkader Martínez Pérezandpancho horrillo 7accfdd355 spec: Several TODOs
Co-authored-by: pancho horrillo <pedrofelipe.horrillo@bbva.com>
2019-05-27 11:13:57 +02:00
Roberto Abdelkader Martínez Pérez ef1cd783cd Reverting wrong URL patterns in poc. Going back to commit e588785dd1 2019-05-24 11:02:10 +02:00
Roberto Abdelkader Martínez Pérezandpancho horrillo 39c60e5c93 spec: provide custom reason phrase for http error responses and fixes
Co-authored-by: pancho horrillo <pedrofelipe.horrillo@bbva.com>
2019-05-23 13:02:57 +02:00
Roberto Abdelkader Martínez Pérezandpancho horrillo bb991a56c2 spec: add handler overwrite key and misc tweaks.
Co-authored-by: pancho horrillo <pedrofelipe.horrillo@bbva.com>
2019-05-23 11:47:45 +02:00
Roberto Abdelkader Martínez Pérezandpancho horrillo 1eb0500b92 spec: Revisit spacing and indentation.
Co-authored-by: pancho horrillo <pedrofelipe.horrillo@bbva.com>
2019-05-23 11:20:47 +02:00
Roberto Abdelkader Martínez Pérezandpancho horrillo 23adf2ea50 spec: Get handler key and minor fixes.
Co-authored-by: pancho horrillo <pedrofelipe.horrillo@bbva.com>
2019-05-22 15:57:01 +02:00
Roberto Abdelkader Martínez Pérezandpancho horrillo c3ab9d54de spec: Added titles to the handler key tree examples.
Co-authored-by: pancho horrillo <pedrofelipe.horrillo@bbva.com>
2019-05-22 14:47:37 +02:00
Roberto Abdelkader Martínez Pérezandpancho horrillo 87dd0b2f6d spec: Handler key tree examples.
Co-authored-by: pancho horrillo <pedrofelipe.horrillo@bbva.com>
2019-05-22 12:14:24 +02:00
Roberto Abdelkader Martínez Pérezandpancho horrillo 7cee2fac83 spec: Handlers keys tree reformat.
Co-authored-by: pancho horrillo <pedrofelipe.horrillo@bbva.com>
2019-05-22 10:16:03 +02:00
Roberto Abdelkader Martínez Pérez 2ef59e49f8 spec: Handlers table reformat. 2019-05-22 10:01:16 +02:00
Roberto Abdelkader Martínez Pérezandpancho horrillo d25821db08 spec: Handlers definition and key tree.
Co-authored-by: pancho horrillo <pedrofelipe.horrillo@bbva.com>
2019-05-21 14:05:29 +02:00
Roberto Abdelkader Martínez Pérezandpancho horrillo d980917ff6 spec: Delete route description.
Co-authored-by: pancho horrillo <pedrofelipe.horrillo@bbva.com>
2019-05-21 14:04:53 +02:00
Roberto Abdelkader Martínez Pérez 8e6b83fd7f Route to be implemented. 2019-05-20 16:17:17 +02:00
Roberto Abdelkader Martínez Pérezandpancho horrillo b9aae2e161 Added additional notes in the documentation.
Co-authored-by: pancho horrillo <pedrofelipe.horrillo@bbva.com>
2019-05-20 15:58:31 +02:00
Roberto Abdelkader Martínez Pérezandpancho horrillo 3624f1ffa2 Document insert new route
Co-authored-by: pancho horrillo <pedrofelipe.horrillo@bbva.com>
2019-05-20 15:52:19 +02:00
Roberto Abdelkader Martínez Pérez 73f59045ec HTTP API doc WIP. 2019-05-20 10:52:47 +02:00
Roberto Abdelkader Martínez Pérez 2e15570651 HTTP API skeleton. 2019-05-17 12:31:14 +02:00
Roberto Abdelkader Martínez Pérez 5c6f0a11de Why, how and what. 2019-05-17 10:59:58 +02:00
Roberto Abdelkader Martínez Pérez 0c1408c694 Using wrong dictionary for cookie storage. 2019-05-06 10:01:46 +02:00
Roberto Abdelkader Martínez Pérez a9bc7466b2 Command line dependencies and static utilities 2019-05-05 20:43:57 +02:00
Roberto Abdelkader Martínez Pérez 8de169bbd4 Merge branch 'master' of github.com:BBVA/kapow 2019-05-05 09:39:13 +02:00
Roberto Abdelkader Martínez Pérez b950da382e Added Dockerfile and removed PATH injection from shell. 2019-05-05 09:38:27 +02:00
Roberto Abdelkader Martínez Pérez 7fe5e94846 Doc and refactor. 2019-04-30 16:12:14 +02:00
Roberto Abdelkader Martínez Pérez e01b29e452 Renaming Connection 2019-04-30 14:36:07 +02:00
Roberto Abdelkader Martínez Pérez ad6ffb6bc4 Graceful exit when shell finish. 2019-04-30 09:32:16 +02:00
Roberto Abdelkader Martínez Pérez b0566e14a1 Remaining examples. 2019-04-29 15:35:29 +02:00
Roberto Abdelkader Martínez Pérez 503855c53b pandoc and pdfeditor examples. 2019-04-29 15:29:12 +02:00
Roberto Abdelkader Martínez Pérez de67e405c5 Reimplementing response tool in python to allow streaming put from stdin. 2019-04-29 13:01:54 +02:00
Roberto Abdelkader Martínez Pérez 503ac70963 Reimplementation of 'operator' example. 2019-04-29 11:53:39 +02:00
Roberto Abdelkader Martínez Pérez 87dff09afb Allowing a second argument to response to specify the value. 2019-04-29 11:53:15 +02:00
Roberto Abdelkader Martínez Pérez a3e53f17e0 Fixing cookies on streaming. 2019-04-29 11:52:44 +02:00
Roberto Abdelkader Martínez Pérez 0b1ec2af63 Fixing request params. 2019-04-29 11:52:03 +02:00
Roberto Abdelkader Martínez Pérez 7f120a87e7 Fixing poc. 2019-04-26 08:38:32 +02:00
Roberto Abdelkader Martínez Pérez 79a039fb89 pylint 2019-04-26 07:55:33 +02:00
Roberto Abdelkader Martínez Pérez bc65b5ba4f pylint config in poc directory 2019-04-26 07:50:09 +02:00
Roberto Abdelkader Martínez Pérez 969a2522c4 PoC code in poc directory. 2019-04-26 07:49:35 +02:00
Roberto Abdelkader Martínez Pérez 3017755ea1 Merge branch 'master' of github.com:BBVA/kapow 2019-04-26 07:46:40 +02:00
Roberto Abdelkader Martínez Pérez 330db9bd09 New-style kapow on project root. 2019-04-26 07:46:10 +02:00
Roberto Abdelkader Martínez Pérez ea02a50536 Removing old-style kapow. 2019-04-26 07:45:33 +02:00
Roberto Abdelkader Martínez Pérez 3262de429c README wip 2019-04-26 07:44:10 +02:00
Roberto Abdelkader Martínez Pérez 63756ad784 Merge branch 'master' of github.com:BBVA/kapow 2019-04-26 07:38:33 +02:00
Roberto Abdelkader Martínez Pérez 04abd3ac51 Merge branch 'resourcesasendpoints' 2019-04-26 07:33:32 +02:00
Roberto Abdelkader Martínez Pérez 20460623d7 Kapow with resources as endpoints 2019-04-26 07:32:55 +02:00
Roberto Abdelkader Martínez Pérez fae7a4034b Expressions may not end in newline. 2019-04-22 14:47:36 +02:00
Roberto Abdelkader Martínez Pérez 5619ad7905 Fixed wrong parsing behavior with path EP. Added comment support. 2019-04-22 14:22:59 +02:00
Roberto Abdelkader Martínez Pérez 2de9a3766e Review DEMO. 2019-04-22 07:52:25 +02:00