Skip to content

Repository

Kevin Haack edited this page Apr 23, 2018 · 2 revisions

The repo microservice provides a facade to communicate with Hadoop. All functions are supported to talk to Hadoop. Files and folder will be identified by the path.

Get the file and folder structure

The REST interface of this microservice provides the method getHdfsStructure to get the whole file structure, including folders and files.

Repository structure

We split the repository into two parts. The repo and the workflow. The repo contains the files and data. And the workflow contains the saved workflows. When you talk to the interface, you have to specify the location.

root
|-- repo
    |-- folder1
    |    -- file1.txt
    |    -- file2.txt
    |-- folder2
    |    -- file3.txt
    |-- file4.txt
|-- workflow
    |-- savedWorkflow1.wf
    |-- savedWorkflow2.wf
Clone this wiki locally