Commit Graph

483 Commits

Author SHA1 Message Date
Maxime Alves LIRMM@home 238bd99bd3 [cli.routes] add json schema export 2021-12-01 13:06:00 +01:00
Maxime Alves LIRMM@home 429a90d786 [halfapi] fix typo 2021-12-01 12:21:26 +01:00
Maxime Alves LIRMM@home 1ec244b60f [lib.constants] route keys are optional, in case of empty routers 2021-12-01 12:20:32 +01:00
Maxime Alves LIRMM@home 53ecbb58fc [tests] rework some tests, avoid calling project_runner multiple times (should be tested better, but for now is just buggy imports...) 2021-12-01 12:20:01 +01:00
Maxime Alves LIRMM@home 7e7bbb3a62 [tests] fix de "project_runner" auto clean sys.path, "tree" fixture to debug projects 2021-12-01 12:16:31 +01:00
Maxime Alves LIRMM@home 5e88109b3e manipuler le sys.path : BAAAD 2021-12-01 12:14:27 +01:00
Maxime Alves LIRMM@home e293ac3867 [cli/domain] create domain function rework - creates a basic domain 2021-12-01 12:08:24 +01:00
Maxime Alves LIRMM@home a98aa27485 [pipfile] remove dependency to python3.8, TODO find a way to specify python>=3.8 2021-12-01 12:02:21 +01:00
Maxime Alves LIRMM@home 15794327f9 [tests] pytest.ini includes tests as pythonpath (because of dummy_domain) 2021-12-01 11:55:56 +01:00
Maxime Alves LIRMM@home cf20b76959 [deps] add pytest-pythonpath 2021-12-01 11:43:49 +01:00
Maxime Alves LIRMM 7e1cc21b8c [wip][testfail] update config monodomain - schema gives acls 2021-11-30 18:31:40 +01:00
Maxime Alves LIRMM ec26438340 [schemas] supression des fonctions api_routes 2021-11-30 14:40:07 +01:00
Maxime Alves LIRMM 7230316296 [ci] add pytest version 2021-11-30 12:13:17 +01:00
Maxime Alves LIRMM f5b7e3392a [tests] skip /halfapi/exception test 2021-11-30 12:07:19 +01:00
Maxime Alves LIRMM 18dbbdd584 [app] enable use of SCHEMA to run halfapi, fix tests 2021-11-30 11:20:26 +01:00
Maxime Alves LIRMM b3b32b47f8 [cli.run] halfapi run SCHEMA.csv 2021-11-30 10:42:00 +01:00
Maxime Alves LIRMM 189fcf86f7 [cli.routes] halfapi routes --export 2021-11-30 01:54:48 +01:00
Maxime Alves LIRMM 55878df260 [lib.domain] use args_check by default, even on async functions 2021-11-30 01:52:02 +01:00
Maxime Alves LIRMM a6985fa9bf [halfapi] configuration globals go lowercase 2021-11-30 01:50:27 +01:00
Maxime Alves LIRMM ed6dcb0513 [halfapi] application becomes a private attribute 2021-11-30 01:49:37 +01:00
Maxime Alves LIRMM 7017827b2b [lib] small fixes 2021-11-30 01:46:30 +01:00
Maxime Alves LIRMM 7c2bf60812 [pytest] remove halfapi from tests directory 2021-11-30 01:43:14 +01:00
Maxime Alves LIRMM 1fda2ab15d [lib.schemas] add schema_csv_dict and schema_to_csv function 2021-11-30 01:42:29 +01:00
Maxime Alves LIRMM c9639ddbc0 [constants] add lib "schema" Schemas for all items 2021-11-30 00:37:13 +01:00
Maxime Alves LIRMM 24bd3f5653 [deps] add "schema" as dependency 2021-11-29 17:01:52 +01:00
Maxime Alves LIRMM@home e203552876 [dummy_domain] add async routes, and routes that use arguments 2021-11-29 08:37:52 +01:00
Maxime Alves LIRMM@home ac4aadc2df [conf][testfail] add SCHEMA dictionary to globals 2021-11-29 06:21:48 +01:00
Maxime Alves LIRMM@home 4dae2f3676 [dummy_domain] add tests for dummy_domain acls 2021-11-29 06:09:18 +01:00
Maxime Alves LIRMM@home c27ed3a966 [routers] docstring is mandator in route methods. YAML is used for markup 2021-11-29 06:08:24 +01:00
Maxime Alves LIRMM@home 47d81c048f [lib] route_acl_decorator becomes HalfRoute.acl_decorator, creation of HalfRoute that wraps starlette.route 2021-11-29 05:42:26 +01:00
Maxime Alves LIRMM ad6877a7e9 [run] add arguments for config 2021-11-23 13:53:08 +01:00
Maxime Alves LIRMM e7e1bfed1b [conf] halfapi config now dumps the .ini of the current config 2021-11-23 13:35:12 +01:00
Maxime Alves LIRMM f0e662e060 [conf] remove is_project variable 2021-11-23 11:39:33 +01:00
Maxime Alves LIRMM ea8e7ede65 [cli.routes:export] shows a header to describe the CSV, can be deactivated 2021-11-22 20:14:05 +01:00
Maxime Alves LIRMM f4880f1f9c [lib.domain] wraps function when loading routes from modules, to get the real name 2021-11-22 20:09:57 +01:00
Maxime Alves LIRMM 4a8cb008e6 [cli.routes] add routes command, allows exporting route dict as csv 2021-11-22 20:06:50 +01:00
Maxime Alves LIRMM 049860fce5 [lib.domain] gen_router_routes yields router module also 2021-11-22 20:06:12 +01:00
Maxime Alves LIRMM 908eab5fdc [lib.user] move JWTUser, Nobody and CheckUser to lib.user 2021-11-22 20:05:17 +01:00
Maxime Alves LIRMM ce672eeb30 [cli.domain] fix list routes 2021-11-22 19:09:02 +01:00
Maxime Alves LIRMM 1f20a336e2 [conf] production now defaults to true 2021-11-22 18:30:29 +01:00
Maxime Alves LIRMM 0173eb6d72 HalfAPI class clean and rewrite 2021-11-22 18:18:06 +01:00
Maxime Alves LIRMM ad9bd45ba0 [logging] use logger from halfapi.logging 2021-11-16 17:45:40 +01:00
Maxime Alves LIRMM 00c7b5caf4 [doc] update README and add joel to license 2021-11-16 17:45:40 +01:00
Maxime Alves LIRMM 5184ab4411 [ci][wip] utilisation de devtools/kaniko du lirmm 2021-11-16 17:40:05 +01:00
Maxime Alves LIRMM 159d38cb94 [wip][ci] utilisation image officielle buildah 2021-11-10 10:46:32 +01:00
Maxime Alves LIRMM@home 0cad726f8c [ci] try buildah 2021-11-01 10:34:52 +01:00
Maxime Alves LIRMM@home 94e09a546b [dockerfile] install git 2021-10-12 18:18:54 +02:00
Maxime Alves LIRMM@home 0643af5cca [dockerfile] add gunicorn/uvicorn 2021-10-12 18:08:07 +02:00
Maxime Alves LIRMM@home 339c910c86 [wip][ci] "before_script" runs before every job 2021-10-12 14:30:11 +02:00
Maxime Alves LIRMM@home 948372fcbc [wip][ci] try to build docker image 2021-10-12 03:18:32 +02:00