Last change
on this file since 15769 was
9166,
checked in by fschoepp, 12 years ago
|
#1888:
- Model: OptimizationScenario may be a tree of algorithms (and problems)
- Model: Renamed InputParameters to ProblemParameters (as they are the parameters of a problem)
- Model: Added JobExecutionDetails which contain Repetitions + Group (resource to use)
- ScenarioParser parses the new XML scenario files
- Website + Model: You are now able to add/remove rows from a table (no JavaScript involved yet)
- Website + Controller: Added repetitions (enables batch jobs) and group (resource to use) to OaaS which will be used by the controller to schedule the job
- Website: Updated templates to use new model structure
- Website + Scenarios: Added the new algorithm Benchmark Algorithm
- Controller: Added a singleton to make the (Azure/Mockup)-DAL exchangeable
- Controller: Added mockup classes for DAL + IScenarioManager
- Website/Result Page: Line Diagrams will be added via JavaScript, crawling their data using AJAX
- Website: Most configuration parameters can be set in the ServiceDefinition directly
- Added a mockup for the Membership classes: These can be used if no network connection is available or if other parts of the app shall be tested
- Scenarios: Updated TSP mappings to new xsd
|
File size:
1.4 KB
|
Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Linq;
|
---|
4 | using System.Web;
|
---|
5 | using System.Web.Mvc;
|
---|
6 | using System.Web.Routing;
|
---|
7 | using HeuristicLab.Services.Optimization.Web.Models;
|
---|
8 |
|
---|
9 | namespace HeuristicLab.Services.Optimization.Web {
|
---|
10 | // Note: For instructions on enabling IIS6 or IIS7 classic mode,
|
---|
11 | // visit http://go.microsoft.com/?LinkId=9394801
|
---|
12 |
|
---|
13 | public class MvcApplication : System.Web.HttpApplication {
|
---|
14 | public static void RegisterGlobalFilters(GlobalFilterCollection filters) {
|
---|
15 | filters.Add(new HandleErrorAttribute());
|
---|
16 | }
|
---|
17 |
|
---|
18 | public static void RegisterRoutes(RouteCollection routes) {
|
---|
19 | routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
|
---|
20 |
|
---|
21 | routes.MapRoute(
|
---|
22 | "Default", // Route name
|
---|
23 | "{controller}/{action}/{id}", // URL with parameters
|
---|
24 | new { controller = "Home", action = "Index", id = UrlParameter.Optional } // Parameter defaults
|
---|
25 | );
|
---|
26 |
|
---|
27 | }
|
---|
28 |
|
---|
29 | protected void Application_Start() {
|
---|
30 | AreaRegistration.RegisterAllAreas();
|
---|
31 |
|
---|
32 | RegisterGlobalFilters(GlobalFilters.Filters);
|
---|
33 | RegisterRoutes(RouteTable.Routes);
|
---|
34 | ModelBinders.Binders.Add(typeof(Optimization.ControllerService.Model.ProblemParameters), new ProblemParametersModelBinder());
|
---|
35 | ModelBinders.Binders.Add(typeof(Optimization.ControllerService.Model.AlgorithmParameters), new AlgorithmParametersModelBinder());
|
---|
36 | }
|
---|
37 | }
|
---|
38 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.