Skip to content

Commit

Permalink
Merge pull request #1098 from JohnDuprey/dev
Browse files Browse the repository at this point in the history
Bugfixes & code cleanup
  • Loading branch information
JohnDuprey authored Aug 29, 2024
2 parents 5c93728 + e654403 commit 16330c1
Show file tree
Hide file tree
Showing 28 changed files with 365 additions and 471 deletions.
9 changes: 0 additions & 9 deletions Activity_AddOrUpdateTableRows/function.json

This file was deleted.

12 changes: 0 additions & 12 deletions Activity_AddOrUpdateTableRows/run.ps1

This file was deleted.

9 changes: 0 additions & 9 deletions Activity_GetAllTableRows/function.json

This file was deleted.

6 changes: 0 additions & 6 deletions Activity_GetAllTableRows/run.ps1

This file was deleted.

24 changes: 0 additions & 24 deletions AddChocoApp_OrchestrationStarter/function.json

This file was deleted.

21 changes: 0 additions & 21 deletions AddChocoApp_OrchestrationStarter/run.ps1

This file was deleted.

16 changes: 2 additions & 14 deletions AddChocoApp_OrchestrationStarterTimer/run.ps1
Original file line number Diff line number Diff line change
@@ -1,19 +1,7 @@
param($Timer)

try {
if ($CurrentlyRunning) {
$Results = [pscustomobject]@{'Results' = 'Already running. Please wait for the current instance to finish' }
Write-LogMessage -API 'ChocoApps' -message 'Attempted to start upload but an instance was already running.' -sev Info
}
else {
$InstanceId = Start-NewOrchestration -FunctionName 'Applications_Orchestrator'
Write-Host "Started orchestration with ID = '$InstanceId'"
$Orchestrator = New-OrchestrationCheckStatusResponse -Request $Timer -InstanceId $InstanceId
Write-LogMessage -API 'ChocoApps' -message 'Started uploading applications to tenants' -sev Info
$Results = [pscustomobject]@{'Results' = 'Started running analysis' }
}
Write-Host ($Orchestrator | ConvertTo-Json)
}
catch {
Start-ApplicationOrchestrator
} catch {
Write-Host "AddChocoApp_OrchestratorStarterTimer Exception: $($_.Exception.Message)"
}
9 changes: 0 additions & 9 deletions Applications_GetQueue/function.json

This file was deleted.

6 changes: 0 additions & 6 deletions Applications_GetQueue/run.ps1

This file was deleted.

9 changes: 0 additions & 9 deletions Applications_Orchestrator/function.json

This file was deleted.

25 changes: 0 additions & 25 deletions Applications_Orchestrator/run.ps1

This file was deleted.

9 changes: 0 additions & 9 deletions Applications_Upload/function.json

This file was deleted.

121 changes: 0 additions & 121 deletions Applications_Upload/run.ps1

This file was deleted.

24 changes: 0 additions & 24 deletions BestPracticeAnalyser_OrchestrationStarter/function.json

This file was deleted.

40 changes: 0 additions & 40 deletions BestPracticeAnalyser_OrchestrationStarter/run.ps1

This file was deleted.

Loading

0 comments on commit 16330c1

Please sign in to comment.