Changeset 7548
- Timestamp:
- Dec 10, 2018, 12:53:32 PM (4 years ago)
- Location:
- trunk
- Files:
-
- 18 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/config/dist/base.config
r7521 r7548 125 125 # Secondary storage section 126 126 # ========================= 127 # 128 # DEPRECTAED SINC BASE 3.14. IT WILL BE REMOVED IN A NEAR FUTURE. 129 # 127 130 # The classname of the driver; leave empty to disable secondary storage 128 131 # secondary.storage.driver = net.sf.basedb.core.InternalStorageController -
trunk/doc/src/docbook/admin/installation.xml
r7547 r7548 112 112 </para> 113 113 114 <bridgehead>Secondary storage</bridgehead> 115 <para> 116 The <guilabel>Secondary storage</guilabel> feature has been deprecated 117 and will be removed in a future release. The recommendation is to replace 118 this feature with an external files solution instead. 119 </para> 120 114 121 </important> 115 122 -
trunk/doc/src/docbook/appendix/base.config.xml
r7521 r7548 443 443 <title>Secondary storage controller</title> 444 444 445 <note> 446 This feature has been deprecated in BASE 3.14 and will be removed in a 447 future release. The recommendation is to replace this with an 448 external files solution instead. 449 </note> 450 445 451 <para> 446 452 This section contains settings for the secondary storage controller. See -
trunk/doc/src/docbook/developer/extensions.xml
r7543 r7548 1990 1990 1991 1991 The BASE plug-ins site has an connection manager that support 1992 the Hadoop distributed file system (HDFS): <ulink1993 url="http://baseplugins.thep.lu.se/wiki/net.sf.basedb. hdfs">1994 http://baseplugins.thep.lu.se/wiki/net.sf.basedb. hdfs</ulink>1992 external files via FTP and SFTP: <ulink 1993 url="http://baseplugins.thep.lu.se/wiki/net.sf.basedb.xfiles"> 1994 http://baseplugins.thep.lu.se/wiki/net.sf.basedb.xfiles</ulink> 1995 1995 </para> 1996 1996 -
trunk/doc/src/docbook/developer/plugins.xml
r6863 r7548 3481 3481 <sect2 id="plugin_developer.other.secondary"> 3482 3482 <title>Secondary file storage plugins</title> 3483 3484 <note> 3485 This feature has been deprecated in BASE 3.14 and will be removed in a 3486 future release. The recommendation is to replace this with an 3487 external files solution instead. See <xref linkend="extensions_developer.connection_manager" /> 3488 for more information. 3489 </note> 3483 3490 3484 3491 <sect3 id="plugin_developer.other.secondary.vsprimary"> -
trunk/src/clients/web/net/sf/basedb/clients/web/Base.java
r7516 r7548 1723 1723 @since 2.5 1724 1724 */ 1725 @SuppressWarnings("deprecation") 1725 1726 public static String getFileLinks(String ID, File file, String root) 1726 1727 { -
trunk/src/core/net/sf/basedb/core/Application.java
r7540 r7548 447 447 secondaryStorageDriver = Config.getString("secondary.storage.driver"); 448 448 log.info("secondary.storage.driver = " + secondaryStorageDriver); 449 if (secondaryStorageDriver != null) 450 { 451 log.warn("The secondary storage feature has been deprecated in BASE 3.14 and will be removed in a future release."); 452 } 449 453 450 454 sessionCacheTimeout = Config.getInt("cache.timeout", 20); // minutes … … 764 768 @return TRUE if a secondary storage is available, FALSE otherwise 765 769 @see File#setLocation(Location) 766 */ 770 @deprecated In 3.14, no replacement 771 */ 772 @Deprecated 767 773 public static boolean hasSecondaryStorage() 768 774 { … … 777 783 @throws BaseException If the controller class could not be loaded 778 784 @see #hasSecondaryStorage() 779 */ 785 @deprecated In 3.14, no replacement 786 */ 787 @Deprecated 780 788 static SecondaryStorageController getSecondaryStorageController() 781 789 { … … 1248 1256 } 1249 1257 1250 1258 @Deprecated 1251 1259 private static class SecondaryStorageControllerTask 1252 1260 extends TimerTask -
trunk/src/core/net/sf/basedb/core/DbControl.java
r7513 r7548 572 572 @throws BaseException If there is another error 573 573 */ 574 @SuppressWarnings("deprecation") 574 575 private void updateDiskUsage(BasicItem item) 575 576 throws QuotaException, BaseException -
trunk/src/core/net/sf/basedb/core/File.java
r7511 r7548 769 769 Get the {@link File.Action} of this file. 770 770 @return the action 771 */ 771 @deprecated In 3.14, no replacement 772 */ 773 @Deprecated 772 774 public File.Action getAction() 773 775 { … … 782 784 write permission 783 785 @throws InvalidUseOfNullException If action is null 784 */ 786 @deprecated In 3.14, no replacement 787 */ 788 @Deprecated 785 789 public void setAction(File.Action action) 786 790 throws PermissionDeniedException, InvalidUseOfNullException … … 1010 1014 @throws PermissionDeniedException If the logged in user doesn't have write permission 1011 1015 */ 1016 @SuppressWarnings("deprecation") 1012 1017 public void setUrl(String url, boolean loadMetadata) 1013 1018 { … … 1060 1065 @throws PermissionDeniedException If the logged in user doesn't have write permission 1061 1066 */ 1067 @SuppressWarnings("deprecation") 1062 1068 public void setUrl(String url, UriMetadata metadata) 1063 1069 { … … 1688 1694 1689 1695 @author enell 1690 */ 1696 @deprecated In 3.14, no replacement 1697 */ 1698 @Deprecated 1691 1699 public enum Action 1692 1700 { -
trunk/src/core/net/sf/basedb/core/Install.java
r7536 r7548 1150 1150 Create a {@link QuotaType}. 1151 1151 */ 1152 @SuppressWarnings("deprecation") 1152 1153 private static QuotaTypeData createQuotaType(String systemId, String name, String description, boolean secondaryLocation) 1153 1154 throws BaseException -
trunk/src/core/net/sf/basedb/core/InternalStorageController.java
r6881 r7548 80 80 @version 2.0 81 81 @base.modified $Date$ 82 @deprecated In 3.14, no replacement 82 83 */ 84 @Deprecated 83 85 final class InternalStorageController 84 86 implements SecondaryStorageController -
trunk/src/core/net/sf/basedb/core/Location.java
r6127 r7548 47 47 The item is stored in secondary storage. Note! This type 48 48 of storage may not be available on all servers. 49 @deprecated In 3.14, no replacement 49 50 */ 51 @Deprecated 50 52 SECONDARY(2, "Secondary", false, true), 51 53 /** -
trunk/src/core/net/sf/basedb/core/Quota.java
r7381 r7548 379 379 @throws PermissionDeniedException If the user has no write permissions. 380 380 */ 381 @SuppressWarnings("deprecation") 381 382 public void setQuotaValue(QuotaType quotaType, Location location, long bytes) 382 383 throws InvalidDataException, PermissionDeniedException -
trunk/src/core/net/sf/basedb/core/QuotaType.java
r7308 r7548 223 223 in the secondary location or not. 224 224 @return <code>true</code> if the secondary location can be used, <code>false</code> otherwise 225 */ 225 @deprecated In 3.14, no replacement 226 */ 227 @Deprecated 226 228 public boolean hasSecondaryLocation() 227 229 { -
trunk/src/core/net/sf/basedb/core/SecondaryStorageController.java
r6898 r7548 47 47 @version 2.0 48 48 @base.modified $Date$ 49 @deprecated In 3.14, no replacement 49 50 */ 51 @Deprecated 50 52 public interface SecondaryStorageController 51 53 { -
trunk/src/core/net/sf/basedb/core/data/FileData.java
r6468 r7548 123 123 object. 124 124 @hibernate.property column="`action`" type="int" not-null="true" 125 */ 125 @deprecated In 3.14, no replacement 126 */ 127 @Deprecated 126 128 public int getAction() 127 129 { 128 130 return action; 129 131 } 132 @Deprecated 130 133 public void setAction(int action) 131 134 { -
trunk/src/core/net/sf/basedb/core/data/QuotaTypeData.java
r6127 r7548 107 107 108 108 @hibernate.property column="`secondary_location`" type="boolean" not-null="true" update="false" 109 @deprecated In 3.14, no replacement 109 110 */ 111 @Deprecated 110 112 public boolean getSecondaryLocation() 111 113 { 112 114 return secondaryLocation; 113 115 } 116 @Deprecated 114 117 public void setSecondaryLocation(boolean secondaryLocation) 115 118 { -
trunk/src/test/TestFile.java
r6576 r7548 343 343 if (!TestUtil.getSilent()) 344 344 { 345 write(" \tID \tName \tDescription\tFiletype\tUsed\tLocation\t Action\tSize \tCompressed size\tMime type\tCharacter set\tPath");346 write("-- \t-- \t--------- \t-----------\t--------\t----\t--------\t------ \t--------\t---------------\t---------\t-------------\t----");345 write(" \tID \tName \tDescription\tFiletype\tUsed\tLocation\tSize \tCompressed size\tMime type\tCharacter set\tPath"); 346 write("-- \t-- \t--------- \t-----------\t--------\t----\t--------\t--------\t---------------\t---------\t-------------\t----"); 347 347 } 348 348 } … … 351 351 { 352 352 if (!TestUtil.getSilent()) System.out.println(i+":\t"+fi.getId()+"\t"+fi.getName()+"\t"+fi.getDescription()+"\t"+ 353 fi.getItemSubtype()+"\t"+fi.isUsed()+"\t"+fi.getLocation()+"\t"+ fi.getAction()+"\t"+353 fi.getItemSubtype()+"\t"+fi.isUsed()+"\t"+fi.getLocation()+"\t"+ 354 354 fi.getSize()+"\t" + fi.getCompressedSize() + "\t"+fi.getMimeType()+"\t"+ 355 355 fi.getCharacterSet()+"\t"+fi.getPath());
Note: See TracChangeset
for help on using the changeset viewer.