diff options
author | cvs2git <cvs2git> | 2010-12-27 00:04:45 +0000 |
---|---|---|
committer | cvs2git <cvs2git> | 2010-12-27 00:04:45 +0000 |
commit | c82d349f864e6bd9f96fd1156903bc1f7193a203 (patch) | |
tree | e117a87533656110b6acd56fc0ca64289892a9f5 /rt/docs/design_docs/CARS | |
parent | 74e058c8a010ef6feb539248a550d0bb169c1e94 (diff) |
This commit was manufactured by cvs2svn to create tag 'TORRUS_1_0_9'.TORRUS_1_0_9
Diffstat (limited to 'rt/docs/design_docs/CARS')
-rwxr-xr-x | rt/docs/design_docs/CARS | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/rt/docs/design_docs/CARS b/rt/docs/design_docs/CARS deleted file mode 100755 index a4d2a78c5..000000000 --- a/rt/docs/design_docs/CARS +++ /dev/null @@ -1,66 +0,0 @@ -Conditional Automated Request Shuffler -Initial Design. <jesse@fsck.com> 9 Nov 99 - -#Try to find out what queue the incoming ticket is in -#Try to find out the default action for this invocation -#Read the ticket from STDIN -#Obtain the actor -#Obtain the serial # if we have one -#If the ticket has a ticket-id - #if this is a 'comment' - #add the current mime objects as a 'comment' - - #if this is 'correspondence' - #add the current mime object as 'correspondence' - - -#if this ticket does not yet have a ticket id - - #For now: - #Create a new ticket - - #In the distant future - - #load the regexp table matching this queue - #check the message agains the regexp table, ordered by precedence - #when we get a match - #get the ruleset for that regexp from the actions table - #evaluate the ruleset in order of precedence. - #if we get an 'exit' stop proccesing ALL rulesets -wpw #if we get a 'forward,' forward it to 'value'. - - #if we get a 'create,' create a request in 'value' - #elseif we get a 'map', add this as additional correspondence on ticket 'value' - - - #if we get an 'associate', associate the ticket number returned from the - 'create' or 'map' with the master ticket from 'value' - - #if we get a 'reply', - #load the reply template with id 'value' - #replace strings in the template - #send the template - - - - -CREATE TABLE Rules { -ID int AUTO_INCREMENT, -Desc varchar(120), -Regexp varchar(80), -Precedence int, -MatchField varchar(20), #Can be a headername or 'any' all header names - #end in : - - -CREATE TABLE Actions { -Rule int, -Action varchar(20), # Create, Forward, Squelch, Owner, Area, Associate -Value varchar(20), #queue or email address -Desc varchar(120) -} - -CREATE TABLE Autoreplies { -ID int AUTO_INCREMENT, -Content text -);
\ No newline at end of file |