Fix gax and gax-grpc dependency mismatch (#2347)

Also address a deprecation warning.

TESTED=build the nomulus tool locally and it run the `list_cursors`
command correctly. It used to fail.
This commit is contained in:
Lai Jiang
2024-03-04 23:39:42 +00:00
committed by GitHub
parent dcf0412f11
commit 805a34be96
13 changed files with 377 additions and 350 deletions
@@ -77,7 +77,7 @@ public final class SslInitializerTestUtils {
throws Exception {
X500Name subjectDnName = new X500Name("CN=" + hostname);
BigInteger serialNumber = BigInteger.valueOf(System.currentTimeMillis());
X500Name issuerDnName = new X500Name(ssc.cert().getIssuerDN().getName());
X500Name issuerDnName = new X500Name(ssc.cert().getIssuerX500Principal().getName());
ContentSigner sigGen = new JcaContentSignerBuilder("SHA256WithRSAEncryption").build(ssc.key());
X509v3CertificateBuilder v3CertGen =
new JcaX509v3CertificateBuilder(