Logic for handling formula states in ZK is needed

Bug #616481 reported by Gustavo Niemeyer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyjuju
Fix Released
Medium
Gustavo Niemeyer

Bug Description

Along the lines of what was described in bug #616485 in the context of services, and bug #616487 in the context of machines, we also need state classes to deal with formulas.

The following classes are recommended:

FormulaStateManager: Instances of this class will take care of handling the collection of formulas which are known in the Zookeeper environment. Some example operations would be adding new formulas, finding existing ones, and removing old and unwanted ones.

FormulaState: Instances of this class will deal with details pertinent to a single formula, such as its name, its revision number, and its digest.

Part of this logic is necessary to upload new formulas in the environment, as per bug #616478, and to get formulas deployed, as covered in bug #616490.

The following bugs describe additional features of the FormulaStateManager:

- Bug #619370: Searching for formulas
- Bug #619371: Formula removal
- Bug #619280: Formula replacement

Tags: spike

Related branches

Changed in ensemble:
assignee: nobody → Gustavo Niemeyer (niemeyer)
importance: Undecided → Medium
status: New → Confirmed
description: updated
description: updated
Changed in ensemble:
status: Confirmed → In Progress
description: updated
description: updated
Changed in ensemble:
milestone: none → 0.1
Changed in ensemble:
status: In Progress → Fix Committed
Changed in ensemble:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.