Skip to content

Commit

Permalink
Fikset merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
betsytraran committed Oct 8, 2024
2 parents 41a06a0 + d763db8 commit 7234d13
Show file tree
Hide file tree
Showing 1,128 changed files with 14,749 additions and 23,766 deletions.
24 changes: 0 additions & 24 deletions .github/workflows/app.ereg-batch-status-service.yml

This file was deleted.

23 changes: 0 additions & 23 deletions .github/workflows/app.organisasjon-tilgang-frontend.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ jobs:
with:
working-directory: "apps/person-organisasjon-tilgang-service"
deploy-tag: "#deploy-person-organisasjon-tilgang-service"
deploy-tag-test: "#deploy-test-person-organisasjon-tilgang-service"
permissions:
contents: read
id-token: write
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/db.dolly-backend.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: db-dolly-backend

on:
push:
paths:
- "apps/dolly-db/db.dolly-backend.yml"
- "apps/dolly-db/src/**"
- ".github/workflows/db.dolly-backend.yml"

jobs:
workflow:
uses: ./.github/workflows/common.workflow.backend.yml
with:
working-directory: "apps/dolly-db"
nais-manifest: "db.dolly-backend.yml"
deploy-tag: "#db-dolly-backend"
sonar-enabled: false
permissions:
contents: read
id-token: write
secrets: inherit
20 changes: 20 additions & 0 deletions .github/workflows/db.organisasjon-forvalter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: db-organisasjon-forvalter

on:
push:
paths:
- "apps/dolly-db/db.organisasjon.forvalter.yml"
- ".github/workflows/db.organisasjon-forvalter.yml"

jobs:
workflow:
uses: ./.github/workflows/common.workflow.backend.yml
with:
working-directory: "apps/dolly-db"
nais-manifest: "db.organisasjon-forvalter.yml"
deploy-tag: "#db-organisasjon-forvalter"
sonar-enabled: false
permissions:
contents: read
id-token: write
secrets: inherit
20 changes: 20 additions & 0 deletions .github/workflows/db.pdl-forvalter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: db-pdl-forvalter

on:
push:
paths:
- "apps/dolly-db/db.pdl-forvalter.yml"
- ".github/workflows/db.pdl-forvalter.yml"

jobs:
workflow:
uses: ./.github/workflows/common.workflow.backend.yml
with:
working-directory: "apps/dolly-db"
nais-manifest: "db.pdl-forvalter.yml"
deploy-tag: "#db-pdl-forvalter"
sonar-enabled: false
permissions:
contents: read
id-token: write
secrets: inherit
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
24 changes: 0 additions & 24 deletions .github/workflows/proxy.modapp-ereg-proxy.yml

This file was deleted.

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
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,19 +81,19 @@ Eller kjør:
```

## Virtuelt miljø
Kjør kommandoen:

Kjør kommandoen:
```aiexclude
> JWK=$(cat ./mocks/jwk.json) docker compose up --build
```
JWK=$(cat ./mocks/jwk.json) docker compose up --build
Evt. i PowerShell:
```aiexclude
> $env:JWK=(Get-Content -Path ./mocks/jwk.json -Raw) ; docker compose up --build
```

Deretter kan itegrasjonstester kjøres med kommandoen:

Deretter kan itegrasjonstester kjøres med kommandoen:
```
./gradlew iTest
> ./gradlew iTest
```

NB: Dette vil kun fungere hvis appen støtter itegrasjonstester.
NB: Dette vil kun fungere hvis appen støtter integrasjonstester.


## Kode generert av GitHub Copilot
Expand Down
15 changes: 8 additions & 7 deletions apps/adresse-service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@ sonarqube {
}

dependencies {
implementation 'no.nav.testnav.libs:security-core'
implementation 'no.nav.testnav.libs:servlet-core'
implementation 'no.nav.testnav.libs:servlet-security'
implementation 'no.nav.testnav.libs:data-transfer-objects'
implementation "no.nav.testnav.libs:security-core"
implementation "no.nav.testnav.libs:servlet-core"
implementation "no.nav.testnav.libs:servlet-security"
implementation "no.nav.testnav.libs:data-transfer-objects"
implementation "no.nav.testnav.libs:vault"

implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-oauth2-client'
implementation "org.springframework.boot:spring-boot-starter-security"
implementation "org.springframework.boot:spring-boot-starter-web"
implementation "org.springframework.boot:spring-boot-starter-oauth2-client"

implementation "ma.glasnost.orika:orika-core:$versions.orika"
implementation "org.aspectj:aspectjweaver:$versions.jweaver"
Expand Down
7 changes: 7 additions & 0 deletions apps/adresse-service/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ spec:
path: /internal/isAlive
periodSeconds: 30
initialDelay: 30
observability:
logging:
destinations:
- id: elastic
autoInstrumentation:
enabled: true
runtime: java
readiness:
path: /internal/isReady
initialDelay: 30
Expand Down
Loading

0 comments on commit 7234d13

Please sign in to comment.