From 1e82b9016f1a096101be34006e49adf4aa49c118 Mon Sep 17 00:00:00 2001 From: Georgi Michev <georgi.michev@vereign.com> Date: Thu, 14 Jul 2022 13:47:01 +0000 Subject: [PATCH 1/3] Delete devRun.sh --- devRun.sh | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100755 devRun.sh diff --git a/devRun.sh b/devRun.sh deleted file mode 100755 index 90507307..00000000 --- a/devRun.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash - -# This is the run command -./gradlew regressionSuite \ - -PbaseUrl="http://localhost:8081" \ - -Dcucumber.tags="@rest, ~@wip" \ - -Dcourgette.threads=10 \ - -Dcourgette.runLevel=Scenario \ - -Dcourgette.rerunFailedScenarios=false \ - -Dcourgette.rerunAttempts=1 \ No newline at end of file -- GitLab From 6ea77f85337fef8c223c3130db1febe4cd372c9b Mon Sep 17 00:00:00 2001 From: Georgi Michev <georgi.michev@vereign.com> Date: Thu, 14 Jul 2022 13:47:16 +0000 Subject: [PATCH 2/3] Delete trustedInfoExport.feature --- features/trustedInfoExport.feature | 45 ------------------------------ 1 file changed, 45 deletions(-) delete mode 100644 features/trustedInfoExport.feature diff --git a/features/trustedInfoExport.feature b/features/trustedInfoExport.feature deleted file mode 100644 index 3d953328..00000000 --- a/features/trustedInfoExport.feature +++ /dev/null @@ -1,45 +0,0 @@ -As user of an external system -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 -Given the environment configured for running policy to export -And the the DID published somewhere -When I execute the task -And the task contains the actual http url to execute -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 endpoint -And the request contains task id -Then I get a successful response -And the response contains the exported document - - -- DID document should be in a format of the DID Web -- Generating VC / VP should be configured as a policy of plugin -- Export configuration we need to put as a task config (mark policy as export). -- Should be possible to use export a list of policies and get a one VP of all. -- Have an export configuration of the task list -- Generating the hash is an open question ? -- Generation of VP as a separate container ? - ->> -When a task generated -And I setup an export config -Then I need for VP a DID which signs VP -When I setup an export, DID can be generated automatically -Then I configure a hashicorp Valut with keypair for signing -And put the DID document should be put inside of the cache -- GitLab From a61ca155ec30eeea0e01616d55b8642a2ad3dcc5 Mon Sep 17 00:00:00 2001 From: Georgi Michev <georgi.michev@vereign.com> Date: Thu, 14 Jul 2022 13:47:28 +0000 Subject: [PATCH 3/3] Delete trustedInfoImport.feature --- features/trustedInfoImport.feature | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 features/trustedInfoImport.feature diff --git a/features/trustedInfoImport.feature b/features/trustedInfoImport.feature deleted file mode 100644 index 145b098d..00000000 --- a/features/trustedInfoImport.feature +++ /dev/null @@ -1,16 +0,0 @@ -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 -- GitLab