Skip to content

Commit

Permalink
Configuration Report:
Browse files Browse the repository at this point in the history
- Fixed #79
  • Loading branch information
danielodievich committed Sep 5, 2019
1 parent dc0d575 commit 0ac6002
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,13 @@ public override bool Execute(ProgramOptions programOptions, JobConfiguration job
}

// For databases, we only process this once for the first collector we've seen
if (listOfTargetsAlreadyProcessed.Count(j => (j.Controller == jobTarget.Controller) && (j.Type == APPLICATION_TYPE_DB)) > 0)
if (jobTarget.Type == APPLICATION_TYPE_DB)
{
// Already saw this target, DB Collectors for controller are all part of the same thing
continue;
if (listOfTargetsAlreadyProcessed.Count(j => (j.Controller == jobTarget.Controller) && (j.Type == APPLICATION_TYPE_DB)) > 0)
{
// Already saw this target, DB Collectors for controller are all part of the same thing
continue;
}
}

listOfTargetsAlreadyProcessed.Add(jobTarget);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1382,9 +1382,6 @@ public override bool Execute(ProgramOptions programOptions, JobConfiguration job
cfAddressNum = new ExcelAddress(LIST_SHEET_START_TABLE_AT + 1, table.Columns["NumHealthRules"].Position + 1, sheet.Dimension.Rows, table.Columns["NumHealthRules"].Position + 1);
cfNum = sheet.ConditionalFormatting.AddDatabar(cfAddressNum, colorLightBlueForDatabars);

cfAddressNum = new ExcelAddress(LIST_SHEET_START_TABLE_AT + 1, table.Columns["NumErrorRules"].Position + 1, sheet.Dimension.Rows, table.Columns["NumErrorRules"].Position + 1);
cfNum = sheet.ConditionalFormatting.AddDatabar(cfAddressNum, colorLightBlueForDatabars);

cfAddressNum = new ExcelAddress(LIST_SHEET_START_TABLE_AT + 1, table.Columns["NumHTTPDCVariablesCollected"].Position + 1, sheet.Dimension.Rows, table.Columns["NumHTTPDCVariablesCollected"].Position + 1);
cfNum = sheet.ConditionalFormatting.AddDatabar(cfAddressNum, colorLightBlueForDatabars);

Expand All @@ -1400,7 +1397,6 @@ public override bool Execute(ProgramOptions programOptions, JobConfiguration job
cfAddressNum = new ExcelAddress(LIST_SHEET_START_TABLE_AT + 1, table.Columns["NumBaselines"].Position + 1, sheet.Dimension.Rows, table.Columns["NumBaselines"].Position + 1);
cfNum = sheet.ConditionalFormatting.AddDatabar(cfAddressNum, colorLightBlueForDatabars);


cfAddressNum = new ExcelAddress(LIST_SHEET_START_TABLE_AT + 1, table.Columns["NumTiers"].Position + 1, sheet.Dimension.Rows, table.Columns["NumTiers"].Position + 1);
cfNum = sheet.ConditionalFormatting.AddDatabar(cfAddressNum, colorLightBlueForDatabars);

Expand Down
4 changes: 2 additions & 2 deletions Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.2.43.0")]
[assembly: AssemblyFileVersion("1.2.43.0")]
[assembly: AssemblyVersion("1.2.43.1")]
[assembly: AssemblyFileVersion("1.2.43.1")]
14 changes: 14 additions & 0 deletions Properties/PublishProfiles/net472.pubxml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<PublishProtocol>FileSystem</PublishProtocol>
<Configuration>Debug</Configuration>
<TargetFramework>net472</TargetFramework>
<PublishDir>bin\Publish\full-win</PublishDir>
<Platform>Any CPU</Platform>
<RuntimeIdentifier>linux-x64</RuntimeIdentifier>
</PropertyGroup>
</Project>
2 changes: 1 addition & 1 deletion Properties/launchSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"profiles": {
"AppDynamics.Dexter.Core": {
"commandName": "Project",
"commandLineArgs": "--job-file \"C:\\appdynamics\\AppDynamics.DEXTER\\JobFiles\\errordetect.json\" -v"
"commandLineArgs": "--job-file \"C:\\appdynamics\\AppDynamics.DEXTER\\JobFiles\\configrefactor.json\" -v"
}
}
}

0 comments on commit 0ac6002

Please sign in to comment.