Skip to content

Commit

Permalink
Sonar trivia #deploy-tenor-search-service
Browse files Browse the repository at this point in the history
  • Loading branch information
krharum committed Jan 23, 2024
1 parent f840cdd commit 403435e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public Mono<TenorResponse> call() {

log.info("Query-parameter: {}", query);
var requestParams = Map.of(
"kilde", getKilde(kilde).getKilde(),
"kilde", getKilde(kilde).getTenorKilde(),
"query", query,
"alle", "*");

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package no.nav.testnav.apps.tenorsearchservice.consumers.dto;

@SuppressWarnings("java:S115")
public enum InfoType {
IdenterKun,
Noekkelinfo,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ public enum Kilde {
FREG("freg"),
FORETAKSREGISTRET("brreg-er-fr");

private final String kilde;
private final String tenorKilde;

Kilde(String kilde) {
this.kilde = kilde;
Kilde(String tenorKilde) {
this.tenorKilde = tenorKilde;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import lombok.Getter;

@Getter
@SuppressWarnings("java:S115")
@AllArgsConstructor(access = AccessLevel.PRIVATE)
public enum Lookups {

Expand Down

0 comments on commit 403435e

Please sign in to comment.