Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/17/15 16:57:22 (9 years ago)
Author:
dglaser
Message:

#2388:

HeuristicLab.Services.Hive-3.3:

  • HiveStatisticsGenerator.cs: Jobs that are deleted are now automatically marked as completed in the hive statistics tables. This was added because when a job got paused and deleted afterwards, it would still show up as ongoing job in the hive statistics.
  • Minor changes in NewHiveService.cs

HeuristicLab.Services.WebApp.Statistics-3.3:

  • Expired slaves are now shown as offline (previously the last known state was shown)
  • Adjusted dialog height

HeuristicLab.Services.WebApp-3.3:

  • Changed string.Format to Path.Combine to concate directory paths
Location:
branches/HiveStatistics/sources/HeuristicLab.Services.WebApp.Statistics/3.3
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/HiveStatistics/sources/HeuristicLab.Services.WebApp.Statistics/3.3/Properties/AssemblyInfo.cs.frame

    r12477 r12776  
    2727// set of attributes. Change these attribute values to modify the information
    2828// associated with an assembly.
    29 [assembly: AssemblyTitle("HeuristicLab.Services.WebApp")]
    30 [assembly: AssemblyDescription("HeuristicLab Services Application Container")]
     29[assembly: AssemblyTitle("HeuristicLab.Services.WebApp.Statistics")]
     30[assembly: AssemblyDescription("HeuristicLab WebApp Statistics plugin")]
    3131[assembly: AssemblyConfiguration("")]
    3232[assembly: AssemblyCompany("")]
  • branches/HiveStatistics/sources/HeuristicLab.Services.WebApp.Statistics/3.3/WebApi/ClientController.cs

    r12584 r12776  
    8383                    UsedMemory = offline ? 0 : clientInfo.UsedMemory,
    8484                    CpuUtilization = offline ? 0 : clientInfo.CpuUtilization,
    85                     State = clientInfo.SlaveState.ToString(),
     85                    State = offline ? SlaveState.Offline.ToString() : clientInfo.SlaveState.ToString(),
    8686                    LastUpdate = clientInfo.Time,
    8787                    GroupId = client.ResourceGroupId,
     
    132132                         UsedMemory = offline ? 0 : clientInfo.UsedMemory,
    133133                         CpuUtilization = offline ? 0 : clientInfo.CpuUtilization,
    134                          State = clientInfo.SlaveState.ToString(),
     134                         State = offline ? SlaveState.Offline.ToString() : clientInfo.SlaveState.ToString(),
    135135                         GroupId = client.ResourceGroupId,
    136136                         GroupName = client.GroupName,
     
    218218                         UsedMemory = offline ? 0 : clientInfo.UsedMemory,
    219219                         CpuUtilization = offline ? 0 : clientInfo.CpuUtilization,
    220                          State = clientInfo.SlaveState.ToString(),
     220                         State = offline ? SlaveState.Offline.ToString() : clientInfo.SlaveState.ToString(),
    221221                         GroupId = client.ResourceGroupId,
    222222                         GroupName = client.GroupName,
  • branches/HiveStatistics/sources/HeuristicLab.Services.WebApp.Statistics/3.3/WebApp/clients/details/clientTaskDetailsDialog.cshtml

    r12768 r12776  
    55    <h4 class="modal-title">Task #{{taskNo}} - {{task.Id}}</h4>
    66</div>
    7 <div class="modal-body" style="height: 430px">
     7<div class="modal-body" style="height: 440px">
    88    <tabset>
    99        <tab heading="Details">
    10             <div style="height: 330px" class="center-block">
     10            <div style="height: 340px" class="center-block">
    1111                <div class="row" style="padding-top: 30px">
    1212                    <div class="col-md-6">
  • branches/HiveStatistics/sources/HeuristicLab.Services.WebApp.Statistics/3.3/WebApp/jobs/details/jobTaskDetailsDialog.cshtml

    r12768 r12776  
    33    <h4 class="modal-title">Task #{{taskNo}} - {{task.Id}}</h4>
    44</div>
    5 <div class="modal-body" style="height: 430px">
     5<div class="modal-body" style="height: 440px">
    66    <tabset>
    77        <tab heading="Details">
    8             <div style="height: 330px" class="center-block">
     8            <div style="height: 340px" class="center-block">
    99                <div class="row" style="padding-top: 30px">
    1010                    <div class="col-md-12">
Note: See TracChangeset for help on using the changeset viewer.