Skip to content

Commit

Permalink
Chore: update verification data and opencsv version
Browse files Browse the repository at this point in the history
  • Loading branch information
INGE VEJSBJERG authored and INGE VEJSBJERG committed Apr 2, 2024
1 parent 6f2df36 commit 94c69e2
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
8 changes: 8 additions & 0 deletions gradle/verification-metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<verification-metadata xmlns="https://schema.gradle.org/dependency-verification" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://schema.gradle.org/dependency-verification https://schema.gradle.org/dependency-verification/dependency-verification-1.0.xsd">
<configuration>
<verify-metadata>true</verify-metadata>
<verify-signatures>false</verify-signatures>
</configuration>
<components/>
</verification-metadata>
2 changes: 1 addition & 1 deletion ontology-and-lifting/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ ext {
jsoupVersion = '1.12.1'
jungVersion = "2.0.1"
luceneVersion = "8.2.0"
openCsvVersion = "4.6"
openCsvVersion = "5.9"
springCloudContractVersion = "2.1.2.RELEASE"
springCloudVersion = "Greenwich.RELEASE"
springfoxVersion = "2.9.2"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#Tue Oct 01 12:53:37 IST 2019
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.3.1-all.zip
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
import com.ibm.wh.extractionservice.externalentity.lifting.LiftingConfiguration.PropertyMapping;
import com.ibm.wh.extractionservice.externalentity.lifting.LiftingConfiguration.PropertyMapping.Transformation;
import com.opencsv.CSVReader;
import com.opencsv.exceptions.CsvValidationException;

@Service
public class LiftingService {
Expand Down Expand Up @@ -83,6 +84,8 @@ private void initReader() {
this.columnHeadersToPosition = cleanHeaders(currentLine);
} catch (IOException e) {
throw new UncheckedIOException(e);
} catch (CsvValidationException e){
throw new RuntimeException("A CsvValidationException occurred", e);
}
}

Expand All @@ -97,6 +100,8 @@ public void moveToNextLine() {
this.currentLine = csvReader.readNext();
} catch (IOException e) {
throw new UncheckedIOException(e);
} catch (CsvValidationException e){
throw new RuntimeException("A CsvValidationException occurred", e);
}
}

Expand Down

0 comments on commit 94c69e2

Please sign in to comment.