Skip to content
This repository was archived by the owner on Jul 6, 2023. It is now read-only.

docs(samples): add sample to filter certificates#160

Merged
parthea merged 4 commits intomainfrom
filter-undelete-certs
Jan 23, 2022
Merged

docs(samples): add sample to filter certificates#160
parthea merged 4 commits intomainfrom
filter-undelete-certs

Conversation

@FrodoTheTrue
Copy link
Copy Markdown
Contributor

@FrodoTheTrue FrodoTheTrue commented Dec 30, 2021

docs(samples): add sample to undelete certificate authority

@FrodoTheTrue FrodoTheTrue requested a review from a team as a code owner December 30, 2021 08:07
@product-auto-label product-auto-label Bot added the api: security-privateca Issues related to the googleapis/python-security-private-ca API. label Dec 30, 2021
@snippet-bot
Copy link
Copy Markdown

snippet-bot Bot commented Dec 30, 2021

Here is the summary of changes.

You are about to add 2 region tags.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

@product-auto-label product-auto-label Bot added the samples Issues that are directly related to samples. label Dec 30, 2021
@FrodoTheTrue FrodoTheTrue added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 10, 2022
@yoshi-kokoro yoshi-kokoro removed kokoro:force-run Add this label to force Kokoro to re-run the tests. labels Jan 10, 2022
Copy link
Copy Markdown

@leahecole leahecole left a comment

Choose a reason for hiding this comment

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

One small change in the test - just want to make sure no leftover resources are around. I request that @m-strzelczyk, @msampathkumar or another teammate also take a look at this to make sure y'all are happy with it product-wise, because I do not know the product at all 😁

Comment thread samples/snippets/test_certificate_authorities.py
@parthea
Copy link
Copy Markdown
Contributor

parthea commented Jan 18, 2022

Hi @FrodoTheTrue, Please could you take a look?

@FrodoTheTrue
Copy link
Copy Markdown
Contributor Author

@parthea @leahecole I believe we don't have to request review from Maciej and Sampath, cause this samples is just python equivalent of have already written java samples: https://github.com/googleapis/java-security-private-ca/tree/main/samples/snippets/cloud-client/src/main/java/privateca

m-strzelczyk
m-strzelczyk previously approved these changes Jan 21, 2022
@parthea parthea requested a review from leahecole January 21, 2022 17:20
@parthea parthea dismissed leahecole’s stale review January 21, 2022 17:59

Suggested changes have been implemented. Dismissing the review as reviewer is OOO.

@parthea parthea changed the title samples(security): add filter/undelete certs docs(samples): add filter/undelete certs Jan 21, 2022
@parthea parthea changed the title docs(samples): add filter/undelete certs docs(samples): add sample to filter certificates Jan 21, 2022
@parthea parthea added kokoro:force-run Add this label to force Kokoro to re-run the tests. kokoro:run Add this label to force Kokoro to re-run the tests. labels Jan 21, 2022
@parthea parthea added the automerge: exact Summon MOG for automerging, but approvals need to be against the latest commit label Jan 21, 2022
@gcf-merge-on-green gcf-merge-on-green Bot dismissed m-strzelczyk’s stale review January 21, 2022 18:04

This review does not reference the most recent commit, and you are using the secure version of merge-on-green. Please re-review the most recent commit.

@yoshi-kokoro yoshi-kokoro removed kokoro:run Add this label to force Kokoro to re-run the tests. kokoro:force-run Add this label to force Kokoro to re-run the tests. labels Jan 21, 2022
@parthea parthea removed the automerge: exact Summon MOG for automerging, but approvals need to be against the latest commit label Jan 21, 2022
@parthea parthea added automerge Merge the pull request once unit tests and other checks pass. and removed automerge Merge the pull request once unit tests and other checks pass. labels Jan 21, 2022
@parthea
Copy link
Copy Markdown
Contributor

parthea commented Jan 21, 2022

Samples test is failing with

google.api_core.exceptions.ResourceExhausted: 429 Quota exceeded for quota metric 'CreateCertificateAuthority requests' and limit 'CreateCertificateAuthority requests per minute per region' of service 'privateca.googleapis.com' for consumer 'project_number:xxx'. [reason: "RATE_LIMIT_EXCEEDED"

This will be resolved when we migrate samples testing to github actions and split up the individual checks into stages.

@parthea parthea added the automerge Merge the pull request once unit tests and other checks pass. label Jan 21, 2022
@gcf-merge-on-green
Copy link
Copy Markdown

Merge-on-green attempted to merge your PR for 6 hours, but it was not mergeable because either one of your required status checks failed, one of your required reviews was not approved, or there is a do not merge label. Learn more about your required status checks here: https://help.github.com/en/github/administering-a-repository/enabling-required-status-checks. You can remove and reapply the label to re-run the bot.

@gcf-merge-on-green gcf-merge-on-green Bot removed the automerge Merge the pull request once unit tests and other checks pass. label Jan 22, 2022
@parthea parthea added automerge Merge the pull request once unit tests and other checks pass. kokoro:force-run Add this label to force Kokoro to re-run the tests. labels Jan 23, 2022
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 23, 2022
@parthea parthea merged commit a0ae8b2 into main Jan 23, 2022
@parthea parthea deleted the filter-undelete-certs branch January 23, 2022 12:02
@gcf-merge-on-green gcf-merge-on-green Bot removed the automerge Merge the pull request once unit tests and other checks pass. label Jan 23, 2022
gcf-merge-on-green Bot pushed a commit that referenced this pull request Feb 3, 2022
🤖 I have created a release *beep* *boop*
---


### [1.2.2](v1.2.1...v1.2.2) (2022-02-03)


### Features

* add api key support ([#172](#172)) ([672e9b0](672e9b0))
* **samples:** add subordinate CA samples ([94b6801](94b6801))


### Bug Fixes

* resolve DuplicateCredentialArgs error when using credentials_file ([d63e401](d63e401))


### Miscellaneous Chores

* release as 1.2.2 ([#170](#170)) ([ee8694c](ee8694c))


### Documentation

* add format requirements on `custom_sans` ([259f1c9](259f1c9))
* mark CaPool.lifetime as IMMUTABLE ([#177](#177)) ([259f1c9](259f1c9))
* **samples:** add sample to filter certificates ([#160](#160)) ([a0ae8b2](a0ae8b2))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
parthea pushed a commit to googleapis/google-cloud-python that referenced this pull request Jun 4, 2023
🤖 I have created a release *beep* *boop*
---


### [1.2.2](googleapis/python-security-private-ca@v1.2.1...v1.2.2) (2022-02-03)


### Features

* add api key support ([#172](googleapis/python-security-private-ca#172)) ([672e9b0](googleapis/python-security-private-ca@672e9b0))
* **samples:** add subordinate CA samples ([94b6801](googleapis/python-security-private-ca@94b6801))


### Bug Fixes

* resolve DuplicateCredentialArgs error when using credentials_file ([d63e401](googleapis/python-security-private-ca@d63e401))


### Miscellaneous Chores

* release as 1.2.2 ([#170](googleapis/python-security-private-ca#170)) ([ee8694c](googleapis/python-security-private-ca@ee8694c))


### Documentation

* add format requirements on `custom_sans` ([259f1c9](googleapis/python-security-private-ca@259f1c9))
* mark CaPool.lifetime as IMMUTABLE ([#177](googleapis/python-security-private-ca#177)) ([259f1c9](googleapis/python-security-private-ca@259f1c9))
* **samples:** add sample to filter certificates ([#160](googleapis/python-security-private-ca#160)) ([a0ae8b2](googleapis/python-security-private-ca@a0ae8b2))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: security-privateca Issues related to the googleapis/python-security-private-ca API. samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants