diff --git a/src/main/java/io/cryostat/ConfigProperties.java b/src/main/java/io/cryostat/ConfigProperties.java index 2c889e870..77ddc7c96 100644 --- a/src/main/java/io/cryostat/ConfigProperties.java +++ b/src/main/java/io/cryostat/ConfigProperties.java @@ -34,9 +34,9 @@ public class ConfigProperties { public static final String CONNECTIONS_FAILED_TIMEOUT = "cryostat.connections.failed-timeout"; public static final String REPORTS_SIDECAR_URL = "cryostat.services.reports.url"; - public static final String MEMORY_CACHE_ENABLED = + public static final String REPORTS_MEMORY_CACHE_ENABLED = "cryostat.services.reports.memory-cache.enabled"; - public static final String STORAGE_CACHE_ENABLED = + public static final String REPORTS_STORAGE_CACHE_ENABLED = "cryostat.services.reports.storage-cache.enabled"; public static final String ARCHIVED_REPORTS_STORAGE_CACHE_NAME = "cryostat.services.reports.storage-cache.name"; diff --git a/src/main/java/io/cryostat/reports/MemoryCachingReportsListener.java b/src/main/java/io/cryostat/reports/MemoryCachingReportsListener.java index 7eb49715b..cbd29a80a 100644 --- a/src/main/java/io/cryostat/reports/MemoryCachingReportsListener.java +++ b/src/main/java/io/cryostat/reports/MemoryCachingReportsListener.java @@ -40,7 +40,7 @@ class MemoryCachingReportsListener { @ConfigProperty(name = "quarkus.cache.enabled") boolean quarkusCache; - @ConfigProperty(name = ConfigProperties.MEMORY_CACHE_ENABLED) + @ConfigProperty(name = ConfigProperties.REPORTS_MEMORY_CACHE_ENABLED) boolean memoryCache; @Inject diff --git a/src/main/java/io/cryostat/reports/MemoryCachingReportsService.java b/src/main/java/io/cryostat/reports/MemoryCachingReportsService.java index 1fd1bb9ad..433538ff2 100644 --- a/src/main/java/io/cryostat/reports/MemoryCachingReportsService.java +++ b/src/main/java/io/cryostat/reports/MemoryCachingReportsService.java @@ -48,7 +48,7 @@ class MemoryCachingReportsService implements ReportsService { @ConfigProperty(name = "quarkus.cache.enabled") boolean quarkusCache; - @ConfigProperty(name = ConfigProperties.MEMORY_CACHE_ENABLED) + @ConfigProperty(name = ConfigProperties.REPORTS_MEMORY_CACHE_ENABLED) boolean memoryCache; @Inject diff --git a/src/main/java/io/cryostat/reports/Reports.java b/src/main/java/io/cryostat/reports/Reports.java index dfd3677a7..da110a52e 100644 --- a/src/main/java/io/cryostat/reports/Reports.java +++ b/src/main/java/io/cryostat/reports/Reports.java @@ -46,7 +46,7 @@ @Path("") public class Reports { - @ConfigProperty(name = ConfigProperties.STORAGE_CACHE_ENABLED) + @ConfigProperty(name = ConfigProperties.REPORTS_STORAGE_CACHE_ENABLED) boolean storageCacheEnabled; @ConfigProperty(name = ConfigProperties.ARCHIVED_REPORTS_STORAGE_CACHE_NAME) diff --git a/src/main/java/io/cryostat/reports/StorageCachingReportsListener.java b/src/main/java/io/cryostat/reports/StorageCachingReportsListener.java index a44fe133d..d4632f597 100644 --- a/src/main/java/io/cryostat/reports/StorageCachingReportsListener.java +++ b/src/main/java/io/cryostat/reports/StorageCachingReportsListener.java @@ -34,7 +34,7 @@ @ApplicationScoped class StorageCachingReportsListener { - @ConfigProperty(name = ConfigProperties.STORAGE_CACHE_ENABLED) + @ConfigProperty(name = ConfigProperties.REPORTS_STORAGE_CACHE_ENABLED) boolean enabled; @ConfigProperty(name = ConfigProperties.ARCHIVED_REPORTS_STORAGE_CACHE_NAME) diff --git a/src/main/java/io/cryostat/reports/StorageCachingReportsService.java b/src/main/java/io/cryostat/reports/StorageCachingReportsService.java index 7a4a6e2b1..ef6381159 100644 --- a/src/main/java/io/cryostat/reports/StorageCachingReportsService.java +++ b/src/main/java/io/cryostat/reports/StorageCachingReportsService.java @@ -56,7 +56,7 @@ @Dependent class StorageCachingReportsService implements ReportsService { - @ConfigProperty(name = ConfigProperties.STORAGE_CACHE_ENABLED) + @ConfigProperty(name = ConfigProperties.REPORTS_STORAGE_CACHE_ENABLED) boolean enabled; @ConfigProperty(name = ConfigProperties.ARCHIVED_REPORTS_STORAGE_CACHE_NAME)