Britt Park
b8ff632f15
AVM stores are renamable. Beware. Database schema has changed since I needed to
...
introduce a synthetic primary key into the stores table.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4492 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-02 20:03:20 +00:00
Britt Park
57424368b7
Odds and ends. Another CLT. Renamed an AVM stress test so that it won't run
...
during builds but is available for periodic checks. A sort-of-experimental
optimization of the AVM lookup cache. Minor config change for remote
authentication.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4491 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-02 06:32:30 +00:00
Britt Park
d12551d5cc
Lookup caching is working. It's fairly heavy handed in its invalidation
...
strategy, but seems to give a 10-20% performance boost.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4426 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-22 16:14:22 +00:00
Britt Park
75f3c91b12
Another lookup cache checkpoint.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4407 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-21 01:46:55 +00:00
Britt Park
5e36db4b45
Reorganized AVMContext convenience class for accessing various singletons
...
into AVMDAOs for accessing AVM DAO singletons and RawServices for accessing
uninstrumented versions of some services.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3980 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-30 03:46:23 +00:00
Britt Park
4f715ac9bc
Reworks AVMService.getIndirection() to return the indirection path for a plain node
...
in a layered context. Modified AVMHostConfig to use this method.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3903 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-23 17:40:54 +00:00
Britt Park
9a2a67605c
Fixed WCM-11. Semantics of getDirectoryListingDirect() are consistent now.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3456 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-03 21:13:16 +00:00
Britt Park
e5eb45da0f
Introducing a new API call into AVMService:
...
LayeringDescriptor getLayeringInfo(version, path);
LayeringDescriptor has three methods:
isBackground() Is the looked up node a background node.
getPathAVMStore() Gets a descriptor for the store the path was looked up in.
getNativeAVMStore() Gets the store that the actual node was found in.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3348 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-18 19:08:21 +00:00
Britt Park
60cdda3f13
Renamed a few things. What used to be SuperRepository (kind of meaning free name
...
wasn't it) is now AVMRepository. What used to be Repository is now AVMStore as it
more closely matches what is meant by a store in Alfresco. Many adjustments
in ancillary class names, references, and comments followed.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3329 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-16 18:19:59 +00:00
Britt Park
b601821d98
Just a pass at kruft removal.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3307 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-12 15:28:33 +00:00
Britt Park
d0b5b14af1
Refactored persistence for AVM. I'm guessing because I dropped a number of
...
unnecessary flushes seems about 20% snappier.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3296 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-11 09:32:13 +00:00
Britt Park
b55958b062
Made Lookup::getIndirectionPath() somewhat less ridiculous.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3262 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-28 13:45:17 +00:00
Britt Park
72f2ff989d
A new concurrency test. Fixed bug in the way that paths were being handed
...
back in AVMNodeDescriptors.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3255 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-27 17:39:27 +00:00
Britt Park
64288d531d
Added rename to console. More in progress tweaks for concurrency.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3237 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-24 17:27:00 +00:00
Britt Park
b580c28494
Got rid of a lot of no longer needed work in Lookup.add(). Minimized
...
the number of explicit session.flush()s. Fixed several places that
were throwing uninformative exceptions.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3227 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-23 14:57:26 +00:00
Britt Park
91e39c8fd6
Some minor cleanups. Added a few missing operations to console.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3182 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-22 00:49:10 +00:00
Britt Park
1318a5204b
Changed copy on write to occur during lookup, rather than after lookup.
...
Much carnage, but it's way faster.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3172 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-21 13:07:42 +00:00
Britt Park
9c17cfa1e0
Purge tests cover more now. Moved purging queries into mapping file.
...
Added call to AVMService to get Versions
by creation date. GetRepositoryVersions methods now return Lists of
VersionDescriptors, value objects with the attributes of a version.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3131 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-17 18:48:44 +00:00
Britt Park
936f6d7021
This checks in the current state of WCM development.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3128 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-16 16:59:15 +00:00
Britt Park
d800048a10
A handful of more involved tests. Surprisingly few things needed fixing.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2962 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-23 22:47:15 +00:00
Britt Park
bd0752eb4a
Fairly complete test coverage of basic sanity type operations: createFile, createDirectory,
...
createBranch, createLayeredDirectory, createLayeredFile, rename, delete, read, write, snapshot,
listDirectory. Rename, createLayeredDirectory, createBranch all tested across repositories also.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2940 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-22 19:03:46 +00:00
Britt Park
df28c98983
Retyped a counter so had to muck with many beans. Forced creation of layered directories
...
to work.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2930 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-21 21:59:41 +00:00
Britt Park
1b4c08d1d4
More cleanup, fixing, and general futzing. A checkpoint.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2920 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-18 18:18:46 +00:00
Britt Park
8818e8daba
Merged all the AVM mapping files into one medium file. I find it easier to follow.
...
Purged the pointless FileContentFactory class. If everything else were working file reading
and writing would now work. Various other cleanups and some richer internal documentation.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2904 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-16 22:55:37 +00:00
Britt Park
8433c03ed0
Having managed to get WCM-DEV royally screwed up, I made a new branch,
...
WCM-DEV2 and added back my changes.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2804 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-09 23:22:15 +00:00