File tree Expand file tree Collapse file tree 4 files changed +30
-7
lines changed
main/java/org/commonwl/view
test/java/org/commonwl/view/util Expand file tree Collapse file tree 4 files changed +30
-7
lines changed Original file line number Diff line number Diff line change 3
3
4
4
## v1.4.6 [ Unreleased]
5
5
6
+ User visible changes
7
+ - Should be none
8
+
9
+ Operations changes:
10
+ - Unused RO Bundles and Git repositories are now deleted in case of errors,
11
+ instead of filling up the disk with unusable files
12
+ - Temporary directories older than 1 day are now cleared via a daily cron job
13
+ See ` src/main/resources/application.properties ` for configuration
14
+
15
+ Minor changes:
16
+ - mockito-all was replaced by mockito-inline as it supports mocking static
17
+ methods
18
+
19
+ Dependecies upgrade:
20
+ - Bump jackson from 2.13.4 to 2.14.1
21
+ - Bump spring-data-commons from 2.7.3 to 2.7.6
22
+ - Bump hibernate-types-55 from 2.19.2 to 2.21.1
23
+ - Bump liquibase-core from 4.16.1 to 4.18.0
24
+ - Bump snakeyaml-engine from 2.4 to 2.5
25
+ - Bump common-compress from 1.21 to 1.22
26
+ - Bump junit-jupiter from 1.17.4 to 1.17.6
27
+ - Bump postgresql from 1.17.4 to 1.17.6
28
+
6
29
## v1.4.5 [ 2022-09-30]
7
30
8
31
User visible changes
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ public void removeOldQueuedWorkflowEntries() {
94
94
* <p>Errors logged through Logger. Settings in Spring application properties
95
95
* file.</p>
96
96
*
97
- * @since 1.4.5
97
+ * @since 1.4.6
98
98
*/
99
99
@ Scheduled (cron = "${cron.clearTmpDir}" )
100
100
public void clearTmpDir () {
@@ -110,7 +110,7 @@ public void clearTmpDir() {
110
110
* For a given temporary directory, scans it (not recursively) for files and
111
111
* directories exceeding the age limit threshold.
112
112
*
113
- * @since 1.4.5
113
+ * @since 1.4.6
114
114
* @see <a href="https://commons.apache.org/proper/commons-io/apidocs/org/apache/commons/io/filefilter/AgeFileFilter.html">https://commons.apache.org/proper/commons-io/apidocs/org/apache/commons/io/filefilter/AgeFileFilter.html</a>
115
115
* @param temporaryDirectory temporary directory
116
116
*/
Original file line number Diff line number Diff line change 15
15
* <p>Uses other utilities, such as Apache Commons IO's {@code FileUtils}, but
16
16
* with refinements specific for CWL Viewer (e.g. handling Git repositories).</p>
17
17
*
18
- * @since 1.4.5
18
+ * @since 1.4.6
19
19
*/
20
20
public class FileUtils {
21
21
@@ -29,7 +29,7 @@ private FileUtils() {}
29
29
*
30
30
* @param repo Git repository object
31
31
* @throws IOException if it fails to delete the Git repository directory
32
- * @since 1.4.5
32
+ * @since 1.4.6
33
33
*/
34
34
public static void deleteGitRepository (Git repo ) throws IOException {
35
35
if (
@@ -68,7 +68,7 @@ public static void deleteGitRepository(Git repo) throws IOException {
68
68
*
69
69
* @param bundle A bundle object
70
70
* @throws IOException if it fails to delete the bundle temporary directory
71
- * @since 1.4.5
71
+ * @since 1.4.6
72
72
*/
73
73
public static void deleteBundleTemporaryDirectory (Bundle bundle ) throws IOException {
74
74
// The RoBundleService#saveToFile call will delegate to Apache Taverna's
@@ -109,7 +109,7 @@ public static void deleteBundleTemporaryDirectory(Bundle bundle) throws IOExcept
109
109
*
110
110
* @param bundle A bundle object
111
111
* @throws IOException if it fails to delete the bundle temporary directory
112
- * @since 1.4.5
112
+ * @since 1.4.6
113
113
*/
114
114
public static void deleteBundleParentDirectory (Bundle bundle ) throws IOException {
115
115
if (bundle != null ) {
Original file line number Diff line number Diff line change 28
28
/**
29
29
* Tests for <code>FileUtils</code>.
30
30
*
31
- * @since 1.4.5
31
+ * @since 1.4.6
32
32
*/
33
33
public class FileUtilsTest {
34
34
You can’t perform that action at this time.
0 commit comments