Skip to content

Commit

Permalink
Fikset aareg-proxy
Browse files Browse the repository at this point in the history
Endret deploy for proxyer, kan nå bruke kun deploy-proxy
#deploy-proxy
  • Loading branch information
stigus committed Oct 20, 2023
1 parent 0c74e8d commit ea002f0
Show file tree
Hide file tree
Showing 28 changed files with 29 additions and 34 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 @@ -16,7 +16,7 @@ jobs:
with:
cluster: "dev-fss"
working-directory: "proxies/aareg-proxy"
deploy-tag: "#deploy-aareg-proxy"
deploy-tag: "#deploy-proxy"
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 @@ -14,7 +14,7 @@ jobs:
with:
cluster: "dev-fss"
working-directory: "proxies/aareg-synt-services-proxy"
deploy-tag: "#deploy-aareg-synt-services-proxy"
deploy-tag: "#deploy-proxy"
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:
with:
cluster: "dev-fss"
working-directory: "proxies/arbeidsplassencv-proxy"
deploy-tag: "#deploy-arbeidsplassencv-proxy"
deploy-tag: "#deploy-proxy"
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 @@ -14,7 +14,7 @@ jobs:
with:
cluster: "dev-fss"
working-directory: "proxies/arena-forvalteren-proxy"
deploy-tag: "#deploy-arena-forvalteren-proxy"
deploy-tag: "#deploy-proxy"
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 @@ -14,7 +14,7 @@ jobs:
with:
cluster: "dev-fss"
working-directory: "proxies/batch-adeo-proxy"
deploy-tag: "#deploy-batch-adeo-proxy"
deploy-tag: "#deploy-proxy"
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 @@ -14,7 +14,7 @@ jobs:
with:
cluster: "dev-fss"
working-directory: "proxies/brregstub-proxy"
deploy-tag: "#deploy-brregstub-proxy"
deploy-tag: "#deploy-proxy"
permissions:
contents: read
id-token: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/proxy.dokarkiv-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/dokarkiv-proxy"
deploy-tag: "#deploy-dokarkiv-proxy"
deploy-tag: "#deploy-proxy"
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 @@ -14,7 +14,7 @@ jobs:
with:
cluster: "dev-fss"
working-directory: "proxies/ereg-proxy"
deploy-tag: "#deploy-ereg-proxy"
deploy-tag: "#deploy-proxy"
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 @@ -14,7 +14,7 @@ jobs:
with:
cluster: "dev-fss"
working-directory: "proxies/histark-proxy"
deploy-tag: "#deploy-histark-proxy"
deploy-tag: "#deploy-proxy"
permissions:
contents: read
id-token: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/proxy.hodejegeren-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/hodejegeren-proxy"
deploy-tag: "#deploy-hodejegeren-proxy"
deploy-tag: "#deploy-proxy"
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 @@ -14,7 +14,7 @@ jobs:
with:
cluster: "dev-fss"
working-directory: "proxies/inntektstub-proxy"
deploy-tag: "#deploy-inntektstub-proxy"
deploy-tag: "#deploy-proxy"
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 @@ -14,7 +14,7 @@ jobs:
with:
cluster: "dev-fss"
working-directory: "proxies/inst-proxy"
deploy-tag: "#deploy-inst-proxy"
deploy-tag: "#deploy-proxy"
permissions:
contents: read
id-token: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/proxy.kodeverk-proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
with:
cluster: "dev-fss"
working-directory: "proxies/kodeverk-proxy"
deploy-tag: "#deploy-kodeverk-proxy"
deploy-tag: "#deploy-proxy"
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 @@ -16,7 +16,7 @@ jobs:
with:
cluster: "dev-fss"
working-directory: "proxies/kontoregister-person-proxy"
deploy-tag: "#deploy-kontoregister-person-proxy"
deploy-tag: "#deploy-proxy"
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 @@ -16,7 +16,7 @@ jobs:
with:
cluster: "dev-fss"
working-directory: "proxies/krrstub-proxy"
deploy-tag: "#deploy-krrstub-proxy"
deploy-tag: "#deploy-proxy"
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 @@ -18,7 +18,7 @@ jobs:
with:
cluster: "dev-fss"
working-directory: "proxies/medl-proxy"
deploy-tag: "#deploy-medl-proxy"
deploy-tag: "#deploy-proxy"
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 @@ -14,7 +14,7 @@ jobs:
with:
cluster: "dev-fss"
working-directory: "proxies/norg2-proxy"
deploy-tag: "#deploy-norg2-proxy"
deploy-tag: "#deploy-proxy"
permissions:
contents: read
id-token: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/proxy.pdl-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/pdl-proxy"
deploy-tag: "#deploy-pdl-proxy"
deploy-tag: "#deploy-proxy"
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 @@ -16,7 +16,7 @@ jobs:
with:
cluster: "dev-fss"
working-directory: "proxies/pensjon-testdata-facade-proxy"
deploy-tag: "#deploy-pensjon-testdata-facade-proxy"
deploy-tag: "#deploy-proxy"
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 @@ -16,7 +16,7 @@ jobs:
with:
cluster: "dev-fss"
working-directory: "proxies/saf-proxy"
deploy-tag: "#deploy-saf-proxy"
deploy-tag: "#deploy-proxy"
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 @@ -14,7 +14,7 @@ jobs:
with:
cluster: "dev-fss"
working-directory: "proxies/sigrunstub-proxy"
deploy-tag: "#deploy-sigrunstub-proxy"
deploy-tag: "#deploy-proxy"
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 @@ -15,7 +15,7 @@ jobs:
with:
cluster: "dev-fss"
working-directory: "proxies/skjermingsregister-proxy"
deploy-tag: "#deploy-skjermingsregister-proxy"
deploy-tag: "#deploy-proxy"
permissions:
contents: read
id-token: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/proxy.statisk-data-forvalter-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/statisk-data-forvalter-proxy"
deploy-tag: "#deploy-statisk-data-forvalter-proxy"
deploy-tag: "#deploy-proxy"
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 @@ -15,7 +15,7 @@ jobs:
uses: ./.github/workflows/common.workflow.backend.yml
with:
working-directory: "proxies/synthdata-meldekort-proxy"
deploy-tag: "#deploy-synthdata-meldekort-proxy"
deploy-tag: "#deploy-proxy"
permissions:
contents: read
id-token: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/proxy.tps-forvalteren-proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
with:
cluster: "dev-fss"
working-directory: "proxies/tps-forvalteren-proxy"
deploy-tag: "#deploy-tps-forvalteren-proxy"
deploy-tag: "#deploy-proxy"
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 @@ -16,7 +16,7 @@ jobs:
with:
cluster: "dev-fss"
working-directory: "proxies/udistub-proxy"
deploy-tag: "#deploy-udistub-proxy"
deploy-tag: "#deploy-proxy"
permissions:
contents: read
id-token: write
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,8 @@ public class LocalSecurityConfig {
@Bean
public SecurityWebFilterChain securityWebFilterChain(ServerHttpSecurity http) {
return http
.csrf().disable()
.authorizeExchange()
.anyExchange()
.permitAll()
.and()
.csrf(ServerHttpSecurity.CsrfSpec::disable)
.authorizeExchange(authorizeExchangeSpec -> authorizeExchangeSpec.anyExchange().permitAll())
.build();
}

}
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package no.nav.testnav.proxies.aareg;

import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.mock.mockito.MockBean;
Expand All @@ -15,7 +14,7 @@ class ApplicationContextTest {

@MockBean
@SuppressWarnings("unused")
private JwtDecoder jwtDecoder;
private ReactiveJwtDecoder jwtDecoder;

@Test
void contextLoads() {
Expand Down

0 comments on commit ea002f0

Please sign in to comment.