Skip to content

A cli util to integrate design automation service with Azure storage account

Notifications You must be signed in to change notification settings

MadhukarMoogala/ForgeDA-AzureStorage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Forge Design Automation-Integrate with Azure Storage

Instructions To Build and Test Forge DA Client

This is Design Automation client is used to run forge Design Application, that can upload an input file to Azure Blob container, change its width and height parameter and save the output file to Azure container, download locally.

DA client is highly customizable CLI utility can be used for various DA apps. At a broad level,

  • inputs are uploaded to Azure storage container,
  • generates a readable signed url
  • output objects are uploaded to writeable azure SAS url
  • urls are set in workItem spec
cd da
touch appsettings.users.json `feed with your Forge Credentials, Azure credentials`
dotnet build
dotnet run  -i "<inputFile>" -o "<outputFolder>"

appsettings.users.json

{
  "Forge": {
    "ClientId": "",
    "ClientSecret": ""
  },
  "AzureCloudStorage": {
    "StorageConnectionString": ""
  }
}

launchsettings.json

{
  "profiles": {
    "da": {
      "commandName": "Project",
      "commandLineArgs": "-i "input.ipt" -o "output",
      "workingDirectory": ".\\cli\\da",
      "environmentVariables": {
      	"FORGE_CLIENT_ID": "",
        "FORGE_CLIENT_SECRET": "",
        "STORAGECONNECTIONSTRING": ""
        
      }
    }
  }
}

Instructions To Debug

.NETCore
edit launchsettings.json
launch da profile.

InstructionImage

Demo

asciicast

License

This sample is licensed under the terms of the MIT License. Please see the LICENSE file for full details.

Written by

Madhukar Moogala, Forge Partner Development @galakar

About

A cli util to integrate design automation service with Azure storage account

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages