-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Sync development with master (#61) * Provide java example dropbox Co-authored-by: Sven F <[email protected]> Co-authored-by: luiskuhn <[email protected]>
- Loading branch information
1 parent
27c3b37
commit b86b358
Showing
5 changed files
with
38 additions
and
0 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Example openBIS dropbox written in Java | ||
|
||
Please find the source code of the ETL routine that this article is referring to in the | ||
[Java openBIS dropboxes](https://github.com/qbicsoftware/java-openbis-dropboxes) Github repository. | ||
|
||
## Installation | ||
|
||
Please provide the Java binaries as JAR from the [Java openBIS dropbox](https://github.com/qbicsoftware/java-openbis-dropboxes) in this directories | ||
folder `./lib`. | ||
|
||
The DSS needs to be restarted in order to activate this dropbox. | ||
|
||
## ETL routine | ||
|
||
This dropbox expects a file of any type and creates a new openBIS dataset from it. This dataset | ||
is then attached to a fixed sample with id `/TEST28/QXEGD018AW` for demonstration purposes. |
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,2 @@ | ||
Put the compiled Java binaries as JARs in this directory in order | ||
to be loaded by the openBIS DSS class loader on DSS startup. |
11 changes: 11 additions & 0 deletions
11
drop-boxes/register-example-java-dropbox/plugin.properties
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,11 @@ | ||
# | ||
# Drop box for registering a fastq file as a data set | ||
# | ||
# Variables: | ||
# incoming-root-dir | ||
# Path to the directory which contains incoming directories for drop boxes. | ||
incoming-dir = ${incoming-root-dir}/QBiC-register-example-java-data | ||
incoming-data-completeness-condition = marker-file | ||
top-level-data-set-handler = ch.systemsx.cisd.etlserver.registrator.api.v2.JavaTopLevelDataSetHandlerV2 | ||
program-class = life.qbic.registration.MainETL | ||
storage-processor = ch.systemsx.cisd.etlserver.DefaultStorageProcessor |