@3sixty/rights-management-plugins 0.0.0-stage → 0.20.0-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +32 -2
- package/dist/es/index.js +34 -0
- package/dist/es/index.js.map +1 -0
- package/dist/es/models/IAutomationPolicyExecutionActionConfig.js +4 -0
- package/dist/es/models/IAutomationPolicyExecutionActionConfig.js.map +1 -0
- package/dist/es/models/IAutomationPolicyExecutionActionConstructorOptions.js +2 -0
- package/dist/es/models/IAutomationPolicyExecutionActionConstructorOptions.js.map +1 -0
- package/dist/es/models/IDefaultPolicyArbiterConfig.js +4 -0
- package/dist/es/models/IDefaultPolicyArbiterConfig.js.map +1 -0
- package/dist/es/models/IDefaultPolicyArbiterConstructorOptions.js +4 -0
- package/dist/es/models/IDefaultPolicyArbiterConstructorOptions.js.map +1 -0
- package/dist/es/models/IDefaultPolicyEnforcementProcessorConfig.js +4 -0
- package/dist/es/models/IDefaultPolicyEnforcementProcessorConfig.js.map +1 -0
- package/dist/es/models/IDefaultPolicyEnforcementProcessorConstructorOptions.js +2 -0
- package/dist/es/models/IDefaultPolicyEnforcementProcessorConstructorOptions.js.map +1 -0
- package/dist/es/models/IIdentityPolicyInformationSourceConstructorOptions.js +4 -0
- package/dist/es/models/IIdentityPolicyInformationSourceConstructorOptions.js.map +1 -0
- package/dist/es/models/IIdentityProfilePolicyInformationSourceConstructorOptions.js +4 -0
- package/dist/es/models/IIdentityProfilePolicyInformationSourceConstructorOptions.js.map +1 -0
- package/dist/es/models/ILoggingPolicyExecutionActionConfig.js +2 -0
- package/dist/es/models/ILoggingPolicyExecutionActionConfig.js.map +1 -0
- package/dist/es/models/ILoggingPolicyExecutionActionConstructorOptions.js +2 -0
- package/dist/es/models/ILoggingPolicyExecutionActionConstructorOptions.js.map +1 -0
- package/dist/es/models/IPassThroughPolicyArbiterConstructorOptions.js +4 -0
- package/dist/es/models/IPassThroughPolicyArbiterConstructorOptions.js.map +1 -0
- package/dist/es/models/IPassThroughPolicyEnforcementProcessorConstructorOptions.js +4 -0
- package/dist/es/models/IPassThroughPolicyEnforcementProcessorConstructorOptions.js.map +1 -0
- package/dist/es/models/IPassThroughPolicyNegotiatorConfig.js +4 -0
- package/dist/es/models/IPassThroughPolicyNegotiatorConfig.js.map +1 -0
- package/dist/es/models/IPassThroughPolicyNegotiatorConstructorOptions.js +2 -0
- package/dist/es/models/IPassThroughPolicyNegotiatorConstructorOptions.js.map +1 -0
- package/dist/es/models/IPassThroughPolicyObligationEnforcerConstructorOptions.js +4 -0
- package/dist/es/models/IPassThroughPolicyObligationEnforcerConstructorOptions.js.map +1 -0
- package/dist/es/models/IPassThroughPolicyRequesterConstructorOptions.js +4 -0
- package/dist/es/models/IPassThroughPolicyRequesterConstructorOptions.js.map +1 -0
- package/dist/es/models/IStaticPolicyInformationSource.js +2 -0
- package/dist/es/models/IStaticPolicyInformationSource.js.map +1 -0
- package/dist/es/models/IStaticPolicyInformationSourceConfig.js +2 -0
- package/dist/es/models/IStaticPolicyInformationSourceConfig.js.map +1 -0
- package/dist/es/models/IStaticPolicyInformationSourceConstructorOptions.js +2 -0
- package/dist/es/models/IStaticPolicyInformationSourceConstructorOptions.js.map +1 -0
- package/dist/es/policyArbiters/defaultPolicyArbiter.js +1880 -0
- package/dist/es/policyArbiters/defaultPolicyArbiter.js.map +1 -0
- package/dist/es/policyArbiters/passThroughPolicyArbiter.js +59 -0
- package/dist/es/policyArbiters/passThroughPolicyArbiter.js.map +1 -0
- package/dist/es/policyEnforcementProcessor/defaultPolicyEnforcementProcessor.js +198 -0
- package/dist/es/policyEnforcementProcessor/defaultPolicyEnforcementProcessor.js.map +1 -0
- package/dist/es/policyEnforcementProcessor/passThroughPolicyEnforcementProcessor.js +54 -0
- package/dist/es/policyEnforcementProcessor/passThroughPolicyEnforcementProcessor.js.map +1 -0
- package/dist/es/policyExecutionActions/automationPolicyExecutionAction.js +77 -0
- package/dist/es/policyExecutionActions/automationPolicyExecutionAction.js.map +1 -0
- package/dist/es/policyExecutionActions/loggingPolicyExecutionAction.js +121 -0
- package/dist/es/policyExecutionActions/loggingPolicyExecutionAction.js.map +1 -0
- package/dist/es/policyInformationSources/identityPolicyInformationSource.js +91 -0
- package/dist/es/policyInformationSources/identityPolicyInformationSource.js.map +1 -0
- package/dist/es/policyInformationSources/identityProfilePolicyInformationSource.js +112 -0
- package/dist/es/policyInformationSources/identityProfilePolicyInformationSource.js.map +1 -0
- package/dist/es/policyInformationSources/staticPolicyInformationSource.js +96 -0
- package/dist/es/policyInformationSources/staticPolicyInformationSource.js.map +1 -0
- package/dist/es/policyNegotiators/passThroughPolicyNegotiator.js +95 -0
- package/dist/es/policyNegotiators/passThroughPolicyNegotiator.js.map +1 -0
- package/dist/es/policyObligationEnforcers/passThroughPolicyObligationEnforcer.js +56 -0
- package/dist/es/policyObligationEnforcers/passThroughPolicyObligationEnforcer.js.map +1 -0
- package/dist/es/policyRequesters/passThroughPolicyRequester.js +103 -0
- package/dist/es/policyRequesters/passThroughPolicyRequester.js.map +1 -0
- package/dist/types/index.d.ts +31 -0
- package/dist/types/models/IAutomationPolicyExecutionActionConfig.d.ts +9 -0
- package/dist/types/models/IAutomationPolicyExecutionActionConstructorOptions.d.ts +15 -0
- package/dist/types/models/IDefaultPolicyArbiterConfig.d.ts +10 -0
- package/dist/types/models/IDefaultPolicyArbiterConstructorOptions.d.ts +19 -0
- package/dist/types/models/IDefaultPolicyEnforcementProcessorConfig.d.ts +11 -0
- package/dist/types/models/IDefaultPolicyEnforcementProcessorConstructorOptions.d.ts +14 -0
- package/dist/types/models/IIdentityPolicyInformationSourceConstructorOptions.d.ts +14 -0
- package/dist/types/models/IIdentityProfilePolicyInformationSourceConstructorOptions.d.ts +14 -0
- package/dist/types/models/ILoggingPolicyExecutionActionConfig.d.ts +25 -0
- package/dist/types/models/ILoggingPolicyExecutionActionConstructorOptions.d.ts +14 -0
- package/dist/types/models/IPassThroughPolicyArbiterConstructorOptions.d.ts +9 -0
- package/dist/types/models/IPassThroughPolicyEnforcementProcessorConstructorOptions.d.ts +9 -0
- package/dist/types/models/IPassThroughPolicyNegotiatorConfig.d.ts +9 -0
- package/dist/types/models/IPassThroughPolicyNegotiatorConstructorOptions.d.ts +14 -0
- package/dist/types/models/IPassThroughPolicyObligationEnforcerConstructorOptions.d.ts +9 -0
- package/dist/types/models/IPassThroughPolicyRequesterConstructorOptions.d.ts +9 -0
- package/dist/types/models/IStaticPolicyInformationSource.d.ts +23 -0
- package/dist/types/models/IStaticPolicyInformationSourceConfig.d.ts +10 -0
- package/dist/types/models/IStaticPolicyInformationSourceConstructorOptions.d.ts +14 -0
- package/dist/types/policyArbiters/defaultPolicyArbiter.d.ts +38 -0
- package/dist/types/policyArbiters/passThroughPolicyArbiter.d.ts +32 -0
- package/dist/types/policyEnforcementProcessor/defaultPolicyEnforcementProcessor.d.ts +36 -0
- package/dist/types/policyEnforcementProcessor/passThroughPolicyEnforcementProcessor.d.ts +32 -0
- package/dist/types/policyExecutionActions/automationPolicyExecutionAction.d.ts +45 -0
- package/dist/types/policyExecutionActions/loggingPolicyExecutionAction.d.ts +37 -0
- package/dist/types/policyInformationSources/identityPolicyInformationSource.d.ts +31 -0
- package/dist/types/policyInformationSources/identityProfilePolicyInformationSource.d.ts +31 -0
- package/dist/types/policyInformationSources/staticPolicyInformationSource.d.ts +37 -0
- package/dist/types/policyNegotiators/passThroughPolicyNegotiator.d.ts +48 -0
- package/dist/types/policyObligationEnforcers/passThroughPolicyObligationEnforcer.d.ts +32 -0
- package/dist/types/policyRequesters/passThroughPolicyRequester.d.ts +48 -0
- package/docs/changelog.md +24 -0
- package/docs/examples.md +295 -0
- package/docs/reference/classes/AutomationPolicyExecutionAction.md +143 -0
- package/docs/reference/classes/DefaultPolicyArbiter.md +113 -0
- package/docs/reference/classes/DefaultPolicyEnforcementProcessor.md +115 -0
- package/docs/reference/classes/IdentityPolicyInformationSource.md +103 -0
- package/docs/reference/classes/IdentityProfilePolicyInformationSource.md +103 -0
- package/docs/reference/classes/LoggingPolicyExecutionAction.md +127 -0
- package/docs/reference/classes/PassThroughPolicyArbiter.md +103 -0
- package/docs/reference/classes/PassThroughPolicyEnforcementProcessor.md +107 -0
- package/docs/reference/classes/PassThroughPolicyNegotiator.md +149 -0
- package/docs/reference/classes/PassThroughPolicyObligationEnforcer.md +109 -0
- package/docs/reference/classes/PassThroughPolicyRequester.md +169 -0
- package/docs/reference/classes/StaticPolicyInformationSource.md +123 -0
- package/docs/reference/index.md +38 -0
- package/docs/reference/interfaces/IAutomationPolicyExecutionActionConfig.md +11 -0
- package/docs/reference/interfaces/IAutomationPolicyExecutionActionConstructorOptions.md +25 -0
- package/docs/reference/interfaces/IDefaultPolicyArbiterConfig.md +17 -0
- package/docs/reference/interfaces/IDefaultPolicyArbiterConstructorOptions.md +33 -0
- package/docs/reference/interfaces/IDefaultPolicyEnforcementProcessorConfig.md +13 -0
- package/docs/reference/interfaces/IDefaultPolicyEnforcementProcessorConstructorOptions.md +19 -0
- package/docs/reference/interfaces/IIdentityPolicyInformationSourceConstructorOptions.md +25 -0
- package/docs/reference/interfaces/IIdentityProfilePolicyInformationSourceConstructorOptions.md +25 -0
- package/docs/reference/interfaces/ILoggingPolicyExecutionActionConfig.md +53 -0
- package/docs/reference/interfaces/ILoggingPolicyExecutionActionConstructorOptions.md +19 -0
- package/docs/reference/interfaces/IPassThroughPolicyArbiterConstructorOptions.md +11 -0
- package/docs/reference/interfaces/IPassThroughPolicyEnforcementProcessorConstructorOptions.md +11 -0
- package/docs/reference/interfaces/IPassThroughPolicyNegotiatorConfig.md +11 -0
- package/docs/reference/interfaces/IPassThroughPolicyNegotiatorConstructorOptions.md +19 -0
- package/docs/reference/interfaces/IPassThroughPolicyObligationEnforcerConstructorOptions.md +11 -0
- package/docs/reference/interfaces/IPassThroughPolicyRequesterConstructorOptions.md +11 -0
- package/docs/reference/interfaces/IStaticPolicyInformationSource.md +43 -0
- package/docs/reference/interfaces/IStaticPolicyInformationSourceConfig.md +11 -0
- package/docs/reference/interfaces/IStaticPolicyInformationSourceConstructorOptions.md +19 -0
- package/locales/en.json +79 -0
- package/package.json +60 -5
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Interface: IPassThroughPolicyEnforcementProcessorConstructorOptions
|
|
2
|
+
|
|
3
|
+
Options for the Pass Through Policy Enforcement Processor.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
### loggingComponentType? {#loggingcomponenttype}
|
|
8
|
+
|
|
9
|
+
> `optional` **loggingComponentType?**: `string`
|
|
10
|
+
|
|
11
|
+
The logging component for policy enforcement processor.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Interface: IPassThroughPolicyNegotiatorConfig
|
|
2
|
+
|
|
3
|
+
Configuration for the Pass Through Policy Negotiator.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
### directAgreement? {#directagreement}
|
|
8
|
+
|
|
9
|
+
> `optional` **directAgreement?**: `boolean`
|
|
10
|
+
|
|
11
|
+
Signal directAgreement (skip OFFERED/ACCEPTED) on handleOffer(); default true. Set false to keep the full negotiation cycle, e.g. during a staged rollout where counterparties may not yet accept a direct REQUESTED -> AGREED transition.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Interface: IPassThroughPolicyNegotiatorConstructorOptions
|
|
2
|
+
|
|
3
|
+
Options for the Pass Through Policy Negotiator.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
### loggingComponentType? {#loggingcomponenttype}
|
|
8
|
+
|
|
9
|
+
> `optional` **loggingComponentType?**: `string`
|
|
10
|
+
|
|
11
|
+
The logging component for policy negotiator.
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### config? {#config}
|
|
16
|
+
|
|
17
|
+
> `optional` **config?**: [`IPassThroughPolicyNegotiatorConfig`](IPassThroughPolicyNegotiatorConfig.md)
|
|
18
|
+
|
|
19
|
+
The configuration options for the pass through policy negotiator.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Interface: IPassThroughPolicyObligationEnforcerConstructorOptions
|
|
2
|
+
|
|
3
|
+
Options for the Pass Through Policy Obligation Enforcer.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
### loggingComponentType? {#loggingcomponenttype}
|
|
8
|
+
|
|
9
|
+
> `optional` **loggingComponentType?**: `string`
|
|
10
|
+
|
|
11
|
+
The logging component for the policy obligation enforcer.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Interface: IPassThroughPolicyRequesterConstructorOptions
|
|
2
|
+
|
|
3
|
+
Options for the Pass Through Policy Requester.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
### loggingComponentType? {#loggingcomponenttype}
|
|
8
|
+
|
|
9
|
+
> `optional` **loggingComponentType?**: `string`
|
|
10
|
+
|
|
11
|
+
The logging component for policy requester.
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Interface: IStaticPolicyInformationSource
|
|
2
|
+
|
|
3
|
+
Configuration for the Static Policy Information Source Component.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
### accessMode {#accessmode}
|
|
8
|
+
|
|
9
|
+
> **accessMode**: `PolicyInformationAccessMode`
|
|
10
|
+
|
|
11
|
+
Is the information public, if so it will be shared with negotiation requests.
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### matchLocators? {#matchlocators}
|
|
16
|
+
|
|
17
|
+
> `optional` **matchLocators?**: `object`[]
|
|
18
|
+
|
|
19
|
+
Information is only provided for the specified locator combination.
|
|
20
|
+
|
|
21
|
+
#### assignee?
|
|
22
|
+
|
|
23
|
+
> `optional` **assignee?**: `string`
|
|
24
|
+
|
|
25
|
+
#### assigner?
|
|
26
|
+
|
|
27
|
+
> `optional` **assigner?**: `string`
|
|
28
|
+
|
|
29
|
+
#### target?
|
|
30
|
+
|
|
31
|
+
> `optional` **target?**: `string`
|
|
32
|
+
|
|
33
|
+
#### action?
|
|
34
|
+
|
|
35
|
+
> `optional` **action?**: `string`
|
|
36
|
+
|
|
37
|
+
***
|
|
38
|
+
|
|
39
|
+
### objects {#objects}
|
|
40
|
+
|
|
41
|
+
> **objects**: `IRightsManagementInformation`
|
|
42
|
+
|
|
43
|
+
The objects containing the information.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Interface: IStaticPolicyInformationSourceConfig
|
|
2
|
+
|
|
3
|
+
Configuration for the Static Policy Information Source Component.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
### information? {#information}
|
|
8
|
+
|
|
9
|
+
> `optional` **information?**: [`IStaticPolicyInformationSource`](IStaticPolicyInformationSource.md)[]
|
|
10
|
+
|
|
11
|
+
The information to return from the PIP.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Interface: IStaticPolicyInformationSourceConstructorOptions
|
|
2
|
+
|
|
3
|
+
Options for the Static Policy Information Source Component.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
### loggingComponentType? {#loggingcomponenttype}
|
|
8
|
+
|
|
9
|
+
> `optional` **loggingComponentType?**: `string`
|
|
10
|
+
|
|
11
|
+
The logging component for logging policy source.
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### config? {#config}
|
|
16
|
+
|
|
17
|
+
> `optional` **config?**: [`IStaticPolicyInformationSourceConfig`](IStaticPolicyInformationSourceConfig.md)
|
|
18
|
+
|
|
19
|
+
The configuration.
|
package/locales/en.json
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
{
|
|
2
|
+
"error": {
|
|
3
|
+
"identityPolicyInformationSource": {
|
|
4
|
+
"identityRetrievalFailed": "Failed to retrieve identity \"{id}\" information for policy id: \"{policyId}\""
|
|
5
|
+
},
|
|
6
|
+
"identityProfilePolicyInformationSource": {
|
|
7
|
+
"profileRetrievalFailed": "Failed to retrieve identity profile \"{id}\" information for policy id: \"{policyId}\""
|
|
8
|
+
},
|
|
9
|
+
"defaultPolicyArbiter": {
|
|
10
|
+
"ruleTargetNotSupported": "Rule target \"{target}\" is not supported. Only twin:<object>:<jsonPath> targets are currently supported.",
|
|
11
|
+
"multipleTargetsNotSupported": "Multiple targets in a single permission are not supported.",
|
|
12
|
+
"circularInheritanceDetected": "Circular inheritance detected: policy \"{policyId}\" inherits from \"{inheritFromId}\" which creates a cycle.",
|
|
13
|
+
"logicalConstraintOperandNotUnique": "Logical constraint operand is not unique within the policy, each operand must be unique.",
|
|
14
|
+
"inheritedPolicyNotFound": "The inherited policy with id \"{inheritFromId}\" could not be found in the Policy Administration Point.",
|
|
15
|
+
"assetCollectionSourceNotSupported": "AssetCollection source \"{source}\" is not supported. It must be a twin:jsonPath target.",
|
|
16
|
+
"partyCollectionSourceNotSupported": "PartyCollection source \"{source}\" is not supported.",
|
|
17
|
+
"assetHasPolicyNotSupported": "Asset hasPolicy is not supported. Policies must be referenced through the agreement directly.",
|
|
18
|
+
"assetPartOfNotSupported": "Asset partOf is not supported. AssetCollection membership is resolved through the agreement directly.",
|
|
19
|
+
"partyAssignerOfNotSupported": "Party assignerOf is not supported. Assigner roles must be specified directly on individual rules or the agreement.",
|
|
20
|
+
"partyAssigneeOfNotSupported": "Party assigneeOf is not supported. Assignee roles must be specified directly on individual rules or the agreement.",
|
|
21
|
+
"partyPartOfNotSupported": "Party partOf is not supported. PartyCollection membership is resolved through the agreement directly.",
|
|
22
|
+
"noObligationEnforcersRegistered": "No Policy Obligation Enforcers are registered and they are required to enforce duties.",
|
|
23
|
+
"maxInheritanceDepthExceeded": "The maximum inheritance depth of {maxInheritanceDepth} has been exceeded when processing policy \"{policyId}\".",
|
|
24
|
+
"rightOperandReferenceNotSupported": "Constraint rightOperandReference is not supported. Use rightOperand with a typed JSONPath value instead.",
|
|
25
|
+
"constraintDataTypeNotSupported": "Constraint dataType is not supported. Value coercion based on dataType is not implemented.",
|
|
26
|
+
"constraintUnitNotSupported": "Constraint unit is not supported. Unit-aware comparison is not implemented.",
|
|
27
|
+
"constraintStatusNotSupported": "Constraint status is not supported. State-based evaluation is not implemented.",
|
|
28
|
+
"jsonPathExpressionMissing": "Canonical JSONPath expression is missing for \"{operand}\". Provide twin:jsonPathExpression.",
|
|
29
|
+
"policyProfileNotSupported": "Policy \"{policyId}\" declares unsupported profile \"{unsupportedProfile}\". Only known profiles are supported.",
|
|
30
|
+
"inheritedPolicyProfileNotSupported": "Inherited policy \"{policyId}\" declares an unsupported profile. All policies in the inheritFrom chain must declare only supported profiles.",
|
|
31
|
+
"leftOperandNotSupported": "Constraint leftOperand \"{leftOperand}\" is a recognised ODRL built-in but is not yet supported by this arbiter."
|
|
32
|
+
},
|
|
33
|
+
"defaultPolicyEnforcementProcessor": {
|
|
34
|
+
"targetNotJsonPath": "The policy decision target \"{target}\" is not a valid JSON-path string, it should be a minimum of $.",
|
|
35
|
+
"replaceValueMissing": "The policy decision replaceValue was not provided for target \"{target}\"."
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"info": {
|
|
39
|
+
"identityPolicyInformationSource": {
|
|
40
|
+
"identityRetrieving": "Retrieving identity \"{id}\" information for policy id: \"{policyId}\""
|
|
41
|
+
},
|
|
42
|
+
"identityProfilePolicyInformationSource": {
|
|
43
|
+
"profileRetrieving": "Retrieving identity profile \"{id}\" information for policy id: \"{policyId}\""
|
|
44
|
+
},
|
|
45
|
+
"staticPolicyInformationSource": {
|
|
46
|
+
"staticRetrieving": "Retrieving static policy information for policy id: \"{policyId}\" with access mode: \"{accessMode}\"",
|
|
47
|
+
"staticRetrieved": "Retrieved static policy information for policy id: \"{policyId}\" with access mode: \"{accessMode}\", item count: {itemCount}"
|
|
48
|
+
},
|
|
49
|
+
"loggingPolicyExecutionAction": {
|
|
50
|
+
"policyActionExecutedBefore": "Policy executed for policyId: \"{policyId}\", stage: \"{stage}\", data: \"{data}\", policy: \"{policy}\", decisions: \"{decisions}\"",
|
|
51
|
+
"policyActionExecutedAfter": "Policy executed for policyId: \"{policyId}\", stage: \"{stage}\", data: \"{data}\", policy: \"{policy}\", decisions: \"{decisions}\""
|
|
52
|
+
},
|
|
53
|
+
"passThroughPolicyEnforcementProcessor": {
|
|
54
|
+
"processingPolicy": "Processing policy enforcement for policy id: \"{policyId}\""
|
|
55
|
+
},
|
|
56
|
+
"defaultPolicyEnforcementProcessor": {
|
|
57
|
+
"processingPolicy": "Processing policy enforcement for policy id: \"{policyId}\""
|
|
58
|
+
},
|
|
59
|
+
"passThroughPolicyArbiter": {
|
|
60
|
+
"decidingPolicy": "Deciding policy for policy id: \"{policyId}\""
|
|
61
|
+
},
|
|
62
|
+
"defaultPolicyArbiter": {
|
|
63
|
+
"decidingPolicy": "Deciding policy for policy id: \"{policyId}\""
|
|
64
|
+
},
|
|
65
|
+
"passThroughPolicyNegotiator": {
|
|
66
|
+
"handlingOffer": "Handling offer negotiation for offer id: \"{offerId}\"",
|
|
67
|
+
"createAgreement": "Creating agreement for policy id: \"{offerId}\""
|
|
68
|
+
},
|
|
69
|
+
"passThroughPolicyRequester": {
|
|
70
|
+
"offer": "Logging offer request for offer id: \"{offerId}\", negotiation id: \"{negotiationId}\"",
|
|
71
|
+
"agreement": "Logging agreement request for agreement id: \"{agreementId}\", negotiation id: \"{negotiationId}\"",
|
|
72
|
+
"finalised": "Logging finalised request for negotiation id: \"{negotiationId}\"",
|
|
73
|
+
"terminated": "Logging terminated request for negotiation id: \"{negotiationId}\""
|
|
74
|
+
},
|
|
75
|
+
"passThroughPolicyObligationEnforcer": {
|
|
76
|
+
"enforcingDuty": "Enforcing duty for policy id: \"{policyId}\""
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,61 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
"name": "@3sixty/rights-management-plugins",
|
|
3
|
+
"version": "0.20.0-next.1",
|
|
4
|
+
"description": "Plugin implementations for extending rights management behaviour across components.",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/3sixtyglobal/rights-management.git",
|
|
8
|
+
"directory": "packages/rights-management-plugins"
|
|
9
|
+
},
|
|
10
|
+
"contributors": [
|
|
11
|
+
"cornel.filip@iota.org",
|
|
12
|
+
"adrian.sanchez.sequeira@iota.org",
|
|
13
|
+
"martyn.janes@iota.org"
|
|
14
|
+
],
|
|
15
|
+
"license": "Apache-2.0",
|
|
16
|
+
"type": "module",
|
|
17
|
+
"engines": {
|
|
18
|
+
"node": ">=24.0.0"
|
|
19
|
+
},
|
|
20
|
+
"dependencies": {
|
|
21
|
+
"@3sixty/automation-models": "next",
|
|
22
|
+
"@3sixty/context": "next",
|
|
23
|
+
"@3sixty/core": "next",
|
|
24
|
+
"@3sixty/data-json-ld": "next",
|
|
25
|
+
"@3sixty/data-json-path": "next",
|
|
26
|
+
"@3sixty/identity-models": "next",
|
|
27
|
+
"@3sixty/logging-models": "next",
|
|
28
|
+
"@3sixty/nameof": "next",
|
|
29
|
+
"@3sixty/rights-management-models": "0.20.0-next.1",
|
|
30
|
+
"@3sixty/standards-dataspace-protocol": "next",
|
|
31
|
+
"@3sixty/standards-w3c-odrl": "next"
|
|
32
|
+
},
|
|
33
|
+
"main": "./dist/es/index.js",
|
|
34
|
+
"types": "./dist/types/index.d.ts",
|
|
35
|
+
"exports": {
|
|
36
|
+
".": {
|
|
37
|
+
"types": "./dist/types/index.d.ts",
|
|
38
|
+
"import": "./dist/es/index.js",
|
|
39
|
+
"default": "./dist/es/index.js"
|
|
40
|
+
},
|
|
41
|
+
"./locales/*.json": "./locales/*.json"
|
|
42
|
+
},
|
|
43
|
+
"files": [
|
|
44
|
+
"dist/es",
|
|
45
|
+
"dist/types",
|
|
46
|
+
"locales",
|
|
47
|
+
"docs"
|
|
48
|
+
],
|
|
49
|
+
"keywords": [
|
|
50
|
+
"twin",
|
|
51
|
+
"trade",
|
|
52
|
+
"iota",
|
|
53
|
+
"framework",
|
|
54
|
+
"blockchain",
|
|
55
|
+
"rights-management"
|
|
56
|
+
],
|
|
57
|
+
"bugs": {
|
|
58
|
+
"url": "git+https://github.com/3sixtyglobal/rights-management/issues"
|
|
59
|
+
},
|
|
60
|
+
"homepage": "https://3sixty.global"
|
|
61
|
+
}
|