obsidiansystems / ex-healthcare-claims-processing

Reference DAML application demonstrating a healthcare use case.
Apache License 2.0
0 stars 1 forks source link

Fix CI #58

Closed runeksvendsen closed 3 years ago

runeksvendsen commented 3 years ago

For integration_test I'm seeing the following error at the "Integration tests"-step (command: mvn verify), which I don't know how to solve:

[ERROR] /home/circleci/project/src/test/java/com/daml/product/healthcareclaims/HealthcareClaimsProcessingIT.java:[116,47] no suitable method found for exerciseScheduleAppointment(java.time.LocalDate)
    method com.digitalasset.nanobot.healthcare.models.main.provider.ReferralDetails.ContractId.exerciseScheduleAppointment(com.digitalasset.nanobot.healthcare.models.main.provider.ScheduleAppointment) is not applicable
      (argument mismatch; java.time.LocalDate cannot be converted to com.digitalasset.nanobot.healthcare.models.main.provider.ScheduleAppointment)
    method com.digitalasset.nanobot.healthcare.models.main.provider.ReferralDetails.ContractId.exerciseScheduleAppointment(java.time.Instant) is not applicable
      (argument mismatch; java.time.LocalDate cannot be converted to java.time.Instant)

@richardkapolnai-da would you happen to know what's going on here?

richardkapolnai-da commented 3 years ago

For integration_test I'm seeing the following error at the "Integration tests"-step (command: mvn verify), which I don't know how to solve:

[ERROR] /home/circleci/project/src/test/java/com/daml/product/healthcareclaims/HealthcareClaimsProcessingIT.java:[116,47] no suitable method found for exerciseScheduleAppointment(java.time.LocalDate)
    method com.digitalasset.nanobot.healthcare.models.main.provider.ReferralDetails.ContractId.exerciseScheduleAppointment(com.digitalasset.nanobot.healthcare.models.main.provider.ScheduleAppointment) is not applicable
      (argument mismatch; java.time.LocalDate cannot be converted to com.digitalasset.nanobot.healthcare.models.main.provider.ScheduleAppointment)
    method com.digitalasset.nanobot.healthcare.models.main.provider.ReferralDetails.ContractId.exerciseScheduleAppointment(java.time.Instant) is not applicable
      (argument mismatch; java.time.LocalDate cannot be converted to java.time.Instant)

@richardkapolnai-da would you happen to know what's going on here?

Probably Java code was not updated when the appointments were changed from a Date to a Time in the Daml model. Should be an easy fix in Java.