lams_contentrepository

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Switched db names

Improved the handling of Spring configuration and created a proxy to make it easier to call the repository.

Corrected comment

Fixed a possible NullPointerException

Use a database lams11 - so I can have old and new schemas in the same db server.

    • -1
    • +1
    ./db/sql/create_content_repository_tables.sql
    • binary
    ./lib/struts/struts-el.jar
Got the collections caching with JBOSS cache. Got unit tests working with ehcache. Build file now generates hbm.xml from java files using xdoclet.

    • binary
    ./lib/ehcache/ehcache-1.1.jar
  1. … 8 more files in changeset.
Experimenting with JBOSS cache

    • -0
    • +61
    ./conf/jboss/treecache.xml
    • -0
    • +134
    ./src/java/treecache.xml
Rejigged the link from the child node to the parent to point from the child node (rather than child node version). This restricts us to a design where we always create new nodes for new versions of a parent. Also made the lookup of child nodes manual (rather than loaded automatically by hibernate). Doesn't use lazy loading - goes direct to database to find node. Not so nice. But the changes have almost doubled the throughput in my testing.

    • -10
    • +10
    ./db/sql/create_content_repository_tables.sql
Change name from com.lamsinternational to org.lamsfoundation. Changed all the entries I can find but the jar file still contains a folder reference it appears.

  1. … 401 more files in changeset.
Improved messages on deletion of files on rollback of save.

  1. … 145 more files in changeset.
Added getPackageNodes call - gets a list of all the nodes for a package, including the package node itself.

    • -0
    • +3
    ./.settings/org.eclipse.core.resources.prefs
  1. … 149 more files in changeset.
Corrected code that gets all the nodes from a workspace, and ensured that when nodes are returned to a calling program, they are only returned if their workspace matches the ticket.

Recompiled javadoc

  1. … 145 more files in changeset.
Added check to ensure that a requested node is not returned if the ticket is for a different workspace

Got packages displaying okay in demo - using a special servlet that embeds the uuid and version in the path.

Adding javadoc

    • -0
    • +130
    ./doc/allclasses-frame.html
    • -0
    • +130
    ./doc/allclasses-noframe.html
  1. … 161 more files in changeset.
Changed paths to suit D: drive

Delete node implemented - there is one bug that shows up in demo web app.

Refactored to move node calls and transactions from Ticket to Repository. Ticket now a much simpler object that can go in the session.

    • -1
    • +1
    ./web/WEB-INF/struts/.struts-config.mex
    • -0
    • +4
    ./web/WEB-INF/struts/struts-config.xml
Basic demo working

    • binary
    ./lib/jakarta-commons/commons-fileupload.jar
    • -1
    • +1
    ./web/WEB-INF/struts/.struts-config.mex
    • -34
    • +50
    ./web/WEB-INF/struts/struts-config.xml
    • -0
    • +19
    ./web/loggedout.html
Partial implementation of demo

    • -0
    • +1
    ./web/WEB-INF/.struts-config.mex
    • -0
    • +393
    ./web/WEB-INF/jstl/c-rt.tld
    • -0
    • +416
    ./web/WEB-INF/jstl/c.tld
    • -0
    • +403
    ./web/WEB-INF/jstl/fmt-rt.tld
    • -0
    • +442
    ./web/WEB-INF/jstl/fmt.tld
    • -0
    • +188
    ./web/WEB-INF/jstl/sql-rt.tld
    • -0
    • +213
    ./web/WEB-INF/jstl/sql.tld
    • -0
    • +256
    ./web/WEB-INF/jstl/x-rt.tld
    • -0
    • +273
    ./web/WEB-INF/jstl/x.tld
    • -0
    • +1
    ./web/WEB-INF/struts/.struts-config.mex
  1. … 17 more files in changeset.
Added transactions to Ticket. Implemented Parent/Child node relationships. Implemented saving of a packaged node.

Finished addFileItem, updateFileItem in SimpleTicket, added next_version_id column to node.

    • -0
    • +1
    ./db/sql/create_content_repository_tables.sql
Finished addFileItem, updateFileItem in SimpleTicket, added new_version_id column to node.

Started implementation of SimpleTicket, removed root node concept as it was giving problems for no positive help.

    • -4
    • +1
    ./db/sql/create_content_repository_tables.sql
Reads and writes files to the repository directories

Reads and writes files to the repository directories

Fixed cascading issue - wasn't saving version and property collections

Tweaked collections used for relationships, started move to put extra code in hibernate objects. Added version history implementation

Tweaked collections used for relationships, started move to put extra code in hibernate objects