strict_copy mode not properly working
Motivation
----------
Conveyor : strict_copy mode not properly working



diff --git a/lib/rucio/core/transfer.py b/lib/rucio/core/transfer.py
index 5ac30219f..1c604bf1b 100644
--- a/lib/rucio/core/transfer.py
+++ b/lib/rucio/core/transfer.py
@@ -35,6 +35,7 @@ import datetime
 import imp
 import json
 import logging
+import re
 import time
 import traceback
 
@@ -771,6 +772,11 @@ def get_transfer_requests_and_source_replicas(total_workers=0, worker_number=0,
                     overwrite = False
                     transfer_dst_type = "TAPE"
 
+                sign_url = rse_attrs[dest_rse_id].get('sign_url', None)
+                if sign_url == 'gcs':
+                    dest_url = re.sub('davs', 'gclouds', dest_url)
+                    dest_url = re.sub('https', 'gclouds', dest_url)
+
                 # IV - get external_host + strict_copy
                 strict_copy = rse_attrs[dest_rse_id].get('strict_copy', False)
                 fts_hosts = rse_attrs[dest_rse_id].get('fts', None)
diff --git a/lib/rucio/daemons/conveyor/common.py b/lib/rucio/daemons/conveyor/common.py
index c29f92d5d..e5bc9af63 100644
--- a/lib/rucio/daemons/conveyor/common.py
+++ b/lib/rucio/daemons/conveyor/common.py
@@ -303,6 +303,7 @@ def bulk_group_transfer(transfers, policy='rule', group_bulk=200, source_strateg
                 set_checksum_value(t_file, dest_supported_checksums)
 
         multihop = transfer.get('multihop', False)
+        strict_copy = transfer.get('strict_copy', False)
 
         external_host = transfer['external_host']
         scope = t_file['metadata']['scope']
@@ -328,6 +329,8 @@ def bulk_group_transfer(transfers, policy='rule', group_bulk=200, source_strateg
                       's3alternate': True}
         if multihop:
             job_params['multihop'] = True
+        if strict_copy:
+            job_params['strict_copy'] = True
 
         # Don't put optional & missing keys in the parameters
         if transfer['dest_spacetoken']:
['lib/rucio/core/transfer.py', 'lib/rucio/daemons/conveyor/common.py']