private List getExpectedHistoryTableRows()

in src/it/java/com/epam/digital/data/platform/history/repository/HistoryTableSelectRepositoryIT.java [99:122]


  private List<HistoryTableRow> getExpectedHistoryTableRows(Map<String, OperationalTableField> operationalTableData) {
    var tableRow = new HistoryTableRow();
    var ddmInfo = new HistoryTableRowDdmInfo();
    ddmInfo.setCreatedAt(OffsetDateTime.parse("2021-08-20T15:00:07Z"));
    ddmInfo.setCreatedBy("user");
    ddmInfo.setDmlOp("I");
    ddmInfo.setSystemId(UUID.fromString("bd223413-214a-4d6d-9dee-39813f15dad0"));
    ddmInfo.setApplicationId(UUID.fromString("04a00dc5-904d-4043-b8b0-aeb2d4c73ee2"));
    ddmInfo.setBusinessProcessId(UUID.fromString("b533ab28-4068-4e48-9115-e3a74fcfa243"));
    ddmInfo.setBusinessProcessDefinitionId("BP_DEF");
    ddmInfo.setBusinessProcessInstanceId("d3d4db61-049c-4830-b77c-e8a7d2ebec89");
    ddmInfo.setBusinessActivity("B_ACT");
    ddmInfo.setBusinessActivityInstanceId("B_ACT_INST_ID");
    ddmInfo.setDigitalSign("DIGN_SIGN");
    ddmInfo.setDigitalSignDerived("DIGN_SIGN_DER");
    ddmInfo.setDigitalSignChecksum(
        "32b0cfd6c6e2dd5750268f634b788f845fd075103b007110d62c6fae0e94028c");
    ddmInfo.setDigitalSignDerivedChecksum(
        "6926f443a89f6aebe1fa2477e40d4c32b8f4aab524f6dc1dd2aa331304c320c4");
    tableRow.setDdmInfo(ddmInfo);
    tableRow.setOperationalTableData(operationalTableData);

    return Collections.singletonList(tableRow);
  }