[Epic] - Prepare rule-lib for the 25.01 release
To prepare rule-lib for the 25.01 release, the following issues need to be addressed:
-
Implement an
overwrite_processvariable (See https://git.gfz-potsdam.de/globaldynamicexposure/development-code/-/blob/entity-initializer/refactor/entityinitializer/rulehanderextended.py?ref_type=heads#L49). This can be used to cancel a process for example, or delete a building. The first implementation should be exactly like in the code linked; 3 lines that just checks if the process should be broken off prematurely, which is used in the case of multiple building datasets: if buildings intersect with each other, we do not insert them (#22 (closed)). - Implement rule group for dependency resolution (#19 (closed)).
- Implement a source name rule filter. Only if a building is of a certain source ID, it should run the rule, otherwise not (#28 (closed)).
-
Implement a more detailed
RuleErrormessage for rule debugging (#31 (closed)) - Replace the hardcoded database name to gitlab CI variables to fix the tests error (#32 (closed))
-
Implement changes in the
eval()function of theRuleHandlerto leave the database connection to theEntityInitializerand implement functions for theEIto do so within theRuleHandler. (#33 (closed)) -
Change
PostGISDatabasein RuleHandler registration toPostGISExposure. (#35 (closed)) - Release the 25.01 version beta version (#36 (closed))
- Update black linters (#37 (closed))
Edited by Laurens Jozef Nicolaas Oostwegel