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

Add support to Bitwarden Lookup for filtering results by collection (#5849) #5851

Merged
merged 8 commits into from
Jan 28, 2023

Conversation

psalkowski
Copy link
Contributor

Allow user to filter search results from bit warden by collection id. If collection id is not provided, bit warden cli will not use any filtering

@ansibullbot
Copy link
Collaborator

cc @lungj
click here for bot help

@ansibullbot ansibullbot added lookup lookup plugin new_contributor Help guide this first time contributor plugins plugin (any type) labels Jan 17, 2023
@ansibullbot

This comment was marked as outdated.

@ansibullbot ansibullbot added the needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR label Jan 17, 2023
@github-actions
Copy link

github-actions bot commented Jan 17, 2023

Docs Build 📝

Thank you for contribution!✨

This PR has been merged and your docs changes will be incorporated when they are next published.

@ansibullbot ansibullbot added needs_ci This PR requires CI testing to be performed. Please close and re-open this PR to trigger CI and removed needs_ci This PR requires CI testing to be performed. Please close and re-open this PR to trigger CI labels Jan 17, 2023
@felixfontein felixfontein added check-before-release PR will be looked at again shortly before release and merged if possible. backport-6 labels Jan 17, 2023
Copy link
Collaborator

@felixfontein felixfontein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution. Could you please add a changelog fragment? Thanks.

@psalkowski
Copy link
Contributor Author

@felixfontein thanks for review and hints what's needed :) I added changelog fragment and adjusted code as you proposed.

@ansibullbot ansibullbot added tests tests unit tests/unit and removed needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR labels Jan 17, 2023
@psalkowski
Copy link
Contributor Author

@felixfontein no worries, I adjusted code as proposed, thanks :)

@ansibullbot

This comment was marked as outdated.

@ansibullbot ansibullbot added merge_commit This PR contains at least one merge commit. Please resolve! needs_rebase https://docs.ansible.com/ansible/devel/dev_guide/developing_rebasing.html labels Jan 18, 2023
@ansibullbot ansibullbot removed merge_commit This PR contains at least one merge commit. Please resolve! needs_rebase https://docs.ansible.com/ansible/devel/dev_guide/developing_rebasing.html labels Jan 18, 2023
@felixfontein
Copy link
Collaborator

If nobody objects I'll merge this in ~one week.

@felixfontein
Copy link
Collaborator

There are now conflicts in this PR since I merged #5811 (a line adjacent to one changed in this PR was changed). Can you please rebase your PR against the latest main branch? Thanks.

@ansibullbot ansibullbot added needs_rebase https://docs.ansible.com/ansible/devel/dev_guide/developing_rebasing.html needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR labels Jan 24, 2023
@psalkowski
Copy link
Contributor Author

Sorry for late update, it's done @felixfontein

@ansibullbot ansibullbot removed needs_rebase https://docs.ansible.com/ansible/devel/dev_guide/developing_rebasing.html needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR labels Jan 26, 2023
@felixfontein felixfontein merged commit 7b8b73f into ansible-collections:main Jan 28, 2023
@patchback
Copy link

patchback bot commented Jan 28, 2023

Backport to stable-6: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-6/7b8b73f17faee9f76b9cd62b770b277a5e752905/pr-5851

Backported as #5904

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

@felixfontein felixfontein removed the check-before-release PR will be looked at again shortly before release and merged if possible. label Jan 28, 2023
patchback bot pushed a commit that referenced this pull request Jan 28, 2023
…5849) (#5851)

* Add support to Bitwarden Lookup for filtering results by collection id (#5849)

* Debug

* Add support to Bitwarden Lookup for filtering results by collection id (#5849)

* Update comments

* Fix blank line issue

* Fix unit tests for bitwarden lookup plugin. Add changelog fragment file.

* Change collectionId to collection_id parameter on bitwarden plugin

* Fix collection id parameter name when used in bw cli

(cherry picked from commit 7b8b73f)
@felixfontein
Copy link
Collaborator

@psalkowski thanks for your contribution!

felixfontein pushed a commit that referenced this pull request Jan 28, 2023
…p for filtering results by collection (#5849) (#5904)

Add support to Bitwarden Lookup for filtering results by collection (#5849) (#5851)

* Add support to Bitwarden Lookup for filtering results by collection id (#5849)

* Debug

* Add support to Bitwarden Lookup for filtering results by collection id (#5849)

* Update comments

* Fix blank line issue

* Fix unit tests for bitwarden lookup plugin. Add changelog fragment file.

* Change collectionId to collection_id parameter on bitwarden plugin

* Fix collection id parameter name when used in bw cli

(cherry picked from commit 7b8b73f)

Co-authored-by: Piotr <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lookup lookup plugin new_contributor Help guide this first time contributor plugins plugin (any type) tests tests unit tests/unit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants