Skip to content

Commit

Permalink
Merge branch 'refs/heads/master' into feature/ny-fullmakt-integrasjon
Browse files Browse the repository at this point in the history
  • Loading branch information
stigus committed Sep 19, 2024
2 parents c6b0dce + 0eb062b commit 7257423
Show file tree
Hide file tree
Showing 24 changed files with 29 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/proxy.aareg-proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
with:
cluster: "dev-fss"
working-directory: "proxies/aareg-proxy"
deploy-tag: "#deploy-proxy"
deploy-tag: "#deploy-proxy-aareg"
permissions:
contents: read
id-token: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/proxy.aareg-synt-services-proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
with:
cluster: "dev-fss"
working-directory: "proxies/aareg-synt-services-proxy"
deploy-tag: "#deploy-proxy"
deploy-tag: "#deploy-proxy-aareg-synt-services"
permissions:
contents: read
id-token: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/proxy.arbeidsplassencv-proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
uses: ./.github/workflows/common.workflow.backend.yml
with:
working-directory: "proxies/arbeidsplassencv-proxy"
deploy-tag: "#deploy-proxy"
deploy-tag: "#deploy-proxy-arbeidsplassencv"
permissions:
contents: read
id-token: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/proxy.arena-forvalteren-proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
with:
cluster: "dev-fss"
working-directory: "proxies/arena-forvalteren-proxy"
deploy-tag: "#deploy-proxy"
deploy-tag: "#deploy-proxy-arena-forvalteren"
permissions:
contents: read
id-token: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/proxy.batch-adeo-proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
with:
cluster: "dev-fss"
working-directory: "proxies/batch-adeo-proxy"
deploy-tag: "#deploy-proxy"
deploy-tag: "#deploy-proxy-batch-adeo"
permissions:
contents: read
id-token: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/proxy.brregstub-proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
with:
cluster: "dev-fss"
working-directory: "proxies/brregstub-proxy"
deploy-tag: "#deploy-proxy"
deploy-tag: "#deploy-proxy-brregstub"
permissions:
contents: read
id-token: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/proxy.ereg-proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
with:
cluster: "dev-fss"
working-directory: "proxies/ereg-proxy"
deploy-tag: "#deploy-proxy"
deploy-tag: "#deploy-proxy-ereg"
permissions:
contents: read
id-token: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/proxy.histark-proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
with:
cluster: "dev-fss"
working-directory: "proxies/histark-proxy"
deploy-tag: "#deploy-proxy"
deploy-tag: "#deploy-proxy-histark"
permissions:
contents: read
id-token: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/proxy.inntektstub-proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
with:
cluster: "dev-fss"
working-directory: "proxies/inntektstub-proxy"
deploy-tag: "#deploy-proxy"
deploy-tag: "#deploy-proxy-inntektstub"
permissions:
contents: read
id-token: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/proxy.inst-proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
with:
cluster: "dev-fss"
working-directory: "proxies/inst-proxy"
deploy-tag: "#deploy-proxy"
deploy-tag: "#deploy-proxy-inst"
permissions:
contents: read
id-token: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/proxy.kontoregister-person-proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
with:
cluster: "dev-fss"
working-directory: "proxies/kontoregister-person-proxy"
deploy-tag: "#deploy-proxy"
deploy-tag: "#deploy-proxy-kontoregister-person"
permissions:
contents: read
id-token: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/proxy.krrstub-proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
with:
cluster: "dev-fss"
working-directory: "proxies/krrstub-proxy"
deploy-tag: "#deploy-proxy"
deploy-tag: "#deploy-proxy-krrstub"
permissions:
contents: read
id-token: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/proxy.medl-proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
with:
cluster: "dev-fss"
working-directory: "proxies/medl-proxy"
deploy-tag: "#deploy-proxy"
deploy-tag: "#deploy-proxy-medl"
permissions:
contents: read
id-token: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/proxy.norg2-proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
with:
cluster: "dev-fss"
working-directory: "proxies/norg2-proxy"
deploy-tag: "#deploy-proxy"
deploy-tag: "#deploy-proxy-norg2"
permissions:
contents: read
id-token: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/proxy.pensjon-testdata-facade-proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
with:
cluster: "dev-fss"
working-directory: "proxies/pensjon-testdata-facade-proxy"
deploy-tag: "#deploy-proxy"
deploy-tag: "#deploy-proxy-pensjon"
permissions:
contents: read
id-token: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/proxy.saf-proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
with:
cluster: "dev-fss"
working-directory: "proxies/saf-proxy"
deploy-tag: "#deploy-proxy"
deploy-tag: "#deploy-proxy-saf"
permissions:
contents: read
id-token: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/proxy.sigrunstub-proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
with:
cluster: "dev-fss"
working-directory: "proxies/sigrunstub-proxy"
deploy-tag: "#deploy-proxy"
deploy-tag: "#deploy-proxy-sigrunstub"
permissions:
contents: read
id-token: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/proxy.skjermingsregister-proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
with:
cluster: "dev-fss"
working-directory: "proxies/skjermingsregister-proxy"
deploy-tag: "#deploy-proxy"
deploy-tag: "#deploy-proxy-skjermingsregister"
permissions:
contents: read
id-token: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/proxy.synthdata-meldekort-proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
uses: ./.github/workflows/common.workflow.backend.yml
with:
working-directory: "proxies/synthdata-meldekort-proxy"
deploy-tag: "#deploy-proxy"
deploy-tag: "#deploy-proxy-synthdata-meldekort"
permissions:
contents: read
id-token: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/proxy.udistub-proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
with:
cluster: "dev-fss"
working-directory: "proxies/udistub-proxy"
deploy-tag: "#deploy-proxy"
deploy-tag: "#deploy-proxy-udistub"
permissions:
contents: read
id-token: write
Expand Down
1 change: 0 additions & 1 deletion apps/dolly-frontend/src/main/js/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 6 additions & 3 deletions apps/dolly-frontend/src/main/js/src/api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ export const fetcher = (url, headers) =>
if (
(reason?.response?.status === 401 || reason?.response?.status === 403) &&
!url.includes('testnav-arbeidsplassencv') &&
!url.includes('infostripe')
!url.includes('infostripe') &&
!url.includes('norg2')
) {
console.error('Auth feilet, navigerer til login')
navigateToLogin()
Expand Down Expand Up @@ -158,7 +159,8 @@ const _fetch = (url: string, config: Config, body?: object): Promise<Response> =
if (
response?.status === 401 &&
!url.includes('testnav-arbeidsplassencv') &&
!url.includes('infostripe')
!url.includes('infostripe') &&
!url.includes('norg2')
) {
console.error('Auth feilet, navigerer til login')
navigateToLogin()
Expand Down Expand Up @@ -192,7 +194,8 @@ const _fetch = (url: string, config: Config, body?: object): Promise<Response> =
if (
response?.status === 401 &&
!url.includes('testnav-arbeidsplassencv') &&
!url.includes('infostripe')
!url.includes('infostripe') &&
!url.includes('norg2')
) {
console.error('Auth feilet, navigerer til login')
navigateToLogin()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ private FolkeregisterPersonstatusDTO handle(FolkeregisterPersonstatusDTO persons
personstatus.setGyldigFraOgMed(person.getFalskIdentitet().stream()
.filter(FalskIdentitetDTO::isFalskIdentitet)
.map(FalskIdentitetDTO::getGyldigFraOgMed)
.filter(Objects::nonNull)
.findFirst()
.orElse(LocalDateTime.now()));

Expand Down
3 changes: 2 additions & 1 deletion apps/pdl-forvalter/src/main/resources/application-local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@ spring:
connection-timeout: 15000
read-timeout: 30000
datasource:
url: jdbc:postgresql://localhost:5432/postgres
url: jdbc:postgresql://localhost:5433/pdl-forvalter-test
hikari:
maximum-pool-size: 10
minimum-idle: 1
driver-class-name: org.postgresql.Driver
username: postgres
jpa:
properties:
hibernate:
Expand Down

0 comments on commit 7257423

Please sign in to comment.