Skip to content

Commit

Permalink
Add missing methods and update ITs
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiishamrai-okta committed Nov 23, 2020
1 parent 1ad7eca commit ec52cf0
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ class AuthorizationServerIT extends ITSupport {
assertThat(createdPolicyRule, notNullValue())
assertThat(createdPolicyRule.getType(), equalTo(AuthorizationServerPolicyRule.TypeEnum.ACCESS))

retrievedPolicy.deletePolicyRule(createdAuthorizationServer.getId(), createdPolicyRule.getId())
createdPolicyRule.deletePolicyRule(createdAuthorizationServer.getId())

// delete may not effect immediately in the backend
sleep(getTestOperationDelay())
Expand Down
17 changes: 17 additions & 0 deletions src/swagger/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7662,6 +7662,16 @@ definitions:
- dest: policyId
src: id
operationId: getAuthorizationServerPolicy
- alias: updatePolicy
arguments:
- dest: policyId
src: id
operationId: updateAuthorizationServerPolicy
- alias: deletePolicy
arguments:
- dest: policyId
src: id
operationId: deleteAuthorizationServerPolicy
x-okta-operations:
- alias: listPolicyRules
arguments:
Expand Down Expand Up @@ -7730,6 +7740,13 @@ definitions:
- dest: policyId
parentSrc: id
operationId: updateAuthorizationServerPolicyRule
- alias: deletePolicyRule
arguments:
- dest: ruleId
src: id
- dest: policyId
parentSrc: id
operationId: deleteAuthorizationServerPolicyRule
x-okta-operations:
- alias: activate
arguments:
Expand Down

0 comments on commit ec52cf0

Please sign in to comment.