Commit Graph

238 Commits

Author SHA1 Message Date
flecomte f17277c0e9 Test all security of routes #76 2021-03-31 02:35:59 +02:00
flecomte 9f13213a35 Fix error text when openapi definition was not found 2021-03-27 21:57:53 +01:00
flecomte 5f0b8de159 #69 Format HTTP error
add 403 for /articles route
2021-03-26 01:53:41 +01:00
flecomte fe953fc967 lintCheck after test 2021-03-24 19:48:14 +01:00
flecomte dcf7a2bc06 Rename openapi file 2021-03-24 19:34:39 +01:00
flecomte 52183abd08 Lint 2021-03-24 19:08:41 +01:00
flecomte f458d7b674 Move SQL test files 2021-03-24 19:07:01 +01:00
flecomte 03f68213e8 Test openapi schema of route /workgroup/*/members 2021-03-24 19:01:12 +01:00
flecomte 66fa1ba840 Test openapi schema of route /workgroup/*
add test and fix update workgroup
2021-03-24 01:15:19 +01:00
flecomte 5ef2345ea6 Test openapi schema of route /opinions/* 2021-03-22 02:57:33 +01:00
flecomte 50b5ca03c6 Fix schema validator for parameters 2021-03-22 02:44:44 +01:00
flecomte 9862e112eb Test openapi schema of GET /constitutions/{constitution}/follows 2021-03-22 00:52:23 +01:00
flecomte 5dc1518cfc Test openapi schema of GET /citizens/{citizen}/follows/articles 2021-03-22 00:30:31 +01:00
flecomte 4c1ab796e4 Test openapi schema of /constitutions/* 2021-03-20 01:14:39 +01:00
flecomte c1a3590b2b Improve BitMaskI 2021-03-20 00:58:51 +01:00
flecomte c9ce2a9dc7 Refactor constitution entity 2021-03-20 00:55:39 +01:00
flecomte d03b585372 Improve BitMaskI 2021-03-20 00:54:01 +01:00
flecomte 7765e6d27a Test openapi schema of PUT /comments/{comment} 2021-03-17 18:25:55 +01:00
flecomte 52bdcd0990 Test openapi schema of /citizens/current 2021-03-16 18:51:41 +01:00
flecomte 1655f47044 Test openapi schema of /citizens 2021-03-16 18:23:40 +01:00
flecomte c07a57a591 Test openapi schema of Auth passwordless 2021-03-16 01:28:26 +01:00
flecomte 0cf1aea9bf Test openapi schema of Register
Fix some routes
Improve Schema Validation
2021-03-16 00:53:10 +01:00
flecomte 235de4e5ff Improve error on "no path found" in openapi file 2021-03-15 10:13:38 +01:00
flecomte 869093ab25 Fix tests 2021-03-15 10:13:01 +01:00
flecomte 97b07fb424 Test openapi schema requestBody 2021-03-15 02:01:39 +01:00
flecomte 9c88adbabd Test openapi schema response of FindArticlesVersion,GetOneArticle,UpsertArticle
change snack_case to camelCase
2021-03-12 23:32:32 +01:00
flecomte ed0873837b Test openapi schema parameters in path 2021-03-09 03:49:59 +01:00
flecomte 6988365473 Test openapi schema parameters 2021-03-09 01:53:01 +01:00
flecomte 4762275b5b Test openapi schema response of FindArticles 2021-03-08 23:13:48 +01:00
flecomte bb637dd96a #71 Use response object for route FindArticles 2021-03-05 00:39:49 +01:00
flecomte 9fc21f5459 clean warnings 2021-03-03 03:16:09 +01:00
flecomte d9deb4836e #72 Move Entity and repository on the same package 2021-03-03 02:46:51 +01:00
flecomte 79feed54dd #68 Clean vote and citizen Entity
remove last warnings
2021-03-03 02:25:24 +01:00
flecomte 4c00095118 #68 Clean workgroup Entity 2021-03-02 23:25:00 +01:00
flecomte bc772f168f #68 Clean opinion Entity 2021-03-02 00:53:02 +01:00
flecomte 8d93fc8b3c #68 Clean follow Entity 2021-03-01 22:44:17 +01:00
flecomte d382a89905 Fix tests 2021-02-28 01:42:11 +01:00
flecomte 7446bd506a create gradle tasks "test", "testSql", "migrations" and run docker before tasks 2021-02-27 23:20:57 +01:00
flecomte 7985ea67e5 remove cucumber 2021-02-25 01:09:44 +01:00
flecomte d83ba2d54d Add Integration test for workgroup routes 2021-02-25 00:48:52 +01:00
flecomte 7b4066b928 Add Integration test for vote routes 2021-02-24 00:21:29 +01:00
flecomte 9fb2262107 Add Integration test for opinion routes 2021-02-23 22:51:16 +01:00
flecomte a27099177d Add SQL request find_citizen_by_name 2021-02-23 22:06:05 +01:00
flecomte b0aec9bea0 Add Integration test for follow constitution routes 2021-02-23 17:24:12 +01:00
flecomte a17bd11e9e Add Integration test for follow article routes 2021-02-19 23:30:04 +01:00
flecomte 8cf79a791e Rename annonymous to anonymous 2021-02-19 22:27:47 +01:00
flecomte bf4e01e318 Add Integration test for constitution routes 2021-02-19 22:27:47 +01:00
flecomte d29bb4467a Add/fix tags to integration tests 2021-02-19 21:58:06 +01:00
flecomte 0ecf0c205f Add Integration test for comment 2021-02-19 00:42:10 +01:00
flecomte c85401aa86 move createCitizen of Integration test 2021-02-10 18:10:21 +01:00