Skip to content

Commit 25fac55

Browse files
committed
Merge branch '982-dev-upgrade'
2 parents 1033a9d + f9b761b commit 25fac55

File tree

13 files changed

+93
-19
lines changed

13 files changed

+93
-19
lines changed

.gitignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
.idea/libraries
22
.idea/tasks.xml
33
.idea/workspace.xml
4-
target
4+
target/
5+
bin/
6+
.project
7+
.classpath
8+
.settings/
9+
.factorypath

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,13 +254,15 @@ The above example is more complicated:
254254
1. `.map(...)` – Maps the `Resource` to an `OrganizationSummary` type.
255255

256256
## Development
257-
The project depends on Java 8. To build from source and install to your local Maven cache, run the following:
257+
The project depends on Java 8. To build from source and install to your local Maven cache, run the following:
258258

259259
```shell
260260
$ git submodule update --init --recursive
261261
$ ./mvnw clean install
262262
```
263263

264+
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.
265+
264266
To run the integration tests, run the following:
265267

266268
```shell

cloudfoundry-client-reactor/src/test/java/org/cloudfoundry/reactor/client/v2/applications/ReactorApplicationsV2Test.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1002,10 +1002,10 @@ public void upload() throws IOException {
10021002
"{\"sha1\":\"ff84f89760317996b9dd180ab996b079f418396f\",\"fn\":\"path/to/code.jar\",\"size\":123}]" +
10031003
"\r\n" + "--" + boundary + "\r\n" +
10041004
"content-disposition: form-data; name=\"application\"; filename=\"application.zip\"\r\n" +
1005-
"content-length: 13\r\n" +
1005+
"content-length: 12\r\n" +
10061006
"content-type: application/zip\r\n" +
10071007
"\r\n" +
1008-
"test-content\n" +
1008+
"test-content" +
10091009
"\r\n" +
10101010
"--" + boundary + "--");
10111011
}))
@@ -1058,9 +1058,9 @@ public void uploadDroplet() throws IOException {
10581058
assertThat(body.readString(Charset.defaultCharset()))
10591059
.isEqualTo("\r\n" + "--" + boundary + "\r\n" +
10601060
"content-disposition: form-data; name=\"droplet\"; filename=\"test-droplet.tgz\"\r\n" +
1061-
"content-length: 13\r\n" +
1061+
"content-length: 12\r\n" +
10621062
"\r\n" +
1063-
"test-content\n" +
1063+
"test-content" +
10641064
"\r\n" +
10651065
"--" + boundary + "--");
10661066
}))

cloudfoundry-client-reactor/src/test/java/org/cloudfoundry/reactor/client/v2/buildpacks/ReactorBuildpacksTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,10 +280,10 @@ public void upload() throws IOException {
280280
assertThat(body.readString(Charset.defaultCharset()))
281281
.isEqualTo("\r\n--" + boundary + "\r\n" +
282282
"content-disposition: form-data; name=\"buildpack\"; filename=\"test-filename\"\r\n" +
283-
"content-length: 13\r\n" +
283+
"content-length: 12\r\n" +
284284
"content-type: application/zip\r\n" +
285285
"\r\n" +
286-
"test-content\n" +
286+
"test-content" +
287287
"\r\n" +
288288
"--" + boundary + "--");
289289
}))

cloudfoundry-client-reactor/src/test/java/org/cloudfoundry/reactor/client/v3/packages/ReactorPackagesTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -471,10 +471,10 @@ public void upload() throws IOException {
471471
assertThat(body.readString(Charset.defaultCharset()))
472472
.isEqualTo("\r\n--" + boundary + "\r\n" +
473473
"content-disposition: form-data; name=\"bits\"; filename=\"application.zip\"\r\n" +
474-
"content-length: 13\r\n" +
474+
"content-length: 12\r\n" +
475475
"content-type: application/zip\r\n" +
476476
"\r\n" +
477-
"test-content\n" +
477+
"test-content" +
478478
"\r\n" +
479479
"--" + boundary + "--");
480480
}))
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
test-content
1+
test-content
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
test-content
1+
test-content
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
test-content
1+
test-content
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
test-content
1+
test-content

cloudfoundry-operations/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,11 @@
9191
<groupId>org.yaml</groupId>
9292
<artifactId>snakeyaml</artifactId>
9393
</dependency>
94+
<dependency>
95+
<groupId>org.apache.commons</groupId>
96+
<artifactId>commons-lang3</artifactId>
97+
<scope>test</scope>
98+
</dependency>
9499
</dependencies>
95100

96101
<build>

0 commit comments

Comments
 (0)