Commit e28338d6 authored by Phillip Webb's avatar Phillip Webb

Rename spring-boot-cloudnativebuildpack

Rename the `spring-boot-cloudnativebuildpack` module to
`spring-boot-buildpack-platform` and update the the package
name to `org.springframework.boot.buildpack.platform`.

Closes gh-19851
parent 28888968
...@@ -127,7 +127,7 @@ ...@@ -127,7 +127,7 @@
name="spring-boot-tools"> name="spring-boot-tools">
<predicate <predicate
xsi:type="predicates:NamePredicate" xsi:type="predicates:NamePredicate"
pattern="spring-boot-(tools|antlib|configuration-.*|loader|.*-tools|*.layertools|.*-plugin|autoconfigure-processor|cloudnativebuildpack)"/> pattern="spring-boot-(tools|antlib|configuration-.*|loader|.*-tools|*.layertools|.*-plugin|autoconfigure-processor|buildpack.*)"/>
</workingSet> </workingSet>
<workingSet <workingSet
name="spring-boot-starters"> name="spring-boot-starters">
......
...@@ -41,7 +41,7 @@ include 'spring-boot-project:spring-boot-dependencies' ...@@ -41,7 +41,7 @@ include 'spring-boot-project:spring-boot-dependencies'
include 'spring-boot-project:spring-boot-parent' include 'spring-boot-project:spring-boot-parent'
include 'spring-boot-project:spring-boot-tools:spring-boot-antlib' include 'spring-boot-project:spring-boot-tools:spring-boot-antlib'
include 'spring-boot-project:spring-boot-tools:spring-boot-autoconfigure-processor' include 'spring-boot-project:spring-boot-tools:spring-boot-autoconfigure-processor'
include 'spring-boot-project:spring-boot-tools:spring-boot-cloudnativebuildpack' include 'spring-boot-project:spring-boot-tools:spring-boot-buildpack-platform'
include 'spring-boot-project:spring-boot-tools:spring-boot-configuration-metadata' include 'spring-boot-project:spring-boot-tools:spring-boot-configuration-metadata'
include 'spring-boot-project:spring-boot-tools:spring-boot-configuration-processor' include 'spring-boot-project:spring-boot-tools:spring-boot-configuration-processor'
include 'spring-boot-project:spring-boot-tools:spring-boot-gradle-plugin' include 'spring-boot-project:spring-boot-tools:spring-boot-gradle-plugin'
......
...@@ -1421,7 +1421,7 @@ bom { ...@@ -1421,7 +1421,7 @@ bom {
'spring-boot-actuator-autoconfigure', 'spring-boot-actuator-autoconfigure',
'spring-boot-autoconfigure', 'spring-boot-autoconfigure',
'spring-boot-autoconfigure-processor', 'spring-boot-autoconfigure-processor',
'spring-boot-cloudnativebuildpack', 'spring-boot-buildpack-platform',
'spring-boot-configuration-metadata', 'spring-boot-configuration-metadata',
'spring-boot-configuration-processor', 'spring-boot-configuration-processor',
'spring-boot-devtools', 'spring-boot-devtools',
......
...@@ -5,7 +5,7 @@ plugins { ...@@ -5,7 +5,7 @@ plugins {
id 'org.springframework.boot.internal-dependency-management' id 'org.springframework.boot.internal-dependency-management'
} }
description = 'Spring Boot Cloud Native Buildpack' description = 'Spring Boot Buildpack Platform'
dependencies { dependencies {
api platform(project(':spring-boot-project:spring-boot-parent')) api platform(project(':spring-boot-project:spring-boot-parent'))
...@@ -25,4 +25,4 @@ dependencies { ...@@ -25,4 +25,4 @@ dependencies {
testImplementation 'org.mockito:mockito-core' testImplementation 'org.mockito:mockito-core'
testImplementation 'org.mockito:mockito-junit-jupiter' testImplementation 'org.mockito:mockito-junit-jupiter'
testImplementation 'org.skyscreamer:jsonassert' testImplementation 'org.skyscreamer:jsonassert'
} }
\ No newline at end of file
...@@ -14,16 +14,16 @@ ...@@ -14,16 +14,16 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.build; package org.springframework.boot.buildpack.platform.build;
import java.util.List; import java.util.List;
import java.util.function.Consumer; import java.util.function.Consumer;
import org.springframework.boot.cloudnativebuildpack.docker.LogUpdateEvent; import org.springframework.boot.buildpack.platform.docker.LogUpdateEvent;
import org.springframework.boot.cloudnativebuildpack.docker.TotalProgressEvent; import org.springframework.boot.buildpack.platform.docker.TotalProgressEvent;
import org.springframework.boot.cloudnativebuildpack.docker.type.Image; import org.springframework.boot.buildpack.platform.docker.type.Image;
import org.springframework.boot.cloudnativebuildpack.docker.type.ImageReference; import org.springframework.boot.buildpack.platform.docker.type.ImageReference;
import org.springframework.boot.cloudnativebuildpack.docker.type.VolumeName; import org.springframework.boot.buildpack.platform.docker.type.VolumeName;
/** /**
* Base class for {@link BuildLog} implementations. * Base class for {@link BuildLog} implementations.
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.build; package org.springframework.boot.buildpack.platform.build;
import java.util.regex.Matcher; import java.util.regex.Matcher;
import java.util.regex.Pattern; import java.util.regex.Pattern;
......
...@@ -14,16 +14,16 @@ ...@@ -14,16 +14,16 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.build; package org.springframework.boot.buildpack.platform.build;
import java.io.PrintStream; import java.io.PrintStream;
import java.util.function.Consumer; import java.util.function.Consumer;
import org.springframework.boot.cloudnativebuildpack.docker.LogUpdateEvent; import org.springframework.boot.buildpack.platform.docker.LogUpdateEvent;
import org.springframework.boot.cloudnativebuildpack.docker.TotalProgressEvent; import org.springframework.boot.buildpack.platform.docker.TotalProgressEvent;
import org.springframework.boot.cloudnativebuildpack.docker.type.Image; import org.springframework.boot.buildpack.platform.docker.type.Image;
import org.springframework.boot.cloudnativebuildpack.docker.type.ImageReference; import org.springframework.boot.buildpack.platform.docker.type.ImageReference;
import org.springframework.boot.cloudnativebuildpack.docker.type.VolumeName; import org.springframework.boot.buildpack.platform.docker.type.VolumeName;
/** /**
* Callback interface used to provide {@link Builder} output logging. * Callback interface used to provide {@link Builder} output logging.
......
...@@ -14,11 +14,11 @@ ...@@ -14,11 +14,11 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.build; package org.springframework.boot.buildpack.platform.build;
import java.util.Map; import java.util.Map;
import org.springframework.boot.cloudnativebuildpack.io.Owner; import org.springframework.boot.buildpack.platform.io.Owner;
import org.springframework.util.Assert; import org.springframework.util.Assert;
import org.springframework.util.StringUtils; import org.springframework.util.StringUtils;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.build; package org.springframework.boot.buildpack.platform.build;
import java.io.File; import java.io.File;
import java.util.Collections; import java.util.Collections;
...@@ -22,9 +22,9 @@ import java.util.LinkedHashMap; ...@@ -22,9 +22,9 @@ import java.util.LinkedHashMap;
import java.util.Map; import java.util.Map;
import java.util.function.Function; import java.util.function.Function;
import org.springframework.boot.cloudnativebuildpack.docker.type.ImageReference; import org.springframework.boot.buildpack.platform.docker.type.ImageReference;
import org.springframework.boot.cloudnativebuildpack.io.Owner; import org.springframework.boot.buildpack.platform.io.Owner;
import org.springframework.boot.cloudnativebuildpack.io.TarArchive; import org.springframework.boot.buildpack.platform.io.TarArchive;
import org.springframework.util.Assert; import org.springframework.util.Assert;
/** /**
......
...@@ -14,19 +14,19 @@ ...@@ -14,19 +14,19 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.build; package org.springframework.boot.buildpack.platform.build;
import java.io.IOException; import java.io.IOException;
import java.util.function.Consumer; import java.util.function.Consumer;
import org.springframework.boot.cloudnativebuildpack.build.BuilderMetadata.Stack; import org.springframework.boot.buildpack.platform.build.BuilderMetadata.Stack;
import org.springframework.boot.cloudnativebuildpack.docker.DockerApi; import org.springframework.boot.buildpack.platform.docker.DockerApi;
import org.springframework.boot.cloudnativebuildpack.docker.DockerException; import org.springframework.boot.buildpack.platform.docker.DockerException;
import org.springframework.boot.cloudnativebuildpack.docker.TotalProgressEvent; import org.springframework.boot.buildpack.platform.docker.TotalProgressEvent;
import org.springframework.boot.cloudnativebuildpack.docker.TotalProgressPullListener; import org.springframework.boot.buildpack.platform.docker.TotalProgressPullListener;
import org.springframework.boot.cloudnativebuildpack.docker.UpdateListener; import org.springframework.boot.buildpack.platform.docker.UpdateListener;
import org.springframework.boot.cloudnativebuildpack.docker.type.Image; import org.springframework.boot.buildpack.platform.docker.type.Image;
import org.springframework.boot.cloudnativebuildpack.docker.type.ImageReference; import org.springframework.boot.buildpack.platform.docker.type.ImageReference;
import org.springframework.util.Assert; import org.springframework.util.Assert;
import org.springframework.util.StringUtils; import org.springframework.util.StringUtils;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.build; package org.springframework.boot.buildpack.platform.build;
import java.io.IOException; import java.io.IOException;
import java.lang.invoke.MethodHandles; import java.lang.invoke.MethodHandles;
...@@ -25,10 +25,10 @@ import com.fasterxml.jackson.core.JsonProcessingException; ...@@ -25,10 +25,10 @@ import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.node.ObjectNode; import com.fasterxml.jackson.databind.node.ObjectNode;
import org.springframework.boot.cloudnativebuildpack.docker.type.Image; import org.springframework.boot.buildpack.platform.docker.type.Image;
import org.springframework.boot.cloudnativebuildpack.docker.type.ImageConfig; import org.springframework.boot.buildpack.platform.docker.type.ImageConfig;
import org.springframework.boot.cloudnativebuildpack.json.MappedObject; import org.springframework.boot.buildpack.platform.json.MappedObject;
import org.springframework.boot.cloudnativebuildpack.json.SharedObjectMapper; import org.springframework.boot.buildpack.platform.json.SharedObjectMapper;
import org.springframework.util.Assert; import org.springframework.util.Assert;
/** /**
......
...@@ -14,21 +14,21 @@ ...@@ -14,21 +14,21 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.build; package org.springframework.boot.buildpack.platform.build;
import java.io.IOException; import java.io.IOException;
import java.time.Clock; import java.time.Clock;
import java.time.Instant; import java.time.Instant;
import java.util.Map; import java.util.Map;
import org.springframework.boot.cloudnativebuildpack.build.BuilderMetadata.Stack.RunImage; import org.springframework.boot.buildpack.platform.build.BuilderMetadata.Stack.RunImage;
import org.springframework.boot.cloudnativebuildpack.docker.type.Image; import org.springframework.boot.buildpack.platform.docker.type.Image;
import org.springframework.boot.cloudnativebuildpack.docker.type.ImageArchive; import org.springframework.boot.buildpack.platform.docker.type.ImageArchive;
import org.springframework.boot.cloudnativebuildpack.docker.type.ImageReference; import org.springframework.boot.buildpack.platform.docker.type.ImageReference;
import org.springframework.boot.cloudnativebuildpack.docker.type.Layer; import org.springframework.boot.buildpack.platform.docker.type.Layer;
import org.springframework.boot.cloudnativebuildpack.io.Content; import org.springframework.boot.buildpack.platform.io.Content;
import org.springframework.boot.cloudnativebuildpack.io.Owner; import org.springframework.boot.buildpack.platform.io.Owner;
import org.springframework.boot.cloudnativebuildpack.toml.Toml; import org.springframework.boot.buildpack.platform.toml.Toml;
/** /**
* An short lived builder that is created for each {@link Lifecycle} run. * An short lived builder that is created for each {@link Lifecycle} run.
......
...@@ -14,20 +14,20 @@ ...@@ -14,20 +14,20 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.build; package org.springframework.boot.buildpack.platform.build;
import java.io.Closeable; import java.io.Closeable;
import java.io.IOException; import java.io.IOException;
import java.util.function.Consumer; import java.util.function.Consumer;
import org.springframework.boot.cloudnativebuildpack.docker.DockerApi; import org.springframework.boot.buildpack.platform.docker.DockerApi;
import org.springframework.boot.cloudnativebuildpack.docker.LogUpdateEvent; import org.springframework.boot.buildpack.platform.docker.LogUpdateEvent;
import org.springframework.boot.cloudnativebuildpack.docker.type.ContainerConfig; import org.springframework.boot.buildpack.platform.docker.type.ContainerConfig;
import org.springframework.boot.cloudnativebuildpack.docker.type.ContainerContent; import org.springframework.boot.buildpack.platform.docker.type.ContainerContent;
import org.springframework.boot.cloudnativebuildpack.docker.type.ContainerReference; import org.springframework.boot.buildpack.platform.docker.type.ContainerReference;
import org.springframework.boot.cloudnativebuildpack.docker.type.ImageReference; import org.springframework.boot.buildpack.platform.docker.type.ImageReference;
import org.springframework.boot.cloudnativebuildpack.docker.type.VolumeName; import org.springframework.boot.buildpack.platform.docker.type.VolumeName;
import org.springframework.boot.cloudnativebuildpack.io.TarArchive; import org.springframework.boot.buildpack.platform.io.TarArchive;
import org.springframework.util.Assert; import org.springframework.util.Assert;
import org.springframework.util.StringUtils; import org.springframework.util.StringUtils;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.build; package org.springframework.boot.buildpack.platform.build;
import java.util.Comparator; import java.util.Comparator;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.build; package org.springframework.boot.buildpack.platform.build;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Arrays; import java.util.Arrays;
...@@ -22,8 +22,8 @@ import java.util.LinkedHashMap; ...@@ -22,8 +22,8 @@ import java.util.LinkedHashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import org.springframework.boot.cloudnativebuildpack.docker.type.ContainerConfig; import org.springframework.boot.buildpack.platform.docker.type.ContainerConfig;
import org.springframework.boot.cloudnativebuildpack.docker.type.VolumeName; import org.springframework.boot.buildpack.platform.docker.type.VolumeName;
import org.springframework.util.StringUtils; import org.springframework.util.StringUtils;
/** /**
......
...@@ -14,13 +14,13 @@ ...@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.build; package org.springframework.boot.buildpack.platform.build;
import java.io.PrintStream; import java.io.PrintStream;
import java.util.function.Consumer; import java.util.function.Consumer;
import org.springframework.boot.cloudnativebuildpack.docker.TotalProgressBar; import org.springframework.boot.buildpack.platform.docker.TotalProgressBar;
import org.springframework.boot.cloudnativebuildpack.docker.TotalProgressEvent; import org.springframework.boot.buildpack.platform.docker.TotalProgressEvent;
/** /**
* {@link BuildLog} implementation that prints output to a {@link PrintStream}. * {@link BuildLog} implementation that prints output to a {@link PrintStream}.
......
...@@ -14,12 +14,12 @@ ...@@ -14,12 +14,12 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.build; package org.springframework.boot.buildpack.platform.build;
import java.util.Map; import java.util.Map;
import org.springframework.boot.cloudnativebuildpack.docker.type.Image; import org.springframework.boot.buildpack.platform.docker.type.Image;
import org.springframework.boot.cloudnativebuildpack.docker.type.ImageConfig; import org.springframework.boot.buildpack.platform.docker.type.ImageConfig;
import org.springframework.util.Assert; import org.springframework.util.Assert;
import org.springframework.util.StringUtils; import org.springframework.util.StringUtils;
......
...@@ -17,4 +17,4 @@ ...@@ -17,4 +17,4 @@
/** /**
* Central API for performing a buildpack build. * Central API for performing a buildpack build.
*/ */
package org.springframework.boot.cloudnativebuildpack.build; package org.springframework.boot.buildpack.platform.build;
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.docker; package org.springframework.boot.buildpack.platform.docker;
import java.io.IOException; import java.io.IOException;
import java.net.URI; import java.net.URI;
...@@ -26,16 +26,16 @@ import java.util.List; ...@@ -26,16 +26,16 @@ import java.util.List;
import org.apache.http.client.utils.URIBuilder; import org.apache.http.client.utils.URIBuilder;
import org.springframework.boot.cloudnativebuildpack.docker.Http.Response; import org.springframework.boot.buildpack.platform.docker.Http.Response;
import org.springframework.boot.cloudnativebuildpack.docker.type.ContainerConfig; import org.springframework.boot.buildpack.platform.docker.type.ContainerConfig;
import org.springframework.boot.cloudnativebuildpack.docker.type.ContainerContent; import org.springframework.boot.buildpack.platform.docker.type.ContainerContent;
import org.springframework.boot.cloudnativebuildpack.docker.type.ContainerReference; import org.springframework.boot.buildpack.platform.docker.type.ContainerReference;
import org.springframework.boot.cloudnativebuildpack.docker.type.Image; import org.springframework.boot.buildpack.platform.docker.type.Image;
import org.springframework.boot.cloudnativebuildpack.docker.type.ImageArchive; import org.springframework.boot.buildpack.platform.docker.type.ImageArchive;
import org.springframework.boot.cloudnativebuildpack.docker.type.ImageReference; import org.springframework.boot.buildpack.platform.docker.type.ImageReference;
import org.springframework.boot.cloudnativebuildpack.docker.type.VolumeName; import org.springframework.boot.buildpack.platform.docker.type.VolumeName;
import org.springframework.boot.cloudnativebuildpack.json.JsonStream; import org.springframework.boot.buildpack.platform.json.JsonStream;
import org.springframework.boot.cloudnativebuildpack.json.SharedObjectMapper; import org.springframework.boot.buildpack.platform.json.SharedObjectMapper;
import org.springframework.util.Assert; import org.springframework.util.Assert;
import org.springframework.util.StringUtils; import org.springframework.util.StringUtils;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.docker; package org.springframework.boot.buildpack.platform.docker;
import java.io.IOException; import java.io.IOException;
import java.net.InetSocketAddress; import java.net.InetSocketAddress;
...@@ -25,8 +25,8 @@ import org.apache.http.HttpHost; ...@@ -25,8 +25,8 @@ import org.apache.http.HttpHost;
import org.apache.http.conn.socket.ConnectionSocketFactory; import org.apache.http.conn.socket.ConnectionSocketFactory;
import org.apache.http.protocol.HttpContext; import org.apache.http.protocol.HttpContext;
import org.springframework.boot.cloudnativebuildpack.socket.DomainSocket; import org.springframework.boot.buildpack.platform.socket.DomainSocket;
import org.springframework.boot.cloudnativebuildpack.socket.NamedPipeSocket; import org.springframework.boot.buildpack.platform.socket.NamedPipeSocket;
/** /**
* {@link ConnectionSocketFactory} that connects to the Docker domain socket or named * {@link ConnectionSocketFactory} that connects to the Docker domain socket or named
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.docker; package org.springframework.boot.buildpack.platform.docker;
import java.net.InetAddress; import java.net.InetAddress;
import java.net.UnknownHostException; import java.net.UnknownHostException;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.docker; package org.springframework.boot.buildpack.platform.docker;
import java.net.URI; import java.net.URI;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.docker; package org.springframework.boot.buildpack.platform.docker;
import org.apache.http.config.Registry; import org.apache.http.config.Registry;
import org.apache.http.config.RegistryBuilder; import org.apache.http.config.RegistryBuilder;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.docker; package org.springframework.boot.buildpack.platform.docker;
import org.apache.http.HttpHost; import org.apache.http.HttpHost;
import org.apache.http.conn.SchemePortResolver; import org.apache.http.conn.SchemePortResolver;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.docker; package org.springframework.boot.buildpack.platform.docker;
import java.util.Collections; import java.util.Collections;
import java.util.Iterator; import java.util.Iterator;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.docker; package org.springframework.boot.buildpack.platform.docker;
import java.io.Closeable; import java.io.Closeable;
import java.io.IOException; import java.io.IOException;
...@@ -22,7 +22,7 @@ import java.io.InputStream; ...@@ -22,7 +22,7 @@ import java.io.InputStream;
import java.io.OutputStream; import java.io.OutputStream;
import java.net.URI; import java.net.URI;
import org.springframework.boot.cloudnativebuildpack.io.IOConsumer; import org.springframework.boot.buildpack.platform.io.IOConsumer;
/** /**
* HTTP transport used by the {@link DockerApi}. * HTTP transport used by the {@link DockerApi}.
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.docker; package org.springframework.boot.buildpack.platform.docker;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
...@@ -38,9 +38,9 @@ import org.apache.http.impl.client.HttpClientBuilder; ...@@ -38,9 +38,9 @@ import org.apache.http.impl.client.HttpClientBuilder;
import org.apache.http.impl.client.HttpClients; import org.apache.http.impl.client.HttpClients;
import org.apache.http.util.EntityUtils; import org.apache.http.util.EntityUtils;
import org.springframework.boot.cloudnativebuildpack.io.Content; import org.springframework.boot.buildpack.platform.io.Content;
import org.springframework.boot.cloudnativebuildpack.io.IOConsumer; import org.springframework.boot.buildpack.platform.io.IOConsumer;
import org.springframework.boot.cloudnativebuildpack.json.SharedObjectMapper; import org.springframework.boot.buildpack.platform.json.SharedObjectMapper;
/** /**
* {@link Http} implementation backed by a {@link HttpClient}. * {@link Http} implementation backed by a {@link HttpClient}.
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.docker; package org.springframework.boot.buildpack.platform.docker;
import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonCreator;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.docker; package org.springframework.boot.buildpack.platform.docker;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.docker; package org.springframework.boot.buildpack.platform.docker;
import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonCreator;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.docker; package org.springframework.boot.buildpack.platform.docker;
import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonCreator;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.docker; package org.springframework.boot.buildpack.platform.docker;
import java.io.PrintStream; import java.io.PrintStream;
import java.util.function.Consumer; import java.util.function.Consumer;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.docker; package org.springframework.boot.buildpack.platform.docker;
import org.springframework.util.Assert; import org.springframework.util.Assert;
......
...@@ -14,13 +14,13 @@ ...@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.docker; package org.springframework.boot.buildpack.platform.docker;
import java.util.Map; import java.util.Map;
import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentHashMap;
import java.util.function.Consumer; import java.util.function.Consumer;
import org.springframework.boot.cloudnativebuildpack.docker.ProgressUpdateEvent.ProgressDetail; import org.springframework.boot.buildpack.platform.docker.ProgressUpdateEvent.ProgressDetail;
/** /**
* {@link UpdateListener} that calculates the total progress of the entire pull operation * {@link UpdateListener} that calculates the total progress of the entire pull operation
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.docker; package org.springframework.boot.buildpack.platform.docker;
/** /**
* Base class for update events published by Docker. * Base class for update events published by Docker.
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.docker; package org.springframework.boot.buildpack.platform.docker;
/** /**
* Listener for update events published from the {@link DockerApi}. * Listener for update events published from the {@link DockerApi}.
......
...@@ -17,4 +17,4 @@ ...@@ -17,4 +17,4 @@
/** /**
* A limited Docker API providing the operations needed by pack. * A limited Docker API providing the operations needed by pack.
*/ */
package org.springframework.boot.cloudnativebuildpack.docker; package org.springframework.boot.buildpack.platform.docker;
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.docker.type; package org.springframework.boot.buildpack.platform.docker.type;
import java.io.IOException; import java.io.IOException;
import java.io.OutputStream; import java.io.OutputStream;
...@@ -30,7 +30,7 @@ import com.fasterxml.jackson.databind.ObjectMapper; ...@@ -30,7 +30,7 @@ import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.node.ArrayNode; import com.fasterxml.jackson.databind.node.ArrayNode;
import com.fasterxml.jackson.databind.node.ObjectNode; import com.fasterxml.jackson.databind.node.ObjectNode;
import org.springframework.boot.cloudnativebuildpack.json.SharedObjectMapper; import org.springframework.boot.buildpack.platform.json.SharedObjectMapper;
import org.springframework.util.Assert; import org.springframework.util.Assert;
import org.springframework.util.StreamUtils; import org.springframework.util.StreamUtils;
import org.springframework.util.StringUtils; import org.springframework.util.StringUtils;
......
...@@ -14,9 +14,9 @@ ...@@ -14,9 +14,9 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.docker.type; package org.springframework.boot.buildpack.platform.docker.type;
import org.springframework.boot.cloudnativebuildpack.io.TarArchive; import org.springframework.boot.buildpack.platform.io.TarArchive;
import org.springframework.util.Assert; import org.springframework.util.Assert;
/** /**
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.docker.type; package org.springframework.boot.buildpack.platform.docker.type;
import org.springframework.util.Assert; import org.springframework.util.Assert;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.docker.type; package org.springframework.boot.buildpack.platform.docker.type;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
...@@ -27,7 +27,7 @@ import java.util.stream.Collectors; ...@@ -27,7 +27,7 @@ import java.util.stream.Collectors;
import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.JsonNode;
import org.springframework.boot.cloudnativebuildpack.json.MappedObject; import org.springframework.boot.buildpack.platform.json.MappedObject;
/** /**
* Image details as returned from {@code Docker inspect}. * Image details as returned from {@code Docker inspect}.
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.docker.type; package org.springframework.boot.buildpack.platform.docker.type;
import java.io.IOException; import java.io.IOException;
import java.io.OutputStream; import java.io.OutputStream;
...@@ -33,13 +33,13 @@ import com.fasterxml.jackson.databind.ObjectMapper; ...@@ -33,13 +33,13 @@ import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.node.ArrayNode; import com.fasterxml.jackson.databind.node.ArrayNode;
import com.fasterxml.jackson.databind.node.ObjectNode; import com.fasterxml.jackson.databind.node.ObjectNode;
import org.springframework.boot.cloudnativebuildpack.io.Content; import org.springframework.boot.buildpack.platform.io.Content;
import org.springframework.boot.cloudnativebuildpack.io.IOConsumer; import org.springframework.boot.buildpack.platform.io.IOConsumer;
import org.springframework.boot.cloudnativebuildpack.io.InspectedContent; import org.springframework.boot.buildpack.platform.io.InspectedContent;
import org.springframework.boot.cloudnativebuildpack.io.Layout; import org.springframework.boot.buildpack.platform.io.Layout;
import org.springframework.boot.cloudnativebuildpack.io.Owner; import org.springframework.boot.buildpack.platform.io.Owner;
import org.springframework.boot.cloudnativebuildpack.io.TarArchive; import org.springframework.boot.buildpack.platform.io.TarArchive;
import org.springframework.boot.cloudnativebuildpack.json.SharedObjectMapper; import org.springframework.boot.buildpack.platform.json.SharedObjectMapper;
import org.springframework.util.Assert; import org.springframework.util.Assert;
/** /**
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.docker.type; package org.springframework.boot.buildpack.platform.docker.type;
import java.lang.invoke.MethodHandles; import java.lang.invoke.MethodHandles;
import java.util.Collections; import java.util.Collections;
...@@ -25,7 +25,7 @@ import java.util.function.Consumer; ...@@ -25,7 +25,7 @@ import java.util.function.Consumer;
import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.node.ObjectNode; import com.fasterxml.jackson.databind.node.ObjectNode;
import org.springframework.boot.cloudnativebuildpack.json.MappedObject; import org.springframework.boot.buildpack.platform.json.MappedObject;
/** /**
* Image configuration information. * Image configuration information.
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.docker.type; package org.springframework.boot.buildpack.platform.docker.type;
import org.springframework.util.Assert; import org.springframework.util.Assert;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.docker.type; package org.springframework.boot.buildpack.platform.docker.type;
import java.io.File; import java.io.File;
import java.util.regex.Matcher; import java.util.regex.Matcher;
......
...@@ -14,18 +14,18 @@ ...@@ -14,18 +14,18 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.docker.type; package org.springframework.boot.buildpack.platform.docker.type;
import java.io.IOException; import java.io.IOException;
import java.io.OutputStream; import java.io.OutputStream;
import java.security.MessageDigest; import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException; import java.security.NoSuchAlgorithmException;
import org.springframework.boot.cloudnativebuildpack.io.Content; import org.springframework.boot.buildpack.platform.io.Content;
import org.springframework.boot.cloudnativebuildpack.io.IOConsumer; import org.springframework.boot.buildpack.platform.io.IOConsumer;
import org.springframework.boot.cloudnativebuildpack.io.InspectedContent; import org.springframework.boot.buildpack.platform.io.InspectedContent;
import org.springframework.boot.cloudnativebuildpack.io.Layout; import org.springframework.boot.buildpack.platform.io.Layout;
import org.springframework.boot.cloudnativebuildpack.io.TarArchive; import org.springframework.boot.buildpack.platform.io.TarArchive;
import org.springframework.util.Assert; import org.springframework.util.Assert;
/** /**
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.docker.type; package org.springframework.boot.buildpack.platform.docker.type;
import java.math.BigInteger; import java.math.BigInteger;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.docker.type; package org.springframework.boot.buildpack.platform.docker.type;
import java.util.Random; import java.util.Random;
import java.util.stream.IntStream; import java.util.stream.IntStream;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.docker.type; package org.springframework.boot.buildpack.platform.docker.type;
import java.math.BigInteger; import java.math.BigInteger;
import java.nio.charset.StandardCharsets; import java.nio.charset.StandardCharsets;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.io; package org.springframework.boot.buildpack.platform.io;
import java.io.ByteArrayInputStream; import java.io.ByteArrayInputStream;
import java.io.File; import java.io.File;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.io; package org.springframework.boot.buildpack.platform.io;
/** /**
* Default {@link Owner} implementation. * Default {@link Owner} implementation.
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.io; package org.springframework.boot.buildpack.platform.io;
import java.io.IOException; import java.io.IOException;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.io; package org.springframework.boot.buildpack.platform.io;
import java.io.IOException; import java.io.IOException;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.io; package org.springframework.boot.buildpack.platform.io;
import java.io.ByteArrayOutputStream; import java.io.ByteArrayOutputStream;
import java.io.File; import java.io.File;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.io; package org.springframework.boot.buildpack.platform.io;
import java.io.IOException; import java.io.IOException;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.io; package org.springframework.boot.buildpack.platform.io;
/** /**
* A user and group ID that can be used to indicate file ownership. * A user and group ID that can be used to indicate file ownership.
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.io; package org.springframework.boot.buildpack.platform.io;
import java.io.File; import java.io.File;
import java.io.IOException; import java.io.IOException;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.io; package org.springframework.boot.buildpack.platform.io;
import java.io.Closeable; import java.io.Closeable;
import java.io.IOException; import java.io.IOException;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.io; package org.springframework.boot.buildpack.platform.io;
import java.io.File; import java.io.File;
import java.io.IOException; import java.io.IOException;
......
...@@ -17,4 +17,4 @@ ...@@ -17,4 +17,4 @@
/** /**
* IO classes and utilities. * IO classes and utilities.
*/ */
package org.springframework.boot.cloudnativebuildpack.io; package org.springframework.boot.buildpack.platform.io;
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.json; package org.springframework.boot.buildpack.platform.json;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.json; package org.springframework.boot.buildpack.platform.json;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.json; package org.springframework.boot.buildpack.platform.json;
import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.ObjectMapper;
......
...@@ -17,4 +17,4 @@ ...@@ -17,4 +17,4 @@
/** /**
* Utilities and classes for JSON processing. * Utilities and classes for JSON processing.
*/ */
package org.springframework.boot.cloudnativebuildpack.json; package org.springframework.boot.buildpack.platform.json;
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.socket; package org.springframework.boot.buildpack.platform.socket;
import java.io.IOException; import java.io.IOException;
import java.net.InetAddress; import java.net.InetAddress;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.socket; package org.springframework.boot.buildpack.platform.socket;
import java.io.IOException; import java.io.IOException;
import java.nio.charset.StandardCharsets; import java.nio.charset.StandardCharsets;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.socket; package org.springframework.boot.buildpack.platform.socket;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
...@@ -26,7 +26,7 @@ import com.sun.jna.LastErrorException; ...@@ -26,7 +26,7 @@ import com.sun.jna.LastErrorException;
import com.sun.jna.Native; import com.sun.jna.Native;
import com.sun.jna.Platform; import com.sun.jna.Platform;
import org.springframework.boot.cloudnativebuildpack.socket.FileDescriptor.Handle; import org.springframework.boot.buildpack.platform.socket.FileDescriptor.Handle;
/** /**
* A {@link Socket} implementation for Linux of BSD domain sockets. * A {@link Socket} implementation for Linux of BSD domain sockets.
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.socket; package org.springframework.boot.buildpack.platform.socket;
import java.io.Closeable; import java.io.Closeable;
import java.io.IOException; import java.io.IOException;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.socket; package org.springframework.boot.buildpack.platform.socket;
import java.io.IOException; import java.io.IOException;
import java.nio.charset.StandardCharsets; import java.nio.charset.StandardCharsets;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.socket; package org.springframework.boot.buildpack.platform.socket;
import java.io.FileNotFoundException; import java.io.FileNotFoundException;
import java.io.IOException; import java.io.IOException;
......
...@@ -17,4 +17,4 @@ ...@@ -17,4 +17,4 @@
/** /**
* Low-level {@link java.net.Socket} implementations required for local Docker access. * Low-level {@link java.net.Socket} implementations required for local Docker access.
*/ */
package org.springframework.boot.cloudnativebuildpack.socket; package org.springframework.boot.buildpack.platform.socket;
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.toml; package org.springframework.boot.buildpack.platform.toml;
import java.util.Arrays; import java.util.Arrays;
import java.util.stream.Collectors; import java.util.stream.Collectors;
......
...@@ -17,4 +17,4 @@ ...@@ -17,4 +17,4 @@
/** /**
* Support for writing TOML content. * Support for writing TOML content.
*/ */
package org.springframework.boot.cloudnativebuildpack.toml; package org.springframework.boot.buildpack.platform.toml;
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.build; package org.springframework.boot.buildpack.platform.build;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.build; package org.springframework.boot.buildpack.platform.build;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.build; package org.springframework.boot.buildpack.platform.build;
import java.util.LinkedHashMap; import java.util.LinkedHashMap;
import java.util.Map; import java.util.Map;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.build; package org.springframework.boot.buildpack.platform.build;
import java.io.ByteArrayInputStream; import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream; import java.io.ByteArrayOutputStream;
...@@ -30,9 +30,9 @@ import org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream; ...@@ -30,9 +30,9 @@ import org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.io.TempDir; import org.junit.jupiter.api.io.TempDir;
import org.springframework.boot.cloudnativebuildpack.docker.type.ImageReference; import org.springframework.boot.buildpack.platform.docker.type.ImageReference;
import org.springframework.boot.cloudnativebuildpack.io.Owner; import org.springframework.boot.buildpack.platform.io.Owner;
import org.springframework.boot.cloudnativebuildpack.io.TarArchive; import org.springframework.boot.buildpack.platform.io.TarArchive;
import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException; import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException;
......
...@@ -14,15 +14,15 @@ ...@@ -14,15 +14,15 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.build; package org.springframework.boot.buildpack.platform.build;
import java.io.IOException; import java.io.IOException;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import org.springframework.boot.cloudnativebuildpack.docker.type.Image; import org.springframework.boot.buildpack.platform.docker.type.Image;
import org.springframework.boot.cloudnativebuildpack.docker.type.ImageConfig; import org.springframework.boot.buildpack.platform.docker.type.ImageConfig;
import org.springframework.boot.cloudnativebuildpack.json.AbstractJsonTests; import org.springframework.boot.buildpack.platform.json.AbstractJsonTests;
import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException; import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.build; package org.springframework.boot.buildpack.platform.build;
import java.io.ByteArrayOutputStream; import java.io.ByteArrayOutputStream;
import java.io.IOException; import java.io.IOException;
...@@ -24,15 +24,15 @@ import org.junit.jupiter.api.Test; ...@@ -24,15 +24,15 @@ import org.junit.jupiter.api.Test;
import org.mockito.ArgumentCaptor; import org.mockito.ArgumentCaptor;
import org.mockito.stubbing.Answer; import org.mockito.stubbing.Answer;
import org.springframework.boot.cloudnativebuildpack.docker.DockerApi; import org.springframework.boot.buildpack.platform.docker.DockerApi;
import org.springframework.boot.cloudnativebuildpack.docker.DockerApi.ContainerApi; import org.springframework.boot.buildpack.platform.docker.DockerApi.ContainerApi;
import org.springframework.boot.cloudnativebuildpack.docker.DockerApi.ImageApi; import org.springframework.boot.buildpack.platform.docker.DockerApi.ImageApi;
import org.springframework.boot.cloudnativebuildpack.docker.DockerApi.VolumeApi; import org.springframework.boot.buildpack.platform.docker.DockerApi.VolumeApi;
import org.springframework.boot.cloudnativebuildpack.docker.TotalProgressPullListener; import org.springframework.boot.buildpack.platform.docker.TotalProgressPullListener;
import org.springframework.boot.cloudnativebuildpack.docker.type.Image; import org.springframework.boot.buildpack.platform.docker.type.Image;
import org.springframework.boot.cloudnativebuildpack.docker.type.ImageArchive; import org.springframework.boot.buildpack.platform.docker.type.ImageArchive;
import org.springframework.boot.cloudnativebuildpack.docker.type.ImageReference; import org.springframework.boot.buildpack.platform.docker.type.ImageReference;
import org.springframework.boot.cloudnativebuildpack.io.TarArchive; import org.springframework.boot.buildpack.platform.io.TarArchive;
import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException; import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.build; package org.springframework.boot.buildpack.platform.build;
import java.io.ByteArrayInputStream; import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream; import java.io.ByteArrayOutputStream;
...@@ -37,11 +37,11 @@ import org.junit.jupiter.api.BeforeEach; ...@@ -37,11 +37,11 @@ import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.io.TempDir; import org.junit.jupiter.api.io.TempDir;
import org.springframework.boot.cloudnativebuildpack.docker.type.Image; import org.springframework.boot.buildpack.platform.docker.type.Image;
import org.springframework.boot.cloudnativebuildpack.docker.type.ImageArchive; import org.springframework.boot.buildpack.platform.docker.type.ImageArchive;
import org.springframework.boot.cloudnativebuildpack.docker.type.ImageConfig; import org.springframework.boot.buildpack.platform.docker.type.ImageConfig;
import org.springframework.boot.cloudnativebuildpack.docker.type.ImageReference; import org.springframework.boot.buildpack.platform.docker.type.ImageReference;
import org.springframework.boot.cloudnativebuildpack.json.AbstractJsonTests; import org.springframework.boot.buildpack.platform.json.AbstractJsonTests;
import org.springframework.util.FileCopyUtils; import org.springframework.util.FileCopyUtils;
import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThat;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.build; package org.springframework.boot.buildpack.platform.build;
import java.io.ByteArrayOutputStream; import java.io.ByteArrayOutputStream;
import java.io.IOException; import java.io.IOException;
...@@ -33,18 +33,18 @@ import org.junit.jupiter.api.BeforeEach; ...@@ -33,18 +33,18 @@ import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import org.mockito.stubbing.Answer; import org.mockito.stubbing.Answer;
import org.springframework.boot.cloudnativebuildpack.docker.DockerApi; import org.springframework.boot.buildpack.platform.docker.DockerApi;
import org.springframework.boot.cloudnativebuildpack.docker.DockerApi.ContainerApi; import org.springframework.boot.buildpack.platform.docker.DockerApi.ContainerApi;
import org.springframework.boot.cloudnativebuildpack.docker.DockerApi.ImageApi; import org.springframework.boot.buildpack.platform.docker.DockerApi.ImageApi;
import org.springframework.boot.cloudnativebuildpack.docker.DockerApi.VolumeApi; import org.springframework.boot.buildpack.platform.docker.DockerApi.VolumeApi;
import org.springframework.boot.cloudnativebuildpack.docker.type.ContainerConfig; import org.springframework.boot.buildpack.platform.docker.type.ContainerConfig;
import org.springframework.boot.cloudnativebuildpack.docker.type.ContainerContent; import org.springframework.boot.buildpack.platform.docker.type.ContainerContent;
import org.springframework.boot.cloudnativebuildpack.docker.type.ContainerReference; import org.springframework.boot.buildpack.platform.docker.type.ContainerReference;
import org.springframework.boot.cloudnativebuildpack.docker.type.ImageReference; import org.springframework.boot.buildpack.platform.docker.type.ImageReference;
import org.springframework.boot.cloudnativebuildpack.docker.type.VolumeName; import org.springframework.boot.buildpack.platform.docker.type.VolumeName;
import org.springframework.boot.cloudnativebuildpack.io.IOConsumer; import org.springframework.boot.buildpack.platform.io.IOConsumer;
import org.springframework.boot.cloudnativebuildpack.io.TarArchive; import org.springframework.boot.buildpack.platform.io.TarArchive;
import org.springframework.boot.cloudnativebuildpack.json.SharedObjectMapper; import org.springframework.boot.buildpack.platform.json.SharedObjectMapper;
import org.springframework.util.FileCopyUtils; import org.springframework.util.FileCopyUtils;
import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThat;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.build; package org.springframework.boot.buildpack.platform.build;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
......
...@@ -14,12 +14,12 @@ ...@@ -14,12 +14,12 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.build; package org.springframework.boot.buildpack.platform.build;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import org.springframework.boot.cloudnativebuildpack.docker.type.ContainerConfig.Update; import org.springframework.boot.buildpack.platform.docker.type.ContainerConfig.Update;
import org.springframework.boot.cloudnativebuildpack.docker.type.VolumeName; import org.springframework.boot.buildpack.platform.docker.type.VolumeName;
import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThat;
import static org.mockito.Mockito.mock; import static org.mockito.Mockito.mock;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.build; package org.springframework.boot.buildpack.platform.build;
import java.io.ByteArrayOutputStream; import java.io.ByteArrayOutputStream;
import java.io.InputStreamReader; import java.io.InputStreamReader;
...@@ -25,11 +25,11 @@ import java.util.function.Consumer; ...@@ -25,11 +25,11 @@ import java.util.function.Consumer;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import org.springframework.boot.cloudnativebuildpack.docker.LogUpdateEvent; import org.springframework.boot.buildpack.platform.docker.LogUpdateEvent;
import org.springframework.boot.cloudnativebuildpack.docker.TotalProgressEvent; import org.springframework.boot.buildpack.platform.docker.TotalProgressEvent;
import org.springframework.boot.cloudnativebuildpack.docker.type.Image; import org.springframework.boot.buildpack.platform.docker.type.Image;
import org.springframework.boot.cloudnativebuildpack.docker.type.ImageReference; import org.springframework.boot.buildpack.platform.docker.type.ImageReference;
import org.springframework.boot.cloudnativebuildpack.docker.type.VolumeName; import org.springframework.boot.buildpack.platform.docker.type.VolumeName;
import org.springframework.util.FileCopyUtils; import org.springframework.util.FileCopyUtils;
import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThat;
......
...@@ -14,14 +14,14 @@ ...@@ -14,14 +14,14 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.build; package org.springframework.boot.buildpack.platform.build;
import java.util.Collections; import java.util.Collections;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import org.springframework.boot.cloudnativebuildpack.docker.type.Image; import org.springframework.boot.buildpack.platform.docker.type.Image;
import org.springframework.boot.cloudnativebuildpack.docker.type.ImageConfig; import org.springframework.boot.buildpack.platform.docker.type.ImageConfig;
import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException; import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException;
......
...@@ -14,13 +14,13 @@ ...@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.docker; package org.springframework.boot.buildpack.platform.docker;
import java.io.IOException; import java.io.IOException;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import org.springframework.boot.cloudnativebuildpack.docker.type.ImageReference; import org.springframework.boot.buildpack.platform.docker.type.ImageReference;
import org.springframework.boot.testsupport.testcontainers.DisabledIfDockerUnavailable; import org.springframework.boot.testsupport.testcontainers.DisabledIfDockerUnavailable;
/** /**
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.docker; package org.springframework.boot.buildpack.platform.docker;
import java.io.ByteArrayOutputStream; import java.io.ByteArrayOutputStream;
import java.io.IOException; import java.io.IOException;
...@@ -31,21 +31,21 @@ import org.mockito.InOrder; ...@@ -31,21 +31,21 @@ import org.mockito.InOrder;
import org.mockito.Mock; import org.mockito.Mock;
import org.mockito.MockitoAnnotations; import org.mockito.MockitoAnnotations;
import org.springframework.boot.cloudnativebuildpack.docker.DockerApi.ContainerApi; import org.springframework.boot.buildpack.platform.docker.DockerApi.ContainerApi;
import org.springframework.boot.cloudnativebuildpack.docker.DockerApi.ImageApi; import org.springframework.boot.buildpack.platform.docker.DockerApi.ImageApi;
import org.springframework.boot.cloudnativebuildpack.docker.DockerApi.VolumeApi; import org.springframework.boot.buildpack.platform.docker.DockerApi.VolumeApi;
import org.springframework.boot.cloudnativebuildpack.docker.Http.Response; import org.springframework.boot.buildpack.platform.docker.Http.Response;
import org.springframework.boot.cloudnativebuildpack.docker.type.ContainerConfig; import org.springframework.boot.buildpack.platform.docker.type.ContainerConfig;
import org.springframework.boot.cloudnativebuildpack.docker.type.ContainerContent; import org.springframework.boot.buildpack.platform.docker.type.ContainerContent;
import org.springframework.boot.cloudnativebuildpack.docker.type.ContainerReference; import org.springframework.boot.buildpack.platform.docker.type.ContainerReference;
import org.springframework.boot.cloudnativebuildpack.docker.type.Image; import org.springframework.boot.buildpack.platform.docker.type.Image;
import org.springframework.boot.cloudnativebuildpack.docker.type.ImageArchive; import org.springframework.boot.buildpack.platform.docker.type.ImageArchive;
import org.springframework.boot.cloudnativebuildpack.docker.type.ImageReference; import org.springframework.boot.buildpack.platform.docker.type.ImageReference;
import org.springframework.boot.cloudnativebuildpack.docker.type.VolumeName; import org.springframework.boot.buildpack.platform.docker.type.VolumeName;
import org.springframework.boot.cloudnativebuildpack.io.Content; import org.springframework.boot.buildpack.platform.io.Content;
import org.springframework.boot.cloudnativebuildpack.io.IOConsumer; import org.springframework.boot.buildpack.platform.io.IOConsumer;
import org.springframework.boot.cloudnativebuildpack.io.Owner; import org.springframework.boot.buildpack.platform.io.Owner;
import org.springframework.boot.cloudnativebuildpack.io.TarArchive; import org.springframework.boot.buildpack.platform.io.TarArchive;
import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException; import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.docker; package org.springframework.boot.buildpack.platform.docker;
import java.net.URI; import java.net.URI;
import java.net.URISyntaxException; import java.net.URISyntaxException;
......
...@@ -14,14 +14,14 @@ ...@@ -14,14 +14,14 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.docker; package org.springframework.boot.buildpack.platform.docker;
import java.util.Iterator; import java.util.Iterator;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import org.springframework.boot.cloudnativebuildpack.docker.Errors.Error; import org.springframework.boot.buildpack.platform.docker.Errors.Error;
import org.springframework.boot.cloudnativebuildpack.json.AbstractJsonTests; import org.springframework.boot.buildpack.platform.json.AbstractJsonTests;
import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThat;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.docker; package org.springframework.boot.buildpack.platform.docker;
import java.io.ByteArrayOutputStream; import java.io.ByteArrayOutputStream;
import java.io.IOException; import java.io.IOException;
...@@ -41,7 +41,7 @@ import org.mockito.Captor; ...@@ -41,7 +41,7 @@ import org.mockito.Captor;
import org.mockito.Mock; import org.mockito.Mock;
import org.mockito.MockitoAnnotations; import org.mockito.MockitoAnnotations;
import org.springframework.boot.cloudnativebuildpack.docker.Http.Response; import org.springframework.boot.buildpack.platform.docker.Http.Response;
import org.springframework.util.StreamUtils; import org.springframework.util.StreamUtils;
import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThat;
......
...@@ -14,11 +14,11 @@ ...@@ -14,11 +14,11 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.docker; package org.springframework.boot.buildpack.platform.docker;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import org.springframework.boot.cloudnativebuildpack.docker.ProgressUpdateEvent.ProgressDetail; import org.springframework.boot.buildpack.platform.docker.ProgressUpdateEvent.ProgressDetail;
import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThat;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.docker; package org.springframework.boot.buildpack.platform.docker;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
......
...@@ -14,11 +14,11 @@ ...@@ -14,11 +14,11 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.docker; package org.springframework.boot.buildpack.platform.docker;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import org.springframework.boot.cloudnativebuildpack.docker.ProgressUpdateEvent.ProgressDetail; import org.springframework.boot.buildpack.platform.docker.ProgressUpdateEvent.ProgressDetail;
import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThat;
......
...@@ -14,11 +14,11 @@ ...@@ -14,11 +14,11 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.docker; package org.springframework.boot.buildpack.platform.docker;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import org.springframework.boot.cloudnativebuildpack.docker.ProgressUpdateEvent.ProgressDetail; import org.springframework.boot.buildpack.platform.docker.ProgressUpdateEvent.ProgressDetail;
import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThat;
......
...@@ -14,11 +14,11 @@ ...@@ -14,11 +14,11 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.docker; package org.springframework.boot.buildpack.platform.docker;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import org.springframework.boot.cloudnativebuildpack.json.AbstractJsonTests; import org.springframework.boot.buildpack.platform.json.AbstractJsonTests;
import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThat;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.docker; package org.springframework.boot.buildpack.platform.docker;
import java.io.ByteArrayOutputStream; import java.io.ByteArrayOutputStream;
import java.io.PrintStream; import java.io.PrintStream;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.docker; package org.springframework.boot.buildpack.platform.docker;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.docker; package org.springframework.boot.buildpack.platform.docker;
import java.io.IOException; import java.io.IOException;
import java.util.ArrayList; import java.util.ArrayList;
...@@ -24,8 +24,8 @@ import java.util.function.Consumer; ...@@ -24,8 +24,8 @@ import java.util.function.Consumer;
import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import org.springframework.boot.cloudnativebuildpack.json.AbstractJsonTests; import org.springframework.boot.buildpack.platform.json.AbstractJsonTests;
import org.springframework.boot.cloudnativebuildpack.json.JsonStream; import org.springframework.boot.buildpack.platform.json.JsonStream;
import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThat;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.cloudnativebuildpack.docker.type; package org.springframework.boot.buildpack.platform.docker.type;
import java.io.ByteArrayOutputStream; import java.io.ByteArrayOutputStream;
import java.nio.charset.StandardCharsets; import java.nio.charset.StandardCharsets;
...@@ -22,7 +22,7 @@ import java.nio.charset.StandardCharsets; ...@@ -22,7 +22,7 @@ import java.nio.charset.StandardCharsets;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import org.skyscreamer.jsonassert.JSONAssert; import org.skyscreamer.jsonassert.JSONAssert;
import org.springframework.boot.cloudnativebuildpack.json.AbstractJsonTests; import org.springframework.boot.buildpack.platform.json.AbstractJsonTests;
import org.springframework.util.StreamUtils; import org.springframework.util.StreamUtils;
import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException; import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment