diff --git a/src/api/static/img/uml-design b/src/api/static/img/uml-design new file mode 100644 index 0000000..d3b699d --- /dev/null +++ b/src/api/static/img/uml-design @@ -0,0 +1,243 @@ + + + + + umbrello uml modeller http://umbrello.kde.org + 1.6.9 + UnicodeUTF8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/utils/agents/actor.py b/src/utils/agents/actor.py index b9a5183..24be011 100644 --- a/src/utils/agents/actor.py +++ b/src/utils/agents/actor.py @@ -46,7 +46,7 @@ class Actor: message = {"from":self.getIdentifier(),"to":to,"content":content} host = self.config['api'] uid = self.config['key'] - qid = to#self.config['id'] + qid = to#self.conorfig['id'] qwriter = QueueWriter(host=host,uid=uid,qid=qid) qwriter.init(qid) @@ -55,6 +55,7 @@ class Actor: pass class Kill(Actor): + def isValid(self,item): print self.config return (item is not None) and (item in self.config) diff --git a/src/utils/agents/data-collector.py b/src/utils/agents/data-collector.py index 927ef33..230162e 100644 --- a/src/utils/agents/data-collector.py +++ b/src/utils/agents/data-collector.py @@ -27,6 +27,8 @@ class ICollector(Thread) : self.factory = DataSourceFactory() self.init() self.name = 'data-collector@'+self.id + + def init(self): @@ -51,7 +53,9 @@ class ICollector(Thread) : self.quit = False #self.DELAY = PARAMS['delay']*60 self.DELAY = self.config['delay'] - + # + # we need to instanciate the actor orchestrator + # """ This function returns an instance of a data collector class : ProcessDetails, FileWatch, ... provided the class name