Commit c2aa71c 1 parent 40c58cb commit c2aa71c Copy full SHA for c2aa71c
File tree 2 files changed +4
-1
lines changed
policy-extension/src/main/java/org/eclipse/edc/extension/possiblepolicy
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -80,6 +80,7 @@ dependencies {
80
80
implementation(" ${edcGroup} :asset-index-sql:${edcVersion} " )
81
81
implementation(" ${edcGroup} :contract-definition-store-sql:${edcVersion} " )
82
82
implementation(" ${edcGroup} :contract-negotiation-store-sql:${edcVersion} " )
83
+ implementation(" ${edcGroup} :contract-core:${edcVersion} " )
83
84
implementation(" ${edcGroup} :policy-definition-store-sql:${edcVersion} " )
84
85
implementation(" ${edcGroup} :policy-monitor-store-sql:${edcVersion} " )
85
86
implementation(" ${edcGroup} :sql-lease:${edcVersion} " )
Original file line number Diff line number Diff line change 23
23
import org .eclipse .edc .runtime .metamodel .annotation .Inject ;
24
24
import org .eclipse .edc .spi .system .ServiceExtension ;
25
25
import org .eclipse .edc .spi .system .ServiceExtensionContext ;
26
+ import static org .eclipse .edc .policy .model .OdrlNamespace .ODRL_SCHEMA ;
26
27
27
28
import java .util .Map ;
28
29
29
30
import static org .eclipse .edc .connector .contract .spi .validation .ContractValidationService .NEGOTIATION_SCOPE ;
30
- import static org .eclipse .edc .policy .engine .spi .PolicyEngine .ALL_SCOPES ;
31
31
32
32
@ Extension (value = PossiblePolicyExtension .EXTENSION_NAME )
33
33
public class PossiblePolicyExtension implements ServiceExtension {
@@ -56,6 +56,8 @@ public void initialize(ServiceExtensionContext context) {
56
56
var monitor = context .getMonitor ();
57
57
58
58
ruleBindingRegistry .bind ("use" , NEGOTIATION_SCOPE );
59
+ ruleBindingRegistry .bind ("USE" , NEGOTIATION_SCOPE );
60
+ ruleBindingRegistry .bind (ODRL_SCHEMA + "use" , NEGOTIATION_SCOPE );
59
61
60
62
for (Map .Entry <String , String > entry : CONSTRAINT_KEY_MAP .entrySet ()) {
61
63
ruleBindingRegistry .bind (entry .getKey (), NEGOTIATION_SCOPE );
You can’t perform that action at this time.
0 commit comments