diff --git a/features/policyExport.feature b/features/policyExport.feature index 25027dd166f27a3d0cce9323a6809171686e3817..da364a02852c48d9219b4164d98693915d4f5104 100644 --- a/features/policyExport.feature +++ b/features/policyExport.feature @@ -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