Skip to content

Commit a6d7582

Browse files
committed
Refactor logging configuration and optimize Tags service constants #deploy-test-dolly-search-service
1 parent c162116 commit a6d7582

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

apps/dolly-search-service/src/main/java/no/nav/testnav/dollysearchservice/consumer/command/TagsGetCommand.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public Mono<Map<String, List<String>>> call() {
3535
.path(PDL_TAGS_URL)
3636
.build())
3737
.header(HttpHeaders.AUTHORIZATION, "Bearer " + token)
38-
.header(PERSONIDENTER, identer.toArray(new String[0]))
38+
.header(PERSONIDENTER, identer.toArray(String[]::new))
3939
.retrieve()
4040
.bodyToMono(RESPONSE_TYPE)
4141
.retryWhen(Retry.backoff(3, Duration.ofSeconds(5))

apps/dolly-search-service/src/main/java/no/nav/testnav/dollysearchservice/service/TagsService.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
@RequiredArgsConstructor
1919
public class TagsService {
2020

21-
private static final int BOLK_SIZE = 500;
21+
private static final int BOLK_SIZE = 100;
2222

2323
private final BestillingQueryService bestillingQueryService;
2424
private final PdlProxyConsumer pdlProxyConsumer;

apps/dolly-search-service/src/main/resources/logback-spring.xml

-2
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,4 @@
3636
</root>
3737
</springProfile>
3838
<logger level="TRACE" name="no.nav.testnav.libs.servletcore.logging.LogRequestInterceptor"/>
39-
<logger level="TRACE"
40-
name="no.nav.registre.testnorge.arbeidsforholdservice.consumer.command.SaveOpplysningspliktigCommand"/>
4139
</configuration>

0 commit comments

Comments
 (0)