diff --git a/bruno/Metrics Service/Get.bru b/bruno/Get.bru similarity index 100% rename from bruno/Metrics Service/Get.bru rename to bruno/Get.bru diff --git a/bruno/Metrics Service/Insert.bru b/bruno/Insert.bru similarity index 100% rename from bruno/Metrics Service/Insert.bru rename to bruno/Insert.bru diff --git a/bruno/Metrics Service/bruno.json b/bruno/bruno.json similarity index 100% rename from bruno/Metrics Service/bruno.json rename to bruno/bruno.json diff --git a/src/main/java/dev/dinauer/metrics/service/utils/BucketConfigProvider.java b/src/main/java/dev/dinauer/metrics/service/utils/BucketConfigProvider.java index d6b05e6..7673f20 100644 --- a/src/main/java/dev/dinauer/metrics/service/utils/BucketConfigProvider.java +++ b/src/main/java/dev/dinauer/metrics/service/utils/BucketConfigProvider.java @@ -21,7 +21,7 @@ public class BucketConfigProvider private final Set units; @Inject - public BucketConfigProvider(Logger LOG, @ConfigProperty(name = "dev.dinauer.metrics-service.buckets") String config) + public BucketConfigProvider(Logger LOG, @ConfigProperty(name = "big.bucket.units") String config) { Set result = new OrderedHashSet<>(); for (String unit : config.split(",")) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index ee889e0..6df0b1d 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -2,7 +2,10 @@ quarkus.http.root-path=/api/metrics %dev.quarkus.http.port=4000 -dev.dinauer.metrics-service.buckets=RAW,HOURLY,DAILY,WEEKLY,MONTHLY,YEARLY,TOTAL +# Test Client +%dev.big.bucket.client.test.rw=test + +big.bucket.units=RAW,HOURLY,DAILY,WEEKLY,MONTHLY,YEARLY,TOTAL dev.dinauer.metrics-service.client.kubooboo.ro=3749832748923748923 dev.dinauer.metrics-service.jwt.client.field=upn