99377: BENCH-369: BM-0004: API and internals for Alfresco server
- Move commons Math3 to 'core' project for general reuse
- Clone NormalDistributionHelper class from Benchmark projects to Alfresco 'core'
- API added: http://localhost:8080/alfresco/s/api/model/filefolder/load
JSON:
{
"folderPath":"/Sites/t2/documentLibrary",
"fileCount":"1",
"minFileSize":"1024",
"maxFileSize":"2048",
"maxUniqueDocuments":"10000"
}
- Above JSON will create 1 file in the 't2' site document library with spoofed plain text
- Change away from deprecated API for TransactionListenerAdapter
- Fix imports and neatness
- Improve FileNotFoundException details
- Disable timestamp propagation on the parent folder to reduce CPU overhead
- Document changes relating to the addition of cm:description properties
- Add options to control generation of MLText cm:description fields
- descriptionCount: number of cm:description translations to include
- descriptionSize: size in bytes of each cm:description translation
- Use released 'alfresco-text-gen' V1.1
- Use fixed text-gen component to prevent ArrayIndexOutOfBOunds
- Tighten up error message when errors occur on reading content strings
- Fix random seed generation bug
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@99503 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
99376: BENCH-371: BM-0004: Copy Alfresco and set up build plan
- Modify FileContentStore to service 'spoof://' URLs
- SpoofedTextContentReader to generate consistent text for URL
- Fix FileContentStoreTest so that tests actually execute
- Add override for @After so that no NPEs are thrown
- Add tests for the 'spoof://' protocol
- Some additional checks for IllegalArgumentException on SpoofedTextContentReader construction
- Force delete of 'spoof' to return false but not fail with an exception
This is handled neatly by the EagerContentStoreCleaner, which accepts that the stores may protect data according to their own needs e.g. Centera
- Add spoofing option to FileFolderPerformanceTester
290 files/s for 1K files vs 460 files/s for spoofed text files (no binary streaming required)
- Start FileFolderLoader component that will be used by the API
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@99502 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261