Show
Ignore:
Timestamp:
06/04/04 01:14:11 (20 years ago)
Author:
jalet
Message:

Now stores the job's size in bytes in the database.
Preliminary work on payments storage : database schemas are OK now,
but no code to store payments yet.
Removed schema picture, not relevant anymore.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/initscripts/ldap/pykota.schema

    r1480 r1520  
    175175        SUBSTR caseIgnoreSubstringsMatch 
    176176        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} ) 
     177         
     178# pykotaJobSizeBytes 
     179attributetype ( 1.3.6.1.4.1.16868.1.1.25 NAME 'pykotaJobSizeBytes' 
     180        DESC 'Current job size in number of bytes in the history' 
     181        EQUALITY integerMatch 
     182        SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) 
     183 
     184# pykotaPayments 
     185attributetype ( 1.3.6.1.4.1.16868.1.1.26 NAME 'pykotaPayments' 
     186        DESC 'Stores all payments made by an user, encoded to store both date and amount' 
     187        EQUALITY caseExactIA5Match 
     188        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ) 
    177189 
    178190#         
     
    214226        DESC 'An entry in the job history for a printer' 
    215227        MUST ( cn $ pykotaUserName $ pykotaPrinterName $ pykotaJobId ) 
    216         MAY  ( pykotaPrinterPageCounter $ pykotaJobSize $ pykotaAction $ pykotaJobPrice $ pykotaFileName $ pykotaTitle $ pykotaCopies $ pykotaOptions $ pykotaHostName ) ) 
     228        MAY  ( pykotaPrinterPageCounter $ pykotaJobSize $ pykotaAction $ pykotaJobPrice $ pykotaFileName $ pykotaTitle $ pykotaCopies $ pykotaOptions $ pykotaHostName $ pykotaJobSizeBytes ) ) 
    217229         
    218230# pykotaAccountBalance 
    219231objectclass ( 1.3.6.1.4.1.16868.1.2.7 NAME 'pykotaAccountBalance' SUP top AUXILIARY 
    220232        DESC 'PyKota User account balance' 
    221         MAY  ( pykotaUserName $ pykotaBalance $ pykotaLifeTimePaid ) ) 
     233        MAY  ( pykotaUserName $ pykotaBalance $ pykotaLifeTimePaid $ pykotaPayments ) ) 
    222234         
    223235# pykotaLastJob