From 0932ebf2a558da67ba6805434347716fe3c3ef3c Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Thu, 31 Mar 2022 20:18:13 +0000 Subject: [PATCH 1/2] chore(deps): update dependency com.google.cloud:libraries-bom to v25.1.0 --- samples/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 7682bff4e..220939469 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 25.0.0 + 25.1.0 pom import From e400fb8368bbe08b758a44e52ae6ef9525df7551 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 31 Mar 2022 20:20:45 +0000 Subject: [PATCH 2/2] =?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 --- .kokoro/presubmit/samples.cfg | 2 +- README.md | 4 ++-- .../examples/securitycenter/snippets/MuteFindingIT.java | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.kokoro/presubmit/samples.cfg b/.kokoro/presubmit/samples.cfg index 67806dd18..01e096004 100644 --- a/.kokoro/presubmit/samples.cfg +++ b/.kokoro/presubmit/samples.cfg @@ -29,5 +29,5 @@ env_vars: { env_vars: { key: "SECRET_MANAGER_KEYS" - value: "java-docs-samples-service-account,java-scc-samples-secrets" + value: "java-docs-samples-service-account" } \ No newline at end of file diff --git a/README.md b/README.md index 9373c13ad..2ec07971f 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 - 25.0.0 + 25.1.0 pom import @@ -55,7 +55,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:25.0.0') +implementation platform('com.google.cloud:libraries-bom:25.1.0') implementation 'com.google.cloud:google-cloud-securitycenter' ``` diff --git a/samples/snippets/src/test/java/com/google/cloud/examples/securitycenter/snippets/MuteFindingIT.java b/samples/snippets/src/test/java/com/google/cloud/examples/securitycenter/snippets/MuteFindingIT.java index 3237743c5..7f2c48472 100644 --- a/samples/snippets/src/test/java/com/google/cloud/examples/securitycenter/snippets/MuteFindingIT.java +++ b/samples/snippets/src/test/java/com/google/cloud/examples/securitycenter/snippets/MuteFindingIT.java @@ -217,11 +217,11 @@ public void testUpdateMuteRules() { @Test public void testSetMuteFinding() { SetMuteFinding.setMute(FINDING_1.getName()); - assertThat(stdOut.toString()).contains( - "Mute value for the finding " + FINDING_1.getName() + " is: " + "MUTED"); + assertThat(stdOut.toString()) + .contains("Mute value for the finding " + FINDING_1.getName() + " is: " + "MUTED"); SetUnmuteFinding.setUnmute(FINDING_1.getName()); - assertThat(stdOut.toString()).contains( - "Mute value for the finding " + FINDING_1.getName() + " is: " + "UNMUTED"); + assertThat(stdOut.toString()) + .contains("Mute value for the finding " + FINDING_1.getName() + " is: " + "UNMUTED"); } @Test