Skip to content
Snippets Groups Projects
Commit 41100a1b authored by Georgi Michev's avatar Georgi Michev
Browse files

Merge branch 'clean-files' into 'main'

Clean files

See merge request !27
parents baba5646 a61ca155
No related branches found
No related tags found
1 merge request!27Clean files
Pipeline #52664 passed with stage
in 2 minutes and 41 seconds
#!/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
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
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment