Skip to content

Commit

Permalink
fjernet ereg fra prosjektet. Den er ikke i bruk lenger
Browse files Browse the repository at this point in the history
  • Loading branch information
d142796 authored and Oddsor committed May 24, 2024
1 parent 470c78a commit 6d73909
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 636 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ package no.nav.arbeidsgiver.tiltakrefusjon
open class FeilkodeException(val feilkode: Feilkode) : RuntimeException("Feil inntruffet: $feilkode")

enum class Feilkode {
TEKNISK_FEIL_EREGOPPSLAG,
TEKNISK_FEIL_EREGOPPSLAG_FANT_IKKE_BEDRIFT,
EREG_MANGLER_ADRESSEINFO,
UGYLDIG_STATUS,
INGEN_INNTEKTER,
INGEN_BEDRIFTKONTONUMMER,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ import org.springframework.web.client.RestTemplate
import org.springframework.web.client.exchange
import java.util.*

/*
* SLACK: PO-UTBETALING - GITHUB https://github.com/navikt/sokos-kontoregister
* */
@Service
@ConditionalOnPropertyNotEmpty("tiltak-refusjon.kontoregister.uri")
class KontoregisterServiceImpl(
Expand Down
3 changes: 0 additions & 3 deletions src/main/resources/application-dev-gcp-labs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ tiltak-refusjon:
kafka:
enabled: false
fake: true
ereg:
uri: http://tiltak-refusjon-api-wiremock/ereg
consumer-id: "tiltak-refusjon-api"
kontoregister:
fake: true
inntektskomponenten:
Expand Down
3 changes: 0 additions & 3 deletions src/main/resources/application-dev-gcp.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
tiltak-refusjon:
ereg:
uri: https://tiltak-proxy.dev-fss-pub.nais.io/ereg
consumer-id: tiltak-refusjon-api
kontoregister:
uri: https://tiltak-proxy.dev-fss-pub.nais.io/kontoregister/api/v1/hent-kontonummer-for-organisasjon
consumer-id: tiltak-refusjon-api
Expand Down
3 changes: 0 additions & 3 deletions src/main/resources/application-prod-gcp.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
tiltak-refusjon:
ereg:
uri: https://tiltak-proxy.prod-fss-pub.nais.io/ereg
consumer-id: tiltak-refusjon-api
kontoregister:
uri: https://tiltak-proxy.prod-fss-pub.nais.io/kontoregister/api/v1/hent-kontonummer-for-organisasjon
consumer-id: tiltak-refusjon-api
Expand Down
3 changes: 0 additions & 3 deletions src/test/resources/application-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,6 @@ tiltak-refusjon:
fake: true
kontoregister:
fake: true
ereg:
uri: http://localhost:${wiremock.port}/ereg
consumer-id: tiltak-refusjon-api
dokgen:
uri: http://localhost:5913/template/tiltak-refusjon/create-pdf
#uri: http://tiltak-dokgen.arbeidsgiver.svc.nais.local/template/tiltak-refusjon/create-pdf
Expand Down
Loading

0 comments on commit 6d73909

Please sign in to comment.