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

Add policy export feature

parent 4b103b70
Branches
Tags
1 merge request!13Trusted info import export
......@@ -2,9 +2,20 @@ 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
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 response contains task id
Scenario: Export of the policy evaluation result
Given policy configured for being evaluated for export
When I evaluate the policy
Given value exists inside of the cache
And the format of the value is in JSON-LD
When I execute policy export functionality
And the request contains task id
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
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