class CodeClones(Document): clone_id = TextField() tool = DictField(Mapping.build(id=TextField(),name=TextField())) system = DictField(Mapping.build( id=TextField(), name=TextField() )) fragment_1 = DictField(Mapping.build( path=TextField(), start_line=TextField(), end_line=TextField() )) fragment_2 = DictField(Mapping.build( path=TextField(), start_line=TextField(), end_line=TextField() )) auto_validation_result = ListField(DictField(Mapping.build( algorithm = TextField(), result = TextField() ))) is_validated_by_any_user = TextField(default='no') is_clone_doc = TextField(default='yes') user_validation_result = ListField(DictField(Mapping.build( user = TextField(), result = TextField() )))
class WorkflowLockingModule(Document): doc_type = TextField(default='workflow_locking_module') workflow_id = TextField() next_module_id = IntegerField(default=1) module_nodes = ListField( DictField( Mapping.build(nodeID=TextField(), isLocked=BooleanField(), currentOwner=TextField()))) node_access_req_Q = ListField( DictField(Mapping.build(nodeID=TextField(), requestedBy=TextField())))
class TXL_Project(Document): project_name = TextField() project_description = TextField() project_location = TextField() project_creation_date = TextField() author = TextField() the_doc_type = TextField(default='txl_project') shared_with = ListField(TextField())
class SavedPipeline(Document): pipeline_name = TextField() author = TextField() pipeline_link = TextField() the_doc_type = TextField(default='saved_pipeline') shared_with = ListField(TextField())
class WorkflowLockingTurn(Document): doc_type = TextField(default='workflow_locking_turn') workflow_id = TextField() floor_flag = TextField(default='unoccupied') request_queue = ListField(TextField()) current_floor_owner = TextField()