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

Add OCM communication feature

parent 2b47e100
No related branches found
No related tags found
1 merge request!12Add OCM communication feature
...@@ -11,6 +11,7 @@ local.properties ...@@ -11,6 +11,7 @@ local.properties
logs logs
QA.log QA.log
out out
.DS_Store
# Java # Java
# Compiled class file # Compiled class file
......
...@@ -2,7 +2,7 @@ As user ...@@ -2,7 +2,7 @@ As user
I want to evaluate the policy asyncronously I want to evaluate the policy asyncronously
So I am able to execute the developed Rego code in the future non-blocking So I am able to execute the developed Rego code in the future non-blocking
Scenario: Evaluate the policy asyncronously Scenario: Execute the task during evaluating policy
Given long running policy is uploaded to the system Given long running policy is uploaded to the system
And the task template is uploaded to the system And the task template is uploaded to the system
When I evaluate the policy asyncronously When I evaluate the policy asyncronously
...@@ -10,7 +10,7 @@ And the task template is specifyed as an input ...@@ -10,7 +10,7 @@ And the task template is specifyed as an input
When I get successful response When I get successful response
And the response contains taskId And the response contains taskId
Scenario: Getting the result for the executed policy Scenario: Getting the result for the executed task
Given long running policy is executed Given long running policy is executed
When I request the result of execution When I request the result of execution
And request contains the taskId And request contains the taskId
......
As policy administrator
I want to evaluate OCM communication feature
So I am able to create policies to control login functionality
Scenario: Make OCM requests
Given the policy to query OCM is uploaded to the system
When I make the request to the OCM
And the request contains the path
And the request contains the input JSON object
Then I get successful response
And it contains the output JSON object
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment