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

migrate code from googleapis/python-recaptcha-enterprise #8532

Merged
merged 81 commits into from
Feb 28, 2023

Conversation

msampathkumar
Copy link
Member

@msampathkumar msampathkumar commented Nov 18, 2022

Description

Fixes #

Note: Before submitting a pull request, please open an issue for discussion if you are not associated with Google.

Checklist

Sita04 and others added 30 commits October 13, 2021 07:33
* docs(samples): added samples and tests for site key CRUD operation

* docs(samples): added samples and tests for create assessment

* docs(samples): modified requirements and test inputs

* docs(samples): lint fix - adding copyright

* fix(samples): added nox config and modified requirements-test

* docs(samples): lint fix

* refactor(samples): updated nox file

* docs(samples): lint fix

* docs(samples): added nox config

* docs(samples): lint fix; modified nox config

* refactor(samples): incorporated review comments

* refactor(samples): lint fix

* refactor(samples): lint fix

* refactor(samples): lint fix

* docs(samples): updated to use latest chrome version and lint fix

* fix(samples): updated selenium to use chrome browser and added display name to update key

* build: add placeholder dockerfile, update kokoro configs

* Adding chrome installation in docker

* refactor(samples): removed webdriver manager dependency. Included commands to install binary file in docker.

* fix(samples): changed the chromedriver version to latest release.

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* refactor(samples): included review comments

Co-authored-by: Bu Sun Kim <busunkim@google.com>
Co-authored-by: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <partheniou@google.com>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
* chore(deps): update all dependencies

* fix: split selenium dependency on python 3.6

Co-authored-by: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com>
…1.3.0 (#139)

Co-authored-by: Anthonios Partheniou <partheniou@google.com>
* chore: delete owlbot.py

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* use the latest post processor image

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/python-recaptcha-enterprise/issues/new/choose) before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
- [ ] Ensure the tests and linter pass
- [ ] Code coverage does not decrease (if any source code was changed)
- [ ] Appropriate docs were updated (if necessary)

Fixes #154 🦕
…161)

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/python-recaptcha-enterprise/issues/new/choose) before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
- [ ] Ensure the tests and linter pass
- [ ] Code coverage does not decrease (if any source code was changed)
- [ ] Appropriate docs were updated (if necessary)

Fixes #160  🦕
* chore(deps): update all dependencies

* revert pin change for python 3.6

Co-authored-by: Anthonios Partheniou <partheniou@google.com>
* chore(deps): update all dependencies

* chore: remove split pin on selenium

We do not run tests on Python < 3.6.

Co-authored-by: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <partheniou@google.com>
* chore(deps): update all dependencies

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
* chore(deps): update all dependencies

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Source-Link: googleapis/synthtool@6fab84a
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:7cffbc10910c3ab1b852c05114a08d374c195a81cdec1d4a67a1d129331d0bfe
Co-authored-by: Anthonios Partheniou <partheniou@google.com>
Source-Link: googleapis/synthtool@1b71c10
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:00c9d764fd1cd56265f12a5ef4b99a0c9e87cf261018099141e2ca5158890416

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
* chore(deps): update all dependencies

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* revert

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <partheniou@google.com>
* chore(deps): update all dependencies

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* revert

* test: find_element_by_id->find_element

* test: add import from selenium.webdriver.common.by import By

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <partheniou@google.com>
* chore(deps): update all dependencies

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* revert

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <partheniou@google.com>
@rsamborski rsamborski added kokoro:run Add this label to force Kokoro to re-run the tests. and removed kokoro:run Add this label to force Kokoro to re-run the tests. labels Feb 3, 2023
.github/CODEOWNERS Outdated Show resolved Hide resolved
Copy link
Contributor

@iennae iennae left a comment

Choose a reason for hiding this comment

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

migration looks good to me and it looks like dan's comments have been addressed.

@rsamborski rsamborski added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Feb 14, 2023
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Feb 14, 2023
@rsamborski rsamborski added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Feb 28, 2023
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Feb 28, 2023
@dandhlee dandhlee merged commit 8254802 into main Feb 28, 2023
@dandhlee dandhlee deleted the python-recaptcha-enterprise-migration branch February 28, 2023 18:33
telpirion pushed a commit that referenced this pull request Mar 13, 2023
* docs(samples): add reCAPTCHA Enterprise code samples  (#112)

* docs(samples): added samples and tests for site key CRUD operation

* docs(samples): added samples and tests for create assessment

* docs(samples): modified requirements and test inputs

* docs(samples): lint fix - adding copyright

* fix(samples): added nox config and modified requirements-test

* docs(samples): lint fix

* refactor(samples): updated nox file

* docs(samples): lint fix

* docs(samples): added nox config

* docs(samples): lint fix; modified nox config

* refactor(samples): incorporated review comments

* refactor(samples): lint fix

* refactor(samples): lint fix

* refactor(samples): lint fix

* docs(samples): updated to use latest chrome version and lint fix

* fix(samples): updated selenium to use chrome browser and added display name to update key

* build: add placeholder dockerfile, update kokoro configs

* Adding chrome installation in docker

* refactor(samples): removed webdriver manager dependency. Included commands to install binary file in docker.

* fix(samples): changed the chromedriver version to latest release.

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* refactor(samples): included review comments

Co-authored-by: Bu Sun Kim <busunkim@google.com>
Co-authored-by: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <partheniou@google.com>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>

* chore(deps): update all dependencies (#136)

* chore(deps): update all dependencies

* fix: split selenium dependency on python 3.6

Co-authored-by: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com>

* chore(deps): update dependency google-cloud-recaptcha-enterprise to v1.3.0 (#139)

Co-authored-by: Anthonios Partheniou <partheniou@google.com>

* chore(deps): update dependency google-cloud-recaptcha-enterprise to v1.3.1 (#145)

* docs(samples): removed assessment name in create_assessment sample (#147)

* chore(deps): update dependency google-cloud-recaptcha-enterprise to v1.4.0 (#150)

* chore: delete owlbot.py (#151)

* chore: delete owlbot.py

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* use the latest post processor image

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>

* docs(samples): added sample and tests for annotate assessment API (#155)

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/python-recaptcha-enterprise/issues/new/choose) before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
- [ ] Ensure the tests and linter pass
- [ ] Code coverage does not decrease (if any source code was changed)
- [ ] Appropriate docs were updated (if necessary)

Fixes #154 🦕

* chore(deps): update dependency google-cloud-recaptcha-enterprise to v1.4.1 (#159)

* docs(samples): added samples and test to migrate key and get metrics (#161)

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/python-recaptcha-enterprise/issues/new/choose) before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
- [ ] Ensure the tests and linter pass
- [ ] Code coverage does not decrease (if any source code was changed)
- [ ] Appropriate docs were updated (if necessary)

Fixes #160  🦕

* chore(deps): update all dependencies (#177)

* chore(deps): update all dependencies

* revert pin change for python 3.6

Co-authored-by: Anthonios Partheniou <partheniou@google.com>

* chore(deps): update all dependencies (#186)

* chore(deps): update all dependencies

* chore: remove split pin on selenium

We do not run tests on Python < 3.6.

Co-authored-by: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <partheniou@google.com>

* chore(deps): update all dependencies (#190)

* chore(deps): update all dependencies

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>

* chore(deps): update all dependencies (#192)

* chore(deps): update all dependencies

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>

* chore(deps): update dependency google-cloud-recaptcha-enterprise to v1.6.1 (#202)

* chore(deps): update dependency selenium to v4.1.3 (#203)

* chore(deps): update dependency pytest to v7.1.0 (#204)

* chore(deps): update dependency pytest to v7.1.1 (#206)

* chore(python): use black==22.3.0 (#209)

Source-Link: googleapis/synthtool@6fab84a
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:7cffbc10910c3ab1b852c05114a08d374c195a81cdec1d4a67a1d129331d0bfe

* chore(deps): update dependency flask to v2.1.0 (#208)

* chore(deps): update dependency flask to v2.1.1 (#212)

Co-authored-by: Anthonios Partheniou <partheniou@google.com>

* chore(python): add nox session to sort python imports (#220)

Source-Link: googleapis/synthtool@1b71c10
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:00c9d764fd1cd56265f12a5ef4b99a0c9e87cf261018099141e2ca5158890416

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>

* chore(deps): update dependency pytest to v7.1.2 (#223)

* chore(deps): update dependency flask to v2.1.2 (#225)

* chore(deps): update dependency selenium to v4.1.5 (#231)

* chore(deps): update dependency google-cloud-recaptcha-enterprise to v1.7.0 (#234)

* chore(deps): update dependency selenium to v4.2.0 (#257)

* chore(deps): update all dependencies (#263)

* chore(deps): update all dependencies

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* revert

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <partheniou@google.com>

* chore(deps): update all dependencies (#275)

* chore(deps): update all dependencies

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* revert

* test: find_element_by_id->find_element

* test: add import from selenium.webdriver.common.by import By

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <partheniou@google.com>

* chore(deps): update all dependencies (#276)

* chore(deps): update all dependencies

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* revert

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <partheniou@google.com>

* chore(deps): update all dependencies (#277)

* chore(deps): update all dependencies

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* revert

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <partheniou@google.com>

* chore(deps): update all dependencies (#279)

* chore(deps): update all dependencies

* revert

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Anthonios Partheniou <partheniou@google.com>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>

* chore(deps): update all dependencies (#280)

* chore(deps): update all dependencies

* revert

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Anthonios Partheniou <partheniou@google.com>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>

* chore(deps): update dependency google-cloud-recaptcha-enterprise to v1.8.1 (#285)

* chore(deps): update dependency selenium to v4.4.3 (#286)

* chore(deps): update dependency pytest to v7.1.3 (#297)

* chore(deps): update dependency selenium to v4.5.0 (#305)

Co-authored-by: Anthonios Partheniou <partheniou@google.com>

* chore(deps): update dependency google-cloud-recaptcha-enterprise to v1.8.2 (#307)

* chore(deps): update dependency google-cloud-recaptcha-enterprise to v1.8.3 (#310)

* chore(deps): update dependency pytest to v7.2.0 (#313)

* chore(deps): update dependency google-cloud-recaptcha-enterprise to v1.9.0 (#314)

* Update copyright header

* Fix: selenium web-driver path issue

* Update CODEOWNERS and blunderbuss.yml

* Update copyright headers

change "Google Inc" to "Google, Inc"

* Update import order in test_create_assessment.py

* Update import order in test_create_assessment.py

* Update .github/CODEOWNERS

Co-authored-by: Dan Lee <71398022+dandhlee@users.noreply.github.com>

* Update .github/blunderbuss.yml

* chore(samples): add Selenium resources for Docker

* Update blunderbuss.yml

* Update blunderbuss.yml

* Update blunderbuss.yml

* Update .github/blunderbuss.yml

Co-authored-by: Dan Lee <71398022+dandhlee@users.noreply.github.com>

* Update CODEOWNERS

No addtions/deletions. Just sorted data.

* Update noxfile_config.py

Limit testing to latest versions only (3.9 and 3.10)

* Update noxfile_config.py

* Update blunderbuss.yml

* Updates to CODEOWNERS and blunderbuss

* Fixed deprecation warnings in tests

* Fixed lint - import order

* CODEOWNERS team rename aap-dpes -> torus-dpe

* CODEOWNERS clean-up

---------

Co-authored-by: Sita Lakshmi Sangameswaran <sita1996@gmail.com>
Co-authored-by: Bu Sun Kim <busunkim@google.com>
Co-authored-by: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <partheniou@google.com>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: WhiteSource Renovate <renovate@whitesourcesoftware.com>
Co-authored-by: WhiteSource Renovate <bot@renovateapp.com>
Co-authored-by: gcf-owl-bot[bot] <78513119+gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Dan Lee <71398022+dandhlee@users.noreply.github.com>
Co-authored-by: Remigiusz Samborski <rsamborski@users.noreply.github.com>
Co-authored-by: rsamborski <rsamborski@gmail.com>
Co-authored-by: Jennifer Davis <iennae@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: recaptchaenterprise Issues related to the reCAPTCHA API. samples Issues that are directly related to samples.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants