Skip to content

Commit

Permalink
chore: adds post validator for RequestVersionPolicyContext (#395)
Browse files Browse the repository at this point in the history
  • Loading branch information
wolf4ood authored Dec 11, 2024
1 parent aadab76 commit 67a2e64
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import org.eclipse.edc.policy.context.request.spi.RequestCatalogPolicyContext;
import org.eclipse.edc.policy.context.request.spi.RequestContractNegotiationPolicyContext;
import org.eclipse.edc.policy.context.request.spi.RequestTransferProcessPolicyContext;
import org.eclipse.edc.policy.context.request.spi.RequestVersionPolicyContext;
import org.eclipse.edc.policy.engine.spi.PolicyEngine;
import org.eclipse.edc.runtime.metamodel.annotation.Inject;
import org.eclipse.edc.security.signature.jws2020.Jws2020SignatureSuite;
Expand Down Expand Up @@ -72,6 +73,7 @@ public void initialize(ServiceExtensionContext context) {
policyEngine.registerPostValidator(RequestCatalogPolicyContext.class, contextMappingFunction::apply);
policyEngine.registerPostValidator(RequestContractNegotiationPolicyContext.class, contextMappingFunction::apply);
policyEngine.registerPostValidator(RequestTransferProcessPolicyContext.class, contextMappingFunction::apply);
policyEngine.registerPostValidator(RequestVersionPolicyContext.class, contextMappingFunction::apply);


//register scope extractor
Expand Down

0 comments on commit 67a2e64

Please sign in to comment.