Skip to content

Commit 27c497e

Browse files
authored
Merge branch 'x509' into x509-java
2 parents 111f2f1 + b4254fa commit 27c497e

28 files changed

+624
-130
lines changed

.github/workflows/members.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
[
2+
{"login":"renovate-bot"},
3+
{"login":"release-please"},
4+
{"login":"suztomo"},
5+
{"login":"dangazineu"},
6+
{"login":"ldetmer"},
7+
{"login":"zhumin8"},
8+
{"login":"blakeli0"},
9+
{"login":"lqiu96"},
10+
{"login":"jinseopkim0"},
11+
{"login":"meltsufin"},
12+
{"login":"diegomarquezp"},
13+
{"login":"burkedavison"},
14+
{"login":"mpeddada1"},
15+
{"login":"JoeWang1127"},
16+
{"login":"kmaydeo"},
17+
{"login":"lsirac"},
18+
{"login":"aeitzman"}
19+
]
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: 'multi-approvers'
2+
3+
on:
4+
pull_request:
5+
types:
6+
- 'opened'
7+
- 'edited'
8+
- 'reopened'
9+
- 'synchronize'
10+
- 'ready_for_review'
11+
- 'review_requested'
12+
- 'review_request_removed'
13+
pull_request_review:
14+
types:
15+
- 'submitted'
16+
- 'dismissed'
17+
18+
permissions:
19+
actions: 'write'
20+
contents: 'read'
21+
pull-requests: 'read'
22+
23+
concurrency:
24+
group: '${{ github.workflow }}-${{ github.head_ref || github.ref }}'
25+
cancel-in-progress: true
26+
27+
jobs:
28+
multi-approvers:
29+
uses: 'abcxyz/pkg/.github/workflows/multi-approvers.yml@main'
30+
with:
31+
org-members-path: '.github/workflows/members.json'

.github/workflows/sonar.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ jobs:
99
build:
1010
name: Build
1111
runs-on: ubuntu-22.04
12+
# Sonar Token can't be passed to PRs from forks. Disable Sonar workflow unless PR is from a branch.
13+
if: github.event.pull_request.head.repo.full_name == github.repository
1214
steps:
1315
- uses: actions/checkout@v4
1416
with:
@@ -39,7 +41,6 @@ jobs:
3941
-DenableFullTestCoverage \
4042
-Dsonar.coverage.jacoco.xmlReportPaths=oauth2_http/target/site/jacoco/jacoco.xml \
4143
org.sonarsource.scanner.maven:sonar-maven-plugin:sonar \
42-
-Pcoverage \
4344
-Dsonar.projectKey=googleapis_google-auth-library-java \
4445
-Dsonar.organization=googleapis \
45-
-Dsonar.host.url=https://sonarcloud.io
46+
-Dsonar.host.url=https://sonarcloud.io

.kokoro/presubmit/graalvm-native-a.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@ env_vars: {
4444
}
4545

4646
container_properties {
47-
docker_image: "us-docker.pkg.dev/java-graalvm-ci-prod/graalvm-integration-testing/graalvm_a:1.12.0"
47+
docker_image: "us-docker.pkg.dev/java-graalvm-ci-prod/graalvm-integration-testing/graalvm_a:1.13.0"
4848
}
4949

.kokoro/presubmit/graalvm-native-b.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,5 @@ env_vars: {
4444
}
4545

4646
container_properties {
47-
docker_image: "us-docker.pkg.dev/java-graalvm-ci-prod/graalvm-integration-testing/graalvm_b:1.12.0"
47+
docker_image: "us-docker.pkg.dev/java-graalvm-ci-prod/graalvm-integration-testing/graalvm_b:1.13.0"
4848
}

.release-please-manifest.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
".": "1.30.1"
3+
}

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## [1.30.1](https://github.com/googleapis/google-auth-library-java/compare/v1.30.0...v1.30.1) (2024-12-11)
4+
5+
6+
### Bug Fixes
7+
8+
* JSON parsing of S2A addresses. ([#1589](https://github.com/googleapis/google-auth-library-java/issues/1589)) ([9d5ebfe](https://github.com/googleapis/google-auth-library-java/commit/9d5ebfe8870a11d27af3a7c7f3fd9930ab207162))
9+
310
## [1.30.0](https://github.com/googleapis/google-auth-library-java/compare/v1.29.0...v1.30.0) (2024-11-08)
411

512

README.md

Lines changed: 65 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,35 +50,92 @@ credentials as well as utility methods to create them and to get Application Def
5050

5151
## Quickstart
5252

53+
### Preferred method: using `java-libraries-bom`
54+
If your use case is to enable authentication for a GAPIC library such as `google-cloud-datastore`,
55+
you may want simply add `libraries-bom`, which automatically imports the auth bom, to your pom.xml
56+
as follows:
57+
58+
[//]: # ({x-version-update-start:google-auth-library-bom:released})
59+
```xml
60+
<dependencyManagement>
61+
<dependencies>
62+
<dependency>
63+
<groupId>com.google.cloud</groupId>
64+
<artifactId>libraries-bom</artifactId>
65+
<version>26.53.0</version>
66+
<type>pom</type>
67+
<scope>import</scope>
68+
</dependency>
69+
</dependencies>
70+
</dependencyManagement>
71+
```
72+
73+
Otherwise, if you don't plan using libraries-bom, see the next section on
74+
_Google Auth Library Bill of Materials_.
75+
76+
### Using Maven
77+
78+
#### Google Auth Library Bill of Materials
79+
In order to ensure transitive dependencies and the modules themselves are aligned with each other,
80+
we rely on the Google Auth Library Bill of Materials. Please add this to your dependency management
81+
section as follows:
82+
83+
[//]: # ({x-version-update-start:google-auth-library-bom:released})
84+
```xml
85+
<dependencyManagement>
86+
<dependencies>
87+
<dependency>
88+
<groupId>com.google.auth</groupId>
89+
<artifactId>google-auth-library-bom</artifactId>
90+
<version>1.30.1</version>
91+
<type>pom</type>
92+
<scope>import</scope>
93+
</dependency>
94+
</dependencies>
95+
</dependencyManagement>
96+
```
97+
[//]: # ({x-version-update-end})
98+
99+
#### Choosing your implementation
100+
53101
If you are using Maven, add this to your pom.xml file (notice that you can replace
54102
`google-auth-library-oauth2-http` with any of `google-auth-library-credentials` and
55103
`google-auth-library-appengine`, depending on your application needs):
56104

57-
[//]: # ({x-version-update-start:google-auth-library-oauth2-http:released})
58-
59105
```xml
60106
<dependency>
61107
<groupId>com.google.auth</groupId>
108+
<!-- Let the BOM manage the module and dependency versions -->
109+
<!-- Replace with the module(s) that are needed -->
62110
<artifactId>google-auth-library-oauth2-http</artifactId>
63-
<version>1.19.0</version>
64111
</dependency>
65112
```
66-
[//]: # ({x-version-update-end})
67-
68113

114+
### Using Gradle
69115
If you are using Gradle, add this to your dependencies
70116

71-
[//]: # ({x-version-update-start:google-auth-library-oauth2-http:released})
117+
[//]: # ({x-version-update-start:google-auth-library-bom:released})
72118
```Groovy
73-
implementation 'com.google.auth:google-auth-library-oauth2-http:1.19.0'
119+
dependencies {
120+
// The BOM will manage the module versions and transitive dependencies
121+
implementation platform('com.google.auth:google-auth-library-bom:1.30.1')
122+
// Replace with the module(s) that are needed
123+
implementation 'com.google.auth:google-auth-library-oauth2-http'
124+
}
125+
74126
```
75127
[//]: # ({x-version-update-end})
76128

129+
Unfortunately, SBT [cannot](https://github.com/sbt/sbt/issues/4531) manage dependencies via Maven
130+
Bills of Materials. Therefore, you will have to add the submodule directly. Make sure the module
131+
versions are aligned in case you are using more than one authentication module in order to prevent
132+
transitive dependency conflicts.
77133
If you are using SBT, add this to your dependencies
78134

79135
[//]: # ({x-version-update-start:google-auth-library-oauth2-http:released})
80136
```Scala
81-
libraryDependencies += "com.google.auth" % "google-auth-library-oauth2-http" % "1.19.0"
137+
// Replace this with the implementation module that suits your needs
138+
libraryDependencies += "com.google.auth" % "google-auth-library-oauth2-http" % "1.30.1"
82139
```
83140
[//]: # ({x-version-update-end})
84141

appengine/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>com.google.auth</groupId>
77
<artifactId>google-auth-library-parent</artifactId>
8-
<version>1.30.1-SNAPSHOT</version><!-- {x-version-update:google-auth-library-parent:current} -->
8+
<version>1.30.2-SNAPSHOT</version><!-- {x-version-update:google-auth-library-parent:current} -->
99
<relativePath>../pom.xml</relativePath>
1010
</parent>
1111

bom/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.google.auth</groupId>
55
<artifactId>google-auth-library-bom</artifactId>
6-
<version>1.30.1-SNAPSHOT</version><!-- {x-version-update:google-auth-library-bom:current} -->
6+
<version>1.30.2-SNAPSHOT</version><!-- {x-version-update:google-auth-library-bom:current} -->
77
<packaging>pom</packaging>
88
<name>Google Auth Library for Java BOM</name>
99
<description>
@@ -83,7 +83,7 @@
8383
<plugin>
8484
<groupId>org.apache.maven.plugins</groupId>
8585
<artifactId>maven-javadoc-plugin</artifactId>
86-
<version>3.11.1</version>
86+
<version>3.11.2</version>
8787
<configuration>
8888
<skip>true</skip>
8989
</configuration>

0 commit comments

Comments
 (0)