Exemplo n.º 1
0
 def phase_4(project_name):
     """
     Validation phase
     """
     app = App(project_name)
     app.phase = Phase.phase_4
     app.load()
     app.manager.file.add_files()
     app.manager.file.validate_all()
     app.log.info("Phase 4: validation complete")
     app.save_report()
Exemplo n.º 2
0
 def phase_2(project_name):
     """
     Generation phase
     """
     app = App(project_name)
     app.phase = Phase.phase_2
     app.load()
     app.manager.data.process_all()
     app.manager.data.save_all()
     app.log.info("Phase 2: generation complete")
     app.save_report()
Exemplo n.º 3
0
 def phase_3(project_name):
     """
     Anonymization phase
     """
     app = App(project_name)
     app.phase = Phase.phase_3
     app.load()
     app.manager.file.add_files()
     app.manager.file.anonymize_all()
     app.log.info("Phase 3: anonymization complete")
     app.save_report()
Exemplo n.º 4
0
 def phase_1(project_name):
     """
     Discovery phase
     """
     app = App(project_name)
     app.phase = Phase.phase_1
     app.load()
     app.manager.file.add_files()
     app.manager.file.discover_all()
     app.manager.data.save_all()
     app.log.info("Phase 1: discovery complete")
     app.save_report()