From 912353d4f6e3e11b65b171171f7f4390f6c1c24a Mon Sep 17 00:00:00 2001 From: Michiel Meeuwissen Date: Tue, 4 Jun 2024 11:34:46 +0200 Subject: [PATCH] restored support for creds.properties again. --- .../src/main/java/nl/vpro/api/client/media/MediaRestClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-backend-api-client/src/main/java/nl/vpro/api/client/media/MediaRestClient.java b/media-backend-api-client/src/main/java/nl/vpro/api/client/media/MediaRestClient.java index 40dd0145..62c2cc54 100644 --- a/media-backend-api-client/src/main/java/nl/vpro/api/client/media/MediaRestClient.java +++ b/media-backend-api-client/src/main/java/nl/vpro/api/client/media/MediaRestClient.java @@ -347,7 +347,7 @@ public static Builder configured(Env env, String... configFiles) { */ public static Builder configured(Env env) { Builder builder = builder(); - Config config = new Config(URLS_FILE, "mediarestclient.properties"); + Config config = new Config(URLS_FILE, "mediarestclient.properties", "creds.properties"); config.setEnv(env); ReflectionUtils.configured(builder, config.getProperties(Config.Prefix.media_api_backend)); return builder;