Free cookie consent management tool by TermsFeed Policy Generator

source: branches/OaaS/HeuristicLab.Services.Optimization.ControllerService.Tests/Program.cs @ 8545

Last change on this file since 8545 was 8545, checked in by fschoepp, 13 years ago

#1888:

  • Controller is now capable of gathering Hive Jobs
  • Hive Jobs will be mapped to independent Job-Class (shared between Controller and Frontend)
  • HiveScenarioManager is capable of gathering Hive Jobs + their results
  • Job Results will be mapped to string properties
  • Frontend renders all Results after opening the job details
  • Misc: Frontend now passes User-object to Controller so that it is able to connect to the Hive Service (hardcoded values removed)
File size: 696 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using HeuristicLab.Services.Optimization.ControllerService.Interfaces;
6
7namespace HeuristicLab.Services.Optimization.ControllerService.Tests {
8  class Program {
9    static void Main(string[] args) {
10      IScenarioManager manager = new HiveScenarioManager();
11      Console.WriteLine("Press key to continue");
12      Console.ReadKey();
13      IList<Model.Run> results = manager.GetJobResults(new Model.User() { Password = "fschoeppl", Username = "fschoeppl" }, "cfd0cd8d-76a5-4bf6-bfcb-53fbfe3efe24");
14      foreach (var run in results) {
15        Console.WriteLine(run);
16      }
17    }
18  }
19}
Note: See TracBrowser for help on using the repository browser.