Skip to content
Snippets Groups Projects
Commit 4b103b70 authored by Valerii Kalashnikov's avatar Valerii Kalashnikov
Browse files

Merge branch 'add_ocm_communication_feature' into 'main'

Add OCM communication feature

See merge request !12
parents 2b47e100 102743c0
No related branches found
No related tags found
1 merge request!12Add OCM communication feature
Pipeline #50703 passed with stage
in 52 seconds
......@@ -11,6 +11,7 @@ local.properties
logs
QA.log
out
.DS_Store
# Java
# Compiled class file
......
features/Policy-export.png

619 KiB

......@@ -2,7 +2,7 @@ As user
I want to evaluate the policy asyncronously
So I am able to execute the developed Rego code in the future non-blocking
Scenario: Evaluate the policy asyncronously
Scenario: Execute the task during evaluating policy
Given long running policy is uploaded to the system
And the task template is uploaded to the system
When I evaluate the policy asyncronously
......@@ -10,7 +10,7 @@ And the task template is specifyed as an input
When I get successful response
And the response contains taskId
Scenario: Getting the result for the executed policy
Scenario: Getting the result for the executed task
Given long running policy is executed
When I request the result of execution
And request contains the taskId
......
As policy administrator
I want to evaluate OCM communication feature
So I am able to create policies to control login functionality
Scenario: Make request for QR code and presentationID
Given the policy to query OCM is uploaded to the system
When I send a request to the OCM service to evaluate policy
Then I get a successful response
And the response contains the link to the QR code
And the response contains the presentationID
Scenario: Make request for getting claims by presentationID
Given the policy to query OCM is uploaded to the system
Given the request to the OCM service
When I send a request to the OCM service
And the request contains presentationID
Then I get a successful response
And response contains requested claims
\ No newline at end of file
As user of an external system
I want to have an exported result of the policy in JSON-LD format
So I am able to verify the result of policy evaluation
Scenario: Export of the policy evaluation result
Given policy configured for being evaluated for export
When I evaluate the policy
Then I get a successful response
And the response is in a JSON-LD format
And the response contains proof section signed by TSA
\ No newline at end of file
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment