Skip to content

Add new filter based on jmespath for 5.3 version.#44

Merged
yadvr merged 5 commits intoapache:5.3from
snifbr:5.3-jmespath
Mar 5, 2019
Merged

Add new filter based on jmespath for 5.3 version.#44
yadvr merged 5 commits intoapache:5.3from
snifbr:5.3-jmespath

Conversation

@snifbr
Copy link

@snifbr snifbr commented Feb 27, 2019

This add to cloudmonkey CLI the abilities to make a JMESPATH filter with following changes in version 5.3:

  • Add new argument 'query'.
  • Add new display type 'jmespath'.
  • Import jmespath module.

Some examples:
note-2019-02-27-111634

note-2019-02-27-111306

@yadvr
Copy link
Member

yadvr commented Mar 5, 2019

LGTM, the python based branch 5.3 is no longer maintained by me. It would be interesting to get this for the go based master/6.+ versions, however a lot of what was implemented could be piped to jq to get the same result. Perhaps having this output mode will remove dependency of jq. /cc @PaulAngus @DagSonsteboSB @andrijapanicsb

@yadvr yadvr merged commit db74764 into apache:5.3 Mar 5, 2019
@snifbr
Copy link
Author

snifbr commented Mar 13, 2019

LGTM, the python based branch 5.3 is no longer maintained by me. It would be interesting to get this for the go based master/6.+ versions, however a lot of what was implemented could be piped to jq to get the same result. Perhaps having this output mode will remove dependency of jq. /cc @PaulAngus @DagSonsteboSB @andrijapanicsb

Thanks @rhtyd for merged the code.

About the new version go based, I can try something for it, when I have a time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants