diff --git a/features/policyExport.feature b/features/trustedInfoExport.feature similarity index 93% rename from features/policyExport.feature rename to features/trustedInfoExport.feature index da364a02852c48d9219b4164d98693915d4f5104..e888cd3ae263979380bd9c6374101598437c52c5 100644 --- a/features/policyExport.feature +++ b/features/trustedInfoExport.feature @@ -1,5 +1,5 @@ As user of an external system -I want to have an exported result of the policy in JSON-LD format +I want to have an exported trusted result of the policy in JSON-LD format So I am able to verify the result of policy evaluation Scenario: Execute task for exporting data from external resource diff --git a/features/trustedInfoImport.feature b/features/trustedInfoImport.feature new file mode 100644 index 0000000000000000000000000000000000000000..145b098d70f80c39b185f652cfa83eb72da66957 --- /dev/null +++ b/features/trustedInfoImport.feature @@ -0,0 +1,16 @@ +As user +I want to import value to the cache and trust to the imported content +So I can then process the trusted data + +Scenario: Import data +Given DID documents are published +And JSON transformations policy is published +When I send a request to import +And the request contains JSON-LD data +And the request contains allowed DIDs list +And the request contains import interval +And the request contains http sources to import +When I get a successful response +When I evaluate the policy to get result from the cache +Then I get a response +And the response contains transformed data