Fix recurrent data

This commit is contained in:
Kostya Struga 2022-03-24 13:09:56 +03:00
parent 0d907650a3
commit d8f49b9e5d
2 changed files with 5 additions and 3 deletions

View File

@ -13,7 +13,7 @@
</parent>
<artifactId>adapter-flow-lib</artifactId>
<version>0.1.0</version>
<version>0.1.1</version>
<packaging>jar</packaging>
<name>adapter-flow-lib</name>

View File

@ -38,9 +38,11 @@ public class SuccessFinishProcessor
saveData = new HashMap<>();
}
String recToken = initRecurrentToken(response, entryStateModel);
if (StringUtils.hasText(recToken)) {
saveData.put(MetaData.META_REC_TOKEN, recToken);
exitStateModel.setRecToken(recToken);
}
}
exitStateModel.setTrxExtra(saveData);
log.debug("Finish success process response: {} entryStateModel: {}", response, entryStateModel);
return exitStateModel;