Skip to content
Snippets Groups Projects
Commit 9902504e authored by Valery Kalashnikov's avatar Valery Kalashnikov
Browse files

Add scenario for the request policy

parent 6f9b78a4
Branches
Tags
1 merge request!13Trusted info import export
......@@ -2,18 +2,26 @@ 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: Execute task for JSON-LD exporting
Given the environment configured for running policy for export
Scenario: Execute task for exporting data from external resource
Given the environment configured for running policy to export
When I execute the task
And the task contains the actual http url to execute
And the finalizer policy contains a policy signing the data
Then I get successful response
And the finalizer policy contains signing the data logic
Then I get a successful response
And the response contains task id
Scenario: Execute task for exporting data from the policy evaluation
Given the environment configured for running policy to export
When I execute the task
And the task contains the the request policy to evaluate
And the finalizer policy contains signing the data logic
Then I get a successful response
And the response contains task id
Scenario: Export of the policy evaluation result
Given value exists inside of the cache
And the format of the value is in JSON-LD
When I execute policy export functionality
When I execute policy export endpoint
And the request contains task id
Then I get a successful response
And the response contains the exported document
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment