Skip to content

Commit e4a161a

Browse files
authored
#20: Added BucketFS file checker (#22)
1 parent 30e4ca0 commit e4a161a

21 files changed

+130
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![Build Status](https://github.com/exasol/import-export-udf-common-scala/actions/workflows/ci-build.yml/badge.svg)](https://github.com/exasol/import-export-udf-common-scala/actions/workflows/ci-build.yml)
44
[![Coveralls](https://img.shields.io/coveralls/exasol/import-export-udf-common-scala.svg)](https://coveralls.io/github/exasol/import-export-udf-common-scala)
5-
[![Maven Central](https://img.shields.io/maven-central/v/com.exasol/import-export-udf-common-scala)](https://search.maven.org/artifact/com.exasol/import-export-udf-common-scala)
5+
[![Maven Central](https://img.shields.io/maven-central/v/com.exasol/import-export-udf-common-scala)](https://search.maven.org/artifact/com.exasol/import-export-udf-common-scala_2.13)
66

77
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=com.exasol%3Aimport-export-udf-common-scala&metric=alert_status)](https://sonarcloud.io/dashboard?id=com.exasol%3Aimport-export-udf-common-scala)
88

doc/changes/changes_0.3.0.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ In this release, we added custom user defined property separators. We also migra
1414

1515
* #15: Migrated to Github actions
1616
* #18: Added unified error codes
17+
* #20: Added file location checker
1718

1819
## Dependency Updates
1920

@@ -28,17 +29,17 @@ In this release, we added custom user defined property separators. We also migra
2829

2930
### Test Dependency Updates
3031

31-
* Updated `org.mockito:mockito-core:test:3.6.0` to `3.12.4`
32+
* Updated `org.mockito:mockito-core:test:3.6.0` to `4.0.0`
3233
* Updated `org.scalatest:scalatest:test:3.2.2` to `3.2.10`
3334

3435
### Plugin Updates
3536

3637
* Added `org.scalameta:sbt-scalafmt:2.4.3`
3738
* Updated `com.jsuereth:sbt-pgp:2.0.1` to `2.1.1`
3839
* Updated `com.timushev.sbt:sbt-updates:0.5.1` to `0.6.0`
39-
* Updated `com.typesafe.sbt:sbt-git:1.0.0` to `1.0.1`
40+
* Updated `com.typesafe.sbt:sbt-git:1.0.0` to `1.0.2`
4041
* Updated `org.scoverage:sbt-coveralls:1.2.7` to `1.3.1`
41-
* Updated `org.scoverage:sbt-scoverage:1.6.1` to `1.9.0`
42+
* Updated `org.scoverage:sbt-scoverage:1.6.1` to `1.9.1`
4243
* Updated `org.wartremover:sbt-wartremover:2.4.12` to `2.4.16`
4344
* Updated `org.wartremover:sbt-wartremover-contib:1.3.10` to `1.3.12`
4445
* Updated `org.xerial.sbt:sbt-sonatype:3.9.4` to `3.9.10`

project/Dependencies.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ object Dependencies {
1515
// Test dependencies versions
1616
private val ScalaTestVersion = "3.2.10"
1717
private val ScalaTestPlusVersion = "1.0.0-M2"
18-
private val MockitoCoreVersion = "3.12.4"
18+
private val MockitoCoreVersion = "4.0.0"
1919

2020
val ExasolResolvers: Seq[Resolver] = Seq(
2121
"Exasol Releases" at "https://maven.exasol.com/artifactory/exasol-releases"

project/plugins.sbt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ addSbtPlugin("com.thoughtworks.sbt-api-mappings" % "sbt-api-mappings" % "3.0.0")
1616

1717
// Adds Scala Code Coverage (Scoverage) used during unit tests
1818
// http://github.com/scoverage/sbt-scoverage
19-
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.9.0")
19+
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.9.1")
2020

2121
// Adds SBT Coveralls plugin for uploading Scala code coverage to
2222
// https://coveralls.io
@@ -46,4 +46,4 @@ addSbtPlugin("com.jsuereth" % "sbt-pgp" % "2.1.1")
4646

4747
// Adds a `git` plugin
4848
// https://github.com/sbt/sbt-git
49-
addSbtPlugin("com.typesafe.sbt" % "sbt-git" % "1.0.1")
49+
addSbtPlugin("com.typesafe.sbt" % "sbt-git" % "1.0.2")

scripts/ci.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set -o errtrace -o nounset -o pipefail -o errexit
66
BASE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )"/.. && pwd )"
77
cd "$BASE_DIR"
88

9-
DEFAULT_SCALA_VERSION=2.12.12
9+
DEFAULT_SCALA_VERSION=2.13.6
1010

1111
if [[ -z "${SCALA_VERSION:-}" ]]; then
1212
echo "Environment variable SCALA_VERSION is not set"
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
package com.exasol.common.file
2+
3+
/**
4+
* A BucketFS file location checker implementation.
5+
*/
6+
class BucketFSFileChecker extends FileChecker {
7+
8+
override final def getLocationPrefix(): String = "/buckets"
9+
10+
}

0 commit comments

Comments
 (0)