Closed donacarr closed 2 years ago
You can set the org & space when you create the DefaultCloudFoundryOperations
object using the builder. See below.
DefaultCloudFoundryOperations.builder()
.cloudFoundryClient(cloudFoundryClient)
.dopplerClient(dopplerClient)
.uaaClient(uaaClient)
.organization("example-organization")
.space("example-space")
.build();
Thank you @dmikusa-pivotal
Hi,
I am updating my code to pass from old client lib 1.x to 5.8 and I need to push my test app in the dev space of my org. I am using CloudFoundryOperations API and so basically I will do something like
But how may I target the space where pushing the app ?