Skip to content

Commit

Permalink
trace
Browse files Browse the repository at this point in the history
  • Loading branch information
wistefan committed Jul 4, 2024
1 parent 3c9fcab commit feaec4a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
16 changes: 16 additions & 0 deletions src/main/resources/rego-resources.txt
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,19 @@ rego/vc/assignee.rego
rego/ngsi-ld/leftOperand.rego
rego/tmf/leftOperand.rego
rego/tmf/action.rego
rego/dome/leftOperand.rego
rego/dome/action.rego
rego/odrl/operand.rego
rego/odrl/rightOperand.rego
rego/odrl/operator.rego
rego/odrl/leftOperand.rego
rego/odrl/target.rego
rego/odrl/action.rego
rego/odrl/assignee.rego
rego/utils/kong.rego
rego/utils/apisix.rego
rego/vc/leftOperand.rego
rego/vc/assignee.rego
rego/ngsi-ld/leftOperand.rego
rego/tmf/leftOperand.rego
rego/tmf/action.rego
4 changes: 2 additions & 2 deletions src/main/resources/rego/tmf/leftOperand.rego
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ resource_type(http_part) := resource if {
# remove the (potential) id element from the path array
non_id_parts := [path_element | some path_element in reversed; not contains(path_element, "ngsi-ld")]
# after removal of the id, the resource is the first one to be retrieved
resource = non_id_parts[0]
}
resource = non_id_parts[0]; trace(resource)
}

0 comments on commit feaec4a

Please sign in to comment.