diff --git a/CHANGELOG.md b/CHANGELOG.md index a946a843..c124e61b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [0.123.3](https://github.com/googleapis/java-datalabeling/compare/v0.123.2...v0.123.3) (2022-08-09) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v3 ([#769](https://github.com/googleapis/java-datalabeling/issues/769)) ([5f2e3c1](https://github.com/googleapis/java-datalabeling/commit/5f2e3c14bd4fc50653b7121d2239cab61f06d42b)) + ## [0.123.2](https://github.com/googleapis/java-datalabeling/compare/v0.123.1...v0.123.2) (2022-07-13) diff --git a/google-cloud-datalabeling-bom/pom.xml b/google-cloud-datalabeling-bom/pom.xml index 5fba8677..1225922e 100644 --- a/google-cloud-datalabeling-bom/pom.xml +++ b/google-cloud-datalabeling-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-datalabeling-bom - 0.123.3-SNAPSHOT + 0.123.3 pom com.google.cloud @@ -52,17 +52,17 @@ com.google.cloud google-cloud-datalabeling - 0.123.3-SNAPSHOT + 0.123.3 com.google.api.grpc grpc-google-cloud-datalabeling-v1beta1 - 0.88.3-SNAPSHOT + 0.88.3 com.google.api.grpc proto-google-cloud-datalabeling-v1beta1 - 0.88.3-SNAPSHOT + 0.88.3 diff --git a/google-cloud-datalabeling/pom.xml b/google-cloud-datalabeling/pom.xml index 5cdfac48..022e3e71 100644 --- a/google-cloud-datalabeling/pom.xml +++ b/google-cloud-datalabeling/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-datalabeling - 0.123.3-SNAPSHOT + 0.123.3 jar Google Cloud Data Labeling https://github.com/googleapis/java-datalabeling @@ -11,7 +11,7 @@ com.google.cloud google-cloud-datalabeling-parent - 0.123.3-SNAPSHOT + 0.123.3 google-cloud-datalabeling diff --git a/google-cloud-datalabeling/src/test/java/com/google/cloud/datalabeling/it/ITSystemTest.java b/google-cloud-datalabeling/src/test/java/com/google/cloud/datalabeling/it/ITSystemTest.java index 7683b77e..bc2f0a45 100644 --- a/google-cloud-datalabeling/src/test/java/com/google/cloud/datalabeling/it/ITSystemTest.java +++ b/google-cloud-datalabeling/src/test/java/com/google/cloud/datalabeling/it/ITSystemTest.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.google.cloud.datalabeling.v1beta1.it; +package com.google.cloud.datalabeling.it; import static org.junit.Assert.assertEquals; @@ -38,6 +38,7 @@ import org.junit.Test; public class ITSystemTest { + private static DataLabelingServiceClient client; private static String dataSetId; private static String annotationSpecSetId; @@ -119,6 +120,9 @@ public void listDatasetsTest() { DataLabelingServiceClient.ListDatasetsPagedResponse pagedListResponse = client.listDatasets(PARENT, filter); List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + // This removal ensures that other integration tests on the same GCP project do not interfere. + resources.removeIf(dataset -> !dataset.getName().split("/")[3].equals(dataSetId)); + assertEquals(1, resources.size()); } @@ -136,6 +140,11 @@ public void listAnnotationSpecSetsTest() { DataLabelingServiceClient.ListAnnotationSpecSetsPagedResponse pagedListResponse = client.listAnnotationSpecSets(PARENT, filter); List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + // This removal ensures that other integration tests on the same GCP project do not interfere. + resources.removeIf( + annotationSpecSet -> + !annotationSpecSet.getName().split("/")[3].equals(annotationSpecSetId)); + assertEquals(1, resources.size()); } } diff --git a/grpc-google-cloud-datalabeling-v1beta1/pom.xml b/grpc-google-cloud-datalabeling-v1beta1/pom.xml index b3f1c77c..e58d5cfe 100644 --- a/grpc-google-cloud-datalabeling-v1beta1/pom.xml +++ b/grpc-google-cloud-datalabeling-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-datalabeling-v1beta1 - 0.88.3-SNAPSHOT + 0.88.3 grpc-google-cloud-datalabeling-v1beta1 GRPC library for grpc-google-cloud-datalabeling-v1beta1 com.google.cloud google-cloud-datalabeling-parent - 0.123.3-SNAPSHOT + 0.123.3 diff --git a/pom.xml b/pom.xml index c47e5732..27cfca97 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-datalabeling-parent pom - 0.123.3-SNAPSHOT + 0.123.3 Google Cloud Data Labeling Parent https://github.com/googleapis/java-datalabeling @@ -61,17 +61,17 @@ com.google.api.grpc proto-google-cloud-datalabeling-v1beta1 - 0.88.3-SNAPSHOT + 0.88.3 com.google.api.grpc grpc-google-cloud-datalabeling-v1beta1 - 0.88.3-SNAPSHOT + 0.88.3 com.google.cloud google-cloud-datalabeling - 0.123.3-SNAPSHOT + 0.123.3 diff --git a/proto-google-cloud-datalabeling-v1beta1/pom.xml b/proto-google-cloud-datalabeling-v1beta1/pom.xml index be588019..8dc374d1 100644 --- a/proto-google-cloud-datalabeling-v1beta1/pom.xml +++ b/proto-google-cloud-datalabeling-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-datalabeling-v1beta1 - 0.88.3-SNAPSHOT + 0.88.3 proto-google-cloud-datalabeling-v1beta1 PROTO library for proto-google-cloud-datalabeling-v1beta1 com.google.cloud google-cloud-datalabeling-parent - 0.123.3-SNAPSHOT + 0.123.3 diff --git a/versions.txt b/versions.txt index 0bd3840c..3afd9c63 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -google-cloud-datalabeling:0.123.2:0.123.3-SNAPSHOT -grpc-google-cloud-datalabeling-v1beta1:0.88.2:0.88.3-SNAPSHOT -proto-google-cloud-datalabeling-v1beta1:0.88.2:0.88.3-SNAPSHOT +google-cloud-datalabeling:0.123.3:0.123.3 +grpc-google-cloud-datalabeling-v1beta1:0.88.3:0.88.3 +proto-google-cloud-datalabeling-v1beta1:0.88.3:0.88.3