Skip to content

Commit 0776e8a

Browse files
authored
Merge branch 'main' into feat/deleteSourceObjects-compose-10602500430278326901
2 parents 27545dc + 66ded32 commit 0776e8a

2,517 files changed

Lines changed: 222823 additions & 21568 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/release-note-generation/generate_module_notes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def parse_commit_overrides(commit_data, short_name, prefix_regex, commit_hash, c
120120

121121
should_include = False
122122
if short_name:
123-
if f"[{short_name}]" in line_stripped:
123+
if f"[{short_name}]" in line_stripped or f"({short_name})" in line_stripped:
124124
should_include = True
125125
else:
126126
should_include = True

.github/release-note-generation/test_generate_module_notes.py

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import subprocess
2+
import sys
23
import unittest
34
from pathlib import Path
45

@@ -17,7 +18,7 @@ def test_java_run_generation(self):
1718
expected_output = f.read()
1819

1920
cmd = [
20-
"python3",
21+
sys.executable,
2122
str(self.script_path),
2223
"--module",
2324
"google-cloud-run",
@@ -29,10 +30,9 @@ def test_java_run_generation(self):
2930
"run",
3031
]
3132
result = subprocess.run(
32-
cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True
33+
cmd, capture_output=True, text=True, check=True
3334
)
3435

35-
self.assertEqual(result.returncode, 0)
3636
self.assertEqual(result.stdout, expected_output)
3737

3838
def test_root_generation(self):
@@ -41,7 +41,7 @@ def test_root_generation(self):
4141
expected_output = f.read()
4242

4343
cmd = [
44-
"python3",
44+
sys.executable,
4545
str(self.script_path),
4646
"--module",
4747
"google-cloud-java",
@@ -51,10 +51,30 @@ def test_root_generation(self):
5151
"1.85.0",
5252
]
5353
result = subprocess.run(
54-
cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True
54+
cmd, capture_output=True, text=True, check=True
5555
)
5656

57-
self.assertEqual(result.returncode, 0)
57+
self.assertEqual(result.stdout, expected_output)
58+
59+
60+
def test_java_dataplex_generation(self):
61+
"""Test generating release notes for Dataplex module version 1.86.0."""
62+
args = [
63+
"--module", "google-cloud-dataplex",
64+
"--directory", "java-dataplex",
65+
"--version", "1.86.0",
66+
"--short-name", "dataplex"
67+
]
68+
69+
cmd = [sys.executable, str(self.script_path)] + args
70+
result = subprocess.run(
71+
cmd, capture_output=True, text=True, check=True
72+
)
73+
74+
golden_path = self.testdata_dir / "golden_java-dataplex_1.86.0.txt"
75+
with open(golden_path, "r") as f:
76+
expected_output = f.read()
77+
5878
self.assertEqual(result.stdout, expected_output)
5979

6080

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
## [1.86.0](https://github.com/googleapis/google-cloud-java/compare/601ea6a901e...v1.82.0) (2026-03-20)
2+
3+
### ⚠ BREAKING CHANGES
4+
5+
* fix(dataplex)!: remove deprecated Explore-related methods and messages from public client libraries Breaking Changes: - Removed ContentService and all associated methods (CreateContent, UpdateContent, DeleteContent, GetContent, ListContent, etc.) and request/response messages. - Removed Environment and Session management methods from DataplexService (CreateEnvironment, UpdateEnvironment, DeleteEnvironment, ListEnvironments, GetEnvironment, ListSessions) and their associated messages. [googleapis/googleapis@69ca7ae](https://github.com/googleapis/googleapis/commit/69ca7ae2e66cd5623cafecc00971ef5397a4b258) ([e29dd99](https://github.com/googleapis/google-cloud-java/commit/e29dd99559b04de62d2f91792a6352b5ce980438))
6+
7+
### Features
8+
9+
* feat(dataplex): add DataProductService to manage data products and underlying data assets ([e29dd99](https://github.com/googleapis/google-cloud-java/commit/e29dd99559b04de62d2f91792a6352b5ce980438))
10+
* feat(dataplex): add MetadataFeed to CatalogService for tracking metadata changes ([e29dd99](https://github.com/googleapis/google-cloud-java/commit/e29dd99559b04de62d2f91792a6352b5ce980438))
11+
* feat(dataplex): add LookupContext to CatalogService for LLM-generated resource context ([e29dd99](https://github.com/googleapis/google-cloud-java/commit/e29dd99559b04de62d2f91792a6352b5ce980438))
12+
* feat(dataplex): add support for attaching aspects to EntryLinks ([e29dd99](https://github.com/googleapis/google-cloud-java/commit/e29dd99559b04de62d2f91792a6352b5ce980438))
13+
* feat(dataplex): add UpdateEntryLink and LookupEntryLinks methods to CatalogService ([e29dd99](https://github.com/googleapis/google-cloud-java/commit/e29dd99559b04de62d2f91792a6352b5ce980438))
14+
* feat(dataplex): support OneTime triggers for DataScan operations ([e29dd99](https://github.com/googleapis/google-cloud-java/commit/e29dd99559b04de62d2f91792a6352b5ce980438))
15+
* feat(dataplex): add debug query support to Data Quality rules ([e29dd99](https://github.com/googleapis/google-cloud-java/commit/e29dd99559b04de62d2f91792a6352b5ce980438))
16+
* feat(dataplex): allow selective generation scope for Data Documentation scans ([e29dd99](https://github.com/googleapis/google-cloud-java/commit/e29dd99559b04de62d2f91792a6352b5ce980438))
17+
* feat(dataplex): add SKIPPED state to DataScan catalog publishing status ([e29dd99](https://github.com/googleapis/google-cloud-java/commit/e29dd99559b04de62d2f91792a6352b5ce980438))
18+
19+
### Documentation
20+
21+
* docs(dataplex): remove deprecated metadata change warnings in Dataplex Catalog The DataProductService provides APIs to curate and manage collections of data assets as data products, enabling more organized sharing and usage for specific business cases. MetadataFeeds allow users to monitor metadata changes (CREATE, UPDATE, DELETE) within a specified scope (organization, project, or entry group) and publish them to Pub/Sub. CatalogService now includes a LookupContext API to provide LLM-generated context for resources, and enhanced EntryLink management, including the ability to attach aspects. DataScan operations now support a OneTime trigger for single-run scans, and Data Quality rules support DebugQueries to help investigate rule failures by returning diagnostic values. ([e29dd99](https://github.com/googleapis/google-cloud-java/commit/e29dd99559b04de62d2f91792a6352b5ce980438))
22+

.github/workflows/generated_files_sync.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717
pull_request:
1818
name: generation diff
1919
env:
20-
library_generation_image_tag: 2.71.0 # {x-version-update:gapic-generator-java:current}
20+
library_generation_image_tag: 2.72.0-SNAPSHOT # {x-version-update:gapic-generator-java:current}
2121
jobs:
2222
root-pom:
2323
# root pom.xml does not have diff from generated one

.github/workflows/hermetic_library_generation.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ env:
2121
REPO_FULL_NAME: ${{ github.event.pull_request.head.repo.full_name }}
2222
GITHUB_REPOSITORY: ${{ github.repository }}
2323
# {x-version-update-start:gapic-generator-java:current}
24-
GENERATOR_VERSION: 2.71.0
24+
GENERATOR_VERSION: 2.72.0-SNAPSHOT
2525
# {x-version-update-end}
2626
jobs:
2727
library_generation:

WORKSPACE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ load("@rules_jvm_external//:defs.bzl", "maven_install")
6767
load("@io_grpc_grpc_java//:repositories.bzl", "IO_GRPC_GRPC_JAVA_ARTIFACTS")
6868
load("@io_grpc_grpc_java//:repositories.bzl", "IO_GRPC_GRPC_JAVA_OVERRIDE_TARGETS")
6969

70-
_gapic_generator_java_version = "2.71.0" # {x-version-update:gapic-generator-java:current}
70+
_gapic_generator_java_version = "2.72.0-SNAPSHOT" # {x-version-update:gapic-generator-java:current}
7171

7272
maven_install(
7373
artifacts = [

0 commit comments

Comments
 (0)