Skip to content

Local Cloud Debugging

Rohit Agrawal - MSFT edited this page Apr 16, 2019 · 17 revisions

Following steps will guide you through the steps that need to be followed in order to locally debug the projects

Services

DataX.Flow

  • Open DataX.Flow.sln in VisualStudio (Run Visual Studio as admin)
  • In DataX.Flow project, open Local.1Node.xml file under ApplicationParameters folder
  • Set values for the following parameters:
    • AppInsightsIntrumentationKey - Eg.: configgen-aiInstrumentationKey
    • cosmosDBConfigCollectionName - Eg.: configgenConfigs
    • cosmosDBConfigConnectionString - Eg.: keyvault:///configgen-configgenconfigs
    • cosmosDBConfigDatabaseName - Eg.: keyvault:///configgen-configgenconfigsdatabasename
    • ServiceKeyvaultName - Eg.: kvServicesdx123
    • AzureServicesAuthConnectionString - Look for a secret called 'configgen-azureservicesauthconnectionstring'. Only copy the 'Value' part here. (eg.: RunAs=App;AppId=;TenantId=;CertificateThumbprint=;CertificateStoreLocation=LocalMachine)
  • In Flow.ManagementService project, open FlowManagementController.cs file
  • Within GetAllFlowsMin method comment out the following line
RolesCheck.EnsureReader(Request, _isLocal);
  • Make sure to download the cert used in AzureServicesAuthConnectionString parameter above to
  • Set the platform for the solution to x64 and F5

Links

Data Accelerator

Install

Docs

Clone this wiki locally