rd-commons-lib is reusable common library for excel file upload functionality does following particular jobs
- Post Upload Excel File activities like file extension validation, header validation, row/record validation
- Auditing the file upload activity
- Exception logging in table
This library has been published on Git hub workflow https://github.com/hmcts/rd-commons-lib/actions
./gradlew build
Common library properties like excel file headers configured in library and customized properties should be configured with specific microservices eg. rd-location-ref-api (https://github.com/hmcts/rd-location-ref-api) It can be used in respective projects as gradle dependency like below compile group: 'uk.gov.hmcts.reform', name: 'rd-commons-lib', version: '0.0.1'