Skip to content

Commit

Permalink
* Endret oppsett for fullmakt til repr-fullmakt
Browse files Browse the repository at this point in the history
#deploy-proxy-fullmakt
#deploy-test-dolly-backend
#deploy-test-frontend
  • Loading branch information
stigus committed Nov 6, 2024
1 parent 16e30b6 commit 20b8b12
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
@RequiredArgsConstructor
public class DeleteFullmaktDataCommand implements Callable<Mono<ResponseEntity<Void>>> {

private static final String DELETE_FULLMAKT_URL = "/api/eksternbruker/fullmakt/fullmakt/{fullmaktId}";
private static final String DELETE_FULLMAKT_URL = "/api/fullmakt/{fullmaktId}";

private final WebClient webClient;
private final String ident;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
@RequiredArgsConstructor
public class GetFullmaktDataCommand implements Callable<Flux<FullmaktResponse>> {

private static final String HENT_FULLMAKT_URL = "/api/eksternbruker/fullmakt/fullmektig";
private static final String HENT_FULLMAKT_URL = "/api/fullmektig";

private final WebClient webClient;
private final String ident;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
@RequiredArgsConstructor
public class PostFullmaktDataCommand implements Callable<Mono<FullmaktResponse>> {

private static final String POST_FULLMAKT_URL = "/api/eksternbruker/fullmakt/fullmakt";
private static final String POST_FULLMAKT_URL = "/api/fullmakt";

private final WebClient webClient;
private final String token;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type FullmaktKodeverkType = {
export const useFullmektig = (ident: string) => {
const { data, isLoading, error } = useSWR<any, Error>(
[
ident && '/testnav-fullmakt-proxy/api/eksternbruker/fullmakt/fullmaktsgiver',
ident && '/testnav-fullmakt-proxy/api/fullmaktsgiver',
{ accept: 'application/json', 'Content-Type': 'application/json', fnr: ident },
],
([url, headers]) => fetcher(url, headers),
Expand All @@ -32,7 +32,7 @@ export const useFullmektig = (ident: string) => {
export const useFullmaktOmraader = () => {
const { data, isLoading, error } = useSWR<FullmaktKodeverkType, Error>(
[
'testnav-fullmakt-proxy/api/internbruker/fullmakt/omraade',
'/testnav-fullmakt-proxy/api/omraade',
{ accept: 'application/json', 'Content-Type': 'application/json', fnr: '12808012345' },
],
([url, headers]) => fetcher(url, headers),
Expand Down
2 changes: 1 addition & 1 deletion apps/dolly-frontend/src/main/js/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default defineConfig(({ mode }) => ({
},
},
},
optimizeDeps: { exclude: ['node_modules/.cache'] },
optimizeDeps: { exclude: ['node_modules/.cache', 'node_modules/.vite'] },
resolve: {
alias: {
'@': path.resolve(__dirname, './src'),
Expand Down
1 change: 0 additions & 1 deletion proxies/fullmakt-proxy/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ spec:
rules:
- application: repr-fullmakt
namespace: repr
cluster: dev-fss
liveness:
path: /internal/isAlive
initialDelay: 4
Expand Down

0 comments on commit 20b8b12

Please sign in to comment.