Skip to content

Commit

Permalink
add support for ALM SSO (15)
Browse files Browse the repository at this point in the history
  • Loading branch information
Anda Laakso committed Aug 20, 2019
1 parent 13c5535 commit 1e0ed46
Show file tree
Hide file tree
Showing 10 changed files with 255 additions and 63 deletions.
1 change: 0 additions & 1 deletion HpToolsAborter/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Management;
using System.Diagnostics;
using System.IO;
Expand Down
2 changes: 1 addition & 1 deletion HpToolsLauncher/HpToolsLauncher.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="interop.OTAClient">
<HintPath>externals\interop.OTAClient.dll</HintPath>
<HintPath>..\..\..\interop.OTAClient.DLL</HintPath>
<EmbedInteropTypes>True</EmbedInteropTypes>
</Reference>
<Reference Include="Interop.Wlrun, Version=11.52.0.0, Culture=neutral, processorArchitecture=MSIL">
Expand Down
2 changes: 1 addition & 1 deletion HpToolsLauncher/HpToolsLauncherTests/UnitTest1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public void TestQcTestRun()
100000,
QcRunMode.RUN_LOCAL,
null,
new List<string> { "Aaron\\Amit" }, false, "", new List<string> { "Failed", "Blocked" }, false, TestStorageType.Alm, false);
new List<string> { "Aaron\\Amit" }, false, "", new List<string> { "Failed", "Blocked" }, false, TestStorageType.Alm, false, "", "");

if (runner.Connected)
runner.Run();
Expand Down
5 changes: 3 additions & 2 deletions HpToolsLauncher/Launcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ private IAssetRunner CreateRunner(TestStorageType runType, JavaProperties ciPara
filterByStatuses,
initialTestRun,
TestStorageType.AlmLabManagement,
isSSOEnabled);
isSSOEnabled, _ciParams["almClientID"], _ciParams["almApiKey"]);
break;

case TestStorageType.Alm:
Expand Down Expand Up @@ -447,7 +447,8 @@ private IAssetRunner CreateRunner(TestStorageType runType, JavaProperties ciPara
filterByStatuses,
initialTestRun,
TestStorageType.Alm,
isSSOEnabled);
isSSOEnabled,
_ciParams["almClientID"], _ciParams["almApiKey"]);
break;
case TestStorageType.FileSystem:
bool displayController = false;
Expand Down

0 comments on commit 1e0ed46

Please sign in to comment.