コード例 #1
0
 private static Mono<Void> requestDeleteApplication(
     CloudFoundryClient cloudFoundryClient, String applicationId) {
   return cloudFoundryClient
       .applicationsV2()
       .delete(
           org.cloudfoundry.client.v2.applications.DeleteApplicationRequest.builder()
               .applicationId(applicationId)
               .build());
 }
コード例 #2
0
 @Test
 public void delete() {
   this.applicationId
       .then(
           applicationId ->
               this.cloudFoundryClient
                   .applicationsV2()
                   .delete(
                       DeleteApplicationRequest.builder().applicationId(applicationId).build()))
       .subscribe(testSubscriber());
 }