Ticket #291 (closed Feature Request: fixed)
File Repository
Reported by: | jri | Owned by: | jri |
---|---|---|---|
Priority: | Major | Milestone: | Release 4.1 |
Component: | DeepaMehta Standard Distribution | Version: | 4.0.11 |
Keywords: | Cc: | dgf, Malte | |
Complexity: | 8 | Area: | |
Module: |
Description
The concept of a server-side file repository and its client-side mirror repositories should be implemented in its own module: DeepaMehta 4 File Repository. See #289 and #290.
Change History
comment:2 Changed 12 years ago by Jörg Richter
Files plugin: extend service (#291).
2 new methods in Files service:
String getRepositoryPath(URL url)
Checks if the given URL refers to the file repository of this DeepaMehta installation, and if so, returns the refered file's/directory's repository path.
File getFile(String path)
Accesses a file/directory in the file repository by its path.
This method doesn't require the corresponding File/Folder? topic to exist.
Furthermore in Core's JSONHelper:
boolean isDeepaMehtaURL(URL url)
Checks if the given URL's host and port refers to this DeepaMehta installation.
Note: meanwhile the class JSONHelper contains non-JSON related methods as well.
JSONHelper is about to be renamed to DeepaMehtaUtils?.
See ticket 291.
comment:3 Changed 12 years ago by Jörg Richter
Files plugin: exception handling + logging (#291).
See ticket 291.
comment:4 Changed 12 years ago by Jörg Richter
Files plugin: extend service (#291).
2 new methods in Files service:
String getRepositoryPath(URL url)
Checks if the given URL refers to the file repository of this DeepaMehta installation, and if so, returns the refered file's/directory's repository path.
File getFile(String path)
Accesses a file/directory in the file repository by its path.
This method doesn't require the corresponding File/Folder? topic to exist.
Furthermore in Core's JSONHelper:
boolean isDeepaMehtaURL(URL url)
Checks if the given URL's host and port refers to this DeepaMehta installation.
Note: meanwhile the class JSONHelper contains non-JSON related methods as well.
JSONHelper is about to be renamed to DeepaMehtaUtils?.
See ticket 291.
comment:5 Changed 12 years ago by Jörg Richter
Files plugin: exception handling + logging (#291).
See ticket 291.
comment:6 Changed 12 years ago by jri
- Status changed from accepted to closed
- Resolution set to fixed
In contrast to the original description the file repository is not implemented in its own module (but part of the Files plugin) and there are no client-side mirror repositories.
Nevertheless, the file repository feature is considered complete for the moment.