HomePhorge

(#9051) Implement the `resource` terminus for StoreConfigs.
fa78e9959df0Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#9051) Implement the resource terminus for StoreConfigs.

Add a StoreConfigs terminus to the resource indirection, and an ActiveRecord
implementation to back that, using the current StoreConfigs schema.

This is done by extracting the database interaction out of the compiler and
into an appropriate indirection. Following that, push down the searching into
the terminus itself.

With this we have most of the ability to drop in a replacement for the current
StoreConfigs storage engine.

Along the way, unstub a whole pile of Puppet::Parser::Collector testing so
that it works with the new code and, more importantly, actually tests things
along the way.

Signed-off-by: Daniel Pittman <daniel@puppetlabs.com>

Details

Provenance
Daniel Pittman <daniel@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUfab2fe7968d5: (#9051) Make generic tagging imported resource origins.
Branches
Unknown
Tags
Unknown

Event Timeline

Daniel Pittman <daniel@puppetlabs.com> committed rPUfa78e9959df0: (#9051) Implement the `resource` terminus for StoreConfigs. (authored by Daniel Pittman <daniel@puppetlabs.com>).Aug 24 2011, 9:33 PM