Add resource to run context

This commit is contained in:
Xavi Aracil 2022-12-13 13:06:35 +01:00
parent c7dee3bdf7
commit 419beae7ca

View File

@ -67,6 +67,7 @@ public class EndorsementInspector extends VCInspector implements SubInspector {
RunContext ctx = new RunContext.Builder() RunContext ctx = new RunContext.Builder()
.put(this) .put(this)
.put(resource)
.put(JACKSON_OBJECTMAPPER, mapper) .put(JACKSON_OBJECTMAPPER, mapper)
.put(JSONPATH_EVALUATOR, jsonPath) .put(JSONPATH_EVALUATOR, jsonPath)
.build(); .build();