From c72785c78ba50f01cc7ac51be0dab3262c7246d1 Mon Sep 17 00:00:00 2001 From: Alice Li Date: Wed, 31 Aug 2022 13:03:07 -0400 Subject: [PATCH 1/6] fix: update DeIdentificationTest --- .../src/test/java/dlp/snippets/DeIdentificationTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/snippets/src/test/java/dlp/snippets/DeIdentificationTests.java b/samples/snippets/src/test/java/dlp/snippets/DeIdentificationTests.java index 3f4f7683..e691444e 100644 --- a/samples/snippets/src/test/java/dlp/snippets/DeIdentificationTests.java +++ b/samples/snippets/src/test/java/dlp/snippets/DeIdentificationTests.java @@ -311,7 +311,7 @@ public void testDeIdentifyTableInfoTypes() throws IOException { .addValues( Value.newBuilder() .setStringValue( - "[PERSON_NAME] name was a curse invented by Shakespeare.") + "[PERSON_NAME] name was a curse invented by [PERSON_NAME].") .build()) .build()) .addRows( @@ -447,7 +447,7 @@ public void testDeIdentifyTableConditionsInfoTypes() throws IOException { .addValues( Value.newBuilder() .setStringValue( - "[PERSON_NAME] name was a curse invented by Shakespeare.") + "[PERSON_NAME] name was a curse invented by [PERSON_NAME].") .build()) .build()) .addRows( From 0100a1251294bd73f9f58bf08d8a305116621f99 Mon Sep 17 00:00:00 2001 From: Alice Li Date: Wed, 31 Aug 2022 14:10:53 -0400 Subject: [PATCH 2/6] temp test --- .../src/test/java/dlp/snippets/DeIdentificationTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/src/test/java/dlp/snippets/DeIdentificationTests.java b/samples/snippets/src/test/java/dlp/snippets/DeIdentificationTests.java index e691444e..60b7f2e5 100644 --- a/samples/snippets/src/test/java/dlp/snippets/DeIdentificationTests.java +++ b/samples/snippets/src/test/java/dlp/snippets/DeIdentificationTests.java @@ -276,7 +276,7 @@ public void testDeIdentifyTableInfoTypes() throws IOException { .addValues( Value.newBuilder() .setStringValue( - "Charles Dickens name was a curse invented by Shakespeare.") + "Charles Dickens name was a curse invented by adieu.") .build()) .build()) .addRows( From 2f0bb22dc5198559798a96e8b4abf03f7d66b250 Mon Sep 17 00:00:00 2001 From: Alice Li Date: Wed, 31 Aug 2022 17:42:48 -0400 Subject: [PATCH 3/6] updating tests --- .../src/test/java/dlp/snippets/DeIdentificationTests.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/samples/snippets/src/test/java/dlp/snippets/DeIdentificationTests.java b/samples/snippets/src/test/java/dlp/snippets/DeIdentificationTests.java index 60b7f2e5..0601f296 100644 --- a/samples/snippets/src/test/java/dlp/snippets/DeIdentificationTests.java +++ b/samples/snippets/src/test/java/dlp/snippets/DeIdentificationTests.java @@ -276,7 +276,7 @@ public void testDeIdentifyTableInfoTypes() throws IOException { .addValues( Value.newBuilder() .setStringValue( - "Charles Dickens name was a curse invented by adieu.") + "Charles Dickens name was a curse invented by a bard.") .build()) .build()) .addRows( @@ -311,7 +311,7 @@ public void testDeIdentifyTableInfoTypes() throws IOException { .addValues( Value.newBuilder() .setStringValue( - "[PERSON_NAME] name was a curse invented by [PERSON_NAME].") + "[PERSON_NAME] name was a curse invented by a bard.") .build()) .build()) .addRows( @@ -412,7 +412,7 @@ public void testDeIdentifyTableConditionsInfoTypes() throws IOException { .addValues( Value.newBuilder() .setStringValue( - "Charles Dickens name was a curse invented by Shakespeare.") + "Charles Dickens name was a curse invented by a bard.") .build()) .build()) .addRows( @@ -447,7 +447,7 @@ public void testDeIdentifyTableConditionsInfoTypes() throws IOException { .addValues( Value.newBuilder() .setStringValue( - "[PERSON_NAME] name was a curse invented by [PERSON_NAME].") + "[PERSON_NAME] name was a curse invented by a bard.") .build()) .build()) .addRows( From f2965739a2c02060bf966d763cb5458d2fa0a3f9 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Wed, 31 Aug 2022 21:55:09 +0000 Subject: [PATCH 4/6] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- README.md | 2 +- .../java/dlp/snippets/DeIdentificationTests.java | 12 ++++-------- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 9c15b070..4f75bcdd 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ If you are using Maven without BOM, add this to your dependencies: If you are using Gradle 5.x or later, add this to your dependencies: ```Groovy -implementation platform('com.google.cloud:libraries-bom:26.1.0') +implementation platform('com.google.cloud:libraries-bom:26.1.1') implementation 'com.google.cloud:google-cloud-dlp' ``` diff --git a/samples/snippets/src/test/java/dlp/snippets/DeIdentificationTests.java b/samples/snippets/src/test/java/dlp/snippets/DeIdentificationTests.java index 0601f296..c31c81d7 100644 --- a/samples/snippets/src/test/java/dlp/snippets/DeIdentificationTests.java +++ b/samples/snippets/src/test/java/dlp/snippets/DeIdentificationTests.java @@ -275,8 +275,7 @@ public void testDeIdentifyTableInfoTypes() throws IOException { .addValues(Value.newBuilder().setStringValue("95").build()) .addValues( Value.newBuilder() - .setStringValue( - "Charles Dickens name was a curse invented by a bard.") + .setStringValue("Charles Dickens name was a curse invented by a bard.") .build()) .build()) .addRows( @@ -310,8 +309,7 @@ public void testDeIdentifyTableInfoTypes() throws IOException { .addValues(Value.newBuilder().setStringValue("95").build()) .addValues( Value.newBuilder() - .setStringValue( - "[PERSON_NAME] name was a curse invented by a bard.") + .setStringValue("[PERSON_NAME] name was a curse invented by a bard.") .build()) .build()) .addRows( @@ -411,8 +409,7 @@ public void testDeIdentifyTableConditionsInfoTypes() throws IOException { .addValues(Value.newBuilder().setStringValue("95").build()) .addValues( Value.newBuilder() - .setStringValue( - "Charles Dickens name was a curse invented by a bard.") + .setStringValue("Charles Dickens name was a curse invented by a bard.") .build()) .build()) .addRows( @@ -446,8 +443,7 @@ public void testDeIdentifyTableConditionsInfoTypes() throws IOException { .addValues(Value.newBuilder().setStringValue("95").build()) .addValues( Value.newBuilder() - .setStringValue( - "[PERSON_NAME] name was a curse invented by a bard.") + .setStringValue("[PERSON_NAME] name was a curse invented by a bard.") .build()) .build()) .addRows( From 6ea41296c229ebdd79b31e802b2e592c9a4448d8 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 31 Aug 2022 22:46:15 +0200 Subject: [PATCH 5/6] chore(deps): update dependency com.google.cloud:libraries-bom to v26.1.1 (#975) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://cloud.google.com/java/docs/bom) ([source](https://togithub.com/googleapis/java-cloud-bom)) | `26.1.0` -> `26.1.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.1/compatibility-slim/26.1.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.1/confidence-slim/26.1.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dlp). --- README.md | 2 +- samples/snippets/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4f75bcdd..76550c4f 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.1.0 + 26.1.1 pom import diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 05e99c87..6eb32aa9 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 26.1.0 + 26.1.1 pom import From 49850063ee0b75d7f0a969ac1874097d625e7fc3 Mon Sep 17 00:00:00 2001 From: Alice Li Date: Thu, 1 Sep 2022 09:43:11 -0400 Subject: [PATCH 6/6] fix tests --- .../java/dlp/snippets/DeIdentificationTests.java | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/samples/snippets/src/test/java/dlp/snippets/DeIdentificationTests.java b/samples/snippets/src/test/java/dlp/snippets/DeIdentificationTests.java index c31c81d7..e691444e 100644 --- a/samples/snippets/src/test/java/dlp/snippets/DeIdentificationTests.java +++ b/samples/snippets/src/test/java/dlp/snippets/DeIdentificationTests.java @@ -275,7 +275,8 @@ public void testDeIdentifyTableInfoTypes() throws IOException { .addValues(Value.newBuilder().setStringValue("95").build()) .addValues( Value.newBuilder() - .setStringValue("Charles Dickens name was a curse invented by a bard.") + .setStringValue( + "Charles Dickens name was a curse invented by Shakespeare.") .build()) .build()) .addRows( @@ -309,7 +310,8 @@ public void testDeIdentifyTableInfoTypes() throws IOException { .addValues(Value.newBuilder().setStringValue("95").build()) .addValues( Value.newBuilder() - .setStringValue("[PERSON_NAME] name was a curse invented by a bard.") + .setStringValue( + "[PERSON_NAME] name was a curse invented by [PERSON_NAME].") .build()) .build()) .addRows( @@ -409,7 +411,8 @@ public void testDeIdentifyTableConditionsInfoTypes() throws IOException { .addValues(Value.newBuilder().setStringValue("95").build()) .addValues( Value.newBuilder() - .setStringValue("Charles Dickens name was a curse invented by a bard.") + .setStringValue( + "Charles Dickens name was a curse invented by Shakespeare.") .build()) .build()) .addRows( @@ -443,7 +446,8 @@ public void testDeIdentifyTableConditionsInfoTypes() throws IOException { .addValues(Value.newBuilder().setStringValue("95").build()) .addValues( Value.newBuilder() - .setStringValue("[PERSON_NAME] name was a curse invented by a bard.") + .setStringValue( + "[PERSON_NAME] name was a curse invented by [PERSON_NAME].") .build()) .build()) .addRows(