X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=TODO;h=94fc342a66c3b85e89be3a94b9fdf76bde872e65;hb=0d70179f2088da28e47bcad569366fb3dddd6e6d;hp=394b228a3888a9f0ca903e57ac04f12095b94e77;hpb=660a58aa232d250480dce53b64880482837d3160;p=osm%2FN2VC.git diff --git a/TODO b/TODO index 394b228..94fc342 100644 --- a/TODO +++ b/TODO @@ -1,28 +1,5 @@ TODO ==== -Model as state history of immutable objects -------------------------------------------- - -1. Model gets delta from AllWatcher -2. Entity type+id in the delta uniquely identifies an entity in the model -3. The model keeps a history deque for each of these entities -4. The new delta is appended to the deque for this entity -5. When a new python object is created for this entitiy, it: - a. Registers an observer with the model so it'll get change callbacks - b. Gets its state from a pointer back to the last item in the model's - history deque for this entity - c. Has a previous() method that returns a copy of the object at its previous - frame of history (or None if no previous history exists). This object - would be disconnected (would not receive live updates from the model). - - -Make model-changing methods (like deploy()) return the appropriate object -------------------------------------------------------------------------- -For objects being added (newly created), this will require that the method -doesn't return until the AllWatcher returns a delta containing an id for -the newly created thing. - - -Add a LogWatcher coroutine that yields from debug-log api ---------------------------------------------------------- +- Add a LogWatcher coroutine that yields from debug-log api +- Add a way to exit the event loop when a Model matches a bundle yaml