Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/spring updates #3714

Merged
merged 35 commits into from
Jan 14, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
093092b
Spring oppdatering for diverse apper, refaktorering vekk fra deprecat…
stigus Jan 8, 2025
91e89ac
- Backend spring oppdatering
stigus Jan 8, 2025
0ddcb33
- Backend spring oppdatering
stigus Jan 8, 2025
6cc6a95
- Fikset MalBestillingControllerTest
stigus Jan 8, 2025
299a251
Merge branch 'master' into feature/spring-updates
stigus Jan 9, 2025
e0227e0
Merge branch 'refs/heads/master' into feature/spring-updates
stigus Jan 9, 2025
1d33cc2
Merge branch 'master' into feature/spring-updates
stigus Jan 9, 2025
bbfae0e
Merge remote-tracking branch 'origin/feature/spring-updates' into fea…
stigus Jan 9, 2025
e6a2d40
Merge branch 'refs/heads/master' into feature/spring-updates
stigus Jan 9, 2025
a3330c5
- Mer testendringer og spring boot oppdateringer
stigus Jan 10, 2025
9f0f1ad
Merge branch 'master' into feature/spring-updates
stigus Jan 10, 2025
c405627
- Backend deploy
stigus Jan 10, 2025
ee4b875
Integration test path fix altinn3
stigus Jan 10, 2025
6cba3f8
- Integration test fix
stigus Jan 10, 2025
f8bcac3
- Mer test endringer
stigus Jan 10, 2025
bc3d8c1
- Test fix OrganisasjonMalBestillingServiceTest
stigus Jan 13, 2025
483a584
Merge branch 'master' into feature/spring-updates
stigus Jan 13, 2025
3cd2225
- Test fix OrganisasjonMalBestillingServiceTest
stigus Jan 13, 2025
3bf9001
- Deploy
stigus Jan 13, 2025
267b6fa
Merge branch 'master' into feature/spring-updates
stigus Jan 13, 2025
4e8d432
- Ny deploy
stigus Jan 13, 2025
7c7a28d
- Test
stigus Jan 13, 2025
6d0832e
Merge branch 'master' into feature/spring-updates
stigus Jan 14, 2025
a2c40d4
- Fjernet OrganisasjonMalBestillingServiceTest for å se om build fung…
stigus Jan 14, 2025
57fee6a
- Mindre test refactor
stigus Jan 14, 2025
4d9b1d5
Merge branch 'master' into feature/spring-updates
stigus Jan 14, 2025
cc7770d
Deployer diverse apper etter spring oppdatering for å se at ting fung…
stigus Jan 14, 2025
e992324
Merge remote-tracking branch 'origin/feature/spring-updates' into fea…
stigus Jan 14, 2025
b9c6ca2
Deployer diverse apper etter spring oppdatering for å se at ting fung…
stigus Jan 14, 2025
8f5b4f8
Develocity update
stigus Jan 14, 2025
1e8cac1
Fjernet disabled tester
stigus Jan 14, 2025
a70f2d6
Test fix statisk-data-forvalter
stigus Jan 14, 2025
0e0a6b6
Test fix statisk-data-forvalter
stigus Jan 14, 2025
7baad9f
Test fix statisk-data-forvalter
stigus Jan 14, 2025
08681a8
Test fix statisk-data-forvalter
stigus Jan 14, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Test fix statisk-data-forvalter
#deploy-test-bruker-service
#deploy-test-pdl-forvalter
#deploy-test-frontend
  • Loading branch information
stigus committed Jan 14, 2025
commit a70f2d6dd533f36dc33d97965e40e0c29e3445fc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import no.nav.registre.sdforvalter.JwtDecoderConfig;
import no.nav.registre.sdforvalter.consumer.rs.aareg.request.RsAaregSyntetiseringsRequest;
import no.nav.registre.sdforvalter.consumer.rs.kodeverk.response.KodeverkResponse;
import no.nav.registre.sdforvalter.database.model.AaregModel;
Expand All @@ -19,8 +18,8 @@
import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.cloud.contract.wiremock.AutoConfigureWireMock;
import org.springframework.context.annotation.Import;
import org.springframework.http.MediaType;
import org.springframework.security.oauth2.jwt.JwtDecoder;
import org.springframework.test.context.ActiveProfiles;
import org.springframework.test.context.bean.override.mockito.MockitoBean;
import org.springframework.test.context.junit.jupiter.SpringExtension;
Expand All @@ -46,7 +45,6 @@
@ActiveProfiles("test")
@AutoConfigureMockMvc
@AutoConfigureWireMock(port = 0)
@Import(JwtDecoderConfig.class)
class OrkestreringControllerAaregIntegrationTest {

private static final String FNR = "01010101010";
Expand All @@ -61,6 +59,8 @@ class OrkestreringControllerAaregIntegrationTest {
private MockMvc mvc;
@MockitoBean
private TokenExchange tokenExchange;
@MockitoBean
private JwtDecoder jwtDecoder;
@Autowired
private AaregRepository aaregRepository;
@Autowired
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package no.nav.registre.sdforvalter.provider.rs;

import com.fasterxml.jackson.databind.ObjectMapper;
import no.nav.registre.sdforvalter.JwtDecoderConfig;
import no.nav.registre.sdforvalter.consumer.rs.krr.request.KrrRequest;
import no.nav.registre.sdforvalter.database.model.KrrModel;
import no.nav.registre.sdforvalter.database.repository.KrrRepository;
Expand All @@ -14,11 +13,12 @@
import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.cloud.contract.wiremock.AutoConfigureWireMock;
import org.springframework.context.annotation.Import;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.security.oauth2.jwt.JwtDecoder;
import org.springframework.test.annotation.DirtiesContext;
import org.springframework.test.context.ActiveProfiles;
import org.springframework.test.context.bean.override.mockito.MockitoBean;
import org.springframework.test.context.junit.jupiter.SpringExtension;
import org.springframework.test.web.servlet.MockMvc;

Expand All @@ -35,7 +35,6 @@
@ActiveProfiles("test")
@AutoConfigureWireMock(port = 0)
@AutoConfigureMockMvc(addFilters = false)
@Import(JwtDecoderConfig.class)
@DirtiesContext
class OrkestreringControllerKrrIntegrationTest {

Expand All @@ -48,6 +47,9 @@ class OrkestreringControllerKrrIntegrationTest {
@Autowired
private KrrRepository repository;

@MockitoBean
private JwtDecoder jwtDecoder;

@AfterEach
public void cleanUp() {
reset();
Expand Down
Loading