Skip to content

Commit

Permalink
Sett saksnummer i task for logging (#2606)
Browse files Browse the repository at this point in the history
  • Loading branch information
jolarsen authored Dec 1, 2024
1 parent c5e1250 commit efd11ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,14 +110,14 @@ public String triggAsyncInnhent(InnhentRegisterdataRequest dto) {
ProsessTaskGruppe taskGruppe = new ProsessTaskGruppe();
var innhentingTask = ProsessTaskData.forProsessTask(RegisterdataInnhentingTask.class);
var callbackTask = ProsessTaskData.forProsessTask(CallbackTask.class);
innhentingTask.setAktørId(kobling.getAktørId().getId());
innhentingTask.setSaksnummer(kobling.getSaksnummer().getVerdi());
innhentingTask.setProperty(TaskConstants.KOBLING_ID, kobling.getId().toString());
try {
innhentingTask.setPayload(JsonObjectMapper.getMapper().writeValueAsString(dto));
} catch (JsonProcessingException e) {
throw new RuntimeException("Feil i serialisering av innhentingrequest", e);
}
callbackTask.setAktørId(kobling.getAktørId().getId());
innhentingTask.setSaksnummer(kobling.getSaksnummer().getVerdi());
callbackTask.setProperty(TaskConstants.KOBLING_ID, kobling.getId().toString());

Optional<GrunnlagReferanse> eksisterendeGrunnlagRef = hentSisteReferanseFor(kobling.getKoblingReferanse());
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@

<kontrakt.java.version>21</kontrakt.java.version>

<felles.version>7.3.3</felles.version>
<prosesstask.version>5.0.19</prosesstask.version>
<felles.version>7.3.4</felles.version>
<prosesstask.version>5.0.20</prosesstask.version>
<kontrakter.version>9.1.22</kontrakter.version>
<tidsserie.version>2.7.1</tidsserie.version>

Expand Down

0 comments on commit efd11ae

Please sign in to comment.