- Timestamp:
- 03/18/19 17:24:30 (6 years ago)
- Location:
- branches/2521_ProblemRefactoring
- Files:
-
- 1 deleted
- 106 edited
- 6 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring
- Property svn:ignore
-
old new 24 24 protoc.exe 25 25 obj 26 .vs
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Administration/AdministrationService.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Administration/Convert.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Administration/DataTransfer/Algorithm.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Administration/DataTransfer/AlgorithmClass.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Administration/DataTransfer/NamedOKBItem.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Administration/DataTransfer/OKBItem.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Administration/DataTransfer/Platform.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Administration/DataTransfer/Problem.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Administration/DataTransfer/ProblemClass.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Administration/IAdministrationService.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/HeuristicLab.Services.OKB-3.3.csproj
r12479 r16692 283 283 <Compile Include="RunCreation\DataTransfer\BinaryValue.cs" /> 284 284 <Compile Include="RunCreation\DataTransfer\BoolValue.cs" /> 285 <Compile Include="RunCreation\DataTransfer\SingleObjectiveSolution.cs" /> 286 <Compile Include="RunCreation\DataTransfer\Solution.cs" /> 285 287 <Compile Include="RunCreation\DataTransfer\TimeSpanValue.cs" /> 286 288 <Compile Include="RunCreation\DataTransfer\PercentValue.cs" /> … … 295 297 <Compile Include="RunCreation\DataTransfer\StringValue.cs" /> 296 298 <Compile Include="RunCreation\DataTransfer\Value.cs" /> 299 <Compile Include="RunCreation\MissingSolution.cs" /> 300 <Compile Include="RunCreation\MissingProblem.cs" /> 297 301 <Compile Include="RunCreation\RunCreationService.cs" /> 298 302 <Compile Include="RunCreation\IRunCreationService.cs" /> 303 <Compile Include="RunCreation\UnknownCharacteristicType.cs" /> 299 304 </ItemGroup> 300 305 <ItemGroup> … … 304 309 <None Include="HeuristicLab.snk" /> 305 310 <None Include="Properties\AssemblyInfo.cs.frame" /> 306 <None Include=" web.config" />311 <None Include="Web.config" /> 307 312 </ItemGroup> 308 313 <ItemGroup> -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/OKBRoles.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Properties/AssemblyInfo.cs.frame
r13321 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 32 32 [assembly: AssemblyCompany("")] 33 33 [assembly: AssemblyProduct("HeuristicLab")] 34 [assembly: AssemblyCopyright("(c) 2002-201 5HEAL")]34 [assembly: AssemblyCopyright("(c) 2002-2018 HEAL")] 35 35 [assembly: AssemblyTrademark("")] 36 36 [assembly: AssemblyCulture("")] … … 55 55 // [assembly: AssemblyVersion("1.0.*")] 56 56 [assembly: AssemblyVersion("3.3.0.0")] 57 [assembly: AssemblyFileVersion("3.3.1 3.$WCREV$")]57 [assembly: AssemblyFileVersion("3.3.15.$WCREV$")] -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/Convert.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 46 46 private static DT.Algorithm ToDto(DA.Algorithm source) { 47 47 if (source == null) return null; 48 return new DT.Algorithm { Name = source.Name, Description = source.Description, AlgorithmClass = source.AlgorithmClass.Name, Platform = source.Platform.Name, DataType = Convert.ToDto(source.DataType) };48 return new DT.Algorithm { Id = source.Id, Name = source.Name, Description = source.Description, AlgorithmClass = source.AlgorithmClass.Name, Platform = source.Platform.Name, DataType = Convert.ToDto(source.DataType) }; 49 49 } 50 50 -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/DataTransfer/Algorithm.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 26 26 public class Algorithm { 27 27 [DataMember] 28 public long Id { get; set; } 29 [DataMember] 28 30 public string Name { get; set; } 29 31 [DataMember] -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/DataTransfer/BinaryValue.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/DataTransfer/BoolValue.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/DataTransfer/BooleanOperation.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/DataTransfer/CombinedFilter.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/DataTransfer/DataType.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/DataTransfer/DoubleValue.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/DataTransfer/EqualityComparison.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/DataTransfer/EqualityComparisonBoolFilter.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/DataTransfer/EqualityComparisonByteArrayFilter.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/DataTransfer/EqualityComparisonFilter.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/DataTransfer/Filter.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/DataTransfer/FloatValue.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/DataTransfer/IntValue.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/DataTransfer/LongValue.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/DataTransfer/NameEqualityComparisonBoolFilter.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/DataTransfer/NameEqualityComparisonByteArrayFilter.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/DataTransfer/NameOrdinalComparisonDoubleFilter.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/DataTransfer/NameOrdinalComparisonFloatFilter.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/DataTransfer/NameOrdinalComparisonIntFilter.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/DataTransfer/NameOrdinalComparisonLongFilter.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/DataTransfer/NameOrdinalComparisonPercentFilter.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/DataTransfer/NameOrdinalComparisonTimeSpanFilter.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/DataTransfer/NameStringComparisonAvailableValuesFilter.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/DataTransfer/NameStringComparisonFilter.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/DataTransfer/OrdinalComparison.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/DataTransfer/OrdinalComparisonDateTimeFilter.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/DataTransfer/OrdinalComparisonDoubleFilter.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/DataTransfer/OrdinalComparisonFilter.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/DataTransfer/OrdinalComparisonFloatFilter.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/DataTransfer/OrdinalComparisonIntFilter.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/DataTransfer/OrdinalComparisonLongFilter.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/DataTransfer/OrdinalComparisonPercentFilter.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/DataTransfer/OrdinalComparisonTimeSpanFilter.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/DataTransfer/PercentValue.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/DataTransfer/Problem.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/DataTransfer/Run.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/DataTransfer/StringComparison.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/DataTransfer/StringComparisonAvailableValuesFilter.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/DataTransfer/StringComparisonFilter.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/DataTransfer/StringValue.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/DataTransfer/TimeSpanValue.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/DataTransfer/Value.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/DataTransfer/ValueName.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/Filters/AlgorithmClassNameFilter.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/Filters/AlgorithmDataTypeNameFilter.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/Filters/AlgorithmNameFilter.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/Filters/AlgorithmPlatformNameFilter.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/Filters/AndFilter.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/Filters/BinaryValueFilter.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/Filters/BoolValueFilter.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/Filters/DoubleValueFilter.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/Filters/FloatValueFilter.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/Filters/IFilter.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/Filters/IntValueFilter.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/Filters/LongValueFilter.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/Filters/OrFilter.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/Filters/PercentValueFilter.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/Filters/ProblemClassNameFilter.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/Filters/ProblemDataTypeNameFilter.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/Filters/ProblemNameFilter.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/Filters/ProblemPlatformNameFilter.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/Filters/RunClientNameFilter.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/Filters/RunCreatedDateFilter.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/Filters/RunUserNameFilter.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/Filters/StringValueFilter.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/Filters/TimeSpanValueFilter.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/Filters/ValueDataTypeNameFilter.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/Filters/ValueNameFilter.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/IQueryService.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/Query/QueryService.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/RunCreation/Convert.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 40 40 } 41 41 42 public static DT.SingleObjectiveSolution ToDto(DA.SingleObjectiveSolution source) { 43 if (source == null) return null; 44 return new DT.SingleObjectiveSolution() { 45 Id = source.Id, 46 ProblemId = source.ProblemId.Value, 47 RunId = source.RunId, 48 Quality = source.Quality, 49 DataType = ToDto(source.DataType) 50 }; 51 } 52 42 53 private static DT.DataType ToDto(DA.DataType source) { 43 54 if (source == null) return null; … … 68 79 entity.Values.Add(Convert.ToEntity(value, entity, DA.ValueNameCategory.Result, okb, binCache)); 69 80 return entity; 81 } 82 83 public static DT.Value ToDto(DA.CharacteristicValue source) { 84 if (source == null) return null; 85 if (source.Characteristic.Type == DA.CharacteristicType.Bool) { 86 return new DT.BoolValue { Name = source.Characteristic.Name, DataType = Convert.ToDto(source.DataType), Value = source.BoolValue.GetValueOrDefault() }; 87 } else if (source.Characteristic.Type == DA.CharacteristicType.Int) { 88 return new DT.IntValue { Name = source.Characteristic.Name, DataType = Convert.ToDto(source.DataType), Value = source.IntValue.GetValueOrDefault() }; 89 } else if (source.Characteristic.Type == DA.CharacteristicType.TimeSpan) { 90 return new DT.TimeSpanValue { Name = source.Characteristic.Name, DataType = Convert.ToDto(source.DataType), Value = source.LongValue.GetValueOrDefault() }; 91 } else if (source.Characteristic.Type == DA.CharacteristicType.Long) { 92 return new DT.LongValue { Name = source.Characteristic.Name, DataType = Convert.ToDto(source.DataType), Value = source.LongValue.GetValueOrDefault() }; 93 } else if (source.Characteristic.Type == DA.CharacteristicType.Float) { 94 return new DT.FloatValue { Name = source.Characteristic.Name, DataType = Convert.ToDto(source.DataType), Value = source.FloatValue.GetValueOrDefault() }; 95 } else if (source.Characteristic.Type == DA.CharacteristicType.Double) { 96 return new DT.DoubleValue { Name = source.Characteristic.Name, DataType = Convert.ToDto(source.DataType), Value = source.DoubleValue.GetValueOrDefault() }; 97 } else if (source.Characteristic.Type == DA.CharacteristicType.Percent) { 98 return new DT.PercentValue { Name = source.Characteristic.Name, DataType = Convert.ToDto(source.DataType), Value = source.DoubleValue.GetValueOrDefault() }; 99 } else if (source.Characteristic.Type == DA.CharacteristicType.String) { 100 return new DT.StringValue { Name = source.Characteristic.Name, DataType = Convert.ToDto(source.DataType), Value = source.StringValue }; 101 } else { 102 throw new ArgumentException("Unknown characteristic type.", "source"); 103 } 104 } 105 106 public static DA.CharacteristicValue ToEntity(DT.Value source, DA.OKBDataContext okb, DA.Problem problem, DA.CharacteristicType type) { 107 if (okb == null || problem == null || source == null || string.IsNullOrEmpty(source.Name)) throw new ArgumentNullException(); 108 var entity = new DA.CharacteristicValue(); 109 entity.Problem = problem; 110 entity.DataType = Convert.ToEntity(source.DataType, okb); 111 entity.Characteristic = Convert.ToEntity(source.Name, type, okb); 112 if (source is DT.BoolValue) { 113 entity.BoolValue = ((DT.BoolValue)source).Value; 114 } else if (source is DT.IntValue) { 115 entity.IntValue = ((DT.IntValue)source).Value; 116 } else if (source is DT.TimeSpanValue) { 117 entity.LongValue = ((DT.TimeSpanValue)source).Value; 118 } else if (source is DT.LongValue) { 119 entity.LongValue = ((DT.LongValue)source).Value; 120 } else if (source is DT.FloatValue) { 121 entity.FloatValue = ((DT.FloatValue)source).Value; 122 } else if (source is DT.DoubleValue) { 123 entity.DoubleValue = ((DT.DoubleValue)source).Value; 124 } else if (source is DT.PercentValue) { 125 entity.DoubleValue = ((DT.PercentValue)source).Value; 126 } else if (source is DT.StringValue) { 127 entity.StringValue = ((DT.StringValue)source).Value; 128 } else { 129 throw new ArgumentException("Unknown characteristic type.", "source"); 130 } 131 return entity; 132 } 133 134 private static DA.Characteristic ToEntity(string name, DA.CharacteristicType type, DA.OKBDataContext okb) { 135 if (string.IsNullOrEmpty(name)) return null; 136 var entity = okb.Characteristics.FirstOrDefault(x => (x.Name == name) && (x.Type == type)); 137 return entity ?? new DA.Characteristic() { Id = 0, Name = name, Type = type }; 70 138 } 71 139 … … 108 176 } 109 177 110 p rivatestatic DA.DataType ToEntity(DT.DataType source, DA.OKBDataContext okb) {111 if (source == null) return null; 112 var entity = okb.DataTypes. Where(x => (x.Name == source.Name) && (x.TypeName == source.TypeName)).FirstOrDefault();178 public static DA.DataType ToEntity(DT.DataType source, DA.OKBDataContext okb) { 179 if (source == null) return null; 180 var entity = okb.DataTypes.FirstOrDefault(x => (x.Name == source.Name) && (x.TypeName == source.TypeName)); 113 181 if (entity == null) 114 182 entity = new DA.DataType() { Id = 0, Name = source.Name, TypeName = source.TypeName }; … … 118 186 private static DA.ValueName ToEntity(string name, DA.ValueNameCategory category, DA.ValueNameType type, DA.OKBDataContext okb) { 119 187 if (string.IsNullOrEmpty(name)) return null; 120 var entity = okb.ValueNames. Where(x => (x.Name == name) && (x.Category == category) && (x.Type == type)).FirstOrDefault();188 var entity = okb.ValueNames.FirstOrDefault(x => (x.Name == name) && (x.Category == category) && (x.Type == type)); 121 189 if (entity == null) 122 190 entity = new DA.ValueName() { Id = 0, Name = name, Category = category, Type = type }; … … 131 199 } 132 200 133 var cachedBinaryData = binCache. Where(x => x.Hash.SequenceEqual(hash)).FirstOrDefault();201 var cachedBinaryData = binCache.FirstOrDefault(x => x.Hash.SequenceEqual(hash)); 134 202 if (cachedBinaryData != null) 135 203 return cachedBinaryData; 136 204 137 var entity = okb.BinaryDatas. Where(x => x.Hash.Equals(hash)).FirstOrDefault();205 var entity = okb.BinaryDatas.FirstOrDefault(x => x.Hash.Equals(hash)); 138 206 if (entity == null) { 139 207 entity = new DA.BinaryData() { Id = 0, Data = data, Hash = hash }; … … 143 211 return entity; 144 212 } 213 214 public static DA.SingleObjectiveSolution ToEntity(DT.SingleObjectiveSolution source, byte[] data, DA.OKBDataContext okb) { 215 var sol = okb.SingleObjectiveSolutions.SingleOrDefault(x => x.Id == source.Id) ?? new DA.SingleObjectiveSolution() { 216 ProblemId = source.ProblemId, 217 RunId = source.RunId, 218 Quality = source.Quality 219 }; 220 if (source.DataType != null) { 221 sol.DataType = ToEntity(source.DataType, okb); 222 } 223 if (data != null && data.Length > 0) { 224 byte[] hash; 225 using (var sha1 = SHA1.Create()) { 226 hash = sha1.ComputeHash(data); 227 } 228 sol.BinaryData = new DA.BinaryData() { 229 Data = data, 230 Hash = hash 231 }; 232 } 233 return sol; 234 } 145 235 #endregion 146 236 } -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/RunCreation/DataTransfer/Algorithm.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/RunCreation/DataTransfer/AlgorithmClass.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/RunCreation/DataTransfer/BinaryValue.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/RunCreation/DataTransfer/BoolValue.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/RunCreation/DataTransfer/DataType.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/RunCreation/DataTransfer/DoubleValue.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/RunCreation/DataTransfer/FloatValue.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/RunCreation/DataTransfer/IntValue.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/RunCreation/DataTransfer/LongValue.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/RunCreation/DataTransfer/PercentValue.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/RunCreation/DataTransfer/Problem.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/RunCreation/DataTransfer/ProblemClass.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/RunCreation/DataTransfer/Run.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/RunCreation/DataTransfer/StringValue.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/RunCreation/DataTransfer/TimeSpanValue.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/RunCreation/DataTransfer/Value.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/RunCreation/IRunCreationService.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 20 20 #endregion 21 21 22 using HeuristicLab.Services.OKB.RunCreation.DataTransfer; 22 23 using System.Collections.Generic; 23 24 using System.Net.Security; 24 25 using System.ServiceModel; 25 using HeuristicLab.Services.OKB.RunCreation.DataTransfer;26 26 27 27 namespace HeuristicLab.Services.OKB.RunCreation { … … 44 44 45 45 [OperationContract] 46 [FaultContract(typeof(MissingProblem))] 47 IEnumerable<Solution> GetSolutions(long problemId); 48 49 [OperationContract] 50 Solution GetSolution(long solutionId); 51 52 [OperationContract] 53 [FaultContract(typeof(MissingSolution))] 54 byte[] GetSolutionData(long solutionId); 55 56 [OperationContract] 57 long AddSolution(Solution solution, byte[] data); 58 59 [OperationContract] 60 void DeleteSolution(Solution solution); 61 62 [OperationContract] 46 63 void AddRun(Run run); 64 65 [OperationContract] 66 IEnumerable<Value> GetCharacteristicValues(long problemId); 67 68 [OperationContract] 69 [FaultContract(typeof(MissingProblem))] 70 [FaultContract(typeof(UnknownCharacteristicType))] 71 void SetCharacteristicValue(long problemId, Value value); 72 73 [OperationContract] 74 [FaultContract(typeof(MissingProblem))] 75 [FaultContract(typeof(UnknownCharacteristicType))] 76 void SetCharacteristicValues(long problemId, Value[] values); 47 77 } 48 78 } -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/RunCreation/RunCreationService.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 20 20 #endregion 21 21 22 using HeuristicLab.Services.Access; 23 using HeuristicLab.Services.OKB.DataAccess; 24 using System; 22 25 using System.Collections.Generic; 23 26 using System.Data.Linq; 24 27 using System.Linq; 25 28 using System.ServiceModel; 26 using HeuristicLab.Services.Access;27 using HeuristicLab.Services.OKB.DataAccess;28 29 29 30 namespace HeuristicLab.Services.OKB.RunCreation { … … 126 127 } 127 128 129 public IEnumerable<DataTransfer.Solution> GetSolutions(long problemId) { 130 roleVerifier.AuthenticateForAnyRole(OKBRoles.OKBAdministrator, OKBRoles.OKBUser); 131 132 using (OKBDataContext okb = new OKBDataContext()) { 133 var problem = okb.Problems.SingleOrDefault(x => x.Id == problemId); 134 if (problem == null) throw new FaultException<MissingProblem>(new MissingProblem(problemId)); 135 // TODO: In case of multi-objective problems one has to check whether it contains single- or multi-objective problems 136 var result = problem.SingleObjectiveSolutions.Select(x => Convert.ToDto(x)).ToList(); 137 if (roleVerifier.IsInRole(OKBRoles.OKBAdministrator)) { 138 return result; 139 } else { 140 var problemUsers = okb.ProblemUsers.Where(x => x.ProblemId == problemId).ToList(); 141 if (problemUsers.Count == 0 || userManager.VerifyUser(userManager.CurrentUserId, problemUsers.Select(y => y.UserGroupId).ToList())) { 142 return result; 143 } else { 144 return null; 145 } 146 } 147 } 148 } 149 150 public DataTransfer.Solution GetSolution(long solutionId) { 151 roleVerifier.AuthenticateForAnyRole(OKBRoles.OKBAdministrator, OKBRoles.OKBUser); 152 153 using (OKBDataContext okb = new OKBDataContext()) { 154 // TODO: In case of multi-objective problems one has to check whether it contains single- or multi-objective problems 155 var result = Convert.ToDto(okb.SingleObjectiveSolutions.SingleOrDefault(x => x.Id == solutionId)); 156 if (roleVerifier.IsInRole(OKBRoles.OKBAdministrator)) { 157 return result; 158 } else { 159 var problemUsers = okb.ProblemUsers.Where(x => x.ProblemId == result.ProblemId).ToList(); 160 if (problemUsers.Count == 0 || userManager.VerifyUser(userManager.CurrentUserId, problemUsers.Select(y => y.UserGroupId).ToList())) { 161 return result; 162 } else { 163 return null; 164 } 165 } 166 } 167 } 168 169 public byte[] GetSolutionData(long solutionId) { 170 roleVerifier.AuthenticateForAnyRole(OKBRoles.OKBAdministrator, OKBRoles.OKBUser); 171 172 using (OKBDataContext okb = new OKBDataContext()) { 173 var solution = okb.SingleObjectiveSolutions.SingleOrDefault(x => x.Id == solutionId); 174 if (solution == null) throw new FaultException<MissingSolution>(new MissingSolution(solutionId)); 175 176 var result = solution.BinaryData.Data.ToArray(); 177 if (roleVerifier.IsInRole(OKBRoles.OKBAdministrator)) { 178 return result; 179 } else { 180 var problemUsers = okb.ProblemUsers.Where(x => x.ProblemId == solution.ProblemId).ToList(); 181 if (problemUsers.Count == 0 || userManager.VerifyUser(userManager.CurrentUserId, problemUsers.Select(y => y.UserGroupId).ToList())) { 182 return result; 183 } else { 184 return null; 185 } 186 } 187 } 188 } 189 190 public long AddSolution(DataTransfer.Solution solution, byte[] data) { 191 roleVerifier.AuthenticateForAnyRole(OKBRoles.OKBAdministrator, OKBRoles.OKBUser); 192 193 using (OKBDataContext okb = new OKBDataContext()) { 194 var soSolution = solution as DataTransfer.SingleObjectiveSolution; 195 if (soSolution != null) { 196 DataAccess.SingleObjectiveSolution entity = Convert.ToEntity(soSolution, data, okb); 197 okb.SingleObjectiveSolutions.InsertOnSubmit(entity); 198 okb.SubmitChanges(); 199 return entity.Id; 200 } 201 } 202 throw new FaultException(new FaultReason("The solution could not be added.")); 203 } 204 205 public void DeleteSolution(DataTransfer.Solution solution) { 206 roleVerifier.AuthenticateForAnyRole(OKBRoles.OKBAdministrator, OKBRoles.OKBUser); 207 208 using (OKBDataContext okb = new OKBDataContext()) { 209 var soSolution = solution as DataTransfer.SingleObjectiveSolution; 210 if (soSolution != null) { 211 okb.SingleObjectiveSolutions.DeleteOnSubmit(okb.SingleObjectiveSolutions.Single(x => x.Id == soSolution.Id)); 212 okb.SubmitChanges(); 213 } 214 } 215 } 216 128 217 public void AddRun(DataTransfer.Run run) { 129 218 roleVerifier.AuthenticateForAnyRole(OKBRoles.OKBAdministrator, OKBRoles.OKBUser); … … 135 224 } 136 225 } 226 227 public IEnumerable<DataTransfer.Value> GetCharacteristicValues(long problemId) { 228 using (OKBDataContext okb = new OKBDataContext()) { 229 var prob = okb.Problems.SingleOrDefault(x => x.Id == problemId); 230 if (prob == null) return Enumerable.Empty<DataTransfer.Value>(); 231 return prob.CharacteristicValues.Select(Convert.ToDto).ToArray(); 232 } 233 } 234 235 public void SetCharacteristicValue(long problemId, DataTransfer.Value value) { 236 roleVerifier.AuthenticateForAnyRole(OKBRoles.OKBAdministrator, OKBRoles.OKBUser); 237 238 using (OKBDataContext okb = new OKBDataContext()) { 239 var problem = okb.Problems.SingleOrDefault(x => x.Id == problemId); 240 if (problem == null) throw new FaultException<MissingProblem>(new MissingProblem(problemId)); 241 242 DoSetCharacteristicValue(okb, problem, value); 243 okb.SubmitChanges(); 244 } 245 } 246 247 public void SetCharacteristicValues(long problemId, DataTransfer.Value[] values) { 248 roleVerifier.AuthenticateForAnyRole(OKBRoles.OKBAdministrator, OKBRoles.OKBUser); 249 250 using (OKBDataContext okb = new OKBDataContext()) { 251 var problem = okb.Problems.SingleOrDefault(x => x.Id == problemId); 252 if (problem == null) throw new FaultException<MissingProblem>(new MissingProblem(problemId)); 253 254 foreach (var v in values) { 255 DoSetCharacteristicValue(okb, problem, v); 256 } 257 okb.SubmitChanges(); 258 } 259 } 260 261 private void DoSetCharacteristicValue(OKBDataContext okb, Problem problem, DataTransfer.Value value) { 262 CharacteristicType characteristicType; 263 try { 264 characteristicType = GetCharacteristicType(value); 265 } catch (ArgumentException ex) { 266 throw new FaultException<UnknownCharacteristicType>(new UnknownCharacteristicType(ex.Message)); 267 } 268 269 var entity = problem.CharacteristicValues.SingleOrDefault(x => x.Characteristic.Name == value.Name && x.Characteristic.Type == characteristicType); 270 if (entity != null) { 271 // Update 272 switch (characteristicType) { 273 case CharacteristicType.Bool: entity.BoolValue = ((DataTransfer.BoolValue)value).Value; break; 274 case CharacteristicType.Int: entity.IntValue = ((DataTransfer.IntValue)value).Value; break; 275 case CharacteristicType.Long: entity.LongValue = ((DataTransfer.LongValue)value).Value; break; 276 case CharacteristicType.Float: entity.FloatValue = ((DataTransfer.FloatValue)value).Value; break; 277 case CharacteristicType.Double: entity.DoubleValue = ((DataTransfer.DoubleValue)value).Value; break; 278 case CharacteristicType.Percent: entity.DoubleValue = ((DataTransfer.PercentValue)value).Value; break; 279 case CharacteristicType.String: entity.StringValue = ((DataTransfer.StringValue)value).Value; break; 280 case CharacteristicType.TimeSpan: entity.LongValue = ((DataTransfer.TimeSpanValue)value).Value; break; 281 } 282 } else { 283 // Insert 284 entity = Convert.ToEntity(value, okb, problem, characteristicType); 285 okb.CharacteristicValues.InsertOnSubmit(entity); 286 } 287 288 } 289 290 private CharacteristicType GetCharacteristicType(DataTransfer.Value source) { 291 if (source is DataTransfer.BoolValue) { 292 return CharacteristicType.Bool; 293 } else if (source is DataTransfer.IntValue) { 294 return CharacteristicType.Int; 295 } else if (source is DataTransfer.TimeSpanValue) { 296 return CharacteristicType.TimeSpan; 297 } else if (source is DataTransfer.LongValue) { 298 return CharacteristicType.Long; 299 } else if (source is DataTransfer.FloatValue) { 300 return CharacteristicType.Float; 301 } else if (source is DataTransfer.DoubleValue) { 302 return CharacteristicType.Double; 303 } else if (source is DataTransfer.PercentValue) { 304 return CharacteristicType.Percent; 305 } else if (source is DataTransfer.StringValue) { 306 return CharacteristicType.String; 307 } else { 308 throw new ArgumentException("Unknown characteristic type.", "source"); 309 } 310 } 137 311 } 138 312 } -
branches/2521_ProblemRefactoring/HeuristicLab.Services.OKB/3.3/app.config
r11623 r16692 1 <?xml version="1.0" ?>1 <?xml version="1.0" encoding="utf-8"?> 2 2 <configuration> 3 3 <connectionStrings> 4 <add name="HeuristicLab.Authentication" connectionString=" data source=.\SQLEXPRESS;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Authentication"/>4 <add name="HeuristicLab.Authentication" connectionString="Data Source=.\SQLEXPRESS;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Authentication"/> 5 5 <add name="HeuristicLab.Services.OKB.DataAccess.Properties.Settings.OKBConnectionString" connectionString="Data Source=.\SQLEXPRESS;Integrated Security=SSPI;Initial Catalog=HeuristicLab.OKB"/> 6 6 </connectionStrings> 7 7 8 8 <system.web> 9 <compilation debug="true"/> 10 <membership> 9 <authentication mode="Forms" /> 10 <compilation debug="true" targetFramework="4.5" /> 11 <customErrors mode="Off" /> 12 <membership defaultProvider="AspNetSqlMembershipProvider"> 11 13 <providers> 12 <clear/> 13 <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="HeuristicLab.Authentication" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="HeuristicLab.Authentication"/> 14 <clear /> 15 <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="HeuristicLab.Authentication" 16 requiresQuestionAndAnswer="false" requiresUniqueEmail="false" applicationName="HeuristicLab.Authentication" minRequiredPasswordLength="8" 17 minRequiredNonalphanumericCharacters="0" maxInvalidPasswordAttempts="5" /> 14 18 </providers> 15 19 </membership> 16 <roleManager enabled="true" >20 <roleManager enabled="true" defaultProvider="AspNetSqlRoleProvider"> 17 21 <providers> 18 <clear />19 <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication" />22 <clear /> 23 <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication" /> 20 24 </providers> 21 25 </roleManager> … … 23 27 24 28 <system.serviceModel> 29 <serviceHostingEnvironment multipleSiteBindingsEnabled="true"/> 30 <services> 31 <service behaviorConfiguration="DefaultServiceBehavior" name="HeuristicLab.Services.OKB.Administration.AdministrationService"> 32 <endpoint binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding" 33 contract="HeuristicLab.Services.OKB.Administration.IAdministrationService" /> 34 <host> 35 <baseAddresses> 36 <add baseAddress="http://localhost:8000/OKB-3.3/AdministrationService.svc" /> 37 </baseAddresses> 38 </host> 39 </service> 40 <service behaviorConfiguration="DefaultServiceBehavior" name="HeuristicLab.Services.OKB.Query.QueryService"> 41 <endpoint binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding" 42 name="WSHttpBinding_IQueryService" contract="HeuristicLab.Services.OKB.Query.IQueryService" /> 43 <endpoint address="net.tcp://localhost:8001/OKB-3.3/QueryService.svc" 44 binding="netTcpBinding" bindingConfiguration="NetTcpBinding_IQueryService" 45 name="NetBinding_IQueryService" contract="HeuristicLab.Services.OKB.Query.IQueryService" /> 46 <host> 47 <baseAddresses> 48 <add baseAddress="http://localhost:8000/OKB-3.3/QueryService.svc" /> 49 </baseAddresses> 50 </host> 51 </service> 52 <service behaviorConfiguration="DefaultServiceBehavior" name="HeuristicLab.Services.OKB.RunCreation.RunCreationService"> 53 <endpoint binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding" 54 contract="HeuristicLab.Services.OKB.RunCreation.IRunCreationService" /> 55 <host> 56 <baseAddresses> 57 <add baseAddress="http://localhost:8000/OKB-3.3/RunCreationService.svc" /> 58 </baseAddresses> 59 </host> 60 </service> 61 </services> 25 62 <bindings> 26 <mexHttpBinding> 27 <binding name="DefaultMexHttpBinding"/> 28 </mexHttpBinding> 63 <netTcpBinding> 64 <binding name="NetTcpBinding_IQueryService" receiveTimeout="00:20:00" 65 sendTimeout="00:20:00" maxBufferPoolSize="2147483647" maxBufferSize="2147483647" 66 maxReceivedMessageSize="2147483647" portSharingEnabled="true"> 67 <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" 68 maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" /> 69 <security mode="TransportWithMessageCredential"> 70 <message clientCredentialType="UserName" /> 71 </security> 72 </binding> 73 </netTcpBinding> 29 74 <wsHttpBinding> 30 <binding name="DefaultWsHttpBinding" maxReceivedMessageSize="200000000"> 31 <readerQuotas maxArrayLength="200000000" maxBytesPerRead="200000000"/> 32 <security mode="Message"> 33 <message clientCredentialType="UserName"/> 75 <binding name="DefaultWsHttpBinding" maxBufferPoolSize="2147483647" 76 maxReceivedMessageSize="2147483647"> 77 <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" 78 maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" /> 79 <security> 80 <message clientCredentialType="UserName" /> 34 81 </security> 35 82 </binding> 36 83 </wsHttpBinding> 37 84 </bindings> 38 39 85 <behaviors> 40 86 <serviceBehaviors> 41 87 <behavior name="DefaultServiceBehavior"> 42 <serviceMetadata httpGetEnabled="true"/> 43 <serviceDebug includeExceptionDetailInFaults="true"/> 44 <serviceAuthorization principalPermissionMode="UseAspNetRoles" roleProviderName="AspNetSqlRoleProvider"/> 88 <serviceMetadata httpGetEnabled="true" /> 89 <serviceDebug includeExceptionDetailInFaults="true" /> 90 <serviceAuthorization principalPermissionMode="UseAspNetRoles" 91 roleProviderName="AspNetSqlRoleProvider" /> 45 92 <serviceCredentials> 46 <serviceCertificate findValue="localhost" x509FindType="FindBySubjectName"/> 47 <userNameAuthentication userNamePasswordValidationMode="MembershipProvider" membershipProviderName="AspNetSqlMembershipProvider"/> 93 <serviceCertificate findValue="localhost" x509FindType="FindBySubjectName" /> 94 <userNameAuthentication userNamePasswordValidationMode="MembershipProvider" 95 membershipProviderName="AspNetSqlMembershipProvider" /> 48 96 </serviceCredentials> 49 <dataContractSerializer maxItemsInObjectGraph="6553600"/>50 97 </behavior> 51 98 </serviceBehaviors> 52 99 </behaviors> 53 54 <services>55 <service behaviorConfiguration="DefaultServiceBehavior" name="HeuristicLab.Services.OKB.Administration.AdministrationService">56 <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexHttpBinding" contract="IMetadataExchange"/>57 <endpoint binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding" contract="HeuristicLab.Services.OKB.Administration.IAdministrationService"/>58 <host>59 <baseAddresses>60 <add baseAddress="http://localhost:8732/Design_Time_Addresses/OKB-3.3/AdministrationService"/>61 </baseAddresses>62 </host>63 </service>64 <service behaviorConfiguration="DefaultServiceBehavior" name="HeuristicLab.Services.OKB.RunCreation.RunCreationService">65 <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexHttpBinding" contract="IMetadataExchange"/>66 <endpoint binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding" contract="HeuristicLab.Services.OKB.RunCreation.IRunCreationService"/>67 <host>68 <baseAddresses>69 <add baseAddress="http://localhost:8732/Design_Time_Addresses/OKB-3.3/RunCreationService"/>70 </baseAddresses>71 </host>72 </service>73 <service behaviorConfiguration="DefaultServiceBehavior" name="HeuristicLab.Services.OKB.Query.QueryService">74 <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexHttpBinding" contract="IMetadataExchange"/>75 <endpoint binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding" contract="HeuristicLab.Services.OKB.Query.IQueryService"/>76 <host>77 <baseAddresses>78 <add baseAddress="http://localhost:8732/Design_Time_Addresses/OKB-3.3/QueryService"/>79 </baseAddresses>80 </host>81 </service>82 </services>83 100 </system.serviceModel> 101 84 102 <startup> 85 103 <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/>
Note: See TracChangeset
for help on using the changeset viewer.