Skip to content

Commit 99b499a

Browse files
committed
update changelog and correct some @SInCE markers
1 parent 213b5dd commit 99b499a

File tree

4 files changed

+30
-7
lines changed

4 files changed

+30
-7
lines changed

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,29 @@
33

44
## v1.4.6 [Unreleased]
55

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+
629
## v1.4.5 [2022-09-30]
730

831
User visible changes

src/main/java/org/commonwl/view/Scheduler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public void removeOldQueuedWorkflowEntries() {
9494
* <p>Errors logged through Logger. Settings in Spring application properties
9595
* file.</p>
9696
*
97-
* @since 1.4.5
97+
* @since 1.4.6
9898
*/
9999
@Scheduled(cron = "${cron.clearTmpDir}")
100100
public void clearTmpDir() {
@@ -110,7 +110,7 @@ public void clearTmpDir() {
110110
* For a given temporary directory, scans it (not recursively) for files and
111111
* directories exceeding the age limit threshold.
112112
*
113-
* @since 1.4.5
113+
* @since 1.4.6
114114
* @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>
115115
* @param temporaryDirectory temporary directory
116116
*/

src/main/java/org/commonwl/view/util/FileUtils.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* <p>Uses other utilities, such as Apache Commons IO's {@code FileUtils}, but
1616
* with refinements specific for CWL Viewer (e.g. handling Git repositories).</p>
1717
*
18-
* @since 1.4.5
18+
* @since 1.4.6
1919
*/
2020
public class FileUtils {
2121

@@ -29,7 +29,7 @@ private FileUtils() {}
2929
*
3030
* @param repo Git repository object
3131
* @throws IOException if it fails to delete the Git repository directory
32-
* @since 1.4.5
32+
* @since 1.4.6
3333
*/
3434
public static void deleteGitRepository(Git repo) throws IOException {
3535
if (
@@ -68,7 +68,7 @@ public static void deleteGitRepository(Git repo) throws IOException {
6868
*
6969
* @param bundle A bundle object
7070
* @throws IOException if it fails to delete the bundle temporary directory
71-
* @since 1.4.5
71+
* @since 1.4.6
7272
*/
7373
public static void deleteBundleTemporaryDirectory(Bundle bundle) throws IOException {
7474
// The RoBundleService#saveToFile call will delegate to Apache Taverna's
@@ -109,7 +109,7 @@ public static void deleteBundleTemporaryDirectory(Bundle bundle) throws IOExcept
109109
*
110110
* @param bundle A bundle object
111111
* @throws IOException if it fails to delete the bundle temporary directory
112-
* @since 1.4.5
112+
* @since 1.4.6
113113
*/
114114
public static void deleteBundleParentDirectory(Bundle bundle) throws IOException {
115115
if (bundle != null) {

src/test/java/org/commonwl/view/util/FileUtilsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
/**
2929
* Tests for <code>FileUtils</code>.
3030
*
31-
* @since 1.4.5
31+
* @since 1.4.6
3232
*/
3333
public class FileUtilsTest {
3434

0 commit comments

Comments
 (0)