|
16 | 16 |
|
17 | 17 | package org.cloudfoundry.reactor.client; |
18 | 18 |
|
| 19 | +import jakarta.annotation.PostConstruct; |
19 | 20 | import org.cloudfoundry.client.CloudFoundryClient; |
20 | 21 | import org.cloudfoundry.client.v2.applications.ApplicationsV2; |
21 | 22 | import org.cloudfoundry.client.v2.applicationusageevents.ApplicationUsageEvents; |
|
34 | 35 | import org.cloudfoundry.client.v2.routemappings.RouteMappings; |
35 | 36 | import org.cloudfoundry.client.v2.routes.Routes; |
36 | 37 | import org.cloudfoundry.client.v2.securitygroups.SecurityGroups; |
37 | | -import org.cloudfoundry.client.v3.organizationquotadefinitions.OrganizationQuotaDefinitionsV3; |
38 | | -import org.cloudfoundry.client.v3.securitygroups.SecurityGroupsV3; |
39 | 38 | import org.cloudfoundry.client.v2.servicebindings.ServiceBindingsV2; |
40 | 39 | import org.cloudfoundry.client.v2.servicebrokers.ServiceBrokers; |
41 | 40 | import org.cloudfoundry.client.v2.serviceinstances.ServiceInstances; |
|
60 | 59 | import org.cloudfoundry.client.v3.droplets.Droplets; |
61 | 60 | import org.cloudfoundry.client.v3.isolationsegments.IsolationSegments; |
62 | 61 | import org.cloudfoundry.client.v3.jobs.JobsV3; |
| 62 | +import org.cloudfoundry.client.v3.organizationquotadefinitions.OrganizationQuotaDefinitionsV3; |
63 | 63 | import org.cloudfoundry.client.v3.organizations.OrganizationsV3; |
64 | 64 | import org.cloudfoundry.client.v3.packages.Packages; |
65 | 65 | import org.cloudfoundry.client.v3.processes.Processes; |
66 | 66 | import org.cloudfoundry.client.v3.resourcematch.ResourceMatchV3; |
67 | 67 | import org.cloudfoundry.client.v3.roles.RolesV3; |
68 | 68 | import org.cloudfoundry.client.v3.routes.RoutesV3; |
69 | | -import org.cloudfoundry.client.v3.serviceinstances.ServiceInstancesV3; |
| 69 | +import org.cloudfoundry.client.v3.securitygroups.SecurityGroupsV3; |
70 | 70 | import org.cloudfoundry.client.v3.servicebindings.ServiceBindingsV3; |
71 | 71 | import org.cloudfoundry.client.v3.servicebrokers.ServiceBrokersV3; |
| 72 | +import org.cloudfoundry.client.v3.serviceinstances.ServiceInstancesV3; |
72 | 73 | import org.cloudfoundry.client.v3.serviceofferings.ServiceOfferingsV3; |
73 | 74 | import org.cloudfoundry.client.v3.serviceplans.ServicePlansV3; |
| 75 | +import org.cloudfoundry.client.v3.spacequotas.SpaceQuotasV3; |
74 | 76 | import org.cloudfoundry.client.v3.spaces.SpacesV3; |
75 | 77 | import org.cloudfoundry.client.v3.stacks.StacksV3; |
76 | 78 | import org.cloudfoundry.client.v3.tasks.Tasks; |
|
93 | 95 | import org.cloudfoundry.reactor.client.v2.routemappings.ReactorRouteMappings; |
94 | 96 | import org.cloudfoundry.reactor.client.v2.routes.ReactorRoutes; |
95 | 97 | import org.cloudfoundry.reactor.client.v2.securitygroups.ReactorSecurityGroups; |
96 | | -import org.cloudfoundry.reactor.client.v3.organizationquotadefinitions.ReactorOrganizationQuotaDefinitionsV3; |
97 | | -import org.cloudfoundry.reactor.client.v3.securitygroups.ReactorSecurityGroupsV3; |
98 | 98 | import org.cloudfoundry.reactor.client.v2.servicebindings.ReactorServiceBindingsV2; |
99 | 99 | import org.cloudfoundry.reactor.client.v2.servicebrokers.ReactorServiceBrokers; |
100 | 100 | import org.cloudfoundry.reactor.client.v2.serviceinstances.ReactorServiceInstances; |
|
119 | 119 | import org.cloudfoundry.reactor.client.v3.droplets.ReactorDroplets; |
120 | 120 | import org.cloudfoundry.reactor.client.v3.isolationsegments.ReactorIsolationSegments; |
121 | 121 | import org.cloudfoundry.reactor.client.v3.jobs.ReactorJobsV3; |
| 122 | +import org.cloudfoundry.reactor.client.v3.organizationquotadefinitions.ReactorOrganizationQuotaDefinitionsV3; |
122 | 123 | import org.cloudfoundry.reactor.client.v3.organizations.ReactorOrganizationsV3; |
123 | 124 | import org.cloudfoundry.reactor.client.v3.packages.ReactorPackages; |
124 | 125 | import org.cloudfoundry.reactor.client.v3.processes.ReactorProcesses; |
125 | 126 | import org.cloudfoundry.reactor.client.v3.resourcematch.ReactorResourceMatchV3; |
126 | 127 | import org.cloudfoundry.reactor.client.v3.roles.ReactorRolesV3; |
127 | 128 | import org.cloudfoundry.reactor.client.v3.routes.ReactorRoutesV3; |
| 129 | +import org.cloudfoundry.reactor.client.v3.securitygroups.ReactorSecurityGroupsV3; |
128 | 130 | import org.cloudfoundry.reactor.client.v3.servicebindings.ReactorServiceBindingsV3; |
129 | 131 | import org.cloudfoundry.reactor.client.v3.servicebrokers.ReactorServiceBrokersV3; |
130 | 132 | import org.cloudfoundry.reactor.client.v3.serviceinstances.ReactorServiceInstancesV3; |
131 | 133 | import org.cloudfoundry.reactor.client.v3.serviceofferings.ReactorServiceOfferingsV3; |
132 | 134 | import org.cloudfoundry.reactor.client.v3.serviceplans.ReactorServicePlansV3; |
| 135 | +import org.cloudfoundry.reactor.client.v3.spacequotas.ReactorSpaceQuotasV3; |
133 | 136 | import org.cloudfoundry.reactor.client.v3.spaces.ReactorSpacesV3; |
134 | 137 | import org.cloudfoundry.reactor.client.v3.stacks.ReactorStacksV3; |
135 | 138 | import org.cloudfoundry.reactor.client.v3.tasks.ReactorTasks; |
136 | 139 | import org.immutables.value.Value; |
137 | 140 | import reactor.core.publisher.Mono; |
138 | 141 |
|
139 | | -import jakarta.annotation.PostConstruct; |
140 | 142 | import java.util.Collections; |
141 | 143 | import java.util.Map; |
142 | 144 |
|
@@ -457,6 +459,13 @@ public SpaceQuotaDefinitions spaceQuotaDefinitions() { |
457 | 459 | getRequestTags()); |
458 | 460 | } |
459 | 461 |
|
| 462 | + @Override |
| 463 | + @Value.Derived |
| 464 | + public SpaceQuotasV3 spaceQuotasV3() { |
| 465 | + return new ReactorSpaceQuotasV3(getConnectionContext(), getRootV3(), getTokenProvider(), |
| 466 | + getRequestTags()); |
| 467 | + } |
| 468 | + |
460 | 469 | @Override |
461 | 470 | @Value.Derived |
462 | 471 | public Spaces spaces() { |
|
0 commit comments