Britt Park
b8595831c8
Moved a bunch of things to more logical locations.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4497 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-03 15:43:16 +00:00
Britt Park
03a93a3cf7
Added a method to AVMService and its dependent services to get an InputStream
...
directly from a node descriptor. It's a minor optimization for a few use
scenarios. It's also convenient for accessing content of historical file
versions directly.
Another CLT, to list the versions of a store.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4496 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-03 03:55:49 +00:00
Britt Park
b947cfc864
Another CLT plus some tweaks.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4495 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-03 01:46:46 +00:00
Britt Park
b19c40939f
Added a primitive but seemingly effective store name cache. Switching the
...
stores table to a synthetic primary key caused a 15% performance drop. This gets
that performance back, plus or minus.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4493 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-02 20:53:33 +00:00
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
b209f4c073
Exported AuthenticationService via RMI. Insecure for now but we can switch over
...
to using SSL when needed. Restructured exports of AVM specific apis to authenticate
remotely and pass the ticket with each remote service call. These required some changes
to jndi-client and even to the web-client which uses the AVM remote interface within
the Alfresco server. Oh, the point of this is that since I'm writing some CLTs, I might
as well do them correctly; we'll need the option of security sooner rather than later.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4489 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-02 00:54:41 +00:00
Britt Park
7ff8eaef28
Export AuthenticationService via RMI, in preparation for adding over the wire
...
authentication for CLTs. Until we use SSL transport for RMI this is subject
to authentication password and authentication ticket snooping, but that can
be fixed easily later.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4480 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-01 01:40:12 +00:00
Britt Park
bbd8db7b69
Added some more CLTs: AVMRm, removes nodes, AVMSnapshot, takes a snapshot of a store,
...
AVMCopyIn, copies a file or a directory recursively local filesystem to a store, AVMMkDir,
creates a directory.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4478 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-30 21:03:19 +00:00
Britt Park
e54464bf08
First three AVM CLTs.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4467 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-30 05:07:54 +00:00
Britt Park
23a1a5657d
Brought javadocs up to date with current api behavior in AVMService.
...
Got rid of a redundant and mostly unused method, the createSnapshot()
that takes a List of names. Adjusted to fit.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4453 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-29 03:04:53 +00:00
Britt Park
99e428afaa
Added getLatestSnapshotID() to Remote interface.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4449 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-27 20:58:12 +00:00
Britt Park
ef669bec2a
Odds and ends. Started infrastructure for AVM command line utilities.
...
Loosened cache invalidation for write operations so that layered/write
lookups are not discarded. Changed direct buffer copies to use
System.arraycopy.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4447 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-27 14:42:46 +00:00
David Caruana
f721bc3e07
Working implementation of basic WCM submit workflow.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4444 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-27 11:47:20 +00:00
Britt Park
65ba5f5024
Repaired stand alone version of the interpreter. Make sure .../repository/config is in
...
the classpath.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4436 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-23 18:12:49 +00:00
Britt Park
a5bd362e24
This allows missing nodes to override existing nodes during an update. It
...
should allow reverts to work correctly in all circumstances.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4429 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-22 19:10:17 +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
Kevin Roast
e5babd2675
. Staging area 'snapshot' action implemented in the UI
...
. List of Recent Snapshots component added to Staging area information table
- TODO: finish implementing Revert to Snapshot action in the UI
. Date filter UI implemented for recent snapshots (as there will be lots!)
. Fixed issue with name/title confusion in FormsService.getForm(name) method
. Added Default Webapp field to Create Web Project wizard and added to WCM model for a web project
- TODO: implement this as default root path when browsing a sandbox
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4413 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-21 17:13:04 +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
837095a411
Another lookup cache checkpoint.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4405 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-20 22:41:46 +00:00
Britt Park
454a26767e
Check point of Lookup Caching.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4401 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-20 19:22:38 +00:00
Britt Park
992bd82b9e
Cleaned up a seriously unnecessary ugliness.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4378 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-17 00:57:31 +00:00
Britt Park
4287b291d4
Added getContentReader and createContentWriter to AVMService. Also added convenience
...
getDirectoryListingArray() calls which return listings as arrays instead of Maps.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4377 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-16 19:53:42 +00:00
Kevin Roast
b5f3167443
. Create Web Content from Form hooked into Available Content Forms panel in the User Sandboxes component
...
- Create Web Content form initialised with the correctly selected form template in the drop-down
. Revert node, Revert Selected and Revert All actions working
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4370 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-16 13:17:41 +00:00
Britt Park
a4e9b2fd6f
This is an action to undo a list of changes made in a user sandbox, relative to
...
the staging sandbox. Turns out yesterday's revert action isn't quite what is
wanted for this use case.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4366 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-15 20:40:27 +00:00
Britt Park
2cab072bc1
Provided a getLatestSnapshotID() for AVMService. It returns the latest extant version of
...
a store.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4364 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-15 15:30:50 +00:00
Britt Park
965d55de14
A Revert action that should serve for both reverting a staging store or reverting picked content in
...
a users sandbox. It has a test that works and everything.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4357 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-14 20:06:27 +00:00
Britt Park
d8fcc2f3f9
One simple revert action, and a tool for encoding pick lists for more complicated actions
...
in the future.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4348 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-14 02:02:53 +00:00
Britt Park
fa0bb97dc1
Rejiggered ChildEntry and its mapping, for considerably better performance. Actually
...
it was kind of a Doh! moment.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4336 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-12 13:53:29 +00:00
Britt Park
c6221ca8a5
This adds a wrapper OutputStream class for remote access to the AVM. It
...
also exports AVMSyncService remotely. (For our friends at Eye Street).
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4316 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-08 17:24:00 +00:00
Britt Park
2c20af6d2b
Fixed the two tests that were failing in the continuous build. Disabled
...
four really long winded AVM performance and stress tests. This should speed
up the continuous build on the wcm branch. The tests should probably be set up
to run periodically with other long running exhaustive performance, and stress tests.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4293 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-06 06:11:26 +00:00
Britt Park
7fdf8130c8
Extended VersionDescriptor to include new short and long descriptions.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4292 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-06 05:09:51 +00:00
Britt Park
f501073de5
Added two new fields to VersionRoot (the version record), a short description,
...
and a long description. Adjusted signature of createSnapshot(), and update()
to match, and thus actions and tests that needed to be fixed.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4290 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-05 23:41:55 +00:00
Britt Park
2355b9e00f
Added a recursive copy method to AVMService. Added basic test for it. However,
...
for most purposes, createBranch has the same effect at a fraction of the cost.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4287 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-05 15:58:33 +00:00
Britt Park
267e4d06b0
A more scalable implementation of getCommonAncestor. Performance is roughly proportional
...
to the distance of the common ancestor from the compared nodes.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4265 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-31 15:17:09 +00:00
Britt Park
3ad75520ca
Turned down the volume on several time consuming tests. Snapshot of currently
...
not working WCM workflow.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4247 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-27 19:29:02 +00:00
Ariel Backenroth
4505261195
- moving AVMRemoteInputStream from jndi-client project to repo project
...
- extracting utility methods from sample website into generalized extension functions that can be used from xsl, freemarker (i hope), and jsp. they all use AVMRemote to access data and each context has it's own adapter.
- implemented callout functions from xsl. able to load multiple documents and traverse them.
- removed QNames from TemplatingService and added them to WCMModel. this will break edit on any existing assets - you'll have to create new ones that have the right properties. still not happy with model since besides not having child associations in place, i don't have a way of differentiating between the generated xmls and the other generated assets. major bug.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4138 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-18 06:20:50 +00:00
Britt Park
0774219b75
A real, if brute force, fix for cycle detection during lookups.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4106 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-12 18:10:17 +00:00
Britt Park
357781f35c
This is a very rudimentary version of a WCM Workflow that uses
...
Workflow packages. It's hooked up to the sumbit single file action in
the top level website screen in an exceedingly awkard way. The UI
doesn't complain about anything, nor does it display the contents of
the package.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4099 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-11 23:02:35 +00:00
Britt Park
21941d7385
Turned off, for now, because the current implementation is decidedly borked,
...
heuristic cycle checking. This was causing the css not showing up in initial
previews of web pages, followed by showing up on one or more refreshes. I am a
prat. The evidence is irrefutable.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4084 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-09 21:49:07 +00:00
Britt Park
446343b697
Changes the behavior of submit to clobber when there are conflicts, so that
...
Preview I evaluators never get into a situation they can't get out of.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4083 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-09 19:53:57 +00:00
Kevin Roast
d03bc33acb
. Moved avm specific types from ContentModel (cm) into WCMModel (wcm)
...
. Updated appropriate AVM and client classes to use new types
. Updated application types to derive from wcm types
NOTE: You will need a new database - this is NOT backward compatible with current websites!
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4022 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-04 16:39:26 +00:00
Britt Park
48d4ce2a0d
A pair of aspect definitions for tagging XForms templates and
...
related transformers. Should be enough to get rid of current
configuration file.
Minor checkpoint of WCM workflow work.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4011 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-03 19:49:59 +00:00
Britt Park
c9606905e4
Garbage collector was a bit over-zealous in removing content files.
...
It's better now.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4009 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-03 16:34:20 +00:00
Britt Park
8da23d1cdc
Reworked addAspect so that it wouldn't be quite so achingly slow.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4006 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-03 14:11:46 +00:00
Britt Park
0fc71b8d68
Checkpoint of WCM workflow package support.
...
Setting titled and uifacets via AVMService instead of through
AVMNodeService. 1000 file import takes ~5 minutes. Awful but better
than before.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3995 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-02 19:42:56 +00:00
Britt Park
c2e407165e
Changed AVMNodeConverter.ToAVMVersionPath() to return a
...
Pair<Integer, String>.
Fixed avm.jsp which got busted by last checkin.
Added implementation of AddChild to AVMNodeService.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3983 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-30 17:51:15 +00:00
Britt Park
0db9ace91f
Turned off policy callbacks in AVMNodeService. The right place for those
...
is in AVMService. Until then these speeds things up considerably.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3982 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-30 15:22:11 +00:00
Britt Park
20bff37610
Purged two vestigial arguments from DirectoryNode.lookupChild() interface.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3981 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-30 14:49:57 +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