From 6abd27c41830bf3bd7665024e68b911d7e6e2822 Mon Sep 17 00:00:00 2001 From: Lyle Schemmerling Date: Thu, 26 Jun 2025 16:41:36 -0600 Subject: [PATCH 1/2] add the application-tenant api and move it out of the application object --- .../createUniversalApplicationTenants.json | 34 ++++++++++++++++++ .../api/deleteUniversalApplicationTenant.json | 34 ++++++++++++++++++ .../deleteUniversalApplicationTenants.json | 35 +++++++++++++++++++ .../retrieveUniversalApplicationTenants.json | 26 ++++++++++++++ ...in.Application$UniversalConfiguration.json | 6 ---- ...uth.domain.UniversalApplicationTenant.json | 3 ++ ...pi.UniversalApplicationTenantsRequest.json | 19 ++++++++++ ...i.UniversalApplicationTenantsResponse.json | 13 +++++++ 8 files changed, 164 insertions(+), 6 deletions(-) create mode 100644 src/main/api/createUniversalApplicationTenants.json create mode 100644 src/main/api/deleteUniversalApplicationTenant.json create mode 100644 src/main/api/deleteUniversalApplicationTenants.json create mode 100644 src/main/api/retrieveUniversalApplicationTenants.json create mode 100644 src/main/domain/io.fusionauth.domain.api.UniversalApplicationTenantsRequest.json create mode 100644 src/main/domain/io.fusionauth.domain.api.UniversalApplicationTenantsResponse.json diff --git a/src/main/api/createUniversalApplicationTenants.json b/src/main/api/createUniversalApplicationTenants.json new file mode 100644 index 000000000..44dd4f81f --- /dev/null +++ b/src/main/api/createUniversalApplicationTenants.json @@ -0,0 +1,34 @@ +{ + "uri": "/api/application", + "comments": [ + "Adds the application tenants for universal applications." + ], + "method": "post", + "methodName": "createUniversalApplicationTenants", + "successResponse": "UniversalApplicationTenantsResponse", + "errorResponse": "Errors", + "params": [ + { + "name": "applicationId", + "comments": [ + "The Id of the application that the role belongs to." + ], + "type": "urlSegment", + "javaType": "UUID" + }, + { + "name": "application-tenant", + "constant": true, + "type": "urlSegment", + "value": "\"application-tenant\"" + }, + { + "name": "request", + "comments": [ + "The request object that contains all the information used to create the Entity." + ], + "type": "body", + "javaType": "UniversalApplicationTenantsRequest" + } + ] +} diff --git a/src/main/api/deleteUniversalApplicationTenant.json b/src/main/api/deleteUniversalApplicationTenant.json new file mode 100644 index 000000000..df136c396 --- /dev/null +++ b/src/main/api/deleteUniversalApplicationTenant.json @@ -0,0 +1,34 @@ +{ + "uri": "/api/application", + "comments": [ + "Removes the specified tenant from the universal application tenants list." + ], + "method": "delete", + "methodName": "deleteUniversalApplicationTenant", + "successResponse": "Void", + "errorResponse": "Errors", + "params": [ + { + "name": "applicationId", + "comments": [ + "The Id of the application that the role belongs to." + ], + "type": "urlSegment", + "javaType": "UUID" + }, + { + "name": "application-tenant", + "constant": true, + "type": "urlSegment", + "value": "\"application-tenant\"" + }, + { + "name": "tenantId", + "comments": [ + "The Id of the tenant to delete from the universal application tenants list." + ], + "type": "urlSegment", + "javaType": "UUID" + } + ] +} \ No newline at end of file diff --git a/src/main/api/deleteUniversalApplicationTenants.json b/src/main/api/deleteUniversalApplicationTenants.json new file mode 100644 index 000000000..eaf84d995 --- /dev/null +++ b/src/main/api/deleteUniversalApplicationTenants.json @@ -0,0 +1,35 @@ +{ + "uri": "/api/application", + "comments": [ + "Removes the specified tenants from the universal application tenants list." + ], + "method": "delete", + "methodName": "deleteUniversalApplicationTenants", + "successResponse": "Void", + "errorResponse": "Errors", + "params": [ + { + "name": "applicationId", + "comments": [ + "The Id of the universal application that the tenants are linked to." + ], + "type": "urlSegment", + "javaType": "UUID" + }, + { + "name": "application-tenant", + "constant": true, + "type": "urlSegment", + "value": "\"application-tenant\"" + }, + { + "name": "tenantIds", + "comments": [ + "The Ids of the tenants to delete from the universal application tenants list." + ], + "type": "urlParameter", + "parameterName": "tenantIds", + "javaType": "Collection" + } + ] +} \ No newline at end of file diff --git a/src/main/api/retrieveUniversalApplicationTenants.json b/src/main/api/retrieveUniversalApplicationTenants.json new file mode 100644 index 000000000..2fb22e12b --- /dev/null +++ b/src/main/api/retrieveUniversalApplicationTenants.json @@ -0,0 +1,26 @@ +{ + "uri": "/api/application", + "comments": [ + "Retrieves the application tenants for universal applications." + ], + "method": "get", + "methodName": "retrieveUniversalApplicationTenants", + "successResponse": "UniversalApplicationTenantsResponse", + "errorResponse": "Errors", + "params": [ + { + "name": "applicationId", + "comments": [ + "The Id of the application that the role belongs to." + ], + "type": "urlSegment", + "javaType": "UUID" + }, + { + "name": "application-tenant", + "constant": true, + "type": "urlSegment", + "value": "\"application-tenant\"" + } + ] +} diff --git a/src/main/domain/io.fusionauth.domain.Application$UniversalConfiguration.json b/src/main/domain/io.fusionauth.domain.Application$UniversalConfiguration.json index d382c2570..be6d1beec 100644 --- a/src/main/domain/io.fusionauth.domain.Application$UniversalConfiguration.json +++ b/src/main/domain/io.fusionauth.domain.Application$UniversalConfiguration.json @@ -2,12 +2,6 @@ "packageName" : "io.fusionauth.domain", "type" : "UniversalConfiguration", "fields" : { - "applicationTenants" : { - "type" : "List", - "typeArguments" : [ { - "type" : "UniversalApplicationTenant" - } ] - }, "global" : { "type" : "boolean" }, diff --git a/src/main/domain/io.fusionauth.domain.UniversalApplicationTenant.json b/src/main/domain/io.fusionauth.domain.UniversalApplicationTenant.json index 756aaf600..cb2d70b90 100644 --- a/src/main/domain/io.fusionauth.domain.UniversalApplicationTenant.json +++ b/src/main/domain/io.fusionauth.domain.UniversalApplicationTenant.json @@ -9,6 +9,9 @@ } ] } ], "fields" : { + "applicationId" : { + "type" : "UUID" + }, "tenantId" : { "type" : "UUID" } diff --git a/src/main/domain/io.fusionauth.domain.api.UniversalApplicationTenantsRequest.json b/src/main/domain/io.fusionauth.domain.api.UniversalApplicationTenantsRequest.json new file mode 100644 index 000000000..e8375b94e --- /dev/null +++ b/src/main/domain/io.fusionauth.domain.api.UniversalApplicationTenantsRequest.json @@ -0,0 +1,19 @@ +{ + "packageName" : "io.fusionauth.domain.api", + "type" : "UniversalApplicationTenantsRequest", + "description" : "/**\n * @author Lyle Schemmerling\n */\n", + "implements" : [ { + "type" : "Buildable", + "typeArguments" : [ { + "type" : "UniversalApplicationTenantsRequest" + } ] + } ], + "fields" : { + "applicationTenants" : { + "type" : "List", + "typeArguments" : [ { + "type" : "UniversalApplicationTenant" + } ] + } + } +} \ No newline at end of file diff --git a/src/main/domain/io.fusionauth.domain.api.UniversalApplicationTenantsResponse.json b/src/main/domain/io.fusionauth.domain.api.UniversalApplicationTenantsResponse.json new file mode 100644 index 000000000..6c61e6c7c --- /dev/null +++ b/src/main/domain/io.fusionauth.domain.api.UniversalApplicationTenantsResponse.json @@ -0,0 +1,13 @@ +{ + "packageName" : "io.fusionauth.domain.api", + "type" : "UniversalApplicationTenantsResponse", + "description" : "/**\n * @author Lyle Schemmerling\n */\n", + "fields" : { + "applicationTenants" : { + "type" : "List", + "typeArguments" : [ { + "type" : "UniversalApplicationTenant" + } ] + } + } +} \ No newline at end of file From 2a760b5521e3ab2843e1418281ee6064c19cf12d Mon Sep 17 00:00:00 2001 From: Lyle Schemmerling Date: Mon, 7 Jul 2025 15:14:16 -0600 Subject: [PATCH 2/2] separate out the universal config and update clients --- .../api/createUniversalApplicationTenant.json | 42 +++++++++++++++++++ .../createUniversalApplicationTenants.json | 34 --------------- .../api/deleteUniversalApplicationTenant.json | 12 +++--- .../retrieveUniversalApplicationTenant.json | 34 +++++++++++++++ .../retrieveUniversalApplicationTenants.json | 26 ------------ .../searchUniversalApplicationTenants.json | 32 ++++++++++++++ .../api/updateUniversalApplicationTenant.json | 42 +++++++++++++++++++ .../io.fusionauth.domain.Application.json | 2 +- ...in.UniversalApplicationConfiguration.json} | 3 +- ...uth.domain.UniversalApplicationTenant.json | 21 +++++++++- ...api.UniversalApplicationTenantRequest.json | 16 +++++++ ...pi.UniversalApplicationTenantResponse.json | 10 +++++ ...iversalApplicationTenantSearchRequest.json | 16 +++++++ ...versalApplicationTenantSearchResponse.json | 16 +++++++ ...pi.UniversalApplicationTenantsRequest.json | 19 --------- ...i.UniversalApplicationTenantsResponse.json | 13 ------ ...versalApplicationTenantSearchCriteria.json | 25 +++++++++++ 17 files changed, 262 insertions(+), 101 deletions(-) create mode 100644 src/main/api/createUniversalApplicationTenant.json delete mode 100644 src/main/api/createUniversalApplicationTenants.json create mode 100644 src/main/api/retrieveUniversalApplicationTenant.json delete mode 100644 src/main/api/retrieveUniversalApplicationTenants.json create mode 100644 src/main/api/searchUniversalApplicationTenants.json create mode 100644 src/main/api/updateUniversalApplicationTenant.json rename src/main/domain/{io.fusionauth.domain.Application$UniversalConfiguration.json => io.fusionauth.domain.UniversalApplicationConfiguration.json} (59%) create mode 100644 src/main/domain/io.fusionauth.domain.api.UniversalApplicationTenantRequest.json create mode 100644 src/main/domain/io.fusionauth.domain.api.UniversalApplicationTenantResponse.json create mode 100644 src/main/domain/io.fusionauth.domain.api.UniversalApplicationTenantSearchRequest.json create mode 100644 src/main/domain/io.fusionauth.domain.api.UniversalApplicationTenantSearchResponse.json delete mode 100644 src/main/domain/io.fusionauth.domain.api.UniversalApplicationTenantsRequest.json delete mode 100644 src/main/domain/io.fusionauth.domain.api.UniversalApplicationTenantsResponse.json create mode 100644 src/main/domain/io.fusionauth.domain.search.UniversalApplicationTenantSearchCriteria.json diff --git a/src/main/api/createUniversalApplicationTenant.json b/src/main/api/createUniversalApplicationTenant.json new file mode 100644 index 000000000..f7b4b65af --- /dev/null +++ b/src/main/api/createUniversalApplicationTenant.json @@ -0,0 +1,42 @@ +{ + "uri": "/api/application", + "comments": [ + "Adds the application tenants for universal applications." + ], + "method": "post", + "methodName": "createUniversalApplicationTenant", + "successResponse": "UniversalApplicationTenantResponse", + "errorResponse": "Errors", + "params": [ + { + "name": "applicationId", + "comments": [ + "The Id of the application that the universal application tenant belongs to." + ], + "type": "urlSegment", + "javaType": "UUID" + }, + { + "name": "universal-application-tenant", + "constant": true, + "type": "urlSegment", + "value": "\"universal-application-tenant\"" + }, + { + "name": "universalApplicationTenantId", + "comments": [ + "(Optional) The Id of the universal application tenant." + ], + "type": "urlSegment", + "javaType": "UUID" + }, + { + "name": "request", + "comments": [ + "The request object that contains all the information used to create the UniversalApplicationTenants." + ], + "type": "body", + "javaType": "UniversalApplicationTenantRequest" + } + ] +} diff --git a/src/main/api/createUniversalApplicationTenants.json b/src/main/api/createUniversalApplicationTenants.json deleted file mode 100644 index 44dd4f81f..000000000 --- a/src/main/api/createUniversalApplicationTenants.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "uri": "/api/application", - "comments": [ - "Adds the application tenants for universal applications." - ], - "method": "post", - "methodName": "createUniversalApplicationTenants", - "successResponse": "UniversalApplicationTenantsResponse", - "errorResponse": "Errors", - "params": [ - { - "name": "applicationId", - "comments": [ - "The Id of the application that the role belongs to." - ], - "type": "urlSegment", - "javaType": "UUID" - }, - { - "name": "application-tenant", - "constant": true, - "type": "urlSegment", - "value": "\"application-tenant\"" - }, - { - "name": "request", - "comments": [ - "The request object that contains all the information used to create the Entity." - ], - "type": "body", - "javaType": "UniversalApplicationTenantsRequest" - } - ] -} diff --git a/src/main/api/deleteUniversalApplicationTenant.json b/src/main/api/deleteUniversalApplicationTenant.json index df136c396..1d0d67d74 100644 --- a/src/main/api/deleteUniversalApplicationTenant.json +++ b/src/main/api/deleteUniversalApplicationTenant.json @@ -1,7 +1,7 @@ { "uri": "/api/application", "comments": [ - "Removes the specified tenant from the universal application tenants list." + "Deletes the universal application tenant." ], "method": "delete", "methodName": "deleteUniversalApplicationTenant", @@ -11,21 +11,21 @@ { "name": "applicationId", "comments": [ - "The Id of the application that the role belongs to." + "The Id of the application that the UniversalApplicationTenant belongs to." ], "type": "urlSegment", "javaType": "UUID" }, { - "name": "application-tenant", + "name": "universal-application-tenant", "constant": true, "type": "urlSegment", - "value": "\"application-tenant\"" + "value": "\"universal-application-tenant\"" }, { - "name": "tenantId", + "name": "universalApplicationTenantId", "comments": [ - "The Id of the tenant to delete from the universal application tenants list." + "The Id of the UniversalApplicationTenant to delete." ], "type": "urlSegment", "javaType": "UUID" diff --git a/src/main/api/retrieveUniversalApplicationTenant.json b/src/main/api/retrieveUniversalApplicationTenant.json new file mode 100644 index 000000000..c2e668fca --- /dev/null +++ b/src/main/api/retrieveUniversalApplicationTenant.json @@ -0,0 +1,34 @@ +{ + "uri": "/api/application", + "comments": [ + "Retrieves the universal application tenant." + ], + "method": "get", + "methodName": "retrieveUniversalApplicationTenant", + "successResponse": "UniversalApplicationTenantResponse", + "errorResponse": "Errors", + "params": [ + { + "name": "applicationId", + "comments": [ + "The Id of the universal application that tenant is mapped to" + ], + "type": "urlSegment", + "javaType": "UUID" + }, + { + "name": "application-tenant", + "constant": true, + "type": "urlSegment", + "value": "\"application-tenant\"" + }, + { + "name": "universalApplicationTenantId", + "comments": [ + "The Id of the universal application tenant." + ], + "type": "urlSegment", + "javaType": "UUID" + } + ] +} \ No newline at end of file diff --git a/src/main/api/retrieveUniversalApplicationTenants.json b/src/main/api/retrieveUniversalApplicationTenants.json deleted file mode 100644 index 2fb22e12b..000000000 --- a/src/main/api/retrieveUniversalApplicationTenants.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "uri": "/api/application", - "comments": [ - "Retrieves the application tenants for universal applications." - ], - "method": "get", - "methodName": "retrieveUniversalApplicationTenants", - "successResponse": "UniversalApplicationTenantsResponse", - "errorResponse": "Errors", - "params": [ - { - "name": "applicationId", - "comments": [ - "The Id of the application that the role belongs to." - ], - "type": "urlSegment", - "javaType": "UUID" - }, - { - "name": "application-tenant", - "constant": true, - "type": "urlSegment", - "value": "\"application-tenant\"" - } - ] -} diff --git a/src/main/api/searchUniversalApplicationTenants.json b/src/main/api/searchUniversalApplicationTenants.json new file mode 100644 index 000000000..466f07230 --- /dev/null +++ b/src/main/api/searchUniversalApplicationTenants.json @@ -0,0 +1,32 @@ +{ + "uri": "/api/application", + "comments": [ + "Searches universal application tenants for the specified applicationId and with the specified criteria and pagination." + ], + "method": "post", + "methodName": "searchUniversalApplicationTenants", + "successResponse": "UniversalApplicationTenantSearchResponse", + "errorResponse": "Errors", + "params": [ + { + "name": "universal-application-tenant", + "constant": true, + "type": "urlSegment", + "value": "\"universal-application-tenant\"" + }, + { + "name": "search", + "constant": true, + "type": "urlSegment", + "value": "\"search\"" + }, + { + "name": "request", + "comments": [ + "The search criteria and pagination information." + ], + "type": "body", + "javaType": "UniversalApplicationTenantSearchRequest" + } + ] +} \ No newline at end of file diff --git a/src/main/api/updateUniversalApplicationTenant.json b/src/main/api/updateUniversalApplicationTenant.json new file mode 100644 index 000000000..c9976b5a3 --- /dev/null +++ b/src/main/api/updateUniversalApplicationTenant.json @@ -0,0 +1,42 @@ +{ + "uri": "/api/application", + "comments": [ + "Adds the application tenants for universal applications." + ], + "method": "put", + "methodName": "updateUniversalApplicationTenant", + "successResponse": "UniversalApplicationTenantResponse", + "errorResponse": "Errors", + "params": [ + { + "name": "applicationId", + "comments": [ + "The Id of the application that the UniversalApplicationTenant belongs to." + ], + "type": "urlSegment", + "javaType": "UUID" + }, + { + "name": "universal-application-tenant", + "constant": true, + "type": "urlSegment", + "value": "\"universal-application-tenant\"" + }, + { + "name": "universalApplicationTenantId", + "comments": [ + "The Id of the universal application tenant." + ], + "type": "urlSegment", + "javaType": "UUID" + }, + { + "name": "request", + "comments": [ + "The request object that contains all the information used to create the UniversalApplicationTenant." + ], + "type": "body", + "javaType": "UniversalApplicationTenantRequest" + } + ] +} diff --git a/src/main/domain/io.fusionauth.domain.Application.json b/src/main/domain/io.fusionauth.domain.Application.json index 47aa941aa..cdd19a2ab 100644 --- a/src/main/domain/io.fusionauth.domain.Application.json +++ b/src/main/domain/io.fusionauth.domain.Application.json @@ -103,7 +103,7 @@ "type" : "UUID" }, "universalConfiguration" : { - "type" : "UniversalConfiguration" + "type" : "UniversalApplicationConfiguration" }, "unverified" : { "type" : "RegistrationUnverifiedOptions" diff --git a/src/main/domain/io.fusionauth.domain.Application$UniversalConfiguration.json b/src/main/domain/io.fusionauth.domain.UniversalApplicationConfiguration.json similarity index 59% rename from src/main/domain/io.fusionauth.domain.Application$UniversalConfiguration.json rename to src/main/domain/io.fusionauth.domain.UniversalApplicationConfiguration.json index be6d1beec..ac4711557 100644 --- a/src/main/domain/io.fusionauth.domain.Application$UniversalConfiguration.json +++ b/src/main/domain/io.fusionauth.domain.UniversalApplicationConfiguration.json @@ -1,6 +1,7 @@ { "packageName" : "io.fusionauth.domain", - "type" : "UniversalConfiguration", + "type" : "UniversalApplicationConfiguration", + "description" : "/**\n * @author Lyle Schemmerling\n */\n", "fields" : { "global" : { "type" : "boolean" diff --git a/src/main/domain/io.fusionauth.domain.UniversalApplicationTenant.json b/src/main/domain/io.fusionauth.domain.UniversalApplicationTenant.json index cb2d70b90..e3b897fde 100644 --- a/src/main/domain/io.fusionauth.domain.UniversalApplicationTenant.json +++ b/src/main/domain/io.fusionauth.domain.UniversalApplicationTenant.json @@ -1,17 +1,36 @@ { "packageName" : "io.fusionauth.domain", "type" : "UniversalApplicationTenant", - "description" : "/**\n * @author Lyle Schemmerling\n */\n", + "description" : "/**\n * An object that represents the mapping between a Universal Application and a Tenant.\n *\n * @author Lyle Schemmerling\n */\n", "implements" : [ { "type" : "Buildable", "typeArguments" : [ { "type" : "UniversalApplicationTenant" } ] + }, { + "type" : "JSONColumnable" } ], "fields" : { "applicationId" : { "type" : "UUID" }, + "data" : { + "type" : "Map", + "typeArguments" : [ { + "type" : "String" + }, { + "type" : "Object" + } ] + }, + "id" : { + "type" : "UUID" + }, + "insertInstant" : { + "type" : "ZonedDateTime" + }, + "lastUpdateInstant" : { + "type" : "ZonedDateTime" + }, "tenantId" : { "type" : "UUID" } diff --git a/src/main/domain/io.fusionauth.domain.api.UniversalApplicationTenantRequest.json b/src/main/domain/io.fusionauth.domain.api.UniversalApplicationTenantRequest.json new file mode 100644 index 000000000..d1f65a246 --- /dev/null +++ b/src/main/domain/io.fusionauth.domain.api.UniversalApplicationTenantRequest.json @@ -0,0 +1,16 @@ +{ + "packageName" : "io.fusionauth.domain.api", + "type" : "UniversalApplicationTenantRequest", + "description" : "/**\n * The request object for creating or updating a Universal Application Tenant.\n *\n * @author Lyle Schemmerling\n */\n", + "implements" : [ { + "type" : "Buildable", + "typeArguments" : [ { + "type" : "UniversalApplicationTenantRequest" + } ] + } ], + "fields" : { + "universalApplicationTenant" : { + "type" : "UniversalApplicationTenant" + } + } +} \ No newline at end of file diff --git a/src/main/domain/io.fusionauth.domain.api.UniversalApplicationTenantResponse.json b/src/main/domain/io.fusionauth.domain.api.UniversalApplicationTenantResponse.json new file mode 100644 index 000000000..cea7221e3 --- /dev/null +++ b/src/main/domain/io.fusionauth.domain.api.UniversalApplicationTenantResponse.json @@ -0,0 +1,10 @@ +{ + "packageName" : "io.fusionauth.domain.api", + "type" : "UniversalApplicationTenantResponse", + "description" : "/**\n * The response object for a single Universal Application Tenant.\n *\n * @author Lyle Schemmerling\n */\n", + "fields" : { + "universalApplicationTenant" : { + "type" : "UniversalApplicationTenant" + } + } +} \ No newline at end of file diff --git a/src/main/domain/io.fusionauth.domain.api.UniversalApplicationTenantSearchRequest.json b/src/main/domain/io.fusionauth.domain.api.UniversalApplicationTenantSearchRequest.json new file mode 100644 index 000000000..17852d8dc --- /dev/null +++ b/src/main/domain/io.fusionauth.domain.api.UniversalApplicationTenantSearchRequest.json @@ -0,0 +1,16 @@ +{ + "packageName" : "io.fusionauth.domain.api", + "type" : "UniversalApplicationTenantSearchRequest", + "description" : "/**\n * The request object with the search criteria for Universal Application Tenants.\n *\n * @author Lyle Schemmerling\n */\n", + "implements" : [ { + "type" : "Buildable", + "typeArguments" : [ { + "type" : "UniversalApplicationTenantSearchRequest" + } ] + } ], + "fields" : { + "search" : { + "type" : "UniversalApplicationTenantSearchCriteria" + } + } +} \ No newline at end of file diff --git a/src/main/domain/io.fusionauth.domain.api.UniversalApplicationTenantSearchResponse.json b/src/main/domain/io.fusionauth.domain.api.UniversalApplicationTenantSearchResponse.json new file mode 100644 index 000000000..b48f2f0f4 --- /dev/null +++ b/src/main/domain/io.fusionauth.domain.api.UniversalApplicationTenantSearchResponse.json @@ -0,0 +1,16 @@ +{ + "packageName" : "io.fusionauth.domain.api", + "type" : "UniversalApplicationTenantSearchResponse", + "description" : "/**\n * The response object for Universal Application Tenants search results.\n *\n * @author Lyle Schemmerling\n */\n", + "fields" : { + "universalApplicationTenants" : { + "type" : "List", + "typeArguments" : [ { + "type" : "UniversalApplicationTenant" + } ] + }, + "total" : { + "type" : "long" + } + } +} \ No newline at end of file diff --git a/src/main/domain/io.fusionauth.domain.api.UniversalApplicationTenantsRequest.json b/src/main/domain/io.fusionauth.domain.api.UniversalApplicationTenantsRequest.json deleted file mode 100644 index e8375b94e..000000000 --- a/src/main/domain/io.fusionauth.domain.api.UniversalApplicationTenantsRequest.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "packageName" : "io.fusionauth.domain.api", - "type" : "UniversalApplicationTenantsRequest", - "description" : "/**\n * @author Lyle Schemmerling\n */\n", - "implements" : [ { - "type" : "Buildable", - "typeArguments" : [ { - "type" : "UniversalApplicationTenantsRequest" - } ] - } ], - "fields" : { - "applicationTenants" : { - "type" : "List", - "typeArguments" : [ { - "type" : "UniversalApplicationTenant" - } ] - } - } -} \ No newline at end of file diff --git a/src/main/domain/io.fusionauth.domain.api.UniversalApplicationTenantsResponse.json b/src/main/domain/io.fusionauth.domain.api.UniversalApplicationTenantsResponse.json deleted file mode 100644 index 6c61e6c7c..000000000 --- a/src/main/domain/io.fusionauth.domain.api.UniversalApplicationTenantsResponse.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "packageName" : "io.fusionauth.domain.api", - "type" : "UniversalApplicationTenantsResponse", - "description" : "/**\n * @author Lyle Schemmerling\n */\n", - "fields" : { - "applicationTenants" : { - "type" : "List", - "typeArguments" : [ { - "type" : "UniversalApplicationTenant" - } ] - } - } -} \ No newline at end of file diff --git a/src/main/domain/io.fusionauth.domain.search.UniversalApplicationTenantSearchCriteria.json b/src/main/domain/io.fusionauth.domain.search.UniversalApplicationTenantSearchCriteria.json new file mode 100644 index 000000000..36fd9ca9b --- /dev/null +++ b/src/main/domain/io.fusionauth.domain.search.UniversalApplicationTenantSearchCriteria.json @@ -0,0 +1,25 @@ +{ + "packageName" : "io.fusionauth.domain.search", + "type" : "UniversalApplicationTenantSearchCriteria", + "description" : "/**\n * @author Lyle Schemmerling\n */\n", + "extends" : [ { + "type" : "BaseSearchCriteria" + } ], + "implements" : [ { + "type" : "Buildable", + "typeArguments" : [ { + "type" : "UniversalApplicationTenantSearchCriteria" + } ] + } ], + "fields" : { + "applicationId" : { + "type" : "UUID" + }, + "tenantId" : { + "type" : "UUID" + }, + "tenantName" : { + "type" : "String" + } + } +} \ No newline at end of file