-
Notifications
You must be signed in to change notification settings - Fork 26
Merge spencer/eng-3779/tm-idp-types-api #208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
spwitt
wants to merge
10
commits into
feature/tm-sso
Choose a base branch
from
spencer/eng-3779/tm-idp-types-api
base: feature/tm-sso
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+284
−4
Open
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
f925b2f
add TenantManagerIdentityProviderTypeConfiguration domain object
spwitt 3a9e056
add IdP type configs to SystemConfiguration.tenantManagerConfiguration
spwitt 68b4ff9
add new /api/tenant-manager/identity-provider endpoints to client-bui…
spwitt 93e65ba
fix up client library generation for new types
spwitt 3c21ec9
generate client libraries for /api/tenant-manager/identity-provider
spwitt aea2a7e
PR feedback
spwitt 59b6b6d
use String as map key instead of enum
spwitt fc0da7c
self-review
spwitt 41e0e8d
add patchTenantManagerIdentityProviderTypeConfiguration client method…
spwitt 691bada
remove copyright notice
spwitt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
28 changes: 28 additions & 0 deletions
28
src/main/api/createTenantManagerIdentityProviderTypeConfiguration.json
This file contains hidden or 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,28 @@ | ||
| { | ||
| "uri": "/api/tenant-manager/identity-provider", | ||
| "comments": [ | ||
| "Creates a tenant manager identity provider type configuration for the given identity provider type." | ||
| ], | ||
| "method": "post", | ||
| "methodName": "createTenantManagerIdentityProviderTypeConfiguration", | ||
| "successResponse": "TenantManagerIdentityProviderTypeConfigurationResponse", | ||
| "errorResponse": "Errors", | ||
| "params": [ | ||
| { | ||
| "name": "type", | ||
| "comments": [ | ||
| "The type of the identity provider." | ||
| ], | ||
| "type": "urlSegment", | ||
| "javaType": "IdentityProviderType" | ||
| }, | ||
| { | ||
| "name": "request", | ||
| "comments": [ | ||
| "The request object that contains all the information used to create the tenant manager identity provider type configuration." | ||
| ], | ||
| "type": "body", | ||
| "javaType": "TenantManagerIdentityProviderTypeConfigurationRequest" | ||
| } | ||
| ] | ||
| } |
20 changes: 20 additions & 0 deletions
20
src/main/api/deleteTenantManagerIdentityProviderTypeConfiguration.json
This file contains hidden or 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,20 @@ | ||
| { | ||
| "uri": "/api/tenant-manager/identity-provider", | ||
| "comments": [ | ||
| "Deletes the tenant manager identity provider type configuration for the given identity provider type." | ||
| ], | ||
| "method": "delete", | ||
| "methodName": "deleteTenantManagerIdentityProviderTypeConfiguration", | ||
| "successResponse": "Void", | ||
| "errorResponse": "Errors", | ||
| "params": [ | ||
| { | ||
| "name": "type", | ||
| "comments": [ | ||
| "The type of the identity provider." | ||
| ], | ||
| "type": "urlSegment", | ||
| "javaType": "IdentityProviderType" | ||
| } | ||
| ] | ||
| } |
28 changes: 28 additions & 0 deletions
28
src/main/api/patchTenantManagerIdentityProviderTypeConfiguration.json
This file contains hidden or 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,28 @@ | ||
| { | ||
| "uri": "/api/tenant-manager/identity-provider", | ||
| "comments": [ | ||
| "Patches the tenant manager identity provider type configuration for the given identity provider type." | ||
| ], | ||
| "method": "patch", | ||
| "methodName": "patchTenantManagerIdentityProviderTypeConfiguration", | ||
| "successResponse": "TenantManagerIdentityProviderTypeConfigurationResponse", | ||
| "errorResponse": "Errors", | ||
| "params": [ | ||
| { | ||
| "name": "type", | ||
| "comments": [ | ||
| "The type of the identity provider." | ||
| ], | ||
| "type": "urlSegment", | ||
| "javaType": "IdentityProviderType" | ||
| }, | ||
| { | ||
| "name": "request", | ||
| "comments": [ | ||
| "The request object that contains the new tenant manager identity provider type configuration information." | ||
| ], | ||
| "type": "body", | ||
| "javaType": "TenantManagerIdentityProviderTypeConfigurationRequest" | ||
| } | ||
| ] | ||
| } |
28 changes: 28 additions & 0 deletions
28
src/main/api/updateTenantManagerIdentityProviderTypeConfiguration.json
This file contains hidden or 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,28 @@ | ||
| { | ||
| "uri": "/api/tenant-manager/identity-provider", | ||
| "comments": [ | ||
| "Updates the tenant manager identity provider type configuration for the given identity provider type." | ||
| ], | ||
| "method": "put", | ||
| "methodName": "updateTenantManagerIdentityProviderTypeConfiguration", | ||
| "successResponse": "TenantManagerIdentityProviderTypeConfigurationResponse", | ||
| "errorResponse": "Errors", | ||
| "params": [ | ||
| { | ||
| "name": "type", | ||
| "comments": [ | ||
| "The type of the identity provider." | ||
| ], | ||
| "type": "urlSegment", | ||
| "javaType": "IdentityProviderType" | ||
| }, | ||
| { | ||
| "name": "request", | ||
| "comments": [ | ||
| "The request object that contains the updated tenant manager identity provider type configuration." | ||
| ], | ||
| "type": "body", | ||
| "javaType": "TenantManagerIdentityProviderTypeConfigurationRequest" | ||
| } | ||
| ] | ||
| } |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
10 changes: 10 additions & 0 deletions
10
...nauth.domain.api.tenantManager.TenantManagerIdentityProviderTypeConfigurationRequest.json
This file contains hidden or 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,10 @@ | ||
| { | ||
| "packageName" : "io.fusionauth.domain.api.tenantManager", | ||
| "type" : "TenantManagerIdentityProviderTypeConfigurationRequest", | ||
| "description" : "/**\n * The Tenant Manager IdP type configuration request object\n */\n", | ||
| "fields" : { | ||
| "typeConfiguration" : { | ||
| "type" : "TenantManagerIdentityProviderTypeConfiguration" | ||
| } | ||
| } | ||
| } |
10 changes: 10 additions & 0 deletions
10
...auth.domain.api.tenantManager.TenantManagerIdentityProviderTypeConfigurationResponse.json
This file contains hidden or 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,10 @@ | ||
| { | ||
| "packageName" : "io.fusionauth.domain.api.tenantManager", | ||
| "type" : "TenantManagerIdentityProviderTypeConfigurationResponse", | ||
| "description" : "/**\n * The Tenant Manager IdP type configuration response object\n */\n", | ||
| "fields" : { | ||
| "typeConfiguration" : { | ||
| "type" : "TenantManagerIdentityProviderTypeConfiguration" | ||
| } | ||
| } | ||
| } |
38 changes: 38 additions & 0 deletions
38
...in/io.fusionauth.domain.tenantManager.TenantManagerIdentityProviderTypeConfiguration.json
This file contains hidden or 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,38 @@ | ||
| { | ||
| "packageName" : "io.fusionauth.domain.tenantManager", | ||
| "type" : "TenantManagerIdentityProviderTypeConfiguration", | ||
| "description" : "/**\n * Configuration object for identity provider types allowed in Tenant Manager\n */\n", | ||
| "extends" : [ { | ||
| "type" : "Enableable" | ||
| } ], | ||
| "implements" : [ { | ||
| "type" : "Buildable", | ||
| "typeArguments" : [ { | ||
| "type" : "TenantManagerIdentityProviderTypeConfiguration" | ||
| } ] | ||
| }, { | ||
| "type" : "JSONColumnable" | ||
| } ], | ||
| "fields" : { | ||
| "defaultAttributeMappings" : { | ||
| "type" : "Map", | ||
| "typeArguments" : [ { | ||
| "type" : "String" | ||
| }, { | ||
| "type" : "String" | ||
| } ] | ||
| }, | ||
| "insertInstant" : { | ||
| "type" : "ZonedDateTime" | ||
| }, | ||
| "lastUpdateInstant" : { | ||
| "type" : "ZonedDateTime" | ||
| }, | ||
| "linkingStrategy" : { | ||
| "type" : "IdentityProviderLinkingStrategy" | ||
| }, | ||
| "type" : { | ||
| "type" : "IdentityProviderType" | ||
| } | ||
| } | ||
| } |
This file contains hidden or 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
15 changes: 15 additions & 0 deletions
15
...nauth.domain.api.tenantManager.TenantManagerIdentityProviderTypeConfigurationRequest.json
This file contains hidden or 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,15 @@ | ||
| { | ||
| "className" : "io.fusionauth.domain.api.tenantManager.TenantManagerIdentityProviderTypeConfigurationRequest", | ||
| "extends" : { }, | ||
| "fields" : { | ||
| "typeConfiguration" : { | ||
| "className" : "io.fusionauth.domain.tenantManager.TenantManagerIdentityProviderTypeConfiguration", | ||
| "type" : "TenantManagerIdentityProviderTypeConfiguration" | ||
| } | ||
| }, | ||
| "imports" : [ "io.fusionauth.domain.tenantManager.TenantManagerIdentityProviderTypeConfiguration" ], | ||
| "interfaces" : [ ], | ||
| "objectType" : "Object", | ||
| "packageName" : "io.fusionauth.domain.api.tenantManager", | ||
| "type" : "TenantManagerIdentityProviderTypeConfigurationRequest" | ||
| } |
15 changes: 15 additions & 0 deletions
15
...auth.domain.api.tenantManager.TenantManagerIdentityProviderTypeConfigurationResponse.json
This file contains hidden or 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,15 @@ | ||
| { | ||
| "className" : "io.fusionauth.domain.api.tenantManager.TenantManagerIdentityProviderTypeConfigurationResponse", | ||
| "extends" : { }, | ||
| "fields" : { | ||
| "typeConfiguration" : { | ||
| "className" : "io.fusionauth.domain.tenantManager.TenantManagerIdentityProviderTypeConfiguration", | ||
| "type" : "TenantManagerIdentityProviderTypeConfiguration" | ||
| } | ||
| }, | ||
| "imports" : [ "io.fusionauth.domain.tenantManager.TenantManagerIdentityProviderTypeConfiguration" ], | ||
| "interfaces" : [ ], | ||
| "objectType" : "Object", | ||
| "packageName" : "io.fusionauth.domain.api.tenantManager", | ||
| "type" : "TenantManagerIdentityProviderTypeConfigurationResponse" | ||
| } |
62 changes: 62 additions & 0 deletions
62
...NG/io.fusionauth.domain.tenantManager.TenantManagerIdentityProviderTypeConfiguration.json
This file contains hidden or 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,62 @@ | ||
| { | ||
| "className" : "io.fusionauth.domain.tenantManager.TenantManagerIdentityProviderTypeConfiguration", | ||
| "extends" : { | ||
| "className" : "io.fusionauth.domain.Enableable", | ||
| "type" : "Enableable" | ||
| }, | ||
| "fields" : { | ||
| "data" : { | ||
| "className" : "java.util.Map", | ||
| "type" : "Map", | ||
| "typeArguments" : [ { | ||
| "className" : "java.lang.String", | ||
| "type" : "String" | ||
| }, { | ||
| "className" : "java.lang.Object", | ||
| "type" : "Object" | ||
| } ] | ||
| }, | ||
| "defaultAttributeMappings" : { | ||
| "className" : "java.util.Map", | ||
| "type" : "Map", | ||
| "typeArguments" : [ { | ||
| "className" : "java.lang.String", | ||
| "type" : "String" | ||
| }, { | ||
| "className" : "java.lang.String", | ||
| "type" : "String" | ||
| } ] | ||
| }, | ||
| "insertInstant" : { | ||
| "className" : "java.time.ZonedDateTime", | ||
| "type" : "ZonedDateTime" | ||
| }, | ||
| "lastUpdateInstant" : { | ||
| "className" : "java.time.ZonedDateTime", | ||
| "type" : "ZonedDateTime" | ||
| }, | ||
| "linkingStrategy" : { | ||
| "className" : "io.fusionauth.domain.provider.IdentityProviderLinkingStrategy", | ||
| "type" : "IdentityProviderLinkingStrategy" | ||
| }, | ||
| "type" : { | ||
| "className" : "io.fusionauth.domain.provider.IdentityProviderType", | ||
| "type" : "IdentityProviderType" | ||
| } | ||
| }, | ||
| "imports" : [ "io.fusionauth.domain.Enableable", "io.fusionauth.domain.Buildable", "com.inversoft.mybatis.JSONColumnable", "java.util.Map", "java.lang.String", "java.time.ZonedDateTime", "io.fusionauth.domain.provider.IdentityProviderLinkingStrategy", "io.fusionauth.domain.provider.IdentityProviderType" ], | ||
| "interfaces" : [ { | ||
| "className" : "io.fusionauth.domain.Buildable", | ||
| "type" : "Buildable", | ||
| "typeArguments" : [ { | ||
| "className" : "io.fusionauth.domain.tenantManager.TenantManagerIdentityProviderTypeConfiguration", | ||
| "type" : "TenantManagerIdentityProviderTypeConfiguration" | ||
| } ] | ||
| }, { | ||
| "className" : "com.inversoft.mybatis.JSONColumnable", | ||
| "type" : "JSONColumnable" | ||
| } ], | ||
| "objectType" : "Object", | ||
| "packageName" : "io.fusionauth.domain.tenantManager", | ||
| "type" : "TenantManagerIdentityProviderTypeConfiguration" | ||
| } |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was needed to convert the enum to a string for the
typeURL parameter.