-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from permitio/asaf/per-5415-java-sdk-add-missin…
…g-functionality Added missing APIs
- Loading branch information
Showing
58 changed files
with
3,631 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"title": "BulkRoleAssignmentReport", | ||
"type": "object", | ||
"properties": { | ||
"assignments_created": { | ||
"title": "Assignments Created", | ||
"type": "integer", | ||
"default": 0 | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"$schema": "http://json-schema.org/schema#" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"title": "BulkRoleUnAssignmentReport", | ||
"type": "object", | ||
"properties": { | ||
"assignments_removed": { | ||
"title": "Assignments Removed", | ||
"type": "integer", | ||
"default": 0 | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"$schema": "http://json-schema.org/schema#" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"title": "EnvironmentCopy", | ||
"required": [ | ||
"target_env" | ||
], | ||
"type": "object", | ||
"properties": { | ||
"target_env": { | ||
"title": "Target Env", | ||
"existingJavaType": "io.permit.sdk.openapi.models.EnvironmentCopyTarget", | ||
"description": "If copying a new environment, the environment configuration. If copying to an existing environment, the environment identifier" | ||
}, | ||
"conflict_strategy": { | ||
"title": "Conflict Strategy", | ||
"enum": [ | ||
"fail", | ||
"overwrite" | ||
], | ||
"type": "string", | ||
"description": "Action to take when detecting a conflict when copying. Only applies to copying into an existing environment", | ||
"default": "fail" | ||
}, | ||
"scope": { | ||
"title": "Scope", | ||
"existingJavaType": "io.permit.sdk.openapi.models.EnvironmentCopyScope", | ||
"description": "Filters to include and exclude copied objects", | ||
"default": { | ||
"resources": { | ||
"include": [], | ||
"exclude": [] | ||
}, | ||
"roles": { | ||
"include": [], | ||
"exclude": [] | ||
}, | ||
"user_sets": { | ||
"include": [], | ||
"exclude": [] | ||
}, | ||
"resource_sets": { | ||
"include": [], | ||
"exclude": [] | ||
} | ||
} | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"$schema": "http://json-schema.org/schema#" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{ | ||
"title": "EnvironmentCopyScope", | ||
"type": "object", | ||
"properties": { | ||
"resources": { | ||
"title": "Resources", | ||
"existingJavaType": "io.permit.sdk.openapi.models.EnvironmentCopyScopeFilters", | ||
"description": "Resources to copy", | ||
"default": { | ||
"include": [], | ||
"exclude": [] | ||
} | ||
}, | ||
"roles": { | ||
"title": "Roles", | ||
"existingJavaType": "io.permit.sdk.openapi.models.EnvironmentCopyScopeFilters", | ||
"description": "Roles to copy", | ||
"default": { | ||
"include": [], | ||
"exclude": [] | ||
} | ||
}, | ||
"user_sets": { | ||
"title": "User Sets", | ||
"existingJavaType": "io.permit.sdk.openapi.models.EnvironmentCopyScopeFilters", | ||
"description": "User sets to copy", | ||
"default": { | ||
"include": [], | ||
"exclude": [] | ||
} | ||
}, | ||
"resource_sets": { | ||
"title": "Resource Sets", | ||
"existingJavaType": "io.permit.sdk.openapi.models.EnvironmentCopyScopeFilters", | ||
"description": "Resource sets to copy", | ||
"default": { | ||
"include": [], | ||
"exclude": [] | ||
} | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"$schema": "http://json-schema.org/schema#" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"title": "EnvironmentCopyScopeFilters", | ||
"type": "object", | ||
"properties": { | ||
"include": { | ||
"title": "Include", | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
}, | ||
"description": "Objects to include (use * as wildcard)", | ||
"default": [] | ||
}, | ||
"exclude": { | ||
"title": "Exclude", | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
}, | ||
"description": "Object to exclude (use * as wildcard)", | ||
"default": [] | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"$schema": "http://json-schema.org/schema#" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"title": "EnvironmentCopyTarget", | ||
"type": "object", | ||
"properties": { | ||
"existing": { | ||
"title": "Existing", | ||
"type": "string", | ||
"description": "Identifier of an existing environment to copy into" | ||
}, | ||
"new": { | ||
"title": "New", | ||
"existingJavaType": "io.permit.sdk.openapi.models.EnvironmentCreate", | ||
"description": "Description of the environment to create. This environment must not already exist." | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"$schema": "http://json-schema.org/schema#" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"title": "ResourceActionGroupCreate", | ||
"required": [ | ||
"key", | ||
"name" | ||
], | ||
"type": "object", | ||
"properties": { | ||
"key": { | ||
"title": "Key", | ||
"pattern": "^[A-Za-z0-9\\-_]+$", | ||
"type": "string", | ||
"description": "A URL-friendly name of the action group (i.e: slug). You will be able to query later using this key instead of the id (UUID) of the action group." | ||
}, | ||
"name": { | ||
"title": "Name", | ||
"type": "string", | ||
"description": "The name of the action group" | ||
}, | ||
"description": { | ||
"title": "Description", | ||
"type": "string", | ||
"description": "An optional longer description of what this action group represents in your system" | ||
}, | ||
"attributes": { | ||
"title": "Attributes", | ||
"type": "object", | ||
"description": "optional dictionary of key-value pairs that can be used to store arbitrary metadata about this action group. This metadata can be used to filter action groups using query parameters with attr_ prefix", | ||
"default": {}, | ||
"existingJavaType": "java.util.HashMap<String, Object>" | ||
}, | ||
"actions": { | ||
"title": "Actions", | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
}, | ||
"default": [] | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"$schema": "http://json-schema.org/schema#" | ||
} |
Oops, something went wrong.