User Tools

Site Tools


pracro:post-commit-hook

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
pracro:post-commit-hook [2011/12/02 10:33] devapracro:post-commit-hook [2011/12/02 10:42] deva
Line 1: Line 1:
 ======Post-Commit-Hook design====== ======Post-Commit-Hook design======
 A method for running a script on session data is needed on session-commit (possibly also discard?) in order to for example be able to post data to external databases when the data are commit to the pracro database. A method for running a script on session data is needed on session-commit (possibly also discard?) in order to for example be able to post data to external databases when the data are commit to the pracro database.
 +The post-commit-hook scripts are to be executed //after// the commit has been performed successfully to the database.
 +
 The mechanism should be designed so that it is also able to handle journal commits to pcpraxis (currently handled in c++ via upload server) and thereby replacing part of the functionality in the existing ''<resume>'' tag: The mechanism should be designed so that it is also able to handle journal commits to pcpraxis (currently handled in c++ via upload server) and thereby replacing part of the functionality in the existing ''<resume>'' tag:
 <code xml> <code xml>
pracro/post-commit-hook.txt · Last modified: 2011/12/02 13:35 by deva