Commit 03525acc authored by Sonia Zorba's avatar Sonia Zorba
Browse files

Removed exclusion of jackson-module-jaxb-annotations in pom.xml: this project...

Removed exclusion of jackson-module-jaxb-annotations in pom.xml: this project doesn't include this dependency (unlike vospace-rest)
parent 3bc5b084
Loading
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -71,14 +71,6 @@
            <groupId>it.oats.inaf</groupId>
            <artifactId>vospace-datamodel</artifactId>
            <version>1.0-SNAPSHOT</version>
            <exclusions>
                <!-- Transitive dependency excluded to avoid duplicated dependency issues.
                We want to use always the version provided by Spring Boot -->
                <exclusion>
                    <groupId>com.fasterxml.jackson.module</groupId>
                    <artifactId>jackson-module-jaxb-annotations</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
    </dependencies>

+0 −9
Original line number Diff line number Diff line
@@ -81,15 +81,6 @@ public class PutFileController extends FileController {
        }
    }

    /*
    private void storeFile(FileInfo fileInfo, InputStream is, String jobId) throws IOException {

        if (fileInfo.getAcceptViews() != null && fileInfo.getAcceptViews().contains("urn:list-of-files")) {
            storeListOfFiles(fileInfo, is);
        } else {
            storeGenericFile(fileInfo, is, jobId);
        }
    }*/
    private void storeListOfFiles(FileInfo fileInfo, InputStream is) throws IOException {
        List<String> filePaths = parseListOfFiles(is);
        listOfFilesDAO.createList(fileInfo.getVirtualPath(), filePaths);