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

samples: migrate code from googleapis/nodejs-dlp #3035

Merged
merged 176 commits into from
Feb 16, 2023
Merged

Conversation

Shabirmean
Copy link
Member

Migrating samples from googleapis/nodejs-dlp into nodejs-docs-samples/dlp


Ace Nassri and others added 30 commits March 9, 2017 15:41
* First draft of DLP samples

* Fix DLP tests

* Add README

* Fix README bugs
* Make unify script recursive + clean up dependency conflicts

* Restore travis.yml

* Delete outdated text detection sample that duplicates detect.js

* Fix failing KMS + vision tests by updating dependencies

* Fix video tests using a bad cwd

* Upgrade monitoring dependency + skip flaky monitoring tests

* Fix DLP tests having wrong cwd

* Fix failing vision test

* Fix datastore tests

* Update broken dependency

* Update possibly broken compute engine dependency

* Fix typos

* Disable Node 4 testing

* Revert deletion of outdated sample - @gguuss says we still use this.

This reverts commit b7259c8.

* Update dependency
* Add + run dependency updating script

* Address comments

Change-Id: I67af9d3ab9e461b579dbaee92274b6163d73c23e

* Run dependency script again

Change-Id: Icbec4acb2cc6bcfa40e0a3a705c5a1059d64efa5

* Update license

Change-Id: Ic1dd0a1bd34356e415bdbf005b81a71a8d2695c2

* Update (more) dependencies

Change-Id: Idaed95b9cfe486797fa75946b6f55e7e702217b8
* Move DLP from REST to gRPC + client libraries

* Update package.json

* Address comments
* Add DLP image redaction sample

* Fix lint
* Fix typo in comments

* Add DLP quickstart

* Address comments
* Add semistandard as a devDependency

* Fix storage tests

* Fix language tests

* Update (some) dependencies

* Fix language slackbot tests
* Fix docs-samples tests, round 1

* Fix circle.yml

* Add RUN_ALL_BUILDS flag

* More container builder bugfixes

* Tweak env vars + remove manual proxy install

* Env vars in bashrc don't evaluate dynamically, so avoid them

* Add semicolons for command ordering

* Add appengine/static-files test to circle.yaml

* Fix failing container builder tests

* Address comments
* Add BigQuery samples + a few minor tweaks

* Update comments + fix failing test

* Sync w/codegen changes

* Add DeID samples

* Add DeID tests + remove infoTypes from DeID samples

* Remove unused option

* Add risk analysis samples

* Update README

* Add region tags + fix comment
* Test on Node 9.

* Lint.
* chore(package): update dependencies

* Prettier.
* generated GAPIC v2 code

* lint and prettier

* WIP: update samples

* Upgrade samples + tests

* Fix lint errors + add dateshiftconfig sample

* Remove extraneous triggers field

* Add descriptions to triggers + add missing result file

* s/projectId/callingProject/ + remove project id from deleteJob

* Add templateId + displayName to templates.js

* Remove includeQuote + use dataProjectId

* IMPORTANT: properly process multiple buckets

* IMPORTANT: properly process multiple buckets, pt 2

* Minor tweaks to deid

* Remove inspectconfig-specific print statements

* (Almost-)final draft of Node.js DLP samples

* Regenerate README

* Fix nits

* Move require statements to the top of functions

* Nit: fix comment

* Fix incorrect limit syntax in quickstart

* Clarify that filter parameter is not entirely optional

* Add missing README sections

* Only ack pubsub messages with the desired contents

* Update redact images

* Missed a spot :(

* regenerated v2 GAPIC code, fixed samples and system tests

* get rid of unused response variables

* unskipping some samples test that actually work

* fixing bigquery tests

* Finishing touches - add delay to DlpJob retrieval + make DlpJob tests parallel

* prettier
Anonymity ranges can be multi-digit.
* Fix region tags

* Update risk.js

* Fix region tags
sofisl and others added 14 commits May 19, 2022 17:28
* build!: Update library to use Node 12
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: bencoe@google.com <bencoe@google.com>
* chore(main): release 4.0.2

* 🦉 Updates from OwlBot post-processor

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

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
* chore(main): release 4.1.0

* 🦉 Updates from OwlBot post-processor

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

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
* test: fix sample test for listJobs

* test: fix sample test for listJobs

* 🦉 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(main): release 4.1.1

* 🦉 Updates from OwlBot post-processor

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

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
* chore(deps): update dependency uuid to v9

* test: fix samples test

Co-authored-by: Alexander Fenster <github@fenster.name>
🤖 I have created a release *beep* *boop*
---


## [4.2.0](googleapis/nodejs-dlp@v4.1.1...v4.2.0) (2022-09-22)


### Features

* Add Deidentify action ([#742](googleapis/nodejs-dlp#742)) ([27bb912](googleapis/nodejs-dlp@27bb912))


### Bug Fixes

* Do not import the whole google-gax from proto JS ([#1553](https://github.com/googleapis/nodejs-dlp/issues/1553)) ([#741](googleapis/nodejs-dlp#741)) ([655d6af](googleapis/nodejs-dlp@655d6af))
* Preserve default values in x-goog-request-params header ([#746](googleapis/nodejs-dlp#746)) ([7c53b9f](googleapis/nodejs-dlp@7c53b9f))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
@Shabirmean Shabirmean requested a review from a team as a code owner February 16, 2023 01:20
@product-auto-label product-auto-label bot added the samples Issues that are directly related to samples. label Feb 16, 2023
@google-cla
Copy link

google-cla bot commented Feb 16, 2023

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@snippet-bot
Copy link

snippet-bot bot commented Feb 16, 2023

Here is the summary of changes.

You are about to add 26 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

@Shabirmean Shabirmean requested a review from a team as a code owner February 16, 2023 01:25
@Shabirmean Shabirmean changed the title [WIP] samples: migrate code from googleapis/nodejs-dlp samples: migrate code from googleapis/nodejs-dlp Feb 16, 2023
@Shabirmean
Copy link
Member Author

Shabirmean commented Feb 16, 2023

@GoogleCloudPlatform/nodejs-samples-reviewers @GoogleCloudPlatform/torus-dpe
Please see following commits for changes Imade:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
samples Issues that are directly related to samples.
Projects
None yet
Development

Successfully merging this pull request may close these issues.