Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
tests
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
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
Merge requests
!17
add cache tests
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
add cache tests
cache-tests
into
main
Overview
0
Commits
2
Pipelines
0
Changes
9
Merged
Georgi Michev
requested to merge
cache-tests
into
main
2 years ago
Overview
0
Commits
2
Pipelines
0
Changes
9
Expand
Signed-off-by: georgi.michev
georgi.michev@vereign.com
0
0
Merge request reports
Compare
main
version 1
1a02c923
2 years ago
main (base)
and
latest version
latest version
7bb30d35
2 commits,
2 years ago
version 1
1a02c923
1 commit,
2 years ago
9 files
+
129
−
39
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
9
Search (e.g. *.vue) (Ctrl+P)
features/distributedCache.feature deleted
100644 → 0
+
0
−
20
Options
As
policy
administrator
I
want to have distributed cache feature provided
So
I
am able to use cache functionality in my custom policies
Scenario
:
Working with cache
Given
one policy to set the value in the cache is uploaded to the system
And
the second policy to get the value from the cache is uploaded to the system as well
When
I evaluate policy to set the value in the cache
And
get a successful response
When
I evaluate policy to get the value from the cache
Then
I get a successful response
And
response body is not empty
Acceptance criteria
:
-
The
plugin
for
rego
language
to
get/set
values
is
ready
to
use
-
The
working
example
how
to
use
the
plugin
-
Green
test
based
on
example
commited
to
the
system
Loading