Task #10807 (new)
Opened 11 years ago
Last modified 8 years ago
Final DB modifications — at Version 14
Reported by: | jamoore | Owned by: | |
---|---|---|---|
Priority: | critical | Milestone: | 5.0.0-beta2 |
Component: | Model | Version: | 4.4.9 |
Keywords: | fs | Cc: | fs@… |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description (last modified by jamoore)
If we have time to perform further DB changes, the following would simplify much of the OriginalFile? and binary logic put in place for FS:
Mimetype
- register() should check for mimetypes
- originalfile super class so there's no mimetype??
- OriginalFile? extends BaseFile? to remove sha1, mimetype, etc.: Dropping several of the OriginalFile? fields would significantly simplify synchronization between the FS and the DB.
- Move DIRECTORY_MIMETYPE to constants.
- Mimetypes (including "Directory") should be compared to standards: There are various mimetypes relating to directories. Perhaps we could either use of those, or use an "application/vnn.openmicroscopy.dir" style
filesets
- add javaVersion to FilesetVersionInfo?. (And Python?) (see 888)
- Review all the version info set by python/Java/C++
- where to put tags during upload
- check for other definitions of "Reader" (with formatString.replaceAll)
- include FileInfo (e.g. companion=true, series=2 in filesetEntry (See #10979)
Misc
- PixelsType?.MIN|MAX in database
Change History (14)
comment:1 Changed 11 years ago by mtbcarroll
comment:2 Changed 11 years ago by jamoore
- Description modified (diff)
comment:3 Changed 11 years ago by jamoore
- Keywords fs added
comment:4 Changed 11 years ago by jamoore
- Description modified (diff)
- Priority changed from major to critical
- Sprint changed from FS demo 4.x to FS demo 4.2
- Summary changed from Final OriginalFile modifications to Final DB modifications
comment:5 Changed 11 years ago by jburel
- Sprint changed from FS demo 4.2 to FS Demo 4.3
Moved from sprint FS demo 4.2
comment:6 Changed 11 years ago by jamoore
- Description modified (diff)
comment:7 Changed 11 years ago by mtbcarroll
The java version information could be stored in a hstore column; will that need extra code in Property.java and a new ParameterizedType implementation used by PostgresSqlAction?
comment:9 Changed 11 years ago by mtbcarroll
If we use a late enough JDBC driver: http://postgresql.1045698.n5.nabble.com/Patch-Add-support-for-hstore-extension-and-map-it-to-from-java-util-Map-td5699633.html
comment:10 Changed 11 years ago by mtbcarroll
also note #7069
comment:11 Changed 11 years ago by mtbcarroll
Is there any further work for beta2 here that must be accounted for by #11516?
comment:12 Changed 11 years ago by jamoore
Some of these it would certainly be good to address for 5.0.0, but whether or not we get that done for beta2 is unclear.
comment:13 Changed 11 years ago by jamoore
- Milestone changed from OMERO-5 to 5.0.0-beta2
- Sprint FS demo 4.x deleted
- Version set to 4.4.9
Moving to beta2 for evaluation.
comment:14 Changed 10 years ago by jamoore
- Description modified (diff)
Things like repositories and directories and whatnot should perhaps each have separate classes in the hierarchy.