Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • gaiax/tsa/tests
1 result
Show changes
Commits on Source (3)
......@@ -36,3 +36,14 @@ Feature: API - TSA - policy - /import GET
| export-config.json |
| export-config.json |
| export-config.json |
@IDM.TSA.E1.00011 @wip
Scenario: TSA - Defining export configuration policy and configure Import - Positive
When I define export configuration for Policy group {example} name {exmaple_policy} version {1.0} via TSA Policy API
And I changes the policy {example_policy} in the repository {synchronised_repository} to {allow} be {true}
And I commit the changes to {main} on {synchronised_repository}
Then I execute the Policy group {example} name {exmaple_policy} version {1.0} via TSA Policy API
And the status code should be {200}
And the field {allow} has the value {true}
# Revert bach the changes
Then I changes the policy {example_policy} in the repository {synchronised_repository} to {allow} be {false}
#Copyright (c) 2023 Vereign AG [https://www.vereign.com]
@rest @all @tsa @policy @phase2 @IDM.TSA.E1.00009
@rest @all @tsa @policy @phase2 @IDM.TSA.E1.00009 @IDM.TSA.E1.00060
Feature: API - TSA -Policy - {repository}/{group}/{name}/{version}/validation POST
As user
I want to be able to evaluate a policy output by JSON schema
......@@ -15,11 +15,11 @@ Feature: API - TSA -Policy - {repository}/{group}/{name}/{version}/validation PO
Then the status code should be {200}
And the field {foo} has the value {barbaz}
@negative @wip @bug-https://gitlab.eclipse.org/eclipse/xfsc/tsa/policy/-/issues/53
@negative
Scenario: TSA - Validate invalid policy output by JSON schema - Negative
When I load the REST request {Policy.json} with profile {invalid_schema_output}
When I validate the output of policy using POST with group {example} name {examplePolicy} version {1.4} by JSON schema
Then the status code should be {400}
Then the status code should be {500}
And the field {message} has the value {policy output schema validation failed}
@negative
......