-
Notifications
You must be signed in to change notification settings - Fork 317
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add readiness health check support in client #1213
Add readiness health check support in client #1213
Conversation
|
ab94811
to
833a8a1
Compare
Hi, @pivotal-david-osullivan, I saw that you have commited a lot of changes recently, so can you take a look at my PR. |
@Yavor16 thank you for the contribution! We are working through PRs at the moment. Could you please add integration test support to cover the new feature? Liveness health checks can be seen in the integration-test module in places such as here - test setting the type and here - setting the health check in an application push. |
Hi, @pivotal-david-osullivan, |
Hi, @pivotal-david-osullivan, |
hello @Yavor16 , sorry to ask you this late, but could you run It will fix the CI failure on Java 11 that runs the stylecheck Thank you! worst case, we'll do it ourselves |
Hello @Yavor16
or
or
or
Best guess is you missed a required JSON field named |
Hello, @anthonydahanne, |
Here is a gist with the my test results https://gist.github.com/Yavor16/2d6b9c4786242c2bf1eb3ebebe5383da |
a07bdfd
to
c748a4d
Compare
hello @Yavor16 We could merge this PR after we require a later version than 2.186.0 Thanks! |
Hello, @anthonydahanne |
I know about users willing to use the readiness health check blocked by this pr. From the platform side we are also interested to get more feedback for new features. It will be great if the CF Java client could support more recent versions of CAPI which will help also for the adoption of those new features. @pivotal-david-osullivan, @anthonydahanne is there a chance we find a good middle ground here? |
@beyhan , yes, we want to unblock this situation. |
@anthonydahanne Do you have some news on that? |
d8ab20c
to
60e1dc1
Compare
Hello @anthonydahanne |
The commit referenced adds some support for fields in newer CAPI versions. Integration tests are completing successfully for readiness health check on older supported CAPI, we are almost done with tests for the newer version. Once they are passing I plan to add a commit to this PR with some further additions and then we can merge it. |
2845c36
to
26a2bc3
Compare
add integration test Upgrade JUnit4 to JUnit5 Java 17 and 21 CI is now manually triggered ala workflow_dispatch Revert removal of Test import * make sure that we also compile the integration tests during Github CI updates Conditonal CloudFoundry version based test to JUnit 5 Do not use ExtendWith * when the extension has a mandatory field to initialize, because ExtendWith only works with default constructor Junit4 to Junit4 Integration Tests migration * add the extension registration declaratively (using an annotation) Modified getOrganizationId() & getSpaceId() as per V3 adding security groups v3 create api adding create security group impl and tests adding get security group api and tests adding get security group impl + test adding list security groups impl + api adding update security group api adding update security group api v3 impl adding security groups delete api v3 impl and tests adding bind running/staging security group v3 api adding bind impl adding unbind security group adding list running/staging api and tests adding create security group test adding integration tests adding integration tests fixing setup/teardown fixing integration tests refactoring integration tests Ignore .idea/ for real now Migration to Junit5 * tests from radoslav commits Make integration tests chatty * cause they have interesting things to display Add globally enabled Spotless apply; include integration-test mask off non-permission bits apply spotless formatting * on top of Hans Schulz "mask off non-permission bits" porting check route to v3 api porting delete orphaned routes pushing delete route cleaning up leftovers in tests applying default style and fixing missing imports PR cloudfoundry#1194: rebase and format with spotless defaultApplication-api minor changes Modified Junit tests to adopt V3 changes. rebasing 1173 fix health check type serialization Update tcp-routes.yml Update tcp-routes.yml Update IntegrationTestConfiguration.java fix formatting test
26a2bc3
to
850504e
Compare
closed, rebased, squashed, reviewed - in #1257 |
No description provided.