Skip to content

Commit 8e97ea9

Browse files
committed
Update copyrights
1 parent c20bf6a commit 8e97ea9

File tree

73 files changed

+80
-76
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+80
-76
lines changed

README.md

+1-1

build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016 ThoughtWorks, Inc.
2+
* Copyright 2022 Thoughtworks, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -23,7 +23,7 @@ gocdPlugin {
2323
goCdVersion = '20.9.0'
2424
name = 'Docker Elastic Agent Plugin'
2525
description = 'Docker Based Elastic Agent Plugins for GoCD'
26-
vendorName = 'ThoughtWorks, Inc.'
26+
vendorName = 'Thoughtworks, Inc.'
2727
vendorUrl = 'https://github.com/gocd-contrib/docker-elastic-agents-plugin'
2828

2929
githubRepo {

settings.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016 ThoughtWorks, Inc.
2+
* Copyright 2022 Thoughtworks, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/java/cd/go/contrib/elasticagents/docker/Agent.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2018 ThoughtWorks, Inc.
2+
* Copyright 2018 Thoughtworks, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/java/cd/go/contrib/elasticagents/docker/AgentInstances.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016 ThoughtWorks, Inc.
2+
* Copyright 2022 Thoughtworks, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/java/cd/go/contrib/elasticagents/docker/Agents.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016 ThoughtWorks, Inc.
2+
* Copyright 2022 Thoughtworks, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/java/cd/go/contrib/elasticagents/docker/Clock.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016 ThoughtWorks, Inc.
2+
* Copyright 2022 Thoughtworks, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/java/cd/go/contrib/elasticagents/docker/ClusterProfile.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019 ThoughtWorks, Inc.
2+
* Copyright 2022 Thoughtworks, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/java/cd/go/contrib/elasticagents/docker/ClusterProfileProperties.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019 ThoughtWorks, Inc.
2+
* Copyright 2022 Thoughtworks, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/java/cd/go/contrib/elasticagents/docker/Constants.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2018 ThoughtWorks, Inc.
2+
* Copyright 2018 Thoughtworks, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/java/cd/go/contrib/elasticagents/docker/DockerClientFactory.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016 ThoughtWorks, Inc.
2+
* Copyright 2022 Thoughtworks, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -22,6 +22,7 @@
2222
import com.spotify.docker.client.exceptions.DockerCertificateException;
2323
import com.spotify.docker.client.messages.RegistryAuth;
2424
import org.apache.commons.io.FileUtils;
25+
2526
import java.io.File;
2627
import java.io.IOException;
2728
import java.nio.charset.StandardCharsets;

src/main/java/cd/go/contrib/elasticagents/docker/DockerContainer.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016 ThoughtWorks, Inc.
2+
* Copyright 2022 Thoughtworks, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/java/cd/go/contrib/elasticagents/docker/DockerContainers.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016 ThoughtWorks, Inc.
2+
* Copyright 2022 Thoughtworks, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/java/cd/go/contrib/elasticagents/docker/DockerPlugin.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019 ThoughtWorks, Inc.
2+
* Copyright 2022 Thoughtworks, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/java/cd/go/contrib/elasticagents/docker/ElasticAgentProfile.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019 ThoughtWorks, Inc.
2+
* Copyright 2022 Thoughtworks, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/java/cd/go/contrib/elasticagents/docker/PluginRequest.java

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016 ThoughtWorks, Inc.
2+
* Copyright 2022 Thoughtworks, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -16,14 +16,17 @@
1616

1717
package cd.go.contrib.elasticagents.docker;
1818

19-
import com.google.gson.Gson;
2019
import cd.go.contrib.elasticagents.docker.models.JobIdentifier;
20+
import com.google.gson.Gson;
2121
import com.google.gson.GsonBuilder;
2222
import com.thoughtworks.go.plugin.api.GoApplicationAccessor;
2323
import com.thoughtworks.go.plugin.api.request.DefaultGoApiRequest;
2424
import com.thoughtworks.go.plugin.api.response.GoApiResponse;
2525

26-
import java.util.*;
26+
import java.util.Collection;
27+
import java.util.HashMap;
28+
import java.util.List;
29+
import java.util.Map;
2730

2831
import static cd.go.contrib.elasticagents.docker.Constants.*;
2932
import static cd.go.contrib.elasticagents.docker.DockerPlugin.LOG;

src/main/java/cd/go/contrib/elasticagents/docker/PluginSettings.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016 ThoughtWorks, Inc.
2+
* Copyright 2022 Thoughtworks, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/java/cd/go/contrib/elasticagents/docker/Request.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019 ThoughtWorks, Inc.
2+
* Copyright 2022 Thoughtworks, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/java/cd/go/contrib/elasticagents/docker/RequestExecutor.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016 ThoughtWorks, Inc.
2+
* Copyright 2022 Thoughtworks, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/java/cd/go/contrib/elasticagents/docker/ServerRequestFailedException.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016 ThoughtWorks, Inc.
2+
* Copyright 2022 Thoughtworks, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/java/cd/go/contrib/elasticagents/docker/SetupSemaphore.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016 ThoughtWorks, Inc.
2+
* Copyright 2022 Thoughtworks, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/java/cd/go/contrib/elasticagents/docker/executors/ClusterProfileValidateRequestExecutor.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019 ThoughtWorks, Inc.
2+
* Copyright 2022 Thoughtworks, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/java/cd/go/contrib/elasticagents/docker/executors/CreateAgentRequestExecutor.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016 ThoughtWorks, Inc.
2+
* Copyright 2022 Thoughtworks, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/java/cd/go/contrib/elasticagents/docker/executors/Field.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016 ThoughtWorks, Inc.
2+
* Copyright 2022 Thoughtworks, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/java/cd/go/contrib/elasticagents/docker/executors/GetClusterProfileMetadataExecutor.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019 ThoughtWorks, Inc.
2+
* Copyright 2022 Thoughtworks, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/java/cd/go/contrib/elasticagents/docker/executors/GetClusterProfileViewRequestExecutor.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016 ThoughtWorks, Inc.
2+
* Copyright 2022 Thoughtworks, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/java/cd/go/contrib/elasticagents/docker/executors/GetPluginSettingsIconExecutor.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016 ThoughtWorks, Inc.
2+
* Copyright 2022 Thoughtworks, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/java/cd/go/contrib/elasticagents/docker/executors/GetProfileMetadataExecutor.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016 ThoughtWorks, Inc.
2+
* Copyright 2022 Thoughtworks, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/java/cd/go/contrib/elasticagents/docker/executors/GetProfileViewExecutor.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016 ThoughtWorks, Inc.
2+
* Copyright 2022 Thoughtworks, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/java/cd/go/contrib/elasticagents/docker/executors/GoServerURLMetadata.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019 ThoughtWorks, Inc.
2+
* Copyright 2022 Thoughtworks, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/java/cd/go/contrib/elasticagents/docker/executors/JobCompletionRequestExecutor.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2018 ThoughtWorks, Inc.
2+
* Copyright 2018 Thoughtworks, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/java/cd/go/contrib/elasticagents/docker/executors/Metadata.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019 ThoughtWorks, Inc.
2+
* Copyright 2022 Thoughtworks, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/java/cd/go/contrib/elasticagents/docker/executors/MigrateConfigurationRequestExecutor.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019 ThoughtWorks, Inc.
2+
* Copyright 2022 Thoughtworks, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/java/cd/go/contrib/elasticagents/docker/executors/NonBlankField.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016 ThoughtWorks, Inc.
2+
* Copyright 2022 Thoughtworks, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/java/cd/go/contrib/elasticagents/docker/executors/ProfileValidateRequestExecutor.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016 ThoughtWorks, Inc.
2+
* Copyright 2022 Thoughtworks, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/java/cd/go/contrib/elasticagents/docker/executors/ServerPingRequestExecutor.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016 ThoughtWorks, Inc.
2+
* Copyright 2022 Thoughtworks, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/java/cd/go/contrib/elasticagents/docker/executors/ShouldAssignWorkRequestExecutor.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016 ThoughtWorks, Inc.
2+
* Copyright 2022 Thoughtworks, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/java/cd/go/contrib/elasticagents/docker/models/ExceptionMessage.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2018 ThoughtWorks, Inc.
2+
* Copyright 2018 Thoughtworks, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/java/cd/go/contrib/elasticagents/docker/requests/ClusterProfileValidateRequest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019 ThoughtWorks, Inc.
2+
* Copyright 2022 Thoughtworks, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/java/cd/go/contrib/elasticagents/docker/requests/CreateAgentRequest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019 ThoughtWorks, Inc.
2+
* Copyright 2022 Thoughtworks, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/java/cd/go/contrib/elasticagents/docker/requests/JobCompletionRequest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2018 ThoughtWorks, Inc.
2+
* Copyright 2022 Thoughtworks, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/java/cd/go/contrib/elasticagents/docker/requests/MigrateConfigurationRequest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019 ThoughtWorks, Inc.
2+
* Copyright 2022 Thoughtworks, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/java/cd/go/contrib/elasticagents/docker/requests/ProfileValidateRequest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019 ThoughtWorks, Inc.
2+
* Copyright 2022 Thoughtworks, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/java/cd/go/contrib/elasticagents/docker/requests/ServerPingRequest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019 ThoughtWorks, Inc.
2+
* Copyright 2022 Thoughtworks, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/java/cd/go/contrib/elasticagents/docker/requests/ShouldAssignWorkRequest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016 ThoughtWorks, Inc.
2+
* Copyright 2022 Thoughtworks, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/java/cd/go/contrib/elasticagents/docker/utils/Util.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016 ThoughtWorks, Inc.
2+
* Copyright 2022 Thoughtworks, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/resources/plugin-settings.template.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
~ Copyright 2016 ThoughtWorks, Inc.
2+
~ Copyright 2022 Thoughtworks, Inc.
33
~
44
~ Licensed under the Apache License, Version 2.0 (the "License");
55
~ you may not use this file except in compliance with the License.

src/main/resources/profile.template.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
~ Copyright 2016 ThoughtWorks, Inc.
2+
~ Copyright 2022 Thoughtworks, Inc.
33
~
44
~ Licensed under the Apache License, Version 2.0 (the "License");
55
~ you may not use this file except in compliance with the License.

src/test/java/cd/go/contrib/elasticagents/docker/AgentTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016 ThoughtWorks, Inc.
2+
* Copyright 2022 Thoughtworks, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/test/java/cd/go/contrib/elasticagents/docker/BaseTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016 ThoughtWorks, Inc.
2+
* Copyright 2022 Thoughtworks, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/test/java/cd/go/contrib/elasticagents/docker/ClusterProfilePropertiesTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019 ThoughtWorks, Inc.
2+
* Copyright 2022 Thoughtworks, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)