Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
1282de6
Add FileUtils.java
KochTobi Jun 15, 2023
f89d4ee
switch to newer version
KochTobi Jul 3, 2023
16ccf8e
Fix missing classes
KochTobi Jul 3, 2023
9958edc
Update README.md
KochTobi Jul 3, 2023
5acc9be
List hidden options
KochTobi Jul 3, 2023
437edc8
Add JavaDoc
KochTobi Jul 3, 2023
1e1d540
Cleanup code
KochTobi Jul 3, 2023
7e7dddc
fix typos
KochTobi Jul 3, 2023
5ebca3c
remove dead pom content
KochTobi Jul 3, 2023
7879d2a
Include summary in output
KochTobi Jul 3, 2023
b81bb2e
Provide default value for application and datastore server
KochTobi Jul 3, 2023
72770ba
Update README.md
KochTobi Jul 3, 2023
90b78eb
Add maven assembly plugin back
KochTobi Jul 3, 2023
a0df67d
Merge branch 'development' into feature/restructure-postman
KochTobi Jul 3, 2023
9eeb8bf
Remove dead groovy code
KochTobi Jul 3, 2023
b393a20
Merge remote-tracking branch 'origin/feature/restructure-postman' int…
KochTobi Jul 3, 2023
55a5046
Fix file size formatter adding space between unit and size (compatibl…
KochTobi Jul 11, 2023
8f69e45
Add FileSize::add function
KochTobi Jul 11, 2023
9eb62d1
Add --format option
KochTobi Jul 11, 2023
6c389c8
Add legacy output formatter
KochTobi Jul 11, 2023
c31c56d
rename DataFileFormatter.java to DataFileTableFormatter.java
KochTobi Jul 11, 2023
aae2bb7
Fix fetch options
KochTobi Jul 11, 2023
a133c2e
extract behaviour on dataset find
KochTobi Jul 11, 2023
370c631
implement option flag for format
KochTobi Jul 11, 2023
51d6733
Add summary line
KochTobi Jul 11, 2023
7460e9d
Fix code smells
KochTobi Jul 11, 2023
3f711ed
Add JavaDoc
KochTobi Jul 11, 2023
00154e0
Fix `--with-checksum` for legacy format
KochTobi Jul 11, 2023
0db0977
Update README.md
KochTobi Jul 11, 2023
90fb04f
Fix `--with-checksum`
KochTobi Jul 11, 2023
383a110
remove unnecessary semicolon
KochTobi Jul 11, 2023
d33f72c
Subject line
KochTobi Jul 11, 2023
169694b
restore spacing in legacy output
KochTobi Jul 11, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
371 changes: 185 additions & 186 deletions README.md

Large diffs are not rendered by default.

9 changes: 4 additions & 5 deletions config.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# Config file for postman-cli
# Replace the values defined after the respective CLI parameters (e.g. -as)
# with your value of choice (e.g. https://qbis.qbic.uni-tuebingen.de/openbis/openbis as value for -as)
# Replace the values defined after the respective CLI parameters

# Set the AS_URL (ApplicationServerURL) to the value defined below
# -as https://qbis.qbic.uni-tuebingen.de/openbis/openbis
-as https://openbis1605test.am10.uni-tuebingen.de/openbis/openbis
--application-server https://qbis.qbic.uni-tuebingen.de/openbis/openbis

# Set the DSS_URL (DataStoreServerURL) to the value defined below
-dss https://qbis.qbic.uni-tuebingen.de/datastore_server,https://qbis.qbic.uni-tuebingen.de/datastore_server2
--datastore_server https://qbis.qbic.uni-tuebingen.de/datastore_server
--datastore_server https://qbis.qbic.uni-tuebingen.de/datastore_server2
79 changes: 40 additions & 39 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,21 @@
<name>QBiC Releases</name>
<url>https://qbic-repo.qbic.uni-tuebingen.de/repository/maven-releases</url>
</repository>
</repositories>
<distributionManagement>
<repository>
<id>vaadin-addons</id>
<name>Vaadin Addons</name>
<url>https://maven.vaadin.com/vaadin-addons</url>
<uniqueVersion>true</uniqueVersion>
<id>nexus-releases</id>
<name>QBiC Releases</name>
<url>https://qbic-repo.qbic.uni-tuebingen.de/repository/maven-releases</url>
</repository>
</repositories>
<snapshotRepository>
<uniqueVersion>false</uniqueVersion>
<id>nexus-snapshots</id>
<name>QBiC Snapshots</name>
<url>https://qbic-repo.qbic.uni-tuebingen.de/repository/maven-snapshots</url>
</snapshotRepository>
</distributionManagement>

<dependencies>
<!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-core -->
Expand All @@ -77,15 +86,9 @@
<dependency>
<groupId>info.picocli</groupId>
<artifactId>picocli</artifactId>
<version>4.6.2</version>
</dependency>
<dependency>
<groupId>jline</groupId>
<artifactId>jline</artifactId>
<version>2.14.6</version>
<version>4.7.4</version>
</dependency>


<dependency>
<groupId>org.apache.groovy</groupId>
<artifactId>groovy</artifactId>
Expand All @@ -111,13 +114,17 @@
<version>18.06.2</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.2</version>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>5.9.3</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.spockframework</groupId>
<artifactId>spock-core</artifactId>
<version>2.4-M1-groovy-4.0</version>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
Expand Down Expand Up @@ -146,7 +153,7 @@
<plugin>
<groupId>org.codehaus.gmavenplus</groupId>
<artifactId>gmavenplus-plugin</artifactId>
<version>1.13.1</version>
<version>3.0.0</version>
<executions>
<execution>
<id>default</id>
Expand Down Expand Up @@ -178,27 +185,35 @@
</executions>
</plugin>
<!-- unit tests -->
<!--see https://github.com/spockframework/spock-example/blob/c9951e87aadb676441c80c54793e2770fa063ab0/pom.xml-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M3</version>
<version>3.1.2</version>
<configuration>
<useFile>false</useFile>
<excludes>
<exclude>**/*IntegrationTest.*</exclude>
</excludes>
<includes>**/*Test.*</includes>
<includes>**/*Specification.*</includes>
<includes>**/*Spec.*</includes>
<systemPropertyVariables>
<jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile>
</systemPropertyVariables>
<includes>
<include>**/*Test</include>
<include>**/*Specification</include>
<include>**/*Spec</include>
</includes>
<statelessTestsetReporter implementation="org.apache.maven.plugin.surefire.extensions.junit5.JUnit5Xml30StatelessReporter">
<disable>false</disable>
<version>3.1</version>
<usePhrasedFileName>false</usePhrasedFileName>
<usePhrasedTestSuiteClassName>true</usePhrasedTestSuiteClassName>
<usePhrasedTestCaseClassName>true</usePhrasedTestCaseClassName>
<usePhrasedTestCaseMethodName>true</usePhrasedTestCaseMethodName>
</statelessTestsetReporter>
</configuration>
</plugin>
<!-- integration tests -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>3.0.0-M3</version>
<version>3.1.2</version>
<executions>
<execution>
<goals>
Expand All @@ -218,18 +233,4 @@
</plugin>
</plugins>
</build>
<distributionManagement>
<repository>
<uniqueVersion>true</uniqueVersion>
<id>nexus-releases</id>
<name>QBiC Releases</name>
<url>https://qbic-repo.qbic.uni-tuebingen.de/repository/maven-releases</url>
</repository>
<snapshotRepository>
<uniqueVersion>false</uniqueVersion>
<id>nexus-snapshots</id>
<name>QBiC Snapshots</name>
<url>https://qbic-repo.qbic.uni-tuebingen.de/repository/maven-snapshots</url>
</snapshotRepository>
</distributionManagement>
</project>
40 changes: 0 additions & 40 deletions src/main/groovy/life/qbic/ChecksumReporter.groovy

This file was deleted.

28 changes: 0 additions & 28 deletions src/main/groovy/life/qbic/DownloadException.groovy

This file was deleted.

60 changes: 0 additions & 60 deletions src/main/groovy/life/qbic/DownloadRequest.groovy

This file was deleted.

72 changes: 0 additions & 72 deletions src/main/groovy/life/qbic/FileSystemWriter.groovy

This file was deleted.

Loading