Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
tests
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gaia-X
Trust Services API
tests
Commits
6f9b78a4
Commit
6f9b78a4
authored
3 years ago
by
Valery Kalashnikov
Browse files
Options
Downloads
Patches
Plain Diff
Add policy export feature
parent
4b103b70
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!13
Trusted info import export
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
features/policyExport.feature
+15
-4
15 additions, 4 deletions
features/policyExport.feature
with
15 additions
and
4 deletions
features/policyExport.feature
+
15
−
4
View file @
6f9b78a4
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment