Skip to content

Commit 6dc9a97

Browse files
Merge branch 'googleapis:main' into main
2 parents 7576750 + 55f6c3f commit 6dc9a97

File tree

411 files changed

+40266
-1834
lines changed

Some content is hidden

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

411 files changed

+40266
-1834
lines changed

.github/scripts/update_generation_config.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
set -e
2+
set -ex
33
# This script should be run at the root of the repository.
44
# This script is used to update googleapis_commitish, gapic_generator_version,
55
# and libraries_bom_version in generation configuration at the time of running
@@ -15,8 +15,10 @@ set -e
1515
function get_latest_released_version() {
1616
local group_id=$1
1717
local artifact_id=$2
18-
json_content=$(curl -s "https://search.maven.org/solrsearch/select?q=g:${group_id}+AND+a:${artifact_id}&core=gav&rows=500&wt=json")
19-
latest=$(jq -r '.response.docs[] | select(.v | test("^[0-9]+(\\.[0-9]+)*$")) | .v' <<< "${json_content}" | sort -V | tail -n 1)
18+
group_id_url_path="$(sed 's|\.|/|g' <<< "${group_id}")"
19+
url="https://repo1.maven.org/maven2/${group_id_url_path}/${artifact_id}/maven-metadata.xml"
20+
xml_content=$(curl -s --fail "${url}")
21+
latest=$(xmllint --xpath 'metadata/versioning/latest/text()' - <<< "${xml_content}")
2022
if [[ -z "${latest}" ]]; then
2123
echo "The latest version of ${group_id}:${artifact_id} is empty."
2224
echo "The returned json from maven.org is invalid: ${json_content}"

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ jobs:
127127
gcr.io/cloud-devrel-public-resources/java-library-generation:"${library_generation_image_tag}" \
128128
/src/library_generation/cli/entry_point.py validate-generation-config
129129
env:
130-
library_generation_image_tag: 2.60.1
130+
library_generation_image_tag: 2.60.2
131131
workspace_name: /workspace
132132

133133
# TODO: Uncomment the needed Github Actions

.github/workflows/generated_files_sync.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ on:
2020
pull_request:
2121
name: generation diff
2222
env:
23-
library_generation_image_tag: 2.60.1
23+
library_generation_image_tag: 2.60.2
2424
jobs:
2525
root-pom:
2626
# 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
@@ -37,7 +37,7 @@ jobs:
3737
with:
3838
fetch-depth: 0
3939
token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }}
40-
- uses: googleapis/sdk-platform-java/.github/scripts@v2.59.0
40+
- uses: googleapis/sdk-platform-java/.github/scripts@v2.60.2
4141
if: env.SHOULD_RUN == 'true'
4242
with:
4343
base_ref: ${{ github.base_ref }}

.github/workflows/update_generation_config.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ on:
1818
schedule:
1919
- cron: '0 2 * * *'
2020
workflow_dispatch:
21-
2221
jobs:
2322
update-generation-config:
2423
runs-on: ubuntu-24.04
@@ -30,14 +29,17 @@ jobs:
3029
with:
3130
fetch-depth: 0
3231
token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }}
32+
- name: Install Dependencies
33+
shell: bash
34+
run: sudo apt-get update && sudo apt-get install -y libxml2-utils
3335
- name: Update params in generation config to latest
3436
shell: bash
3537
run: |
3638
set -x
3739
[ -z "$(git config user.email)" ] && git config --global user.email "cloud-java-bot@google.com"
3840
[ -z "$(git config user.name)" ] && git config --global user.name "cloud-java-bot"
3941
bash .github/scripts/update_generation_config.sh \
40-
--base_branch "${base_branch}"\
42+
--base_branch "${base_branch}" \
4143
--repo ${{ github.repository }}
4244
env:
4345
GH_TOKEN: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }}

README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -664,11 +664,7 @@ runtime. However, Datastore, Storage, and Bigquery should work.
664664

665665
## Contributing
666666

667-
Contributions to this library are always welcome and highly encouraged.
668-
669-
See `google-cloud`'s [CONTRIBUTING] documentation and the [shared documentation](https://github.com/googleapis/google-cloud-common/blob/main/contributing/readme.md#how-to-contribute-to-gcloud) for more information on how to get started.
670-
671-
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms. See [Code of Conduct][code-of-conduct] for more information.
667+
See [CONTRIBUTING.md](CONTRIBUTING.md).
672668

673669
## License
674670

@@ -686,4 +682,4 @@ Apache 2.0 - See [LICENSE] for more information.
686682
[TESTING]: https://github.com/googleapis/google-cloud-java/blob/main/TESTING.md
687683
[cloud-platform]: https://cloud.google.com/
688684
[cloud-platform-docs]: https://cloud.google.com/docs/
689-
[client-lib-docs]: https://cloud.google.com/java/docs/reference
685+
[client-lib-docs]: https://cloud.google.com/java/docs/reference

generation_config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
gapic_generator_version: 2.59.0
2-
googleapis_commitish: 33d5137a234625ed94afd630031321c31bd16143
3-
libraries_bom_version: 26.61.0
1+
gapic_generator_version: 2.60.2
2+
googleapis_commitish: 6588689155df35bb46974c477505990f0034f569
3+
libraries_bom_version: 26.64.0
44

55
# the libraries are ordered with respect to library name, which is
66
# java-{library.library_name} or java-{library.api-shortname} when

java-accessapproval/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
2020
<dependency>
2121
<groupId>com.google.cloud</groupId>
2222
<artifactId>libraries-bom</artifactId>
23-
<version>26.61.0</version>
23+
<version>26.64.0</version>
2424
<type>pom</type>
2525
<scope>import</scope>
2626
</dependency>

java-accesscontextmanager/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
2020
<dependency>
2121
<groupId>com.google.cloud</groupId>
2222
<artifactId>libraries-bom</artifactId>
23-
<version>26.61.0</version>
23+
<version>26.64.0</version>
2424
<type>pom</type>
2525
<scope>import</scope>
2626
</dependency>

java-admanager/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
2323
<dependency>
2424
<groupId>com.google.cloud</groupId>
2525
<artifactId>libraries-bom</artifactId>
26-
<version>26.61.0</version>
26+
<version>26.64.0</version>
2727
<type>pom</type>
2828
<scope>import</scope>
2929
</dependency>

0 commit comments

Comments
 (0)