Skip to content

Commit

Permalink
UPDATE: application settings
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremiahUy committed Nov 29, 2024
1 parent c83e5b2 commit cc4088b
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public class NavCommonCodeClient {
@Value("${app.scope.kodeverk}")
private String kodeverkScope;

@Value("${app.common-code.tokened-header}")
@Value("${polly.security.client.enabled}")
private boolean tokenedHeader;

public NavCommonCodeClient(RestTemplate restTemplate, NavCommonCodeProps props, AzureTokenProvider azureTokenProvider) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
@Data
public class NavCommonCodeProps {

private boolean enabled = true;
private String getWithTextUrl;
private String countriesCode;
private String eeaCountriesCode;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
polly.security.enabled=false
polly.security.client.enabled=false
app.common-code.tokened-header=false

# DATABASE
DB_HOST=localhost
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ polly.security.client.enabled=false
# Auth header for integrations
app.name: test
app.scope.kodeverk: api://cluster.team.app/.default
app.common-code.tokened-header=false


# Database
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ client.teamcat.resource-url=${client.teamcat.url}/resource/{ident}
client.teamcat.resources-url: ${client.teamcat.url}/resource/multi
client.teamcat.resource-search-url=${client.teamcat.url}/resource/search/{searchTerm}

app.common-code.tokened-header=true
app.name: ${APP_NAME}
app.scope.kodeverk: ${APP_SCOPE_KODEVERK}

Expand Down

0 comments on commit cc4088b

Please sign in to comment.