Skip to content

Commit

Permalink
Bruker repositorynavn ved versjonsangivelse (#509)
Browse files Browse the repository at this point in the history
* Bruker repositorynavn ved versjonsangivelse

* Nare 263 og bruk regelversjon=prosjekt:versjon
  • Loading branch information
jolarsen authored Jul 29, 2024
1 parent 42d0554 commit 679c829
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ public class BeregningRegelmodellVersjon {
private BeregningRegelmodellVersjon() {
}

public static final EvaluationVersion BEREGNING_REGELMODELL_VERSJON = NareVersion.readVersionPropertyFor("beregningsgrunnlag", "nare/beregningsgrunnlag-version.properties");
public static final EvaluationVersion BEREGNING_REGELMODELL_VERSJON = NareVersion.readVersionPropertyFor("ft-beregning", "nare/beregningsgrunnlag-version.properties");

}
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public static String getSporing(Evaluation evaluation) {
}

public static String getRegelVersjonsNummer() {
return BeregningRegelmodellVersjon.BEREGNING_REGELMODELL_VERSJON.version();
return BeregningRegelmodellVersjon.BEREGNING_REGELMODELL_VERSJON.nameAndVersion();
}

private static RegelResultat opprettResultat(Evaluation ev, String regelInput, String sporing) {
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
<dependency>
<groupId>no.nav.fpsak.nare</groupId>
<artifactId>fpsak-nare-core</artifactId>
<version>2.6.1</version>
<version>2.6.3</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
Expand Down

0 comments on commit 679c829

Please sign in to comment.