Actions
Refactor #261
closedswitch parameters to use a single reference id
Description
Parameters use multiple id fields to refer to their associated object. This is not required.
Actions
Added by Paul Kelly almost 16 years ago. Updated over 15 years ago.
Description
Parameters use multiple id fields to refer to their associated object. This is not required.
Ohad, I am unclear as to whether I have misunderstood your parameters implementation.
There are host parameters for all hosts for these keys ["hostmode", "hosttype", "longsitename", "puppetmaster", "sitename"]. Are these left over from an experiment or are we migrating to use these as the source of that information. I would also expect some of these to be domainparameters.
Rebased against develop
Tests pass.
Refactored concrete class validations back into the abstract base class.
Removed obsolete controllers and their tests
Fixed some tests so as to always use a concrete class
Tests pass
Rebased
Fixed bug where hosts were marked :dependent => :destroy. Ouch!
There were issues with the uniqueness constraint that are now fixed.
Added some tests, to be sure.
Applied in changeset aa1796f3efcd11e491ee2e55a91e6ae86529e8ea.