Skip to content

Commit

Permalink
POFIM-23 Lagt til applikasjon ftinntektsmelding i FpApplication for r…
Browse files Browse the repository at this point in the history
…est konfigurering
  • Loading branch information
AnjaAalerud committed Jun 12, 2024
1 parent 46156e8 commit 2729094
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ public enum FpApplication {
FPWSPROXY,
FPOVERSIKT,
FPTILGANG,
FTINNTEKTSMELDING,
NONFP;

private static final Environment ENV = Environment.current();
Expand All @@ -45,11 +46,12 @@ private static Integer lokalPort(FpApplication application) {
case FPDOKGEN -> 8291;
case FPWSPROXY -> 8292;
case FPOVERSIKT -> 8889;
case FTINNTEKTSMELDING -> 8293;
case NONFP -> throw new IllegalArgumentException("Utviklerfeil: angitt app er ikke i fp-familien");
};
}

private static final Set<FpApplication> GCP_APPS = Set.of(FPOVERSIKT);
private static final Set<FpApplication> GCP_APPS = Set.of(FPOVERSIKT, FTINNTEKTSMELDING);

public boolean specified() {
return !NONFP.equals(this);
Expand Down

0 comments on commit 2729094

Please sign in to comment.