Skip to content

Commit

Permalink
chore: rename docker plugin (aws-greengrass#904)
Browse files Browse the repository at this point in the history
  • Loading branch information
shaguptashaikh authored Mar 26, 2021
1 parent 21e56bc commit bdbfcd7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import java.util.stream.Collectors;
import javax.inject.Inject;

import static com.aws.greengrass.componentmanager.plugins.docker.DockerManagerService.DOCKER_MANAGER_PLUGIN_SERVICE_NAME;
import static com.aws.greengrass.componentmanager.plugins.docker.DockerApplicationManagerService.DOCKER_MANAGER_PLUGIN_SERVICE_NAME;
import static com.aws.greengrass.tes.TokenExchangeService.TOKEN_EXCHANGE_SERVICE_TOPICS;

public class ArtifactDownloaderFactory {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@
* Loads docker image artifact downloader. Currently just a placeholder since the downloader is part of the nucleus but
* when the downloader needs to be moved out into its own plugin, this service will be instantiated for the plugin.
*/
@ImplementsService(name = DockerManagerService.DOCKER_MANAGER_PLUGIN_SERVICE_NAME)
@ImplementsService(name = DockerApplicationManagerService.DOCKER_MANAGER_PLUGIN_SERVICE_NAME)
@Singleton
public class DockerManagerService extends GreengrassService {
public static final String DOCKER_MANAGER_PLUGIN_SERVICE_NAME = "aws.greengrass.DockerComponentManager";
public class DockerApplicationManagerService extends GreengrassService {
public static final String DOCKER_MANAGER_PLUGIN_SERVICE_NAME = "aws.greengrass.DockerApplicationManager";

/**
* Constructor for injection.
*
* @param topics topics root
*/
@Inject
public DockerManagerService(Topics topics) {
public DockerApplicationManagerService(Topics topics) {
super(topics);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

import static com.aws.greengrass.componentmanager.builtins.ArtifactDownloaderFactory.DOCKER_PLUGIN_REQUIRED_ERROR_MSG;
import static com.aws.greengrass.componentmanager.builtins.ArtifactDownloaderFactory.TOKEN_EXCHANGE_SERVICE_REQUIRED_ERROR_MSG;
import static com.aws.greengrass.componentmanager.plugins.docker.DockerManagerService.DOCKER_MANAGER_PLUGIN_SERVICE_NAME;
import static com.aws.greengrass.componentmanager.plugins.docker.DockerApplicationManagerService.DOCKER_MANAGER_PLUGIN_SERVICE_NAME;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.containsString;
import static org.hamcrest.core.Is.is;
Expand Down

0 comments on commit bdbfcd7

Please sign in to comment.