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 | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Linq;
|
---|
4 | using System.Text;
|
---|
5 | using HeuristicLab.Services.Optimization.ControllerService.Interfaces;
|
---|
6 |
|
---|
7 | namespace 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.