You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `cf-java-client` project is a Java language binding for interacting with a Cloud Foundry instance. The project is broken up into a number of components which expose different levels of abstraction depending on need.
21
+
The `cf-java-client` project is a Java language binding for interacting with a Cloud Foundry instance. The project is broken up into a number of components that expose different levels of abstraction depending on need.
22
22
23
-
*`cloudfoundry-client` – Interfaces, request, and response objects mapping to the [Cloud Foundry REST APIs][a]. This project has no implementation and therefore cannot connect a Cloud Foundry instance on its own.
23
+
*`cloudfoundry-client` – Interfaces, request, and response objects mapping to the [Cloud Foundry REST APIs][a]. This project has no implementation and therefore cannot connect to a Cloud Foundry instance on its own.
24
24
*`cloudfoundry-client-reactor` – The default implementation of the `cloudfoundry-client` project. This implementation is based on the Reactor Netty [`HttpClient`][h].
25
25
*`cloudfoundry-operations` – An API and implementation that corresponds to the [Cloud Foundry CLI][c] operations. This project builds on the `cloudfoundry-client` and therefore has a single implementation.
26
26
27
+
## Versions
28
+
The Cloud Foundry Java Client has two active versions. The `4.x` line uses Spring Boot `2.2.x` just to manage its dependencies, while the `3.x` line uses Spring Boot `2.1.x`. Unless you have a specific dependency-related reason for using the older version we recommend you adopt the `4.x` line.
29
+
27
30
## Dependencies
28
31
Most projects will need two dependencies; the Operations API and an implementation of the Client API. For Maven, the dependencies would be defined like this:
29
32
@@ -32,12 +35,12 @@ Most projects will need two dependencies; the Operations API and an implementati
It also depends on [Immutables](https://immutables.github.io/) and won't compile in IDEs like Eclipse or IntelliJ unless you also have an enabled annotation processor. See [this guide](https://immutables.github.io/apt.html) for instructions on how to configure your IDE.
267
+
It also depends on [Immutables][i] and won't compile in IDEs like Eclipse or IntelliJ unless you also have an enabled annotation processor. See [this guide][j] for instructions on how to configure your IDE.
265
268
266
269
To run the integration tests, run the following:
267
270
@@ -272,7 +275,7 @@ $ ./mvnw -Pintegration-test clean test
272
275
**IMPORTANT**
273
276
Integration tests should be run against an empty Cloud Foundry instance. The integration tests are destructive, affecting nearly everything on an instance given the chance.
274
277
275
-
The integration tests require a running instance of Cloud Foundry to test against. We recommend using [PCF Dev][i] to start a local instance to test with. To configure the integration tests with the appropriate connection information use the following environment variables:
278
+
The integration tests require a running instance of Cloud Foundry to test against. To configure the integration tests with the appropriate connection information use the following environment variables:
276
279
277
280
Name | Description
278
281
---- | -----------
@@ -298,7 +301,8 @@ This project is released under version 2.0 of the [Apache License][l].
0 commit comments