Azure / Azure/Azure-DataFactory

Blob sasToken blank but build process injecting characters in place of no value?

Aperta
#640 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
PowerShell
Stelle
529
Fork
623
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

We've parameterized our sasURI as follows, "https://@{linkedService().StorageAccountName}.blob.core.windows.net/?@{linkedService().StorageSAS}" and changed related lines in our arm-template-parameters-definition.json from:

"sasUri": "|:-sasUri:secureString",
"sasToken": "|",

to

"sasUri": "=",
"sasToken": "-",

The source linked service only has the sasURI populated and the sasToken property is left blank (per the sasToken tool tip in the UI).

The change to the arm-template-parameters-definition.json file is causing our default dynamic value to appear in our parameter file but the build process seems to be appending the blank sasToken as "placeholders".

We're expecting this

"ABlobDyn_RTSAS_properties_typeProperties_sasUri": {
"value": "https://@{linkedService().StorageAccountName}.blob.core.windows.net/?@{linkedService().StorageSAS}"
},

and getting this

"ABlobDyn_RTSAS_properties_typeProperties_sasUri": {
"value": "https://@{linkedService().StorageAccountName}.blob.core.windows.net/?@{linkedService().StorageSAS}?**********"
},

We save in the UI like this:

presave-Screenshot 2024-01-18 122241

After you save and edit we now see.....

postsave-Screenshot 2024-01-18 122408

How can we make the build process not append a blank sas token?

We've tried:

"sasToken": "-",
"sasToken": "",
"sasToken": "=",
and removing "sasToken": entirely.... all produce the same unwanted result.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia riproducendo la build con il servizio collegato, l’URI SAS e un token SAS vuoto, insieme alle modifiche in arm-template-parameters-definition.json. Confronta il valore del parametro generato con l’output sasUri previsto e determina se la gestione di un sasToken vuoto è definita nel processo di build. Il lavoro è completato quando la sasUri generata non contiene caratteri segnaposto aggiunti quando sasToken è vuoto.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
azure
Ambito
cloud, data-engineering
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.