Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 77103e3

Browse filesBrowse files
authored
Introduce DockerHttpClient abstraction (docker-java#1351)
To simplify writing custom transports, we can separate the `DockerCmdExecFactory` and the underlying http transport. This change introduces a new type, `DockerHttpClient`, that consists of a bare minimum abstraction for making calls against the Docker's HTTP API. It also allows implementing custom commands over existing transports.
1 parent a77b7de commit 77103e3
Copy full SHA for 77103e3

38 files changed

+1,982-2,037Lines changed: 1982 additions & 2037 deletions
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎docker-java-api/pom.xml‎

Copy file name to clipboardExpand all lines: docker-java-api/pom.xml
-58Lines changed: 0 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -55,64 +55,6 @@
5555
</instructions>
5656
</configuration>
5757
</plugin>
58-
59-
<plugin>
60-
<!-- use with "mvn -DskipTests clean verify" -->
61-
<groupId>com.github.siom79.japicmp</groupId>
62-
<artifactId>japicmp-maven-plugin</artifactId>
63-
<version>0.14.3</version>
64-
<configuration>
65-
<oldVersion>
66-
<dependency>
67-
<groupId>com.github.docker-java</groupId>
68-
<artifactId>docker-java</artifactId>
69-
<version>3.1.5</version>
70-
<type>jar</type>
71-
</dependency>
72-
</oldVersion>
73-
<newVersion>
74-
<file>
75-
<path>${project.build.directory}/${project.artifactId}-${project.version}.jar</path>
76-
</file>
77-
</newVersion>
78-
<parameter>
79-
<breakBuildOnBinaryIncompatibleModifications>true</breakBuildOnBinaryIncompatibleModifications>
80-
<accessModifier>public</accessModifier>
81-
<onlyBinaryIncompatible>true</onlyBinaryIncompatible>
82-
<includes>
83-
<include>com.github.dockerjava.api</include>
84-
</includes>
85-
<excludes>
86-
<!-- TODO? -->
87-
<exclude>com.github.dockerjava.api.model.*$Serializer</exclude>
88-
<exclude>com.github.dockerjava.api.model.*$Deserializer</exclude>
89-
<!-- Known 3.2.0 breaking changes: -->
90-
<exclude>com.github.dockerjava.api.command.DockerCmdExecFactory#init(com.github.dockerjava.core.DockerClientConfig)</exclude>
91-
<exclude>com.github.dockerjava.api.model.Identifier#tag</exclude>
92-
</excludes>
93-
<overrideCompatibilityChangeParameters>
94-
<overrideCompatibilityChangeParameter>
95-
<compatibilityChange>METHOD_NEW_DEFAULT</compatibilityChange>
96-
<binaryCompatible>true</binaryCompatible>
97-
<sourceCompatible>true</sourceCompatible>
98-
</overrideCompatibilityChangeParameter>
99-
<overrideCompatibilityChangeParameter>
100-
<compatibilityChange>METHOD_ABSTRACT_NOW_DEFAULT</compatibilityChange>
101-
<binaryCompatible>true</binaryCompatible>
102-
<sourceCompatible>true</sourceCompatible>
103-
</overrideCompatibilityChangeParameter>
104-
</overrideCompatibilityChangeParameters>
105-
</parameter>
106-
</configuration>
107-
<executions>
108-
<execution>
109-
<phase>verify</phase>
110-
<goals>
111-
<goal>cmp</goal>
112-
</goals>
113-
</execution>
114-
</executions>
115-
</plugin>
11658
</plugins>
11759
</build>
11860
</project>

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.