Skip to content
Snippets Groups Projects

HTTP endpoint for policy evaluation (execution)

Merged Lyuben Penkovski requested to merge 12-policy-evaluation into main
All threads resolved!

This is an experiment to produce a generic evaluation function for different polices, which is able to return arbitrary JSON result after policy execution. For the moment a lot of conventions have to be followed in order for this to work, which is not so good. More experiments will follow to reduce the conventions to minimum (it would be best to remove all of them).

Current conventions that must be followed:

  • policy package is always gaiax
  • result variable is assigned with the expected result from the policy execution

Closes #12 (closed)

FYI: @tziai

Edited by Lyuben Penkovski

Merge request reports

Pipeline #49689 passed

Pipeline passed for c3820989 on 12-policy-evaluation

Test coverage 0.00% (0.00%) from 1 job

Merged by Lyuben PenkovskiLyuben Penkovski 3 years ago (Mar 29, 2022 8:38am UTC)

Loading

Pipeline #49701 passed

Pipeline passed for af362c09 on main

Test coverage 0.00% (0.00%) from 1 job

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Lyuben Penkovski changed the description

    changed the description

  • removed Backlog label

  • Lyuben Penkovski resolved all threads

    resolved all threads

  • Lyuben Penkovski marked this merge request as ready

    marked this merge request as ready

  • mentioned in commit af362c09

  • Please register or sign in to reply
    Loading