Chris Phillipson
Chris Phillipson
Has there been any progress made here? I have an app https://github.com/pacphi/cf-butler that leverages some config to drive which `tokenProvider` implementation gets instantiated in lines 32-47 here: https://github.com/pacphi/cf-butler/blob/master/src/main/java/io/pivotal/cfapp/config/ButlerConfig.java. When deploying...
So I figured this out on my own. See this commit https://github.com/pacphi/cf-butler/commit/61745afd7f7796af76ac6f4854a68cf8cb31fba8 to see what I did. TL;DR Update token provider implementation to `RefreshTokenGrantTokenProvider`. Obtain value for `cf.refreshToken` from `~/.cf/config.json`...
Maybe look at BOSH Director [HTTP API](https://bosh.io/docs/director-api-v1/)? Parsing results from https://bosh.io/docs/director-api-v1/#list-just-deployments and https://bosh.io/docs/director-api-v1/#list-vms-detailed might yield what we're after.
### Progress > As of 2019-12-16 I used [sdkman](https://sdkman.io) to install [Graal 19.3.0](https://www.graalvm.org/docs/release-notes/19_3/). Then I installed the `native-image` utility this way: ``` gu install native-image ``` ``` Downloading: Component catalog...
With the recent release of Graal 19.3.1 I decided to give the native image build another try but was sorely disappointed ``` native-image -jar build/libs/cf-butler-0.1-SNAPSHOT.jar -H:+ReportExceptionStackTraces --no-fallback ``` yielded ```...
> As of 2020-03-12 Still seeing the same exception as noted earlier with `native-image` builds using `Graal VM` version `20.0.0.r11-grl`.
So there's this project, [spring-graal-native](https://github.com/spring-projects-experimental/spring-graal-native) and this [guidance](https://github.com/spring-projects-experimental/spring-graal-native#running-only-with-the-agent-provided-configuration). tl;dr Have fire up the app with java and the agent, exercise code paths, then use the configuration data when building the...
An updated [release](https://spring.io/blog/2020/04/09/spring-graal-native-0-6-0-released) of Spring Graal Native is available, but perhaps a bit too involved to confidently generate a functioning native-image.
Getting close now. The codebase has been brought forward to Spring Boot 2.4.0.M2. So we'll be in position to produce native images using the Maven plugin. Unfortunately, it appears we're...
So, latest testing with Spring Boot 2.4.5 and Spring Native 0.9.2 yielded exceptions (see below). Seems to point to an [issue](https://github.com/spring-projects-experimental/spring-native/issues/398) w/ Log4J2 and LMAX Disruptor dependencies now. I chose...