Skip to content

Use CEL to evaluate TTP pre-conditions #14

@Magier

Description

@Magier

Current validation logic is an ad-hoc implementation without a proper design. Pre-conditions are parsed and validated with every interaction, to see if a TTP is applicable or note.

CEL evaluates an expression from the AST in nanoseconds to microseconds, the ideal use cased for CEL are applications with performance-critical paths. Compilation of CEL code into the AST should only be done when loading the Armory;
Ideal applications for CEL are ones in which the configuration is executed often and modified relatively infrequently, which is a perfect match for this use-case

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions