diff --git a/scraping/src/main/java/com/raccoon/scraper/config/LastFmConfig.java b/scraping/src/main/java/com/raccoon/scraper/config/LastFmConfig.java index 2b2f448a..18012473 100644 --- a/scraping/src/main/java/com/raccoon/scraper/config/LastFmConfig.java +++ b/scraping/src/main/java/com/raccoon/scraper/config/LastFmConfig.java @@ -1,14 +1,14 @@ package com.raccoon.scraper.config; -import javax.resource.spi.ConfigProperty; - -import io.smallrye.config.ConfigMapping; +import io.quarkus.arc.config.ConfigProperties; import lombok.Data; import lombok.NoArgsConstructor; +import javax.resource.spi.ConfigProperty; + @Data @NoArgsConstructor -@ConfigMapping(prefix = "last.fm") +@ConfigProperties(prefix = "last.fm") public class LastFmConfig { @ConfigProperty diff --git a/scraping/src/main/java/com/raccoon/scraper/config/SpotifyConfig.java b/scraping/src/main/java/com/raccoon/scraper/config/SpotifyConfig.java index f4b0d45b..2b8fe2a2 100644 --- a/scraping/src/main/java/com/raccoon/scraper/config/SpotifyConfig.java +++ b/scraping/src/main/java/com/raccoon/scraper/config/SpotifyConfig.java @@ -1,14 +1,14 @@ package com.raccoon.scraper.config; -import javax.resource.spi.ConfigProperty; - -import io.smallrye.config.ConfigMapping; +import io.quarkus.arc.config.ConfigProperties; import lombok.Data; import lombok.NoArgsConstructor; +import javax.resource.spi.ConfigProperty; + @Data @NoArgsConstructor -@ConfigMapping(prefix = "spotify") +@ConfigProperties(prefix = "spotify") public class SpotifyConfig { @ConfigProperty