HomePhabricator
Diffusion Cumin 7b06f44ce8ae

Make the puppetdb backend process primitive types for queries

Description

Make the puppetdb backend process primitive types for queries

cumin/backends/puppetdb.py: Modify grammar to recognize primitive
types, communicate quotedness to the final output as appropriate.

cumin/tests/unit/backends/test_puppetdb.py: Test several queries with
primitive types.

Bug: T207037
Change-Id: If83ce7f79a4f02d0e42f7d8b1e200b07181d8c17

Details

Provenance
crusnovAuthored on Nov 16 2018, 6:57 AM
Parents
rCUMIN8e49a21f5758: PuppetDB backend: allow to override URL scheme in config
Branches
Unknown
Tags
Unknown
ChangeId
If83ce7f79a4f02d0e42f7d8b1e200b07181d8c17