Skip to content

Commit

Permalink
Merge branch '2.x'
Browse files Browse the repository at this point in the history
  • Loading branch information
nebhale committed Aug 9, 2017
2 parents b0458fc + 69b4245 commit ccc13e0
Showing 1 changed file with 9 additions and 0 deletions.
Expand Up @@ -22,9 +22,12 @@
import org.cloudfoundry.client.v2.spaces.SpaceResource;
import org.cloudfoundry.client.v2.spaces.Spaces;
import org.cloudfoundry.client.v3.Pagination;
import org.cloudfoundry.client.v3.packages.BitsData;
import org.cloudfoundry.client.v3.packages.ListPackagesRequest;
import org.cloudfoundry.client.v3.packages.ListPackagesResponse;
import org.cloudfoundry.client.v3.packages.PackageResource;
import org.cloudfoundry.client.v3.packages.PackageState;
import org.cloudfoundry.client.v3.packages.PackageType;
import org.cloudfoundry.client.v3.packages.Packages;
import org.cloudfoundry.uaa.users.ListUsersRequest;
import org.cloudfoundry.uaa.users.ListUsersResponse;
Expand Down Expand Up @@ -160,6 +163,12 @@ private static void requestListPackages(Packages packages, Integer page, Integer
.just(ListPackagesResponse.builder()
.resource(PackageResource.builder()
.id(page.toString())
.createdAt("test-created-at")
.updatedAt("test-updated-at")
.type(PackageType.BITS)
.data(BitsData.builder()
.build())
.state(PackageState.READY)
.build())
.pagination(Pagination.builder()
.totalPages(totalPages)
Expand Down

0 comments on commit ccc13e0

Please sign in to comment.