Skip to content

Repository to run study on Microsoft Reference docs

License

Notifications You must be signed in to change notification settings

hector-norza/ref-doc-study-ts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ref-doc-study

Repository to run study on Microsoft Reference docs

Tasks

You need to run 3 tasks for this study, for each task a sample task has been provided.

# Sample Task
1 Print contents of a blob in Azure Storage Print name of all blob files in Azure Storage container
2 Send 10 messages to Azure Event Hub Recieve and print messages from Azure Event Hub
3 Update an item in Cosmos DB (NoSQL) Query and print top 5 items, where elevation = 0

Executing the tasks

Codespace environment

Codespace has the following environment variables already set and you can acccess them from process.env.{var_name}

COSMOS_ENDPOINT  = <value>
COSMOS_DATABASE = <value>
COSMOS_CONTAINER = <value>
COSMOS_KEY = <value>

CONTAINER_NAME = <value>
AZURE_STORAGE_CONNECTION_STRING = <value>

EVENTHUB_NAME = <value>
EVENTHUB_CONNECTION_STRING = <value>

These values will be configured by your study coordinator

Clean build directories

npm run clean

Compile

npm run compile

Executing tasks

# run storage task
npm run storage

# run event-hub task
npm run event-hub

# run cosmos db task
npm run cosmos

Solutions

If you are stuck check the solutions in the solution directory.

Executing solutions

# run storage task
npm run storage-solution

# run event-hub task
npm run event-hub-solution

# run cosmos db task
npm run cosmos-solution

About

Repository to run study on Microsoft Reference docs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%