Skip to content

Commit

Permalink
ARKIV-260 Rename everything to VIGO
Browse files Browse the repository at this point in the history
  • Loading branch information
oleanders committed Apr 15, 2024
1 parent 6b50c89 commit 4dd8cc9
Show file tree
Hide file tree
Showing 16 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ RUN gradle --no-daemon build

FROM gcr.io/distroless/java17
ENV JAVA_TOOL_OPTIONS -XX:+ExitOnOutOfMemoryError
COPY --from=builder /home/gradle/build/libs/fint-flyt-oppfolgingstjenesten-gateway-*.jar /data/app.jar
COPY --from=builder /home/gradle/build/libs/fint-flyt-vigo-gateway-*.jar /data/app.jar
CMD ["/data/app.jar"]
8 changes: 4 additions & 4 deletions kustomize/base/flais.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
apiVersion: fintlabs.no/v1alpha1
kind: Application
metadata:
name: fint-flyt-oppfolgingstjenesten-gateway
name: fint-flyt-vigo-gateway
namespace: fintlabs-no
labels:
app.kubernetes.io/name: fint-flyt-oppfolgingstjenesten-gateway
app.kubernetes.io/instance: fint-flyt-oppfolgingstjenesten-gateway_fintlabs_no
app.kubernetes.io/name: fint-flyt-vigo-gateway
app.kubernetes.io/instance: fint-flyt-vigo-gateway_fintlabs_no
app.kubernetes.io/version: latest
app.kubernetes.io/component: backend
app.kubernetes.io/part-of: fint-flyt
Expand All @@ -15,7 +15,7 @@ spec:
port: 8080
imagePullPolicy: Always
orgId: fintlabs.no
image: ghcr.io/fintlabs/fint-flyt-oppfolgingstjenesten-gateway:sha-0000000
image: ghcr.io/fintlabs/fint-flyt-vigo-gateway:sha-0000000
kafka:
enabled: true
acls:
Expand Down
2 changes: 1 addition & 1 deletion kustomize/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ kind: Kustomization
resources:
- flais.yaml
- oauth2-file-client.yaml
- oauth2-oppfolgingstjenesten-client.yaml
- oauth2-vigo-client.yaml
6 changes: 3 additions & 3 deletions kustomize/base/oauth2-oppfolgingstjenesten-client.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
apiVersion: "fintlabs.no/v1alpha1"
kind: NamOAuthClientApplicationResource
metadata:
name: fint-flyt-oppfolgingstjenesten-oauth2-client
name: fint-flyt-vigo-oauth2-client
spec:
clientIdProperty: fint.flyt.oppfolgingstjenesten.sso.client-id
clientSecretProperty: fint.flyt.oppfolgingstjenesten.sso.client-secret
clientIdProperty: fint.flyt.vigo.sso.client-id
clientSecretProperty: fint.flyt.vigo.sso.client-secret
grantTypes:
- client_credentials
6 changes: 3 additions & 3 deletions kustomize/overlays/fintlabs-no/beta/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ resources:
- ../../../base

commonLabels:
app.kubernetes.io/instance: fint-flyt-oppfolgingstjenesten-gateway_fintlabs_no
app.kubernetes.io/instance: fint-flyt-vigo-gateway_fintlabs_no
fintlabs.no/org-id: fintlabs.no

patches:
Expand All @@ -22,8 +22,8 @@ patches:
value: "/beta/fintlabs-no"
- op: replace
path: "/spec/ingress/basePath"
value: "/beta/fintlabs-no/api/oppfolgingstjenesten"
value: "/beta/fintlabs-no/api/vigo"
target:
kind: Application
name: fint-flyt-oppfolgingstjenesten-gateway
name: fint-flyt-vigo-gateway
6 changes: 3 additions & 3 deletions kustomize/overlays/ofk-no/beta/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ resources:
- ../../../base

commonLabels:
app.kubernetes.io/instance: fint-flyt-oppfolgingstjenesten-gateway_ofk_no
app.kubernetes.io/instance: fint-flyt-vigo-gateway_ofk_no
fintlabs.no/org-id: ofk.no

patches:
Expand All @@ -22,8 +22,8 @@ patches:
value: "/beta/ofk-no"
- op: replace
path: "/spec/ingress/basePath"
value: "/beta/ofk-no/api/oppfolgingstjenesten"
value: "/beta/ofk-no/api/vigo"
target:
kind: Application
name: fint-flyt-oppfolgingstjenesten-gateway
name: fint-flyt-vigo-gateway
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1 +1 @@
rootProject.name = 'fint-flyt-oppfolgingstjenesten-gateway'
rootProject.name = 'fint-flyt-vigo-gateway'
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import no.fintlabs.gateway.instance.model.File;
import no.fintlabs.gateway.instance.model.instance.InstanceObject;
import no.fintlabs.gateway.instance.web.FileClient;
import no.fintlabs.instance.gateway.model.oppfolgingstjenesten.IncomingInstance;
import no.fintlabs.instance.gateway.model.vigo.IncomingInstance;
import org.springframework.http.MediaType;
import org.springframework.stereotype.Service;
import reactor.core.publisher.Mono;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import lombok.extern.slf4j.Slf4j;
import no.fintlabs.gateway.instance.InstanceProcessor;
import no.fintlabs.instance.gateway.model.oppfolgingstjenesten.IncomingInstance;
import no.fintlabs.instance.gateway.model.vigo.IncomingInstance;
import org.springframework.http.ResponseEntity;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.annotation.AuthenticationPrincipal;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import no.fintlabs.gateway.instance.InstanceProcessor;
import no.fintlabs.gateway.instance.InstanceProcessorFactoryService;
import no.fintlabs.instance.gateway.model.oppfolgingstjenesten.IncomingInstance;
import no.fintlabs.instance.gateway.model.vigo.IncomingInstance;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package no.fintlabs.instance.gateway.model.oppfolgingstjenesten;
package no.fintlabs.instance.gateway.model.vigo;

import lombok.Builder;
import lombok.EqualsAndHashCode;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package no.fintlabs.instance.gateway.model.oppfolgingstjenesten;
package no.fintlabs.instance.gateway.model.vigo;

import lombok.Builder;
import lombok.EqualsAndHashCode;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package no.fintlabs.instance.gateway.model.oppfolgingstjenesten;
package no.fintlabs.instance.gateway.model.vigo;

import lombok.Builder;
import lombok.EqualsAndHashCode;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package no.fintlabs.instance.gateway.model.oppfolgingstjenesten;
package no.fintlabs.instance.gateway.model.vigo;

import lombok.Builder;
import lombok.EqualsAndHashCode;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package no.fintlabs.instance.gateway.model.oppfolgingstjenesten;
package no.fintlabs.instance.gateway.model.vigo;

import lombok.Builder;
import lombok.EqualsAndHashCode;
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
fint:
application-id: fint-flyt-oppfolgingstjenesten-gateway
application-id: fint-flyt-vigo-gateway
cache:
defaultCacheEntryTimeToLiveMillis: 518400000
defaultCacheHeapSize: 1000000
Expand Down

0 comments on commit 4dd8cc9

Please sign in to comment.