Previous fix for this issue changed the unit test to be consistent with the
alfresco-text-gen library, so that they both counted characters. Actually both
should count bytes. Fix the library to count bytes, update the dependency and
revert the change to the testLoad_15_default unit test.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@118819 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
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