Skip to content

Commit

Permalink
Fixet merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
betsytraran committed Apr 4, 2024
2 parents adb31ad + 2a4b97c commit acfaa56
Show file tree
Hide file tree
Showing 298 changed files with 11,253 additions and 18,596 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/app.ereg-batch-status-service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
workflow:
uses: ./.github/workflows/common.workflow.backend.yml
with:
cluster: "dev-fss"
cluster: "dev-gcp"
working-directory: "apps/ereg-batch-status-service"
deploy-tag: "#deploy-ereg-batch-status-service"
permissions:
Expand Down
21 changes: 0 additions & 21 deletions .github/workflows/app.geografiske-kodeverk-service.yml

This file was deleted.

22 changes: 22 additions & 0 deletions .github/workflows/app.kodeverk-service.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: kodeverk-service

on:
push:
paths:
- libs/security-core
- libs/reactive-core
- libs/reactive-security
- libs/data-transfer-objects
- apps/kodeverk-service/**
- .github/workflows/app.kodeverk-service.yml

jobs:
workflow:
uses: ./.github/workflows/common.workflow.backend.yml
with:
working-directory: "apps/kodeverk-service"
deploy-tag: "#deploy-kodeverk-service"
permissions:
contents: read
id-token: write
secrets: inherit
21 changes: 21 additions & 0 deletions .github/workflows/app.team-dolly-lokal-app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: team-dolly-lokal-app

on:
push:
paths:
- .nais/team-dolly-lokal-app.yml
- .github/workflows/app.team-dolly-lokal-app.yml

jobs:
deploy:
name: Deploy team-dolly-lokal-app
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: nais/deploy/actions/deploy@v2
env:
CLUSTER: dev-gcp
RESOURCE: .nais/team-dolly-lokal-app.yml
35 changes: 0 additions & 35 deletions .github/workflows/build.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Tests
name: Integration Tests
on:
push:
branches:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
name: tps-forvalteren-proxy
name: modapp-ereg-proxy

on:
push:
paths:
- libs/reactive-core
- libs/reactive-proxy
- proxies/tps-forvalteren-proxy/**
- .github/workflows/proxy.tps-forvalteren-proxy.yml
- libs/reactive-security
- libs/security-core
- proxies/modapp-ereg-proxy/**
- .github/workflows/proxy.modapp-ereg-proxy.yml

jobs:
workflow:
uses: ./.github/workflows/common.workflow.backend.yml
with:
cluster: "dev-fss"
working-directory: "proxies/tps-forvalteren-proxy"
working-directory: "proxies/modapp-ereg-proxy"
deploy-tag: "#deploy-proxy"
permissions:
contents: read
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
*.idea/
*target/
*.iml
*.http

# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

Expand Down
18 changes: 18 additions & 0 deletions .nais/team-dolly-lokal-app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
apiVersion: nais.io/v1
kind: AzureAdApplication
metadata:
labels:
team: dolly
name: team-dolly-lokal-app
namespace: dolly
spec:
allowAllUsers: true
logoutUrl: https://localhost:8080/oauth2/logout
preAuthorizedApplications:
- application: testnav-oversikt-frontend
cluster: dev-gcp
namespace: dolly
replyUrls:
- url: http://localhost:8080/login/oauth2/code/aad
secretName: azuread-team-dolly-lokal-app
tenant: nav.no
4 changes: 3 additions & 1 deletion apps/adresse-service/src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,6 @@ management:
server:
servlet:
encoding:
charset: UTF-8
charset: UTF-8
error:
include-message: always
4 changes: 3 additions & 1 deletion apps/amelding-service/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,6 @@ management:
server:
servlet:
encoding:
charset: UTF-8
charset: UTF-8
error:
include-message: always
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,6 @@ management:
server:
servlet:
encoding:
charset: UTF-8
charset: UTF-8
error:
include-message: always
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,6 @@ management:
server:
servlet:
encoding:
charset: UTF-8
charset: UTF-8
error:
include-message: always
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ server:
servlet:
encoding:
charset: UTF-8
error:
include-message: always

consumers:
dolly-backend:
Expand Down
4 changes: 3 additions & 1 deletion apps/brreg-stub/src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,6 @@ management:
server:
servlet:
encoding:
charset: UTF-8
charset: UTF-8
error:
include-message: always
4 changes: 3 additions & 1 deletion apps/bruker-service/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,6 @@ management:
server:
servlet:
encoding:
charset: UTF-8
charset: UTF-8
error:
include-message: always
7 changes: 7 additions & 0 deletions apps/budpro-service/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,10 @@ consumers:
app:
security:
allow-api: true

server:
servlet:
encoding:
charset: UTF-8
error:
include-message: always
5 changes: 3 additions & 2 deletions apps/dolly-backend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,6 @@ TESTCONTAINERS_RYUK_DISABLED=true
For å kjøre lokalt med elastic search:

```
docker run -p 9200:9200 -p 9600:9600 -e "discovery.type=single-node" -e "plugins.security.disabled=true" --name opensearch-node -d opensearchproject/opensearch:latest
```
docker run -p 9200:9200 -p 9600:9600 -e "discovery.type=single-node" -e "plugins.security.disabled=true" -e "OPENSEARCH_INITIAL_ADMIN_PASSWORD=YLAgOm}rz#o6#Aq" --name opensearch -d opensearchproject/opensearch:latest
```
Legg merke til passord `YLAgOm}rz#o6#Aq` (tilfeldig [generert](https://www.strongpasswordgenerator.org/), men må være "sterkt" ellers vil ikke OpenSearch starte).
21 changes: 10 additions & 11 deletions apps/dolly-backend/config.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,19 @@ spec:
outbound:
rules:
- application: testnav-amelding-service
- application: testnav-arbeidsforhold-service
- application: testnav-arbeidsplassencv-proxy
- application: testnorge-profil-api-dev
- application: testnav-tps-messaging-service
- application: testnav-inntektsmelding-service
- application: testnav-kodeverk-service
- application: testnav-miljoer-service
- application: testnav-organisasjon-forvalter
- application: testnav-organisasjon-service
- application: testnav-pdl-forvalter-dev
- application: testnav-person-service
- application: testnav-sykemelding-api
- application: testnav-synt-sykemelding-api
- application: testnav-person-service
- application: testnav-pdl-forvalter-dev
- application: testnav-organisasjon-service
- application: testnav-organisasjon-forvalter
- application: testnav-miljoer-service
- application: testnav-inntektsmelding-service
- application: testnav-arbeidsforhold-service
- application: testnav-tps-messaging-service
- application: testnorge-profil-api-dev
external:
- host: testnav-arena-forvalteren-proxy.dev-fss-pub.nais.io
- host: testnav-brregstub-proxy.dev-fss-pub.nais.io
Expand All @@ -61,9 +62,7 @@ spec:
- host: testnav-pdl-proxy.dev-fss-pub.nais.io
- host: testnav-sigrunstub-proxy.dev-fss-pub.nais.io
- host: testnav-skjermingsregister-proxy.dev-fss-pub.nais.io
- host: kodeverk-api.nav.no
- host: testnav-udistub-proxy.dev-fss-pub.nais.io
- host: tps-forvalteren-dev-proxy.dev-fss-pub.nais.io
webproxy: true
azure:
application:
Expand Down
21 changes: 10 additions & 11 deletions apps/dolly-backend/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,19 @@ spec:
outbound:
rules:
- application: testnav-amelding-service
- application: testnav-arbeidsforhold-service
- application: testnav-arbeidsplassencv-proxy
- application: testnav-tps-messaging-service
- application: testnorge-profil-api
- application: testnav-inntektsmelding-service
- application: testnav-kodeverk-service
- application: testnav-miljoer-service
- application: testnav-organisasjon-forvalter
- application: testnav-organisasjon-service
- application: testnav-pdl-forvalter
- application: testnav-person-service
- application: testnav-sykemelding-api
- application: testnav-synt-sykemelding-api
- application: testnav-person-service
- application: testnav-pdl-forvalter
- application: testnav-organisasjon-service
- application: testnav-organisasjon-forvalter
- application: testnav-miljoer-service
- application: testnav-inntektsmelding-service
- application: testnav-arbeidsforhold-service
- application: testnav-tps-messaging-service
- application: testnorge-profil-api
external:
- host: testnav-arena-forvalteren-proxy.dev-fss-pub.nais.io
- host: testnav-brregstub-proxy.dev-fss-pub.nais.io
Expand All @@ -63,14 +64,12 @@ spec:
- host: testnav-inst-proxy.dev-fss-pub.nais.io
- host: testnav-kontoregister-person-proxy.dev-fss-pub.nais.io
- host: testnav-krrstub-proxy.dev-fss-pub.nais.io
- host: kodeverk-api.nav.no
- host: testnav-norg2-proxy.dev-fss-pub.nais.io
- host: testnav-pensjon-testdata-facade-proxy.dev-fss-pub.nais.io
- host: testnav-pdl-proxy.dev-fss-pub.nais.io
- host: testnav-sigrunstub-proxy.dev-fss-pub.nais.io
- host: testnav-skjermingsregister-proxy.dev-fss-pub.nais.io
- host: testnav-udistub-proxy.dev-fss-pub.nais.io
- host: tps-forvalteren-proxy.dev-fss-pub.nais.io
webproxy: true
azure:
application:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ public static void main(String[] args) {

SpringApplication.run(DollyBackendApplicationStarter.class, args);
}
}
}
Loading

0 comments on commit acfaa56

Please sign in to comment.