Changeset 8337 for mauRepo/MolesManager


Ignore:
Timestamp:
13/06/12 13:32:18 (7 years ago)
Author:
mnagni
Message:

Fixed some bugs on epb management

Location:
mauRepo/MolesManager/trunk/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • mauRepo/MolesManager/trunk/src/MolesManager/moles3epb.py

    r8325 r8337  
    6161        return None 
    6262         
    63     def createMoles3EPB(self): 
     63    def createEPB(self): 
    6464        return Moles3EPB(self._getSession()) 
    6565 
  • mauRepo/MolesManager/trunk/src/MolesManager/molesSessionMiddleware.py

    r8334 r8337  
    4141         
    4242        MolesSessionMiddleware._migrationThread = MigrationThread( \ 
    43             MolesSessionMiddleware._moles3EPBFactory.createMoles3EPB(), \ 
    44             MolesSessionMiddleware._migrationEPBFactory.createMigrationEPB(), \ 
     43            MolesSessionMiddleware._moles3EPBFactory.createEPB(), \ 
     44            MolesSessionMiddleware._migrationEPBFactory.createEPB(), \ 
    4545            MolesSessionMiddleware._infodbEPBFactory.createEPB(), \ 
    4646            interval = MIGRATION_INTERVAL ) 
     
    7676                self._doInitialization() 
    7777                   
    78             request.moles3EPB = MolesSessionMiddleware._moles3EPBFactory.createMoles3EPB()                    
     78            request.moles3EPB = MolesSessionMiddleware._moles3EPBFactory.createEPB()                    
    7979        except SQLAlchemyError as ex: 
    8080            MolesSessionMiddleware._epbInitialized = False 
  • mauRepo/MolesManager/trunk/src/libs/migration/tests/migrationprocess.py

    r8336 r8337  
    3939        migrationFactory = MigrationEPBFactory(migrationDB) 
    4040         
    41         EPBRepo.moles3EPB = moles3Factory.createMoles3EPB()  
    42         EPBRepo.migrationEPB = migrationFactory.createMigrationEPB() 
     41        EPBRepo.moles3EPB = moles3Factory.createEPB()  
     42        EPBRepo.migrationEPB = migrationFactory.createEPB() 
    4343        EPBRepo.infodbEPB = infoFactory.createEPB() 
    4444         
    45         ''' 
    4645        lr = LoadResources() 
    4746        ex = lr.process() 
    4847        for e in ex: 
    4948            print e 
    50         ''' 
    5149 
    5250    def testMigrationProcess(self):         
Note: See TracChangeset for help on using the changeset viewer.