diff --git a/README.md b/README.md index 6ccefc9..7e27fce 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ To build the jar, run `./gradlew clean check assemble` ## License ```plain -Copyright 2020 ThoughtWorks, Inc. +Copyright 2022 Thoughtworks, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/build.gradle b/build.gradle index 33f2163..03f038c 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,11 +21,11 @@ group = 'com.thoughtworks.gocd' gocdPlugin { id = 'com.thoughtworks.gocd.elastic-agent.ecs' - pluginVersion = '7.2.0' + pluginVersion = '7.2.1' goCdVersion = '20.9.0' name = 'GoCD Elastic Agent Plugin for Amazon ECS' description = 'GoCD Elastic Agent Plugin for Amazon Elastic Container Service allow for more efficient use of instances' - vendorName = 'ThoughtWorks, Inc.' + vendorName = 'Thoughtworks, Inc.' vendorUrl = 'https://github.com/gocd/gocd-ecs-elastic-agent' githubRepo { diff --git a/contrib/scripts/bootstrap-via-installer/log4j.properties b/contrib/scripts/bootstrap-via-installer/log4j.properties index 7c7762f..bf3ea9f 100644 --- a/contrib/scripts/bootstrap-via-installer/log4j.properties +++ b/contrib/scripts/bootstrap-via-installer/log4j.properties @@ -1,5 +1,5 @@ # -# Copyright 2020 ThoughtWorks, Inc. +# Copyright 2022 Thoughtworks, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/contrib/scripts/bootstrap-without-installed-agent/log4j.properties b/contrib/scripts/bootstrap-without-installed-agent/log4j.properties index 7c7762f..bf3ea9f 100644 --- a/contrib/scripts/bootstrap-without-installed-agent/log4j.properties +++ b/contrib/scripts/bootstrap-without-installed-agent/log4j.properties @@ -1,5 +1,5 @@ # -# Copyright 2020 ThoughtWorks, Inc. +# Copyright 2022 Thoughtworks, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/settings.gradle b/settings.gradle index 74568eb..6bf212c 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/AgentInstances.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/AgentInstances.java index c3b9ebb..a8f9ec3 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/AgentInstances.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/AgentInstances.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/Agents.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/Agents.java index 77dd42e..2c67d8d 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/Agents.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/Agents.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/Clock.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/Clock.java index cc6123e..c25e017 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/Clock.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/Clock.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/Constants.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/Constants.java index 4b5ae4b..9424b71 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/Constants.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/Constants.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/ECSElasticPlugin.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/ECSElasticPlugin.java index 8726922..fa766a6 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/ECSElasticPlugin.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/ECSElasticPlugin.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/ECSTask.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/ECSTask.java index 8f2e013..9adb0cf 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/ECSTask.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/ECSTask.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/ECSTasks.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/ECSTasks.java index ba1f9a6..8ad259e 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/ECSTasks.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/ECSTasks.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/PluginRequest.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/PluginRequest.java index 4deb80c..6d8dd4e 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/PluginRequest.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/PluginRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/Request.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/Request.java index aa689ed..69b2c91 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/Request.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/Request.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/RequestExecutor.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/RequestExecutor.java index 5cd48ce..48b1f15 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/RequestExecutor.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/RequestExecutor.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/AWSCredentialsProviderChain.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/AWSCredentialsProviderChain.java index 73e03e2..4026d5f 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/AWSCredentialsProviderChain.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/AWSCredentialsProviderChain.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/ContainerDefinitionBuilder.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/ContainerDefinitionBuilder.java index 435097b..744468a 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/ContainerDefinitionBuilder.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/ContainerDefinitionBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/ContainerInstanceHelper.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/ContainerInstanceHelper.java index b8ca779..ce74d6e 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/ContainerInstanceHelper.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/ContainerInstanceHelper.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/EC2Config.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/EC2Config.java index 7605049..b082036 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/EC2Config.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/EC2Config.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/EFS.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/EFS.java index 0b35b92..3c293a5 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/EFS.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/EFS.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/RegisterTaskDefinitionRequestBuilder.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/RegisterTaskDefinitionRequestBuilder.java index dd32b0f..c806e01 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/RegisterTaskDefinitionRequestBuilder.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/RegisterTaskDefinitionRequestBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/RunInstanceRequestBuilder.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/RunInstanceRequestBuilder.java index 2a5d8ed..500dc3c 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/RunInstanceRequestBuilder.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/RunInstanceRequestBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/SpotInstanceHelper.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/SpotInstanceHelper.java index e4cb246..88d0395 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/SpotInstanceHelper.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/SpotInstanceHelper.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/SpotInstanceRequestBuilder.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/SpotInstanceRequestBuilder.java index cda77d4..d271943 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/SpotInstanceRequestBuilder.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/SpotInstanceRequestBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/SpotInstanceService.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/SpotInstanceService.java index eb1b0ee..0ebb750 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/SpotInstanceService.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/SpotInstanceService.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/StopPolicy.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/StopPolicy.java index 4213a42..729bcc6 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/StopPolicy.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/StopPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/SubnetSelector.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/SubnetSelector.java index bfaf215..5674129 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/SubnetSelector.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/SubnetSelector.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/TaskHelper.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/TaskHelper.java index 2162911..40c6fcc 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/TaskHelper.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/TaskHelper.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/TimeUnit.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/TimeUnit.java index 676aa00..d4fec80 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/TimeUnit.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/TimeUnit.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/Userdata.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/Userdata.java index e7bd802..c7ac3fa 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/Userdata.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/Userdata.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/comparator/MostIdleInstanceComparator.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/comparator/MostIdleInstanceComparator.java index 963d623..0d07d54 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/comparator/MostIdleInstanceComparator.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/comparator/MostIdleInstanceComparator.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/matcher/ContainerInstanceMatcher.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/matcher/ContainerInstanceMatcher.java index 7c64b7a..7ee7383 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/matcher/ContainerInstanceMatcher.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/matcher/ContainerInstanceMatcher.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/matcher/InstanceMatcher.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/matcher/InstanceMatcher.java index 1351ffd..1f2aee7 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/matcher/InstanceMatcher.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/matcher/InstanceMatcher.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/matcher/SpotRequestMatcher.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/matcher/SpotRequestMatcher.java index 0283fdd..9b345b5 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/matcher/SpotRequestMatcher.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/matcher/SpotRequestMatcher.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/predicate/EligibleForTerminationPredicate.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/predicate/EligibleForTerminationPredicate.java index f9a1c89..54aa74d 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/predicate/EligibleForTerminationPredicate.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/predicate/EligibleForTerminationPredicate.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/predicate/SpotInstanceEligibleForTerminationPredicate.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/predicate/SpotInstanceEligibleForTerminationPredicate.java index f231132..c4e7f43 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/predicate/SpotInstanceEligibleForTerminationPredicate.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/predicate/SpotInstanceEligibleForTerminationPredicate.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/InstanceSelectionStrategy.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/InstanceSelectionStrategy.java index a3bde32..fa62940 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/InstanceSelectionStrategy.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/InstanceSelectionStrategy.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/InstanceSelectionStrategyFactory.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/InstanceSelectionStrategyFactory.java index 0902716..f650c94 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/InstanceSelectionStrategyFactory.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/InstanceSelectionStrategyFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/OldestInstanceSelectionStrategy.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/OldestInstanceSelectionStrategy.java index 1c7d94d..0b0bdae 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/OldestInstanceSelectionStrategy.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/OldestInstanceSelectionStrategy.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/Operation.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/Operation.java index 035f13d..b9fbf3d 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/Operation.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/Operation.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/StopIdleInstanceSelectionStrategy.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/StopIdleInstanceSelectionStrategy.java index 56b95d9..d28dd5d 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/StopIdleInstanceSelectionStrategy.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/StopIdleInstanceSelectionStrategy.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/StopOperation.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/StopOperation.java index 55aa332..85017e0 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/StopOperation.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/StopOperation.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/TerminateOperation.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/TerminateOperation.java index 021c086..7eaa27f 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/TerminateOperation.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/TerminateOperation.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/wait/InvalidPollerConfiguration.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/wait/InvalidPollerConfiguration.java index 98f5156..9c43e6c 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/wait/InvalidPollerConfiguration.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/wait/InvalidPollerConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/wait/Poller.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/wait/Poller.java index bb15f72..8372a0e 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/wait/Poller.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/wait/Poller.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/wait/Result.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/wait/Result.java index 33f4171..c1b6083 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/wait/Result.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/aws/wait/Result.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/builders/PluginStatusReportViewBuilder.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/builders/PluginStatusReportViewBuilder.java index a4c4e1c..6ea7935 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/builders/PluginStatusReportViewBuilder.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/builders/PluginStatusReportViewBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/builders/ScriptBuilder.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/builders/ScriptBuilder.java index fda8bfe..d68cbb1 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/builders/ScriptBuilder.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/builders/ScriptBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/Agent.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/Agent.java index 281eca7..c5b094a 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/Agent.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/Agent.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/BindMount.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/BindMount.java index 63cc061..3c7d60d 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/BindMount.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/BindMount.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,10 +22,8 @@ import org.apache.commons.collections4.map.HashedMap; import java.util.Map; -import java.util.stream.Collectors; import static java.util.stream.Collectors.joining; -import static org.apache.commons.lang3.StringUtils.isAnyEmpty; import static org.apache.commons.lang3.StringUtils.isEmpty; public class BindMount { diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/Capabilities.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/Capabilities.java index f8f10e9..3a8d489 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/Capabilities.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/Capabilities.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ClusterProfile.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ClusterProfile.java index 655e745..a550a48 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ClusterProfile.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ClusterProfile.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ClusterProfileProperties.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ClusterProfileProperties.java index eded2a6..6db3ee0 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ClusterProfileProperties.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ClusterProfileProperties.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -17,7 +17,6 @@ package com.thoughtworks.gocd.elasticagent.ecs.domain; import java.util.Map; -import java.util.Objects; public class ClusterProfileProperties extends PluginSettings { public ClusterProfileProperties() { diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ConsoleLogAppender.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ConsoleLogAppender.java index c5217c6..3e9904b 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ConsoleLogAppender.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ConsoleLogAppender.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ContainerResources.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ContainerResources.java index 1a7da92..124ecc3 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ContainerResources.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ContainerResources.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/DockerRegistryAuthData.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/DockerRegistryAuthData.java index 7a21d1b..7c66f8c 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/DockerRegistryAuthData.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/DockerRegistryAuthData.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/DockerRegistryAuthType.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/DockerRegistryAuthType.java index 7f45969..bd5e548 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/DockerRegistryAuthType.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/DockerRegistryAuthType.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/EC2InstanceState.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/EC2InstanceState.java index 4614064..08e67ea 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/EC2InstanceState.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/EC2InstanceState.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ECSCluster.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ECSCluster.java index 7bee68a..ea1c809 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ECSCluster.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ECSCluster.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ECSContainer.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ECSContainer.java index 7e98677..228c491 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ECSContainer.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ECSContainer.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ECSContainerInstance.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ECSContainerInstance.java index 8e6d7e8..0fb5f10 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ECSContainerInstance.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ECSContainerInstance.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ElasticAgentProfile.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ElasticAgentProfile.java index e70b64c..c00b42d 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ElasticAgentProfile.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ElasticAgentProfile.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ElasticAgentProfileProperties.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ElasticAgentProfileProperties.java index 0ffc063..3398216 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ElasticAgentProfileProperties.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ElasticAgentProfileProperties.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -32,11 +32,9 @@ import static com.thoughtworks.gocd.elasticagent.ecs.domain.annotation.FieldType.NUMBER; import static com.thoughtworks.gocd.elasticagent.ecs.utils.Util.*; import static java.lang.Boolean.parseBoolean; -import static java.lang.Double.parseDouble; -import static java.lang.Integer.numberOfLeadingZeros; -import static java.lang.Integer.parseInt; import static java.util.Collections.emptyList; -import static org.apache.commons.lang3.StringUtils.*; +import static org.apache.commons.lang3.StringUtils.isEmpty; +import static org.apache.commons.lang3.StringUtils.stripToEmpty; @EqualsAndHashCode public class ElasticAgentProfileProperties { diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/JobIdentifier.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/JobIdentifier.java index b5c4a73..8607773 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/JobIdentifier.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/JobIdentifier.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/Metadata.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/Metadata.java index 7700b49..83bfbb3 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/Metadata.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/Metadata.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/MetadataExtractor.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/MetadataExtractor.java index 5b964ea..87336bd 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/MetadataExtractor.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/MetadataExtractor.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/Platform.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/Platform.java index 78460b0..0a0e968 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/Platform.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/Platform.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/PluginSettings.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/PluginSettings.java index e94ac7b..796f39b 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/PluginSettings.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/PluginSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ServerInfo.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ServerInfo.java index 8a12a62..23ac54f 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ServerInfo.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ServerInfo.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/SpotRequestState.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/SpotRequestState.java index b64609e..5ce67f4 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/SpotRequestState.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/SpotRequestState.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/SpotRequestStatus.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/SpotRequestStatus.java index 2dcda4a..45f661e 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/SpotRequestStatus.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/SpotRequestStatus.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ValidationError.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ValidationError.java index b13292b..f82ba19 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ValidationError.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ValidationError.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ValidationResult.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ValidationResult.java index 5f9af1f..e7200d3 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ValidationResult.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ValidationResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/annotation/FieldType.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/annotation/FieldType.java index 1091d17..d218235 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/annotation/FieldType.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/annotation/FieldType.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/annotation/Metadata.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/annotation/Metadata.java index f42d789..3f9e264 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/annotation/Metadata.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/domain/annotation/Metadata.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/events/Event.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/events/Event.java index 16aa662..3796147 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/events/Event.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/events/Event.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/events/EventFingerprint.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/events/EventFingerprint.java index 7c51f4a..f8bc3f9 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/events/EventFingerprint.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/events/EventFingerprint.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/events/EventStream.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/events/EventStream.java index 1802805..5e17067 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/events/EventStream.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/events/EventStream.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/events/EventType.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/events/EventType.java index 49522d0..c935864 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/events/EventType.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/events/EventType.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/exceptions/AWSCredentialsException.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/exceptions/AWSCredentialsException.java index 1583851..f078059 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/exceptions/AWSCredentialsException.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/exceptions/AWSCredentialsException.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/exceptions/AgentNotFoundException.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/exceptions/AgentNotFoundException.java index 4705c62..d343efd 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/exceptions/AgentNotFoundException.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/exceptions/AgentNotFoundException.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/exceptions/ContainerFailedToRegisterException.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/exceptions/ContainerFailedToRegisterException.java index 0b8505a..22fc5c8 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/exceptions/ContainerFailedToRegisterException.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/exceptions/ContainerFailedToRegisterException.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/exceptions/ContainerInstanceCreationFailedException.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/exceptions/ContainerInstanceCreationFailedException.java index d429563..5fe2902 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/exceptions/ContainerInstanceCreationFailedException.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/exceptions/ContainerInstanceCreationFailedException.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/exceptions/ContainerInstanceFailedToRegisterException.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/exceptions/ContainerInstanceFailedToRegisterException.java index 0783292..484cabc 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/exceptions/ContainerInstanceFailedToRegisterException.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/exceptions/ContainerInstanceFailedToRegisterException.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/exceptions/InstanceTerminationFailedException.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/exceptions/InstanceTerminationFailedException.java index 1d85eb1..6f608d9 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/exceptions/InstanceTerminationFailedException.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/exceptions/InstanceTerminationFailedException.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/exceptions/LimitExceededException.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/exceptions/LimitExceededException.java index 8d5d29e..7e79e1e 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/exceptions/LimitExceededException.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/exceptions/LimitExceededException.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/exceptions/ServerRequestFailedException.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/exceptions/ServerRequestFailedException.java index 4da71e5..85d0116 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/exceptions/ServerRequestFailedException.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/exceptions/ServerRequestFailedException.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/exceptions/SubnetNotAvailableException.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/exceptions/SubnetNotAvailableException.java index c92ce9b..448b4ca 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/exceptions/SubnetNotAvailableException.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/exceptions/SubnetNotAvailableException.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/AgentStatusReportExecutor.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/AgentStatusReportExecutor.java index 3fa6fed..553b421 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/AgentStatusReportExecutor.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/AgentStatusReportExecutor.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/ClusterStatusReportExecutor.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/ClusterStatusReportExecutor.java index 22f0b1c..93187f1 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/ClusterStatusReportExecutor.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/ClusterStatusReportExecutor.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/CreateAgentRequestExecutor.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/CreateAgentRequestExecutor.java index de159da..1cefa53 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/CreateAgentRequestExecutor.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/CreateAgentRequestExecutor.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetCapabilitiesExecutor.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetCapabilitiesExecutor.java index 93e5aaf..9736963 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetCapabilitiesExecutor.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetCapabilitiesExecutor.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetClusterProfileMetadataExecutor.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetClusterProfileMetadataExecutor.java index 19b1b53..2480f99 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetClusterProfileMetadataExecutor.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetClusterProfileMetadataExecutor.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetClusterProfileViewRequestExecutor.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetClusterProfileViewRequestExecutor.java index 05977c4..873ab4e 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetClusterProfileViewRequestExecutor.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetClusterProfileViewRequestExecutor.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetPluginConfigurationExecutor.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetPluginConfigurationExecutor.java index 493333f..396fee6 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetPluginConfigurationExecutor.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetPluginConfigurationExecutor.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetPluginSettingsIconExecutor.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetPluginSettingsIconExecutor.java index e357346..85172e1 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetPluginSettingsIconExecutor.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetPluginSettingsIconExecutor.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetProfileMetadataExecutor.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetProfileMetadataExecutor.java index 24533eb..7db69f8 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetProfileMetadataExecutor.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetProfileMetadataExecutor.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetProfileViewExecutor.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetProfileViewExecutor.java index 19c3c01..9b13343 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetProfileViewExecutor.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetProfileViewExecutor.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/JobCompletionRequestExecutor.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/JobCompletionRequestExecutor.java index b92c275..23d24f1 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/JobCompletionRequestExecutor.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/JobCompletionRequestExecutor.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/MigrateConfigurationRequestExecutor.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/MigrateConfigurationRequestExecutor.java index fc38f2f..2efe9f7 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/MigrateConfigurationRequestExecutor.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/MigrateConfigurationRequestExecutor.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/ProfileValidateRequestExecutor.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/ProfileValidateRequestExecutor.java index 93ad06d..224fc4d 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/ProfileValidateRequestExecutor.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/ProfileValidateRequestExecutor.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,13 +23,11 @@ import com.thoughtworks.gocd.elasticagent.ecs.RequestExecutor; import com.thoughtworks.gocd.elasticagent.ecs.domain.*; import com.thoughtworks.gocd.elasticagent.ecs.requests.ProfileValidateRequest; -import org.apache.commons.lang3.StringUtils; import java.util.*; import static com.thoughtworks.gocd.elasticagent.ecs.domain.ElasticAgentProfileProperties.*; import static java.lang.Double.parseDouble; -import static java.lang.Integer.parseInt; import static java.lang.String.format; import static org.apache.commons.lang3.StringUtils.isNotBlank; diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/ServerPingRequestExecutor.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/ServerPingRequestExecutor.java index abf168c..45af76b 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/ServerPingRequestExecutor.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/ServerPingRequestExecutor.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/ShouldAssignWorkRequestExecutor.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/ShouldAssignWorkRequestExecutor.java index d333739..ed59fb6 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/ShouldAssignWorkRequestExecutor.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/ShouldAssignWorkRequestExecutor.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/ValidateClusterProfileRequestExecutor.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/ValidateClusterProfileRequestExecutor.java index abcd2fd..1302c2d 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/ValidateClusterProfileRequestExecutor.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/executors/ValidateClusterProfileRequestExecutor.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/fields/ContainerDataVolumeField.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/fields/ContainerDataVolumeField.java index a0858ec..d3663da 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/fields/ContainerDataVolumeField.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/fields/ContainerDataVolumeField.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/fields/Field.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/fields/Field.java index a5ee199..91e34d4 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/fields/Field.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/fields/Field.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/fields/IntegerRangeField.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/fields/IntegerRangeField.java index 336f17f..cab0956 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/fields/IntegerRangeField.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/fields/IntegerRangeField.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/fields/LogDriverNameField.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/fields/LogDriverNameField.java index f3a1ff9..b645643 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/fields/LogDriverNameField.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/fields/LogDriverNameField.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/fields/NonBlankField.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/fields/NonBlankField.java index 8f063fb..741e014 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/fields/NonBlankField.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/fields/NonBlankField.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/fields/PositiveNumberField.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/fields/PositiveNumberField.java index 8b0ea95..96cced2 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/fields/PositiveNumberField.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/fields/PositiveNumberField.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/info/PluginProperties.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/info/PluginProperties.java index 69bda3e..95c1f96 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/info/PluginProperties.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/info/PluginProperties.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/reports/StatusReportGenerationError.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/reports/StatusReportGenerationError.java index 2375538..5c83ca0 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/reports/StatusReportGenerationError.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/reports/StatusReportGenerationError.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/reports/StatusReportGenerationErrorHandler.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/reports/StatusReportGenerationErrorHandler.java index e7aa65a..649a3a0 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/reports/StatusReportGenerationErrorHandler.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/reports/StatusReportGenerationErrorHandler.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/reports/StatusReportGenerationException.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/reports/StatusReportGenerationException.java index 6eef5a7..3307a0a 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/reports/StatusReportGenerationException.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/reports/StatusReportGenerationException.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/requests/AgentStatusReportRequest.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/requests/AgentStatusReportRequest.java index 404255e..688e8f1 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/requests/AgentStatusReportRequest.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/requests/AgentStatusReportRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,7 +19,6 @@ import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; import com.thoughtworks.gocd.elasticagent.ecs.ECSTasks; -import com.thoughtworks.gocd.elasticagent.ecs.PluginRequest; import com.thoughtworks.gocd.elasticagent.ecs.domain.ClusterProfileProperties; import com.thoughtworks.gocd.elasticagent.ecs.domain.JobIdentifier; import com.thoughtworks.gocd.elasticagent.ecs.executors.AgentStatusReportExecutor; diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/requests/ClusterStatusReportRequest.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/requests/ClusterStatusReportRequest.java index 06edef9..1d56584 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/requests/ClusterStatusReportRequest.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/requests/ClusterStatusReportRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/requests/CreateAgentRequest.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/requests/CreateAgentRequest.java index ccb32b7..bbac54c 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/requests/CreateAgentRequest.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/requests/CreateAgentRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/requests/JobCompletionRequest.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/requests/JobCompletionRequest.java index 3a18067..2336d0e 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/requests/JobCompletionRequest.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/requests/JobCompletionRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/requests/MigrateConfigurationRequest.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/requests/MigrateConfigurationRequest.java index 74bdb5e..939cba0 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/requests/MigrateConfigurationRequest.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/requests/MigrateConfigurationRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/requests/ProfileValidateRequest.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/requests/ProfileValidateRequest.java index a22254a..76b78e9 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/requests/ProfileValidateRequest.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/requests/ProfileValidateRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -18,7 +18,6 @@ import com.google.gson.Gson; import com.google.gson.reflect.TypeToken; -import com.thoughtworks.gocd.elasticagent.ecs.domain.PluginSettings; import com.thoughtworks.gocd.elasticagent.ecs.executors.ProfileValidateRequestExecutor; import java.util.Map; diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/requests/ServerPingRequest.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/requests/ServerPingRequest.java index 0f31854..5c79672 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/requests/ServerPingRequest.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/requests/ServerPingRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/requests/ShouldAssignWorkRequest.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/requests/ShouldAssignWorkRequest.java index 3d31949..ad6ebfe 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/requests/ShouldAssignWorkRequest.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/requests/ShouldAssignWorkRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/requests/ValidateClusterProfileRequest.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/requests/ValidateClusterProfileRequest.java index be0b8e5..e17474e 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/requests/ValidateClusterProfileRequest.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/requests/ValidateClusterProfileRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/size/SizeValidator.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/size/SizeValidator.java index ed56927..31d0be2 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/size/SizeValidator.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/size/SizeValidator.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/size/UnitParser.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/size/UnitParser.java index 17dcac0..73318bc 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/size/UnitParser.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/size/UnitParser.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/utils/Util.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/utils/Util.java index 38f6485..451d4e9 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/utils/Util.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/utils/Util.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/validators/AbstractValidator.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/validators/AbstractValidator.java index 372fba3..dd52455 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/validators/AbstractValidator.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/validators/AbstractValidator.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/validators/AmiAndInstanceTypeValidator.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/validators/AmiAndInstanceTypeValidator.java index d920508..75c0567 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/validators/AmiAndInstanceTypeValidator.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/validators/AmiAndInstanceTypeValidator.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/validators/CredentialsValidator.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/validators/CredentialsValidator.java index 3406dae..d2cc941 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/validators/CredentialsValidator.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/validators/CredentialsValidator.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/validators/DockerRegistrySettingsValidator.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/validators/DockerRegistrySettingsValidator.java index bab34c7..2151091 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/validators/DockerRegistrySettingsValidator.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/validators/DockerRegistrySettingsValidator.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/validators/Validator.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/validators/Validator.java index 899dcb3..d54f2d3 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/validators/Validator.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/validators/Validator.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/validators/VolumeSettingsValidator.java b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/validators/VolumeSettingsValidator.java index 74d6073..de36e42 100644 --- a/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/validators/VolumeSettingsValidator.java +++ b/src/main/java/com/thoughtworks/gocd/elasticagent/ecs/validators/VolumeSettingsValidator.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/slf4j/impl/SLF4JLogDelegator.java b/src/main/java/org/slf4j/impl/SLF4JLogDelegator.java index d02143e..0daf7a6 100644 --- a/src/main/java/org/slf4j/impl/SLF4JLogDelegator.java +++ b/src/main/java/org/slf4j/impl/SLF4JLogDelegator.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/slf4j/impl/SLF4JLogDelegatorFactory.java b/src/main/java/org/slf4j/impl/SLF4JLogDelegatorFactory.java index 709078a..5b0f0dc 100644 --- a/src/main/java/org/slf4j/impl/SLF4JLogDelegatorFactory.java +++ b/src/main/java/org/slf4j/impl/SLF4JLogDelegatorFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/slf4j/impl/StaticLoggerBinder.java b/src/main/java/org/slf4j/impl/StaticLoggerBinder.java index 3a258ee..4a4651e 100644 --- a/src/main/java/org/slf4j/impl/StaticLoggerBinder.java +++ b/src/main/java/org/slf4j/impl/StaticLoggerBinder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/AgentTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/AgentTest.java index 2001beb..28d1e10 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/AgentTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/AgentTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/ECSTasksTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/ECSTasksTest.java index bc2b1c5..9cefaff 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/ECSTasksTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/ECSTasksTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,8 +22,6 @@ import com.thoughtworks.gocd.elasticagent.ecs.aws.TaskHelper; import com.thoughtworks.gocd.elasticagent.ecs.domain.*; import com.thoughtworks.gocd.elasticagent.ecs.events.EventStream; -import com.thoughtworks.gocd.elasticagent.ecs.exceptions.ContainerFailedToRegisterException; -import com.thoughtworks.gocd.elasticagent.ecs.exceptions.LimitExceededException; import com.thoughtworks.gocd.elasticagent.ecs.requests.CreateAgentRequest; import org.joda.time.DateTime; import org.joda.time.Period; diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/PluginRequestTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/PluginRequestTest.java index 553b902..c17c303 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/PluginRequestTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/PluginRequestTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/AWSCredentialsProviderChainTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/AWSCredentialsProviderChainTest.java index 0059b4a..d45f182 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/AWSCredentialsProviderChainTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/AWSCredentialsProviderChainTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/ContainerDefinitionBuilderTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/ContainerDefinitionBuilderTest.java index c99f784..633a37f 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/ContainerDefinitionBuilderTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/ContainerDefinitionBuilderTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/ContainerInstanceHelperTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/ContainerInstanceHelperTest.java index 4b7c5d4..2262016 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/ContainerInstanceHelperTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/ContainerInstanceHelperTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/ContainerInstanceMother.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/ContainerInstanceMother.java index 7311802..8fc5711 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/ContainerInstanceMother.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/ContainerInstanceMother.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/EC2ConfigTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/EC2ConfigTest.java index a4fdb9d..0128df9 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/EC2ConfigTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/EC2ConfigTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/EFSTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/EFSTest.java index 3f62304..7dbfe82 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/EFSTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/EFSTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/InstanceMother.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/InstanceMother.java index 3f0b44f..fae39ff 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/InstanceMother.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/InstanceMother.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/RegisterTaskDefinitionRequestBuilderTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/RegisterTaskDefinitionRequestBuilderTest.java index f1092d5..70becbb 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/RegisterTaskDefinitionRequestBuilderTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/RegisterTaskDefinitionRequestBuilderTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,10 +26,7 @@ import org.junit.jupiter.api.Test; import org.mockito.Mock; -import java.util.Collections; - import static java.util.Arrays.asList; -import static java.util.Collections.emptyList; import static java.util.Collections.singletonList; import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.Mockito.*; diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/RunInstanceRequestBuilderTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/RunInstanceRequestBuilderTest.java index 3ba0210..4cc0887 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/RunInstanceRequestBuilderTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/RunInstanceRequestBuilderTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/SpotInstanceHelperTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/SpotInstanceHelperTest.java index 4f47e73..b85aef2 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/SpotInstanceHelperTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/SpotInstanceHelperTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,7 +23,6 @@ import com.thoughtworks.gocd.elasticagent.ecs.Constants; import com.thoughtworks.gocd.elasticagent.ecs.domain.Platform; import com.thoughtworks.gocd.elasticagent.ecs.domain.PluginSettings; -import org.assertj.core.api.Assertions; import org.joda.time.Period; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Nested; diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/SpotInstanceRequestBuilderTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/SpotInstanceRequestBuilderTest.java index 55f7f41..b3caa20 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/SpotInstanceRequestBuilderTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/SpotInstanceRequestBuilderTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,10 +21,8 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import java.util.Collection; import java.util.List; -import static com.thoughtworks.gocd.elasticagent.ecs.Constants.LABEL_SERVER_ID; import static java.util.Arrays.asList; import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.Mockito.mock; diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/SpotInstanceServiceTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/SpotInstanceServiceTest.java index 1c00b76..ed5aec3 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/SpotInstanceServiceTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/SpotInstanceServiceTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/SubnetSelectorTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/SubnetSelectorTest.java index 5373b42..b7ba4f8 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/SubnetSelectorTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/SubnetSelectorTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/TaskHelperTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/TaskHelperTest.java index 489d076..a5f2329 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/TaskHelperTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/TaskHelperTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/UserdataTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/UserdataTest.java index a5b6ee0..b515805 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/UserdataTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/UserdataTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/comparator/MostIdleInstanceComparatorTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/comparator/MostIdleInstanceComparatorTest.java index 00b97e8..1701141 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/comparator/MostIdleInstanceComparatorTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/comparator/MostIdleInstanceComparatorTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/matcher/ContainerInstanceMatcherTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/matcher/ContainerInstanceMatcherTest.java index 4595cfd..e1486c3 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/matcher/ContainerInstanceMatcherTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/matcher/ContainerInstanceMatcherTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/matcher/InstanceMatcherTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/matcher/InstanceMatcherTest.java index 31643a1..988ad5a 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/matcher/InstanceMatcherTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/matcher/InstanceMatcherTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/matcher/SpotRequestMatcherTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/matcher/SpotRequestMatcherTest.java index 096f681..83fc7da 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/matcher/SpotRequestMatcherTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/matcher/SpotRequestMatcherTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,17 +16,15 @@ package com.thoughtworks.gocd.elasticagent.ecs.aws.matcher; -import com.amazonaws.services.ec2.model.*; +import com.amazonaws.services.ec2.model.GroupIdentifier; +import com.amazonaws.services.ec2.model.LaunchSpecification; +import com.amazonaws.services.ec2.model.SpotInstanceRequest; +import com.amazonaws.services.ec2.model.Tag; import com.thoughtworks.gocd.elasticagent.ecs.aws.EC2Config; import com.thoughtworks.gocd.elasticagent.ecs.domain.Platform; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import org.junit.jupiter.params.ParameterizedTest; -import org.junit.jupiter.params.provider.ValueSource; -import java.util.Arrays; - -import static com.thoughtworks.gocd.elasticagent.ecs.domain.EC2InstanceState.*; import static java.util.Arrays.asList; import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.Mockito.mock; diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/predicate/EligibleForTerminationPredicateTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/predicate/EligibleForTerminationPredicateTest.java index 1430edf..447d25d 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/predicate/EligibleForTerminationPredicateTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/predicate/EligibleForTerminationPredicateTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/predicate/SpotInstanceEligibleForTerminationPredicateTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/predicate/SpotInstanceEligibleForTerminationPredicateTest.java index f9e7578..99bfce5 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/predicate/SpotInstanceEligibleForTerminationPredicateTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/predicate/SpotInstanceEligibleForTerminationPredicateTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,13 +26,13 @@ import org.junit.jupiter.api.Test; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.EnumSource; -import org.junit.jupiter.params.provider.ValueSource; import org.mockito.Mock; import static com.thoughtworks.gocd.elasticagent.ecs.Constants.LAST_SEEN_IDLE; -import static com.thoughtworks.gocd.elasticagent.ecs.Constants.STOPPED_AT; -import static com.thoughtworks.gocd.elasticagent.ecs.aws.InstanceMother.*; -import static com.thoughtworks.gocd.elasticagent.ecs.domain.EC2InstanceState.*; +import static com.thoughtworks.gocd.elasticagent.ecs.aws.InstanceMother.linuxInstanceWithTag; +import static com.thoughtworks.gocd.elasticagent.ecs.aws.InstanceMother.spotInstance; +import static com.thoughtworks.gocd.elasticagent.ecs.domain.EC2InstanceState.RUNNING; +import static com.thoughtworks.gocd.elasticagent.ecs.domain.EC2InstanceState.STOPPED; import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.Mockito.when; import static org.mockito.MockitoAnnotations.openMocks; diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/InstanceSelectionStrategyFactoryTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/InstanceSelectionStrategyFactoryTest.java index f9c4ed3..d15eb1d 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/InstanceSelectionStrategyFactoryTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/InstanceSelectionStrategyFactoryTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/InstanceSelectionStrategyTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/InstanceSelectionStrategyTest.java index 44857a7..1bb8166 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/InstanceSelectionStrategyTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/InstanceSelectionStrategyTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/OldestInstanceSelectionStrategyTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/OldestInstanceSelectionStrategyTest.java index 8f5b20e..318e309 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/OldestInstanceSelectionStrategyTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/OldestInstanceSelectionStrategyTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/StopIdleInstanceSelectionStrategyTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/StopIdleInstanceSelectionStrategyTest.java index e6afc16..4abcdf1 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/StopIdleInstanceSelectionStrategyTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/StopIdleInstanceSelectionStrategyTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/StopOperationTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/StopOperationTest.java index a78e09e..5e1aadc 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/StopOperationTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/StopOperationTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/TerminateOperationTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/TerminateOperationTest.java index 519bd28..5fb7d36 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/TerminateOperationTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/strategy/TerminateOperationTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/wait/PollerTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/wait/PollerTest.java index 70e35c5..c309a72 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/wait/PollerTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/aws/wait/PollerTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/builders/AgentStatusReportViewTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/builders/AgentStatusReportViewTest.java index 5ad74c4..5860e24 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/builders/AgentStatusReportViewTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/builders/AgentStatusReportViewTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/builders/PluginStatusReportViewTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/builders/PluginStatusReportViewTest.java index dc97945..39e3167 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/builders/PluginStatusReportViewTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/builders/PluginStatusReportViewTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/AWSModelMother.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/AWSModelMother.java index d22c084..b50c1bb 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/AWSModelMother.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/AWSModelMother.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/BindMountTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/BindMountTest.java index 0fb9099..1987440 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/BindMountTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/BindMountTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ClusterProfilePropertiesTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ClusterProfilePropertiesTest.java index a382077..97a04fa 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ClusterProfilePropertiesTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ClusterProfilePropertiesTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/DockerRegistryAuthTypeAuthDataTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/DockerRegistryAuthTypeAuthDataTest.java index 701a2db..eddb61e 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/DockerRegistryAuthTypeAuthDataTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/DockerRegistryAuthTypeAuthDataTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ECSClusterTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ECSClusterTest.java index 155b116..e921b77 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ECSClusterTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ECSClusterTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ElasticAgentProfilePropertiesTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ElasticAgentProfilePropertiesTest.java index 870b24b..d956834 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ElasticAgentProfilePropertiesTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ElasticAgentProfilePropertiesTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ElasticProfileBuilder.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ElasticProfileBuilder.java index f030dd7..7d95b81 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ElasticProfileBuilder.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ElasticProfileBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/JobIdentifierTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/JobIdentifierTest.java index ebc302c..5ffeff3 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/JobIdentifierTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/JobIdentifierTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/PlatformTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/PlatformTest.java index 1ef0e08..39e7770 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/PlatformTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/PlatformTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/PluginSettingsBuilder.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/PluginSettingsBuilder.java index 77860ed..84ce7ef 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/PluginSettingsBuilder.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/PluginSettingsBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/PluginSettingsTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/PluginSettingsTest.java index e271314..580358e 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/PluginSettingsTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/PluginSettingsTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ValidationResultTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ValidationResultTest.java index f203190..dab1e5c 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ValidationResultTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/ValidationResultTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/annotation/FieldTypeTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/annotation/FieldTypeTest.java index 51c1989..e9dd85b 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/annotation/FieldTypeTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/domain/annotation/FieldTypeTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/events/EventStreamTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/events/EventStreamTest.java index c055f93..f5d0884 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/events/EventStreamTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/events/EventStreamTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/ClusterStatusReportExecutorTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/ClusterStatusReportExecutorTest.java index c68efdc..cc1c252 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/ClusterStatusReportExecutorTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/ClusterStatusReportExecutorTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/CreateAgentRequestExecutorTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/CreateAgentRequestExecutorTest.java index b1bbdaf..c06de38 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/CreateAgentRequestExecutorTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/CreateAgentRequestExecutorTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetCapabilitiesExecutorTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetCapabilitiesExecutorTest.java index c690539..4062d02 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetCapabilitiesExecutorTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetCapabilitiesExecutorTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetClusterProfileMetadataExecutorTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetClusterProfileMetadataExecutorTest.java index bbcde5c..50537e4 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetClusterProfileMetadataExecutorTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetClusterProfileMetadataExecutorTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetClusterProfileViewRequestExecutorTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetClusterProfileViewRequestExecutorTest.java index 617aa14..15c3a32 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetClusterProfileViewRequestExecutorTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetClusterProfileViewRequestExecutorTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetPluginConfigurationExecutorTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetPluginConfigurationExecutorTest.java index 2472e74..221240d 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetPluginConfigurationExecutorTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetPluginConfigurationExecutorTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetPluginSettingsIconExecutorTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetPluginSettingsIconExecutorTest.java index db60e1c..6423dad 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetPluginSettingsIconExecutorTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetPluginSettingsIconExecutorTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetPluginSettingsViewRequestExecutorTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetPluginSettingsViewRequestExecutorTest.java index a3facd7..0fc5bc5 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetPluginSettingsViewRequestExecutorTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetPluginSettingsViewRequestExecutorTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetProfileMetadataExecutorTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetProfileMetadataExecutorTest.java index cfe59b1..66042f9 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetProfileMetadataExecutorTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetProfileMetadataExecutorTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetProfileViewExecutorTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetProfileViewExecutorTest.java index 65089db..c67a16e 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetProfileViewExecutorTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/GetProfileViewExecutorTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/JobCompletionRequestExecutorTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/JobCompletionRequestExecutorTest.java index 7e8e803..733a52c 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/JobCompletionRequestExecutorTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/JobCompletionRequestExecutorTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/MigrateConfigurationRequestExecutorTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/MigrateConfigurationRequestExecutorTest.java index df4e2b7..486f279 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/MigrateConfigurationRequestExecutorTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/MigrateConfigurationRequestExecutorTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/ProfileValidateRequestExecutorTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/ProfileValidateRequestExecutorTest.java index d0e7eb9..0e1e690 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/ProfileValidateRequestExecutorTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/ProfileValidateRequestExecutorTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/ServerPingRequestExecutorTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/ServerPingRequestExecutorTest.java index 25c75e6..cd3d86f 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/ServerPingRequestExecutorTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/ServerPingRequestExecutorTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -47,7 +47,6 @@ import static com.thoughtworks.gocd.elasticagent.ecs.domain.EC2InstanceState.STOPPED; import static com.thoughtworks.gocd.elasticagent.ecs.domain.Platform.LINUX; import static com.thoughtworks.gocd.elasticagent.ecs.domain.Platform.WINDOWS; -import static java.util.Collections.emptyList; import static java.util.Collections.singletonList; import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.Mockito.*; diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/ShouldAssignWorkRequestExecutorTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/ShouldAssignWorkRequestExecutorTest.java index ba935f3..de1d984 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/ShouldAssignWorkRequestExecutorTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/ShouldAssignWorkRequestExecutorTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/ValidateClusterProfileRequestExecutorTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/ValidateClusterProfileRequestExecutorTest.java index 50524dd..48099ba 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/ValidateClusterProfileRequestExecutorTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/executors/ValidateClusterProfileRequestExecutorTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/fields/ContainerDataVolumeFieldTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/fields/ContainerDataVolumeFieldTest.java index 0442da6..48ca36c 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/fields/ContainerDataVolumeFieldTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/fields/ContainerDataVolumeFieldTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/fields/IntegerRangeFieldTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/fields/IntegerRangeFieldTest.java index 7b8fb42..16aa52c 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/fields/IntegerRangeFieldTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/fields/IntegerRangeFieldTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/info/PluginPropertiesTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/info/PluginPropertiesTest.java index 515be8c..21dfd75 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/info/PluginPropertiesTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/info/PluginPropertiesTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,7 +28,7 @@ void shouldReadPluginProperties() { assertThat(properties.get("id")).isEqualTo("com.thoughtworks.gocd.elastic-agent.ecs"); assertThat(properties.get("name")).isEqualTo("GoCD Elastic Agent Plugin for Amazon ECS"); assertThat(properties.get("description")).isEqualTo("GoCD Elastic Agent Plugin for Amazon Elastic Container Service allow for more efficient use of instances"); - assertThat(properties.get("vendorName")).isEqualTo("ThoughtWorks, Inc."); + assertThat(properties.get("vendorName")).isEqualTo("Thoughtworks, Inc."); assertThat(properties.get("vendorUrl")).isEqualTo("https://github.com/gocd/gocd-ecs-elastic-agent"); assertThat(properties.get("goCdVersion")).isEqualTo("20.9.0"); assertThat(properties.get("version")).isNotBlank(); diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/reports/StatusReportGenerationErrorHandlerTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/reports/StatusReportGenerationErrorHandlerTest.java index 2f5e047..731e932 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/reports/StatusReportGenerationErrorHandlerTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/reports/StatusReportGenerationErrorHandlerTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/reports/StatusReportGenerationErrorTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/reports/StatusReportGenerationErrorTest.java index 423fe73..6075dd8 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/reports/StatusReportGenerationErrorTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/reports/StatusReportGenerationErrorTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/requests/AgentStatusReportRequestTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/requests/AgentStatusReportRequestTest.java index 2081640..8774148 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/requests/AgentStatusReportRequestTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/requests/AgentStatusReportRequestTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/requests/ClusterStatusReportRequestTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/requests/ClusterStatusReportRequestTest.java index c612d56..64515be 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/requests/ClusterStatusReportRequestTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/requests/ClusterStatusReportRequestTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/requests/CreateAgentRequestTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/requests/CreateAgentRequestTest.java index 88414f6..39ca564 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/requests/CreateAgentRequestTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/requests/CreateAgentRequestTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/requests/JobCompletionRequestTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/requests/JobCompletionRequestTest.java index c201808..85be8c4 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/requests/JobCompletionRequestTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/requests/JobCompletionRequestTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/requests/MigrateConfigurationRequestTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/requests/MigrateConfigurationRequestTest.java index 2973870..decd308 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/requests/MigrateConfigurationRequestTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/requests/MigrateConfigurationRequestTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/requests/ShouldAssignWorkRequestTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/requests/ShouldAssignWorkRequestTest.java index 68b61b4..80b32cf 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/requests/ShouldAssignWorkRequestTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/requests/ShouldAssignWorkRequestTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/requests/ValidateClusterProfileRequestTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/requests/ValidateClusterProfileRequestTest.java index 3e1fd23..75e4e0f 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/requests/ValidateClusterProfileRequestTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/requests/ValidateClusterProfileRequestTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/utils/UtilTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/utils/UtilTest.java index 889f2a1..dd07012 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/utils/UtilTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/utils/UtilTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/validators/AmiAndInstanceTypeValidatorTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/validators/AmiAndInstanceTypeValidatorTest.java index aff2482..99ea968 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/validators/AmiAndInstanceTypeValidatorTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/validators/AmiAndInstanceTypeValidatorTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/validators/CredentialsValidatorTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/validators/CredentialsValidatorTest.java index 91e1f65..ec0f1b7 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/validators/CredentialsValidatorTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/validators/CredentialsValidatorTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/validators/DockerRegistrySettingsValidatorTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/validators/DockerRegistrySettingsValidatorTest.java index 625a99f..13b46c0 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/validators/DockerRegistrySettingsValidatorTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/validators/DockerRegistrySettingsValidatorTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/validators/VolumeSettingsValidatorTest.java b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/validators/VolumeSettingsValidatorTest.java index b86478b..ded236e 100644 --- a/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/validators/VolumeSettingsValidatorTest.java +++ b/src/test/java/com/thoughtworks/gocd/elasticagent/ecs/validators/VolumeSettingsValidatorTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/extensions/FileSource.java b/src/test/java/com/thoughtworks/gocd/extensions/FileSource.java index b950447..e6d8b59 100644 --- a/src/test/java/com/thoughtworks/gocd/extensions/FileSource.java +++ b/src/test/java/com/thoughtworks/gocd/extensions/FileSource.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/thoughtworks/gocd/extensions/FileSourceProvider.java b/src/test/java/com/thoughtworks/gocd/extensions/FileSourceProvider.java index a3418d2..319e049 100644 --- a/src/test/java/com/thoughtworks/gocd/extensions/FileSourceProvider.java +++ b/src/test/java/com/thoughtworks/gocd/extensions/FileSourceProvider.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ThoughtWorks, Inc. + * Copyright 2022 Thoughtworks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.