Skip to content
Snippets Groups Projects
Commit 119639e3 authored by Valery Kalashnikov's avatar Valery Kalashnikov
Browse files

Elaborated evaluating policy synсhronously, fixed title of distributed cache story

parent 01cb4b43
No related branches found
No related tags found
1 merge request!1Feature files and todo
[d] Evaluating policy synchronously
- Creating git infrastructure for the policies with the flow documentation. Will follow with feature branch with dev and production branch
- Creating git infrastructure for the policies with the flow documentation. Will follow with feature branch with dev and production branch. Let's use [policies repo of the code.gitlab](https://code.vereign.com/gaiax/tsa/policies) to push policies. Git is a dependency should be preinstalled.
- @kalin Create an environment to demonstrate
- Kubernetes
- Mongo Replicaset 1 primary and 2 secondary(v3.6)
- Redis
- Create a pipeline to sync the committed policy with MongoDB
- @yuli Create a script to syncrhonise the data from Git to Mongo
- @dancho Sync policies from Mongo (replicaset deployment) with the policy services
+ @penkovski Create a service with endpoint to evaluate the policy
- Create an example policy for the tests and demonstration
- @rosen Implement the test logic
[] Distributed cache feature
[] Implement the CI pipeline to test the service.
- imlement the simplest test.
- setup the Gitlab pipeline. Pick the simplest trigger event
[d] Distributed cache feature
- create Rego extensions
+ create HTTP service
- create 2 example policies (1 for setting value, 1 for getting value)
- Implement the test logic
[] Persistance feature
[] Resolving DID
[] Evaluating policy asynchronously
......
......@@ -2,7 +2,7 @@ As policy administrator
I want to have distributed cache feature provided
So I am able to use cache functionality in my custom policies
Scenario: Evaluate distributed cache policy
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
......
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