Commit Graph

466 Commits

Author SHA1 Message Date
Maxime Alves LIRMM 7fb5e25411 [release] 0.6.3 2021-12-13 14:47:21 +01:00
Maxime Alves LIRMM a0dbbca04d [fix] forgot __init__.py in testing 2021-12-13 14:45:00 +01:00
Maxime Alves LIRMM 95fb267e81 [release] 0.6.2 2021-12-13 13:50:52 +01:00
Maxime Alves LIRMM e9bf94a607 [cli/domain] now instantiate HalfAPI and manually add the domain before calling schema function 2021-12-13 13:49:58 +01:00
Maxime Alves LIRMM f82cd5552b [half_domain] remove "config" argument, now uses "config" attribute from HalfAPI instance, add version and halfapi_versrion attributes, update DomainMiddleware init arguments 2021-12-13 12:45:10 +01:00
Maxime Alves LIRMM bdbad9e296 [halfapi] now inherits from Starlette class. Uses a dict to store HalfDomain instances 2021-12-13 12:43:26 +01:00
Maxime Alves LIRMM 76e942ab91 [tests] add test file for lib/domain_middleware 2021-12-13 12:42:12 +01:00
Maxime Alves LIRMM 8fff1f5372 [tests] fix tests and add "mix_stderr=False" to CliRunner instance 2021-12-13 12:41:33 +01:00
Maxime Alves LIRMM 048c9f1bab [tests] fix for schema lists 2021-12-08 16:45:00 +01:00
Maxime Alves LIRMM d5f39a7929 [schemas] always give a list of schemas 2021-12-08 16:42:12 +01:00
Maxime Alves LIRMM 648841d90f [dummy_domain] set an id to dummy_domain 2021-12-08 15:34:00 +01:00
Maxime Alves LIRMM c658815eb5 [cli] fix halfapi domain --read 2021-12-08 13:08:08 +01:00
Maxime Alves LIRMM 46e62575ae [half_domain] fix test_dummy_project 2021-12-08 12:23:47 +01:00
Maxime Alves LIRMM 7001cec86e [wip] refactor half_domain 2021-12-07 11:42:02 +01:00
Maxime Alves LIRMM@home b4157c4a7d [wip][testfail] multiple-domains app 2021-12-07 07:53:36 +01:00
Maxime Alves LIRMM@home 96f78e76c5 [tests][testfail] add default routes testing, /halfapi/acls fail 2021-12-04 09:56:14 +01:00
Maxime Alves LIRMM@home d54dcd641d [conf] fix secret tempfile creation 2021-12-04 00:28:30 +01:00
Maxime Alves LIRMM 7060d201ec [deps] optional requirements for ODSResponse 2021-12-03 17:26:14 +01:00
Maxime Alves LIRMM dbca2f28fb [conf] use of toml for halfapi configs. re-enable possibility of multiple domains 2021-12-03 17:25:57 +01:00
Maxime Alves LIRMM@home d06857bf49 [config][wip][nf] removal of "domains" and "domain" section 2021-12-03 09:49:30 +01:00
Maxime Alves LIRMM@home 3dc951c81e [tests] tidy cli tests 2021-12-03 09:20:40 +01:00
Maxime Alves LIRMM@home a8e5cfc0ff [wip][responses] allow to change return format with "format" route argument, add ODSResponse 2021-12-01 21:16:19 +01:00
Maxime Alves LIRMM@home 20cada4fa0 [halfapi] fix domain importlib 2021-12-01 21:14:17 +01:00
Maxime Alves LIRMM@home c1bb637be7 [lib.router] forbid extra-keys in routes dict (no more FQTN at same level of methods) 2021-12-01 21:13:35 +01:00
Maxime Alves LIRMM@home a37c2356d6 [lib.domain] error log when missing docstring 2021-12-01 21:12:19 +01:00
Maxime Alves LIRMM@home 038715e94a [halfapi] config option "--dry-run", used in test_domain 2021-12-01 21:11:26 +01:00
Maxime Alves LIRMM@home 2f9005a1a5 [release] 0.6.1 2021-12-01 17:02:56 +01:00
Maxime Alves LIRMM@home a2d79f49b9 [tests] dummy domain test (you can use this example in your own domain) 2021-12-01 17:02:23 +01:00
Maxime Alves LIRMM@home cf98b08fa5 [tests] mv base domain test to halfapi/testing 2021-12-01 17:01:56 +01:00
Maxime Alves LIRMM@home c1191bbb0e [deps] update deps 2021-12-01 16:25:53 +01:00
Maxime Alves LIRMM@home 837c646bc5 [ci] switch to bullseye-3.9 2021-12-01 15:49:59 +01:00
Maxime Alves LIRMM@home 49c13c56ac [lib.domain] implement domain schema - try: halfapi domain dummy_domain 2021-12-01 13:31:46 +01:00
Maxime Alves LIRMM@home 1ccfa0d10e [lib.schemas] router schema update 2021-12-01 13:07:01 +01:00
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