-
Notifications
You must be signed in to change notification settings - Fork 323
Closed
Description
Hi All,
I was pushed application with path is a Directory but when i was executed display error:
Exception in thread "main" java.lang.UnsupportedOperationException
Could you let me know cloudfoundry-operation version 2.8.0.RELEASE can push app with path is a Directory?
Below my code:
pushAppRequest = PushApplicationRequest.builder()
.application(new ClassPathResource("/helloworld").getFile().toPath())
.name("helloworld")
.buildpack("staticfile_buildpack')
.instances(1)
.memory(64)
.stagingTimeout(Duration.ofMinutes(2))
.startupTimeout(Duration.ofMinutes(2)).build();
this.cloudFoundryOperations.applications().push(pushAppRequest)
Thanks,
Van