-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'refs/heads/development' into feature/dm-1122-enable-pat…
…-token-auth
- Loading branch information
Showing
39 changed files
with
129 additions
and
214 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 0 additions & 13 deletions
13
measurement-provider/src/main/java/life/qbic/data_access/measurements/api/FileInfo.java
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
measurement-provider/src/main/java/life/qbic/data_access/measurements/api/Measurement.java
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
...rement-provider/src/main/java/life/qbic/data_access/measurements/api/MeasurementData.java
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
...rovider/src/main/java/life/qbic/data_access/measurements/api/MeasurementDataProvider.java
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
...rement-provider/src/main/java/life/qbic/data_access/measurements/api/MeasurementInfo.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
measurement-provider/src/main/java/life/qbic/data_download/measurements/api/FileInfo.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package life.qbic.data_download.measurements.api; | ||
|
||
/** | ||
* Information about a file | ||
*/ | ||
public record FileInfo(String path, long length, long crc32, long registrationMillis, long lastModifiedMillis) { | ||
|
||
} |
8 changes: 8 additions & 0 deletions
8
measurement-provider/src/main/java/life/qbic/data_download/measurements/api/Measurement.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package life.qbic.data_download.measurements.api; | ||
|
||
/** | ||
* A measurement | ||
*/ | ||
public record Measurement(MeasurementId id, MeasurementInfo info, MeasurementData data) { | ||
|
||
} |
10 changes: 10 additions & 0 deletions
10
...ment-provider/src/main/java/life/qbic/data_download/measurements/api/MeasurementData.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package life.qbic.data_download.measurements.api; | ||
|
||
import java.io.InputStream; | ||
|
||
/** | ||
* Measurement data | ||
*/ | ||
public interface MeasurementData { | ||
InputStream stream(); | ||
} |
10 changes: 10 additions & 0 deletions
10
...vider/src/main/java/life/qbic/data_download/measurements/api/MeasurementDataProvider.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package life.qbic.data_download.measurements.api; | ||
|
||
/** | ||
* Provides measurement data given a measurement | ||
*/ | ||
public interface MeasurementDataProvider { | ||
|
||
MeasurementData loadData(MeasurementId measurementId); | ||
|
||
} |
9 changes: 2 additions & 7 deletions
9
...asurements/api/MeasurementDataReader.java → ...asurements/api/MeasurementDataReader.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...s/measurements/api/MeasurementFinder.java → ...d/measurements/api/MeasurementFinder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ccess/measurements/api/MeasurementId.java → ...nload/measurements/api/MeasurementId.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
...ment-provider/src/main/java/life/qbic/data_download/measurements/api/MeasurementInfo.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package life.qbic.data_download.measurements.api; | ||
|
||
/** | ||
* Information about a measurement | ||
*/ | ||
public record MeasurementInfo(long size, int fileCount) { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module life.qbic.data_access.measurements { | ||
exports life.qbic.data_access.measurements.api; | ||
module life.qbic.data_download.measurements { | ||
exports life.qbic.data_download.measurements.api; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 5 additions & 7 deletions
12
.../life/qbic/data_access/openbis/ApiV3.java → ...ife/qbic/data_download/openbis/ApiV3.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 5 additions & 10 deletions
15
.../openbis/DatasetFileStreamReaderImpl.java → .../openbis/DatasetFileStreamReaderImpl.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 4 additions & 8 deletions
12
...ss/openbis/UnspecificMeasurementData.java → ...ad/openbis/UnspecificMeasurementData.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...nbis/DatasetFileStreamReaderImplTest.java → ...nbis/DatasetFileStreamReaderImplTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.