Skip to content

Commit

Permalink
Add access rules
Browse files Browse the repository at this point in the history
  • Loading branch information
dragutin-nav committed Jul 15, 2024
1 parent 9c607d6 commit 1eca58f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .nais/application/application-config-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ spec:
namespace: poao
- application: azure-token-generator
namespace: aura
outbound:
external:
- host: https://pdl-api.dev-fss-pub.nais.io
- host: https://norg2.dev-fss-pub.nais.io
- host: https://oppgave-q1.dev-fss-pub.nais.io
- host: https://veilarbperson.dev-fss-pub.nais.io
env:
- name: POAO_TILGANG_URL
value: http://poao-tilgang.poao
Expand Down
7 changes: 6 additions & 1 deletion .nais/application/application-config-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,12 @@ spec:
rules:
- application: veilarbpersonflate
namespace: poao

outbound:
external:
- host: https://pdl-api.prod-fss-pub.nais.io
- host: https://norg2.prod-fss-pub.nais.io
- host: https://oppgave.dev-fss-pub.nais.io
- host: https://veilarbperson.prod-fss-pub.nais.io
env:
- name: POAO_TILGANG_URL
value: http://poao-tilgang.poao
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
@Configuration
public class ApplicationConfig {

public static final String APPLICATION_NAME = "veilarboppgave";

private final Cache<PolicyInput, Decision> policyInputToDecisionCache = Caffeine.newBuilder()
.expireAfterWrite(Duration.ofMinutes(30))
.build();
Expand Down

0 comments on commit 1eca58f

Please sign in to comment.