diff --git a/TODO.md b/TODO.md index d0d45455feb947771c59bd74fb6264c7b631866d..900ff202a34465e3d5c11174f0fd14c7faa56c91 100644 --- a/TODO.md +++ b/TODO.md @@ -1,13 +1,25 @@ [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 diff --git a/features/distributedCache.feature b/features/distributedCache.feature index ac137076734bef6ec01f139395f9964b5e9a211e..87aa9dbc07f45eac46aabdaaae045bfd9ae2c146 100644 --- a/features/distributedCache.feature +++ b/features/distributedCache.feature @@ -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