Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
MODE-2698: retain brute-force unused object removal as default when lifecycle-based removal is not enabled by deleteUnusedNatively repository configuration property. In all cases use tags rather than metadata to store unused status, and provide an upgrade function to migrate this information from metadata to tag. Additionally try and increase performance of original unused removal code by using parallel (spl)iteration.

    • -14
    • +124
    ./binary/S3BinaryStoreTest.java
  1. … 6 more files in changeset.
Implement tag-based marking of (un)used property in S3BinaryStore

    • -135
    • +189
    ./binary/S3BinaryStoreTest.java
  1. … 1 more file in changeset.
Add S3 metadata to distinguish "application/octet-stream" from user-defined MIME type

  1. … 1 more file in changeset.
MODE-2684 Removes the compile time dependency of modeshape-core towards Apache Tika The mime type extraction functionality will still function as-is if Tika is present, but now there is also an independent extension-based default which will be used if Tika is not present in the CP at runtime

  1. … 23 more files in changeset.
MODE-2678 Changes the DatabaseBinaryStore to use transactions instead of auto-committed connections It also fixes the case of multiple cluster nodes inserting the same binary simultaneously in the database.

    • -0
    • +35
    ./binary/DatabaseBinaryStoreTest.java
  1. … 1 more file in changeset.
MODE-2635 Adds replica set support for the Mongo binary store to the JSON and WF configs

  1. … 13 more files in changeset.
MODE-1446 Adds BinaryStorage option for Amazon S3

    • -0
    • +392
    ./binary/S3BinaryStoreTest.java
  1. … 22 more files in changeset.
MODE-2528 Integrates the new relational provider with the modeshape codebase This is a huge commit which makes the necessary changes to remove all Infinispan configuration and dependencies, replacing it with the new mechanism. It also contains several changes to the relational provider design because of various failing tests. This includes among other thing the necessity for ModeShape to notify the provider once exclusive locks have been obtained as part of each transaction.

    • -14
    • +18
    ./binary/AbstractBinaryStoreTest.java
  1. … 305 more files in changeset.
MODE-2547 Fixes MongoDB binary store potential data corruption when multi-threading

    • -1
    • +43
    ./binary/AbstractBinaryStoreTest.java
  1. … 3 more files in changeset.
MODE-2547 Fixes MongoDB binary store potential data corruption when multi-threading

    • -1
    • +47
    ./binary/AbstractBinaryStoreTest.java
  1. … 3 more files in changeset.
MODE-2540 Removes the ISPN binary store support.

    • -263
    • +0
    ./binary/infinispan/ChunkStreamTest.java
    • -45
    • +0
    ./binary/infinispan/InfinispanLocalBinaryStoreWithPersistenceTest.java
    • -58
    • +0
    ./binary/infinispan/InfinispanLocalBinaryStoreWithSingleCacheTest.java
  1. … 49 more files in changeset.
MODE-2537 Fixes the improper cleanup of components in case of an unexpected shutdown In the case when a repository terminated unexpectedly, certain thread pools could be left running. This commit makes sure that all the repository components are shut down even in the case of a startup failure. Also, it fixes the handling of thread pools for several unit tests.

    • -3
    • +7
    ./binary/FileSystemBinaryStoreTest.java
  1. … 8 more files in changeset.
MODE-2537 Fixes the improper cleanup of components in case of an unexpected shutdown In the case when a repository terminated unexpectedly, certain thread pools could be left running. This commit makes sure that all the repository components are shut down even in the case of a startup failure. Also, it fixes the handling of thread pools for several unit tests. The unit tests in question were also updated to use JDK 8 lambas in certain places.

    • -9
    • +10
    ./binary/FileSystemBinaryStoreTest.java
  1. … 15 more files in changeset.
MODE-2536 Ads the ability for ModeShape to lookup different JTA transaction managers This is required because in the absence of ISPN, ModeShape will have to be able to support both local and user transactions, regardless of the environment it's being run in. This commit also removes the "transactionMode" configuration option, as ModeShape should be able to auto-detect if it's being run or not in the context of a user transaction.

  1. … 33 more files in changeset.
MODE-2522 Removes the Joda date-time library dependency and switches to javax.time This also changes the current ModeShape DateTime API removing a lot of the existing methods and encouraging users to use the standard JDK 1.8 API.

    • -0
    • +85
    ./basic/ModeShapeDateTimeTest.java
    • -21
    • +18
    ./basic/ModeShapeDateTimeValueFactoryTest.java
    • -181
    • +0
    ./basic/JodaDateTimeValueFactoryTest.java
  1. … 25 more files in changeset.
MODE-2516 Updates JDK to 1.8 and jboss-parent to the latest version (19) This is the first significant commit of the 5.x series and contains a number of significant changes: - the naming of Maven version properties changed to adopt the standard pattern: 'version.<groupId>.<artifactId>' - build system and dependency updates so that the latest Maven plugin versions function correctly - updating source code to avoid compiler and javadoc warnings

  1. … 154 more files in changeset.
MODE-2517 Updates the re-indexing mechanism making sure changes are committed This commit also rearranges the location of the clustering configuration files.

  1. … 41 more files in changeset.
MODE-2507 Exposes the "trash" folder as a configurable option of the FileSystemBinaryStore

    • -1
    • +1
    ./binary/FileSystemBinaryStoreTest.java
  1. … 14 more files in changeset.
MODE-2489 Refactored mime-type handling and added the possibility of configuring the repository to use either "content", "name" or no mime-type detection at all.

    • -0
    • +2
    ./binary/CompositeBinaryStoreTest.java
    • -0
    • +1
    ./binary/FileSystemBinaryStoreTest.java
    • -0
    • +1
    ./binary/TransientBinaryStoreTest.java
    • -1
    • +2
    ./binary/infinispan/InfinispanLocalBinaryStoreWithSingleCacheTest.java
  1. … 28 more files in changeset.
MODE-2423 Moved to ISPN 7.2.0.CR1

  1. … 56 more files in changeset.
MODE-2437 Removed Infinispan test-jar dependencies and reduced as much as possible the regular ISPN API dependencies throughout the code.

  1. … 59 more files in changeset.
MODE-2418 Fixed the order in which the inner sessions are saved during checkin, making sure that the system session is saved first making the system-area data "available" first.

    • -1
    • +1
    ./binary/CassandraBinaryStoreTest.java
  1. … 4 more files in changeset.
MODE-2412 Fixed the handling of large extracted text values for the database binary stores: if the length of the text is larger than the size of the DB column, it will be trimmed.

    • -0
    • +15
    ./binary/DatabaseBinaryStoreTest.java
  1. … 5 more files in changeset.
MODE-2302 Corrected the Java and JavaDoc warnings

  1. … 6 more files in changeset.
MODE-2302 Corrected the Java and JavaDoc warnings

  1. … 5 more files in changeset.
MODE-2302 Changed the storage logic of the FileSystemBinaryStore to better support the used/unused state changes: binary values are always stored in the main persistence area and their used/unused state is reflected simply by the absence/presence of an empty file in the trash area, that has the SHA-1 (binary key) as name.

    • -8
    • +35
    ./binary/FileSystemBinaryStoreTest.java
  1. … 4 more files in changeset.
MODE-2302 Changed the storage logic of the FileSystemBinaryStore to better support the used/unused state changes: binary values are always stored in the main persistence area and their used/unused state is reflected simply by the absence/presence of an empty file in the trash area, that has the SHA-1 (binary key) as name.

    • -8
    • +35
    ./binary/FileSystemBinaryStoreTest.java
  1. … 3 more files in changeset.
MODE-2302 Changed the default behavior of storing binary properties: up until now, when a binary property was created the BinaryValue would be stored into the BinaryStore as a "used" value immediately, regardless of what happens with the transaction. This is no longer the case, as the new behavior is to store the BinaryValue initially as "unused" and only on tx commit, based on the actual binary references count would the binary become "used". There is one exception to this rule and that is the Backup/Restore process which doesn't use the JCR layer and process binaries immediately (essentialy keeping the old behavior). Numerous issues were found and corrected among existing binary stores implementations, chief among which being the fact that "getAllBinaryKeys" was not returning the keys of only the used binaries in all the stores.

    • -7
    • +30
    ./binary/AbstractBinaryStoreTest.java
    • -8
    • +8
    ./binary/CassandraBinaryStoreTest.java
    • -10
    • +10
    ./binary/CompositeBinaryStoreTest.java
    • -5
    • +5
    ./binary/FileSystemBinaryStoreTest.java
  1. … 13 more files in changeset.
MODE-2302 Changed the default behavior of storing binary properties: up until now, when a binary property was created the BinaryValue would be stored into the BinaryStore as a "used" value immediately, regardless of what happens with the transaction. This is no longer the case, as the new behavior is to store the BinaryValue initially as "unused" and only on tx commit, based on the actual binary references count would the binary become "used". There is one exception to this rule and that is the Backup/Restore process which doesn't use the JCR layer and process binaries immediately (essentialy keeping the old behavior). Numerous issues were found and corrected among existing binary stores implementations, chief among which being the fact that "getAllBinaryKeys" was not returning the keys of only the used binaries in all the stores.

    • -7
    • +30
    ./binary/AbstractBinaryStoreTest.java
    • -8
    • +8
    ./binary/CassandraBinaryStoreTest.java
    • -10
    • +10
    ./binary/CompositeBinaryStoreTest.java
    • -5
    • +5
    ./binary/FileSystemBinaryStoreTest.java
  1. … 14 more files in changeset.
MODE-2299, MODE-2305 Updated the build system to use a newer version of the BOM (CR13). This solves the CVEs around Apache HttpClient and Apache POI. Since this version of the BOM also uses the transitive dependency check rule, most of the ModeShape modules were changed & fixed to explicitly define used dependencies.

    • -2
    • +2
    ./binary/CassandraBinaryStoreTest.java
  1. … 21 more files in changeset.