Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

Commit

Permalink
chore: release gapic-generator-java v1.0.12 (#326)
Browse files Browse the repository at this point in the history
* chore: release gapic-generator-java v1.0.11

Committer: @miraleung
PiperOrigin-RevId: 378266372

Source-Author: Google APIs <noreply@google.com>
Source-Date: Tue Jun 8 15:56:51 2021 -0700
Source-Repo: googleapis/googleapis
Source-Sha: 9e3105549a35520f215359065c11e8dce15e18af
Source-Link: googleapis/googleapis@9e31055

* chore: release gapic-generator-java v1.0.12

Committer: @miraleung
PiperOrigin-RevId: 378718217

Source-Author: Google APIs <noreply@google.com>
Source-Date: Thu Jun 10 13:08:49 2021 -0700
Source-Repo: googleapis/googleapis
Source-Sha: 08c4eeb531c01ad031134dca94b18e3f7dd35902
Source-Link: googleapis/googleapis@08c4eeb
  • Loading branch information
yoshi-automation committed Jun 14, 2021
1 parent 8abf7dd commit df00a3c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
7 changes: 7 additions & 0 deletions src/main/java/io/grafeas/v1/stub/GrafeasStubSettings.java
Expand Up @@ -400,6 +400,11 @@ public static String getDefaultEndpoint() {
return null;
}

/** Returns the default mTLS service endpoint. */
public static String getDefaultMtlsEndpoint() {
return "containeranalysis.mtls.googleapis.com:443";
}

/** Returns the default service scopes. */
public static List<String> getDefaultServiceScopes() {
return DEFAULT_SERVICE_SCOPES;
Expand Down Expand Up @@ -622,6 +627,8 @@ private static Builder createDefault() {
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);

return initDefaults(builder);
}
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/io/grafeas/v1/GrafeasClientTest.java
Expand Up @@ -52,8 +52,8 @@
public class GrafeasClientTest {
private static MockGrafeas mockGrafeas;
private static MockServiceHelper mockServiceHelper;
private GrafeasClient client;
private LocalChannelProvider channelProvider;
private GrafeasClient client;

@BeforeClass
public static void startStaticServer() {
Expand Down
6 changes: 3 additions & 3 deletions synth.metadata
Expand Up @@ -4,15 +4,15 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-grafeas.git",
"sha": "d6e45c032f5f29604411487eb5a48b7feec5995c"
"sha": "8abf7dd2f3d9445a53684ca9d21d2d33bfbf461b"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "a5f96d06ef57e325761bad010f460d0c5dbeccda",
"internalRef": "377081269"
"sha": "08c4eeb531c01ad031134dca94b18e3f7dd35902",
"internalRef": "378718217"
}
},
{
Expand Down

0 comments on commit df00a3c

Please sign in to comment.