Azure-Player / azure.synapse.tools

PowerShell module to deploy Synapse workspace (and more) in Microsoft Azure.
MIT License
20 stars 8 forks source link

Error on DevOps Viewer #9

Closed albertoRamon closed 2 years ago

albertoRamon commented 2 years ago

I don't know if in DevOps is working or not

::: mermaid
graph LR
pipeline.pipeline1 --> dataset.DelimitedText1
dataset.DelimitedText1 --> linkedService.AzureBlobStorage1
IntegrationRuntime.AutoResolveIntegrationRuntime --> managedVirtualNetwork.default
:::

image

Parse error on line 4:
...nagedVirtualNetwork.default
-----------------------^
Expecting 'SEMI', 'NEWLINE', 'SPACE', 'EOF', 'SQS', 'AMP', 'STYLE_SEPARATOR', 'PS', '(-', 'STADIUMSTART', 'SUBROUTINESTART', 'CYLINDERSTART', 'DIAMOND_START', 'TAGEND', 'TRAPSTART', 'INVTRAPSTART', 'START_LINK', 'LINK', 'DOWN', 'NUM', 'COMMA', 'ALPHA', 'COLON', 'MINUS', 'BRKT', 'DOT', 'PUNCTUATION', 'UNICODE_TEXT', 'PLUS', 'EQUALS', 'MULT', 'UNDERSCORE', got 'DEFAULT'
ParadoxMachine commented 2 years ago

This is because the script is not generating the semi colon after the graph LR

albertoRamon commented 2 years ago

you are in true, thanks I will try in production environment

NowinskiK commented 2 years ago

Where it is not working for you? I've just checked: 1) GitHub (must change :::mermaid to ```mermaid) - see below

graph LR
linkedService.AzureBlobStorage --> integrationRuntime.AustraliaEastIntegrationRuntime
linkedService.AzureDataLakeStorage --> integrationRuntime.AustraliaEastIntegrationRuntime
linkedService.AzureSqlMI --> integrationRuntime.SelfHostedIntegrationRuntime
linkedService.AzureSqlMI --> linkedService.AzureKeyVault
linkedService.benyipworkspace-WorkspaceDefaultSqlServer --> integrationRuntime.AutoResolveIntegrationRuntime
linkedService.benyipworkspace-WorkspaceDefaultStorage --> integrationRuntime.AutoResolveIntegrationRuntime
linkedService.PublicWideWorldImporters --> integrationRuntime.AutoResolveIntegrationRuntime
pipeline.AdventureWorksDWMigration --> dataset.AzureSqlMITables
pipeline.AdventureWorksDWMigration --> dataset.SqlPoolTable
pipeline.AdventureWorksDWMigration --> linkedService.AzureBlobStorage
pipeline.plImportWideWorldImporters --> dataset.dsWideWorldImportersPublic
pipeline.plImportWideWorldImporters --> dataset.dsWideWorldImportersLocal
dataset.AzureSqlMITables --> linkedService.AzureSqlMI
dataset.dsWideWorldImportersLocal --> linkedService.AzureDataLakeStorage
dataset.dsWideWorldImportersPublic --> linkedService.PublicWideWorldImporters
dataset.SqlPoolTable --> sqlPool.AdventureworksDW2016
integrationRuntime.AustraliaEastIntegrationRuntime --> managedVirtualNetwork.default
integrationRuntime.AutoResolveIntegrationRuntime --> managedVirtualNetwork.default

2) Azure DevOps (Wiki): image