From 776aee90fd8557607abf46303647fc7a263d5ce0 Mon Sep 17 00:00:00 2001 From: jan-vcapgemini Date: Tue, 14 Mar 2023 18:32:36 +0100 Subject: [PATCH] #1454 renamed artifact cache --- .../java/com/devonfw/cobigen/retriever/ArtifactRetriever.java | 4 ++-- .../java/com/devonfw/cobigen/gui/ProcessTemplateSetTest.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cobigen/core-artifact-retriever/src/main/java/com/devonfw/cobigen/retriever/ArtifactRetriever.java b/cobigen/core-artifact-retriever/src/main/java/com/devonfw/cobigen/retriever/ArtifactRetriever.java index 9d9099f11..e51ad61ad 100644 --- a/cobigen/core-artifact-retriever/src/main/java/com/devonfw/cobigen/retriever/ArtifactRetriever.java +++ b/cobigen/core-artifact-retriever/src/main/java/com/devonfw/cobigen/retriever/ArtifactRetriever.java @@ -96,11 +96,11 @@ public static List retrieveTemplateSetData(List templateSetFi } /** - * Retrieves a list of {@link TemplateSetConfiguration} from the template-set-list folder + * Retrieves a list of {@link TemplateSetConfiguration} from the template set artifact cache * * @return List of {@link TemplateSetConfiguration} */ - public static List retrieveArtifactsFromCobiGen() { + public static List retrieveArtifactsFromCache() { Path templateSetFolder = CobiGenPaths.getTemplateSetsFolderPath(); diff --git a/cobigen/gui/src/test/java/com/devonfw/cobigen/gui/ProcessTemplateSetTest.java b/cobigen/gui/src/test/java/com/devonfw/cobigen/gui/ProcessTemplateSetTest.java index bd43e5023..49bcf9a6a 100644 --- a/cobigen/gui/src/test/java/com/devonfw/cobigen/gui/ProcessTemplateSetTest.java +++ b/cobigen/gui/src/test/java/com/devonfw/cobigen/gui/ProcessTemplateSetTest.java @@ -70,7 +70,7 @@ public void testInstallTemplateSet() throws Exception { StandardCopyOption.REPLACE_EXISTING); withEnvironmentVariable(ConfigurationConstants.CONFIG_ENV_HOME, userHome.getAbsolutePath()).execute(() -> { - List templateSetConfigurations = ArtifactRetriever.retrieveArtifactsFromCobiGen(); + List templateSetConfigurations = ArtifactRetriever.retrieveArtifactsFromCache(); // pass TemplateSetConfigurations to GUI this.templateSetObservableList = FXCollections.observableArrayList();