Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GraqhQL Inventory: Add ability for users to specify non-foreign key relationships with Null/None #123

Merged
merged 8 commits into from
Mar 30, 2022

Conversation

FragmentedPacket
Copy link
Contributor

@FragmentedPacket FragmentedPacket commented Mar 11, 2022

  • Add Python filter plugin to be re-used within gql_inventory plugin to construct GraphQL string from a Python dictionary
  • Remove Jinja templates that we were relying on previously

Fixes #122

TODO:

  • Create Tests
  • Update plugin documentation

…n). Add ability to add filters at every level.
jvanderaa
jvanderaa previously approved these changes Mar 11, 2022
@ubajze
Copy link
Contributor

ubajze commented Mar 22, 2022

This PR closes issue #122, right?

@FragmentedPacket
Copy link
Contributor Author

This PR closes issue #122, right?

Correct. I just tied them together. I will complete the docs and tests this week and get it cleaned up. We're still waiting on the client to test as well, but may just push this in and cut a release.

@nniehoff
Copy link

@ubajze can we get the CI tests to pass here so we can fix #122

@FragmentedPacket
Copy link
Contributor Author

@ubajze can we get the CI tests to pass here so we can fix #122

I will get tests passing as well as finish documentation and tests this morning.

@ubajze
Copy link
Contributor

ubajze commented Mar 25, 2022

@FragmentedPacket thx

nniehoff
nniehoff previously approved these changes Mar 28, 2022
plugins/inventory/gql_inventory.py Outdated Show resolved Hide resolved
plugins/filter/graphql.py Show resolved Hide resolved
plugins/inventory/gql_inventory.py Outdated Show resolved Hide resolved
FragmentedPacket and others added 5 commits March 28, 2022 16:47
@FragmentedPacket FragmentedPacket merged commit b5d98c7 into develop Mar 30, 2022
@FragmentedPacket FragmentedPacket deleted the gql-single branch March 30, 2022 14:33
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.

Unable to get device config_context using the the gql_inventory plugin
5 participants