diff --git a/supportedBackends/google/batch/src/main/scala/cromwell/backend/google/batch/models/GcpBatchConfigurationAttributes.scala b/supportedBackends/google/batch/src/main/scala/cromwell/backend/google/batch/models/GcpBatchConfigurationAttributes.scala index cf71a1a342..e0caf9dd50 100644 --- a/supportedBackends/google/batch/src/main/scala/cromwell/backend/google/batch/models/GcpBatchConfigurationAttributes.scala +++ b/supportedBackends/google/batch/src/main/scala/cromwell/backend/google/batch/models/GcpBatchConfigurationAttributes.scala @@ -40,7 +40,6 @@ case class GcpBatchConfigurationAttributes( project: String, computeServiceAccount: String, auths: GcpBatchAuths, - restrictMetadataAccess: Boolean, dockerhubToken: String, enableFuse: Boolean, executionBucket: String, @@ -327,7 +326,6 @@ object GcpBatchConfigurationAttributes extends GcpBatchReferenceFilesMappingOper project = project, computeServiceAccount = computeServiceAccount, auths = GcpBatchAuths(batchAuth, gcsAuth), - restrictMetadataAccess = restrictMetadata, dockerhubToken = dockerhubToken, enableFuse = enableFuse, executionBucket = bucket, diff --git a/supportedBackends/google/batch/src/test/scala/cromwell/backend/google/batch/actors/GcpBatchBackendLifecycleActorFactorySpec.scala b/supportedBackends/google/batch/src/test/scala/cromwell/backend/google/batch/actors/GcpBatchBackendLifecycleActorFactorySpec.scala index 28a6d12887..151f6970a3 100644 --- a/supportedBackends/google/batch/src/test/scala/cromwell/backend/google/batch/actors/GcpBatchBackendLifecycleActorFactorySpec.scala +++ b/supportedBackends/google/batch/src/test/scala/cromwell/backend/google/batch/actors/GcpBatchBackendLifecycleActorFactorySpec.scala @@ -19,7 +19,6 @@ class GcpBatchBackendLifecycleActorFactorySpec extends AnyFlatSpecLike with Matc project = "project", computeServiceAccount = "computeServiceAccount", auths = null, - restrictMetadataAccess = true, dockerhubToken = "test", enableFuse = true, executionBucket = "executionBucket", diff --git a/supportedBackends/google/batch/src/test/scala/cromwell/backend/google/batch/callcaching/BatchBackendCacheHitCopyingActorSpec.scala b/supportedBackends/google/batch/src/test/scala/cromwell/backend/google/batch/callcaching/BatchBackendCacheHitCopyingActorSpec.scala index 2189612cb1..087589d1fc 100644 --- a/supportedBackends/google/batch/src/test/scala/cromwell/backend/google/batch/callcaching/BatchBackendCacheHitCopyingActorSpec.scala +++ b/supportedBackends/google/batch/src/test/scala/cromwell/backend/google/batch/callcaching/BatchBackendCacheHitCopyingActorSpec.scala @@ -419,7 +419,6 @@ class BatchBackendCacheHitCopyingActorSpec project = null, computeServiceAccount = null, auths = null, - restrictMetadataAccess = false, dockerhubToken = null, enableFuse = false, executionBucket = null, diff --git a/supportedBackends/google/batch/src/test/scala/cromwell/backend/google/batch/models/GcpBatchConfigurationAttributesSpec.scala b/supportedBackends/google/batch/src/test/scala/cromwell/backend/google/batch/models/GcpBatchConfigurationAttributesSpec.scala index 19805debbe..64fedae418 100644 --- a/supportedBackends/google/batch/src/test/scala/cromwell/backend/google/batch/models/GcpBatchConfigurationAttributesSpec.scala +++ b/supportedBackends/google/batch/src/test/scala/cromwell/backend/google/batch/models/GcpBatchConfigurationAttributesSpec.scala @@ -34,7 +34,6 @@ class GcpBatchConfigurationAttributesSpec gcpBatchAttributes.executionBucket should be("gs://myBucket") gcpBatchAttributes.maxPollingInterval should be(600) gcpBatchAttributes.computeServiceAccount should be("default") - gcpBatchAttributes.restrictMetadataAccess should be(false) gcpBatchAttributes.referenceFileToDiskImageMappingOpt.isEmpty should be(true) gcpBatchAttributes.logsPolicy should be(GcpBatchLogsPolicy.CloudLogging) } @@ -112,15 +111,6 @@ class GcpBatchConfigurationAttributesSpec gcpBatchAttributes.computeServiceAccount should be("testing") } - it should "parse restrict-metadata-access" in { - - val backendConfig = ConfigFactory.parseString(configString(batch = "restrict-metadata-access = true")) - - val gcpBatchAttributes = GcpBatchConfigurationAttributes(googleConfig, backendConfig, "batch") - gcpBatchAttributes.restrictMetadataAccess should be(true) - - } - it should "parse localization-attempts" in { val backendConfig = ConfigFactory.parseString(configString(batch = "localization-attempts = 31380"))