Giter VIP home page Giter VIP logo

supplychain-adt-loader's Introduction

SupplychainDatasetBlobTrigger

Azure function to load Azure Digital Twins instance from Supply Chain Dataset

IMPORTANT : Azure Digital Twins model, dataset Excel file and Azure function versions must be aligned.

Pre-requisites

An existing Azure Digital Twins instance and an instance of DT Injector Azure Function installed and configured.

How it works

This Azure function is intended to process a Cosmo Tech Supply Chain dataset in order to load it into an Azure Digital Twins instance.

  1. To trigger the function SupplychainDatasetBlobTrigger, upload a Cosmo Tech Supply Chain dataset Excel file (.xlsx extension) into the configured container (parameter INPUT_STORAGE_CONTAINER, /Input by default) of the configured Azure Storage (connection string parameter INPUT_STORAGE_CONNECTION).
  2. Once triggered the function transforms the dataset into twin and relationships objects.
  3. Then the azure function sends these objects to a storage queue configured with parameters OUTPUT_STORAGE_CONNECTION and OUTPUT_STORAGE_QUEUE_NAME.
  4. The storage queue is consumed by an DT Injector Azure Function.


How to deploy

Deploy to Azure

Settings

  • INPUT_STORAGE_CONNECTION : connection string of the input Azure Storage account

  • INPUT_STORAGE_CONTAINER : BLOB container name in the input Storage

  • OUTPUT_STORAGE_QUEUE_NAME : connection string of the output Azure Storage account (parameter JSON_STORAGE_CONNECTION of the DT Injector)

  • OUTPUT_STORAGE_QUEUE_NAME : Queue name in the output Storage (parameter JSON_STORAGE_QUEUE of the DT Injector)



supplychain-adt-loader's People

Contributors

dsoitel avatar n1k1t4 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.