Skip to content

Commit

Permalink
Add missing banner & integration test file
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesbak committed Jul 29, 2015
1 parent 4308431 commit 645d598
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 3 deletions.
6 changes: 3 additions & 3 deletions DashServer/Utils/HttpCorrelationContext.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using Microsoft.Dash.Common.Diagnostics;
// Copyright (c) Microsoft Corporation. All rights reserved.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Microsoft.Dash.Common.Diagnostics;

namespace Microsoft.Dash.Server.Utils
{
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
param(
[String] $Destination,
[String[][]] $Urls
)
Write-Output "Copying source blobs to $Destination"
if (!(Test-Path -Path $Destination)) {
Write-Output "Creating target directory: $Destination"
New-Item -ItemType directory -Path $Destination
}
$path = Resolve-Path $Destination
$Destination = $path.Path
foreach ($blob in $Urls) {
$targetFileSpec = $Destination + "\" + $blob[1]
Write-Output "Destination: $targetFileSpec"
Write-Output "Source: $blob[0]"
Invoke-WebRequest -Uri $blob[0] -Method Get -OutFile $targetFileSpec -verbose
}

$azTarget = "$Destination\azcopy"
New-Item -ItemType directory -Path $azTarget
foreach ($blob in $Urls) {
"$env:WATASK_TVM_SHARED_DIR\batch-startup\azcopy /source:$blob[0] /Dest:$azTarget /SourceType:Blob /V:.\azcopy.log"
}

0 comments on commit 645d598

Please sign in to comment.