aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/remote/SimpleBlobStoreFactory.java
diff options
context:
space:
mode:
authorGravatar buchgr <buchgr@google.com>2017-05-19 17:30:10 +0200
committerGravatar Irina Iancu <elenairina@google.com>2017-05-22 14:37:43 +0200
commitc30b38e2aa05defb08c4152b1e6e0eee5c63a792 (patch)
tree9b049120e180a68abc138dca770d1910f0593cce /src/main/java/com/google/devtools/build/lib/remote/SimpleBlobStoreFactory.java
parent31dbadf4e86146af90bd5a1a5dfccc046c960d76 (diff)
Remote+BES: Stabilize command line flags.
Update the command line flags used by remote execution/caching as well as the build event service (BES). Major changes: - Remote execution/caching and BES share flags for authentication and TLS. - Removed API Key authentication from BES, as it's not being used. - Add TLS support to BES upload. - Add --bes_project_id flag. If set, the value is propagated as part of BES lifecycle events. For reviewers: Start your review at CommonRemoteAndBesOptions, BuildEventServiceOptions and RemoteOptions. The other changes are mostly automatic IDE renames of fields and flag updates in shell script tests. RELNOTES: None. PiperOrigin-RevId: 156553857
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/remote/SimpleBlobStoreFactory.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/remote/SimpleBlobStoreFactory.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/remote/SimpleBlobStoreFactory.java b/src/main/java/com/google/devtools/build/lib/remote/SimpleBlobStoreFactory.java
index 2bb5962399..2f6993cce1 100644
--- a/src/main/java/com/google/devtools/build/lib/remote/SimpleBlobStoreFactory.java
+++ b/src/main/java/com/google/devtools/build/lib/remote/SimpleBlobStoreFactory.java
@@ -187,7 +187,7 @@ public final class SimpleBlobStoreFactory {
}
public static SimpleBlobStore createRest(RemoteOptions options) {
- return new RestBlobStore(options.restCacheUrl);
+ return new RestBlobStore(options.remoteRestCache);
}
public static SimpleBlobStore create(RemoteOptions options) {
@@ -213,6 +213,6 @@ public final class SimpleBlobStoreFactory {
}
private static boolean isRestUrlOptions(RemoteOptions options) {
- return options.restCacheUrl != null;
+ return options.remoteRestCache != null;
}
}