Changeset 4548 for branches/OKB
- Timestamp:
- 10/04/10 01:43:23 (14 years ago)
- Location:
- branches/OKB
- Files:
-
- 4 added
- 1 deleted
- 14 edited
- 3 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/OKB/HeuristicLab.Clients.OKB-3.3/AdministratorMenuItem.cs
r4492 r4548 37 37 38 38 public override void Execute() { 39 MainFormManager.MainForm.ShowContent( Administrator.Instance);39 MainFormManager.MainForm.ShowContent(OKB.Instance); 40 40 } 41 41 } -
branches/OKB/HeuristicLab.Clients.OKB-3.3/HeuristicLab.Clients.OKB-3.3.csproj
r4492 r4548 47 47 <Reference Include="HeuristicLab.Core-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL" /> 48 48 <Reference Include="HeuristicLab.Core.Views-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL" /> 49 <Reference Include="HeuristicLab.Data-3.3"> 50 <HintPath>..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Data-3.3.dll</HintPath> 51 </Reference> 49 52 <Reference Include="HeuristicLab.MainForm-3.3"> 50 53 <HintPath>..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.MainForm-3.3.dll</HintPath> … … 73 76 </ItemGroup> 74 77 <ItemGroup> 75 <Compile Include="Administrator.cs">76 <SubType>Code</SubType>77 </Compile>78 78 <Compile Include="AdministratorMenuItem.cs" /> 79 <Compile Include="OKB.cs" /> 80 <Compile Include="OKBExperiment.cs" /> 79 81 <Compile Include="HeuristicLabClientsOKBPlugin.cs" /> 80 82 <Compile Include="Properties\AssemblyInfo.cs" /> 81 <Compile Include="ServiceClients\AdminServiceClient.cs" />82 83 <Compile Include="ServiceClients\Algorithm.cs"> 83 84 <SubType>Code</SubType> … … 88 89 <Compile Include="ServiceClients\AuthenticationServiceClient.cs" /> 89 90 <Compile Include="ServiceClients\AlgorithmData.cs" /> 91 <Compile Include="ServiceClients\OKBServiceClient.cs" /> 90 92 <Compile Include="ServiceClients\ProblemData.cs" /> 91 93 <Compile Include="ServiceClients\Problem.cs" /> … … 132 134 <Compile Include="Views\AlgorithmDataView.Designer.cs"> 133 135 <DependentUpon>AlgorithmDataView.cs</DependentUpon> 136 </Compile> 137 <Compile Include="Views\OKBExperimentView.cs"> 138 <SubType>UserControl</SubType> 139 </Compile> 140 <Compile Include="Views\OKBExperimentView.Designer.cs"> 141 <DependentUpon>OKBExperimentView.cs</DependentUpon> 134 142 </Compile> 135 143 <Compile Include="Views\ProblemDataView.cs"> -
branches/OKB/HeuristicLab.Clients.OKB-3.3/HeuristicLabClientsOKBPlugin.cs.frame
r4481 r4548 34 34 [PluginDependency("HeuristicLab.Core", "3.3")] 35 35 [PluginDependency("HeuristicLab.Core.Views", "3.3")] 36 [PluginDependency("HeuristicLab.Data", "3.3")] 36 37 [PluginDependency("HeuristicLab.MainForm", "3.3")] 37 38 [PluginDependency("HeuristicLab.MainForm.WindowsForms", "3.3")] -
branches/OKB/HeuristicLab.Clients.OKB-3.3/OKB.cs
r4547 r4548 30 30 31 31 namespace HeuristicLab.Clients.OKB { 32 [Item(" Administrator", "OKB administratorfront-end.")]33 public sealed class Administrator: IContent {34 private static Administratorinstance;35 public static AdministratorInstance {32 [Item("OKB", "OKB front-end.")] 33 public sealed class OKB : IContent { 34 private static OKB instance; 35 public static OKB Instance { 36 36 get { 37 if (instance == null) instance = new Administrator();37 if (instance == null) instance = new OKB(); 38 38 return instance; 39 39 } … … 71 71 #endregion 72 72 73 private Administrator() { }73 private OKB() { } 74 74 75 75 #region Refresh … … 320 320 321 321 #region Helpers 322 private void CallAdminService(Action<I AdminService> call) {323 AdminServiceClient client = ClientFactory.CreateClient<AdminServiceClient, IAdminService>();322 private void CallAdminService(Action<IOKBService> call) { 323 OKBServiceClient client = ClientFactory.CreateClient<OKBServiceClient, IOKBService>(); 324 324 try { 325 325 call(client); … … 334 334 } 335 335 } 336 private T CallAdminService<T>(Func<I AdminService, T> call) {337 AdminServiceClient client = ClientFactory.CreateClient<AdminServiceClient, IAdminService>();336 private T CallAdminService<T>(Func<IOKBService, T> call) { 337 OKBServiceClient client = ClientFactory.CreateClient<OKBServiceClient, IOKBService>(); 338 338 try { 339 339 return call(client); -
branches/OKB/HeuristicLab.Clients.OKB-3.3/ServiceClients/GenerateServiceClients.cmd
r4466 r4548 3 3 echo. 4 4 echo ******************************************************************************************* 5 echo Generating AdminService client5 echo Generating OKBService client 6 6 echo. 7 7 8 8 svcutil.exe ^ 9 http://localhost:8732/Design_Time_Addresses/OKB-3.3/ AdminService/mex ^10 /out: AdminServiceClient ^9 http://localhost:8732/Design_Time_Addresses/OKB-3.3/OKBService/mex ^ 10 /out:OKBServiceClient ^ 11 11 /namespace:*,HeuristicLab.Clients.OKB ^ 12 12 /targetClientVersion:Version35 ^ … … 24 24 echo --------------------------------------------------------------------------------------- 25 25 echo. 26 echo Generation of AdminService client finished.26 echo Generation of OKBService client finished. 27 27 echo ******************************************************************************************* 28 28 echo. -
branches/OKB/HeuristicLab.Clients.OKB-3.3/ServiceClients/OKBItem.cs
r4492 r4548 86 86 87 87 public void Store() { 88 if ( Administrator.Instance.Store(this))88 if (OKB.Instance.Store(this)) 89 89 Modified = false; 90 90 } -
branches/OKB/HeuristicLab.Clients.OKB-3.3/Views/AdministratorView.cs
r4481 r4548 27 27 namespace HeuristicLab.Clients.OKB { 28 28 [View("OKB Administrator")] 29 [Content(typeof( Administrator), true)]29 [Content(typeof(OKB), true)] 30 30 public sealed partial class AdministratorView : AsynchronousContentView { 31 public new AdministratorContent {32 get { return ( Administrator)base.Content; }31 public new OKB Content { 32 get { return (OKB)base.Content; } 33 33 set { base.Content = value; } 34 34 } -
branches/OKB/HeuristicLab.Clients.OKB-3.3/Views/AlgorithmDataView.cs
r4492 r4548 60 60 protected override void OnInitialized(System.EventArgs e) { 61 61 base.OnInitialized(e); 62 dataTypeComboBox.DataSource = Administrator.Instance.DataTypes.ToList();62 dataTypeComboBox.DataSource = OKB.Instance.DataTypes.ToList(); 63 63 dataTypeComboBox.SelectedIndex = -1; 64 64 } … … 80 80 noViewAvailableLabel.Visible = false; 81 81 } else { 82 dataTypeComboBox.SelectedItem = Administrator.Instance.DataTypes.FirstOrDefault(d => d.Id == Content.DataTypeId);82 dataTypeComboBox.SelectedItem = OKB.Instance.DataTypes.FirstOrDefault(d => d.Id == Content.DataTypeId); 83 83 84 84 using (MemoryStream stream = new MemoryStream(Content.Data)) { … … 111 111 switch (e.PropertyName) { 112 112 case "DataTypeId": 113 dataTypeComboBox.SelectedItem = Administrator.Instance.DataTypes.FirstOrDefault(d => d.Id == Content.DataTypeId);113 dataTypeComboBox.SelectedItem = OKB.Instance.DataTypes.FirstOrDefault(d => d.Id == Content.DataTypeId); 114 114 break; 115 115 } … … 119 119 BeginAsyncCall(); 120 120 var call = new Action(delegate() { 121 AlgorithmData data = Administrator.Instance.GetAlgorithmData(AlgorithmId);121 AlgorithmData data = OKB.Instance.GetAlgorithmData(AlgorithmId); 122 122 Content = data; 123 123 }); … … 142 142 } 143 143 } 144 Administrator.Instance.UpdateAlgorithmData(Content);144 OKB.Instance.UpdateAlgorithmData(Content); 145 145 } 146 146 private void newDataButton_Click(object sender, EventArgs e) { … … 153 153 if (Content == null) Content = new AlgorithmData { AlgorithmId = AlgorithmId }; 154 154 viewHost.Content = (IContent)dialog.TypeSelector.CreateInstanceOfSelectedType(); 155 DataType dataType = Administrator.Instance.DataTypes.FirstOrDefault(d => d.Name == viewHost.Content.GetType().AssemblyQualifiedName);155 DataType dataType = OKB.Instance.DataTypes.FirstOrDefault(d => d.Name == viewHost.Content.GetType().AssemblyQualifiedName); 156 156 if (dataType == null) { 157 157 dataType = new DataType { Name = viewHost.Content.GetType().AssemblyQualifiedName, SqlName = "varbinary" }; 158 dataType.PlatformId = Administrator.Instance.Platforms.FirstOrDefault(p => p.Name == "HeuristicLab 3.3").Id;158 dataType.PlatformId = OKB.Instance.Platforms.FirstOrDefault(p => p.Name == "HeuristicLab 3.3").Id; 159 159 dataType.Store(); 160 Administrator.Instance.DataTypes.Add(dataType);161 dataTypeComboBox.DataSource = Administrator.Instance.DataTypes.OrderBy(d => d.Name).ToList();160 OKB.Instance.DataTypes.Add(dataType); 161 dataTypeComboBox.DataSource = OKB.Instance.DataTypes.OrderBy(d => d.Name).ToList(); 162 162 } 163 163 dataTypeComboBox.SelectedItem = dataType; … … 185 185 viewHost.Content = algorithm; 186 186 noViewAvailableLabel.Visible = false; 187 DataType dataType = Administrator.Instance.DataTypes.FirstOrDefault(d => d.Name == viewHost.Content.GetType().AssemblyQualifiedName);187 DataType dataType = OKB.Instance.DataTypes.FirstOrDefault(d => d.Name == viewHost.Content.GetType().AssemblyQualifiedName); 188 188 if (dataType == null) { 189 189 dataType = new DataType { Name = viewHost.Content.GetType().AssemblyQualifiedName, SqlName = "varbinary" }; 190 dataType.PlatformId = Administrator.Instance.Platforms.FirstOrDefault(p => p.Name == "HeuristicLab 3.3").Id;190 dataType.PlatformId = OKB.Instance.Platforms.FirstOrDefault(p => p.Name == "HeuristicLab 3.3").Id; 191 191 dataType.Store(); 192 Administrator.Instance.DataTypes.Add(dataType);193 dataTypeComboBox.DataSource = Administrator.Instance.DataTypes.OrderBy(d => d.Name).ToList();192 OKB.Instance.DataTypes.Add(dataType); 193 dataTypeComboBox.DataSource = OKB.Instance.DataTypes.OrderBy(d => d.Name).ToList(); 194 194 } 195 195 dataTypeComboBox.SelectedItem = dataType; -
branches/OKB/HeuristicLab.Clients.OKB-3.3/Views/AlgorithmView.cs
r4492 r4548 42 42 protected override void OnInitialized(System.EventArgs e) { 43 43 base.OnInitialized(e); 44 platformComboBox.DataSource = Administrator.Instance.Platforms.ToList();45 algorithmClassComboBox.DataSource = Administrator.Instance.AlgorithmClasses.ToList();44 platformComboBox.DataSource = OKB.Instance.Platforms.ToList(); 45 algorithmClassComboBox.DataSource = OKB.Instance.AlgorithmClasses.ToList(); 46 46 } 47 47 … … 53 53 algorithmDataView.AlgorithmId = 0; 54 54 } else { 55 platformComboBox.SelectedItem = Administrator.Instance.Platforms.FirstOrDefault(p => p.Id == Content.PlatformId);56 algorithmClassComboBox.SelectedItem = Administrator.Instance.AlgorithmClasses.FirstOrDefault(a => a.Id == Content.AlgorithmClassId);55 platformComboBox.SelectedItem = OKB.Instance.Platforms.FirstOrDefault(p => p.Id == Content.PlatformId); 56 algorithmClassComboBox.SelectedItem = OKB.Instance.AlgorithmClasses.FirstOrDefault(a => a.Id == Content.AlgorithmClassId); 57 57 algorithmDataView.AlgorithmId = Content.Id; 58 58 } … … 77 77 break; 78 78 case "PlatformId": 79 platformComboBox.SelectedItem = Administrator.Instance.Platforms.FirstOrDefault(p => p.Id == Content.PlatformId);79 platformComboBox.SelectedItem = OKB.Instance.Platforms.FirstOrDefault(p => p.Id == Content.PlatformId); 80 80 break; 81 81 case "AlgorithmClassId": 82 algorithmClassComboBox.SelectedItem = Administrator.Instance.AlgorithmClasses.FirstOrDefault(a => a.Id == Content.AlgorithmClassId);82 algorithmClassComboBox.SelectedItem = OKB.Instance.AlgorithmClasses.FirstOrDefault(a => a.Id == Content.AlgorithmClassId); 83 83 break; 84 84 } … … 99 99 100 100 private void refreshUsersButton_Click(object sender, System.EventArgs e) { 101 Guid[] ids = Administrator.Instance.GetAlgorithmUsers(Content.Id);101 Guid[] ids = OKB.Instance.GetAlgorithmUsers(Content.Id); 102 102 if (ids != null) { 103 List<User> users = Administrator.Instance.Users.ToList();103 List<User> users = OKB.Instance.Users.ToList(); 104 104 usersListBox.DataSource = users; 105 105 usersListBox.DisplayMember = "Name"; … … 112 112 } 113 113 private void storeUsersButton_Click(object sender, System.EventArgs e) { 114 if ( Administrator.Instance.UpdateAlgorithmUsers(Content.Id, usersListBox.SelectedItems.Cast<User>().Select(u => u.Id).ToArray()))114 if (OKB.Instance.UpdateAlgorithmUsers(Content.Id, usersListBox.SelectedItems.Cast<User>().Select(u => u.Id).ToArray())) 115 115 storeUsersButton.Enabled = false; 116 116 } -
branches/OKB/HeuristicLab.Clients.OKB-3.3/Views/DataTypeView.cs
r4492 r4548 41 41 protected override void OnInitialized(System.EventArgs e) { 42 42 base.OnInitialized(e); 43 platformComboBox.DataSource = Administrator.Instance.Platforms.ToList();43 platformComboBox.DataSource = OKB.Instance.Platforms.ToList(); 44 44 } 45 45 … … 57 57 nameTextBox.Text = Content.Name; 58 58 sqlNameComboBox.Text = Content.SqlName; 59 platformComboBox.SelectedItem = Administrator.Instance.Platforms.FirstOrDefault(p => p.Id == Content.PlatformId);59 platformComboBox.SelectedItem = OKB.Instance.Platforms.FirstOrDefault(p => p.Id == Content.PlatformId); 60 60 Caption = Content.Name; 61 61 } … … 80 80 break; 81 81 case "PlatformId": 82 platformComboBox.SelectedItem = Administrator.Instance.Platforms.FirstOrDefault(p => p.Id == Content.PlatformId);82 platformComboBox.SelectedItem = OKB.Instance.Platforms.FirstOrDefault(p => p.Id == Content.PlatformId); 83 83 break; 84 84 } -
branches/OKB/HeuristicLab.Clients.OKB-3.3/Views/ProblemDataView.cs
r4492 r4548 60 60 protected override void OnInitialized(System.EventArgs e) { 61 61 base.OnInitialized(e); 62 dataTypeComboBox.DataSource = Administrator.Instance.DataTypes.ToList();62 dataTypeComboBox.DataSource = OKB.Instance.DataTypes.ToList(); 63 63 dataTypeComboBox.SelectedIndex = -1; 64 64 } … … 80 80 noViewAvailableLabel.Visible = false; 81 81 } else { 82 dataTypeComboBox.SelectedItem = Administrator.Instance.DataTypes.FirstOrDefault(d => d.Id == Content.DataTypeId);82 dataTypeComboBox.SelectedItem = OKB.Instance.DataTypes.FirstOrDefault(d => d.Id == Content.DataTypeId); 83 83 84 84 using (MemoryStream stream = new MemoryStream(Content.Data)) { … … 111 111 switch (e.PropertyName) { 112 112 case "DataTypeId": 113 dataTypeComboBox.SelectedItem = Administrator.Instance.DataTypes.FirstOrDefault(d => d.Id == Content.DataTypeId);113 dataTypeComboBox.SelectedItem = OKB.Instance.DataTypes.FirstOrDefault(d => d.Id == Content.DataTypeId); 114 114 break; 115 115 } … … 119 119 BeginAsyncCall(); 120 120 var call = new Action(delegate() { 121 ProblemData data = Administrator.Instance.GetProblemData(ProblemId);121 ProblemData data = OKB.Instance.GetProblemData(ProblemId); 122 122 Content = data; 123 123 }); … … 141 141 } 142 142 } 143 Administrator.Instance.UpdateProblemData(Content);143 OKB.Instance.UpdateProblemData(Content); 144 144 } 145 145 private void newDataButton_Click(object sender, EventArgs e) { … … 152 152 if (Content == null) Content = new ProblemData { ProblemId = ProblemId }; 153 153 viewHost.Content = (IContent)dialog.TypeSelector.CreateInstanceOfSelectedType(); 154 DataType dataType = Administrator.Instance.DataTypes.FirstOrDefault(d => d.Name == viewHost.Content.GetType().AssemblyQualifiedName);154 DataType dataType = OKB.Instance.DataTypes.FirstOrDefault(d => d.Name == viewHost.Content.GetType().AssemblyQualifiedName); 155 155 if (dataType == null) { 156 156 dataType = new DataType { Name = viewHost.Content.GetType().AssemblyQualifiedName, SqlName = "varbinary" }; 157 dataType.PlatformId = Administrator.Instance.Platforms.FirstOrDefault(p => p.Name == "HeuristicLab 3.3").Id;157 dataType.PlatformId = OKB.Instance.Platforms.FirstOrDefault(p => p.Name == "HeuristicLab 3.3").Id; 158 158 dataType.Store(); 159 Administrator.Instance.DataTypes.Add(dataType);160 dataTypeComboBox.DataSource = Administrator.Instance.DataTypes.OrderBy(d => d.Name).ToList();159 OKB.Instance.DataTypes.Add(dataType); 160 dataTypeComboBox.DataSource = OKB.Instance.DataTypes.OrderBy(d => d.Name).ToList(); 161 161 } 162 162 dataTypeComboBox.SelectedItem = dataType; … … 184 184 viewHost.Content = problem; 185 185 noViewAvailableLabel.Visible = false; 186 DataType dataType = Administrator.Instance.DataTypes.FirstOrDefault(d => d.Name == viewHost.Content.GetType().AssemblyQualifiedName);186 DataType dataType = OKB.Instance.DataTypes.FirstOrDefault(d => d.Name == viewHost.Content.GetType().AssemblyQualifiedName); 187 187 if (dataType == null) { 188 188 dataType = new DataType { Name = viewHost.Content.GetType().AssemblyQualifiedName, SqlName = "varbinary" }; 189 dataType.PlatformId = Administrator.Instance.Platforms.FirstOrDefault(p => p.Name == "HeuristicLab 3.3").Id;189 dataType.PlatformId = OKB.Instance.Platforms.FirstOrDefault(p => p.Name == "HeuristicLab 3.3").Id; 190 190 dataType.Store(); 191 Administrator.Instance.DataTypes.Add(dataType);192 dataTypeComboBox.DataSource = Administrator.Instance.DataTypes.OrderBy(d => d.Name).ToList();191 OKB.Instance.DataTypes.Add(dataType); 192 dataTypeComboBox.DataSource = OKB.Instance.DataTypes.OrderBy(d => d.Name).ToList(); 193 193 } 194 194 dataTypeComboBox.SelectedItem = dataType; -
branches/OKB/HeuristicLab.Clients.OKB-3.3/Views/ProblemView.cs
r4492 r4548 42 42 protected override void OnInitialized(System.EventArgs e) { 43 43 base.OnInitialized(e); 44 platformComboBox.DataSource = Administrator.Instance.Platforms.ToList();45 problemClassComboBox.DataSource = Administrator.Instance.ProblemClasses.ToList();44 platformComboBox.DataSource = OKB.Instance.Platforms.ToList(); 45 problemClassComboBox.DataSource = OKB.Instance.ProblemClasses.ToList(); 46 46 } 47 47 … … 53 53 problemDataView.ProblemId = 0; 54 54 } else { 55 platformComboBox.SelectedItem = Administrator.Instance.Platforms.FirstOrDefault(p => p.Id == Content.PlatformId);56 problemClassComboBox.SelectedItem = Administrator.Instance.ProblemClasses.FirstOrDefault(a => a.Id == Content.ProblemClassId);55 platformComboBox.SelectedItem = OKB.Instance.Platforms.FirstOrDefault(p => p.Id == Content.PlatformId); 56 problemClassComboBox.SelectedItem = OKB.Instance.ProblemClasses.FirstOrDefault(a => a.Id == Content.ProblemClassId); 57 57 problemDataView.ProblemId = Content.Id; 58 58 } … … 77 77 break; 78 78 case "PlatformId": 79 platformComboBox.SelectedItem = Administrator.Instance.Platforms.FirstOrDefault(p => p.Id == Content.PlatformId);79 platformComboBox.SelectedItem = OKB.Instance.Platforms.FirstOrDefault(p => p.Id == Content.PlatformId); 80 80 break; 81 81 case "ProblemClassId": 82 problemClassComboBox.SelectedItem = Administrator.Instance.ProblemClasses.FirstOrDefault(a => a.Id == Content.ProblemClassId);82 problemClassComboBox.SelectedItem = OKB.Instance.ProblemClasses.FirstOrDefault(a => a.Id == Content.ProblemClassId); 83 83 break; 84 84 } … … 99 99 100 100 private void refreshUsersButton_Click(object sender, System.EventArgs e) { 101 Guid[] ids = Administrator.Instance.GetProblemUsers(Content.Id);101 Guid[] ids = OKB.Instance.GetProblemUsers(Content.Id); 102 102 if (ids != null) { 103 List<User> users = Administrator.Instance.Users.ToList();103 List<User> users = OKB.Instance.Users.ToList(); 104 104 usersListBox.DataSource = users; 105 105 usersListBox.DisplayMember = "Name"; … … 112 112 } 113 113 private void storeUsersButton_Click(object sender, System.EventArgs e) { 114 if ( Administrator.Instance.UpdateProblemUsers(Content.Id, usersListBox.SelectedItems.Cast<User>().Select(u => u.Id).ToArray()))114 if (OKB.Instance.UpdateProblemUsers(Content.Id, usersListBox.SelectedItems.Cast<User>().Select(u => u.Id).ToArray())) 115 115 storeUsersButton.Enabled = false; 116 116 } -
branches/OKB/HeuristicLab.Clients.OKB-3.3/app.config
r4481 r4548 4 4 <bindings> 5 5 <wsHttpBinding> 6 <binding name="WSHttpBinding_I AdminService" closeTimeout="00:01:00"6 <binding name="WSHttpBinding_IOKBService" closeTimeout="00:01:00" 7 7 openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" 8 8 bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" 9 maxBufferPoolSize="524288" maxReceivedMessageSize=" 200000000"9 maxBufferPoolSize="524288" maxReceivedMessageSize="65536" 10 10 messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" 11 11 allowCookies="false"> 12 <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength=" 200000000"13 maxBytesPerRead=" 200000000" maxNameTableCharCount="16384" />12 <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" 13 maxBytesPerRead="4096" maxNameTableCharCount="16384" /> 14 14 <reliableSession ordered="true" inactivityTimeout="00:10:00" 15 15 enabled="false" /> … … 41 41 </bindings> 42 42 <client> 43 <endpoint address="http://localhost:8732/Design_Time_Addresses/OKB-3.3/ AdminService"44 binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_I AdminService"45 contract="HeuristicLab.Clients.OKB.I AdminService" name="WSHttpBinding_IAdminService">43 <endpoint address="http://localhost:8732/Design_Time_Addresses/OKB-3.3/OKBService" 44 binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IOKBService" 45 contract="HeuristicLab.Clients.OKB.IOKBService" name="WSHttpBinding_IOKBService"> 46 46 <identity> 47 47 <certificate encodedValue="AwAAAAEAAAAUAAAAD/AlkYJw/OUhl6D/9w8mjJBh39kgAAAAAQAAAPIBAAAwggHuMIIBW6ADAgECAhAdEzTisaf2sEZxrqYZfYtCMAkGBSsOAwIdBQAwFDESMBAGA1UEAxMJbG9jYWxob3N0MB4XDTEwMDgyMDIyMzIwOFoXDTM5MTIzMTIzNTk1OVowFDESMBAGA1UEAxMJbG9jYWxob3N0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDPkfCSLRX8/4F+Z4ys43yZ4MMzjB44cMakPz4Nri+mEB5n2z/0GFatCYzkI2f/nniWqVrBYjHkjsZy2EZioHu4wa99c1XEGJnFNDuNn6ESkfEyhyF4+OqKGnpK9HNrw7OWMuqn2oOh0iFd9fl6FTAm+Y0p3LP+38BuYzpCniqqdwIDAQABo0kwRzBFBgNVHQEEPjA8gBDvi8Rgio9v+mr58TiAvqF5oRYwFDESMBAGA1UEAxMJbG9jYWxob3N0ghAdEzTisaf2sEZxrqYZfYtCMAkGBSsOAwIdBQADgYEANdGlvHKeUptfNu9I0wgA5qjmVB+JDldOAkrfM0R+4IcVQ06y5K7P07uxQAV7+rhnDLgLyFJunUHgzbfjsjFy7vjwtoieXA5j0AYlm4AHR7dHt4HVgkIMYt8XOCqMw5jjFX91xJ89tC7mM9zYR48N9T5QSeMGo+f+JzybeLWxnNs=" /> -
branches/OKB/HeuristicLab.Services.OKB/3.3/HeuristicLab.Services.OKB-3.3.csproj
r4492 r4548 120 120 </ItemGroup> 121 121 <ItemGroup> 122 <Compile Include="AdminService.cs" />123 122 <Compile Include="Convert.cs" /> 124 123 <Compile Include="AuthenticationService.cs" /> 125 124 <Compile Include="Interfaces\IAuthenticationService.cs" /> 126 <Compile Include="Interfaces\IAdminService.cs" /> 125 <Compile Include="Interfaces\IOKBService.cs" /> 126 <Compile Include="OKBService.cs" /> 127 127 <Compile Include="Properties\AssemblyInfo.cs" /> 128 128 </ItemGroup> -
branches/OKB/HeuristicLab.Services.OKB/3.3/Interfaces/IOKBService.cs
r4547 r4548 28 28 namespace HeuristicLab.Services.OKB { 29 29 /// <summary> 30 /// Interface of the OKB administrationservice.30 /// Interface of the OKB service. 31 31 /// </summary> 32 32 [ServiceContract(ProtectionLevel = ProtectionLevel.EncryptAndSign)] 33 public interface I AdminService {33 public interface IOKBService { 34 34 #region Platform Methods 35 35 [OperationContract] -
branches/OKB/HeuristicLab.Services.OKB/3.3/OKBService.cs
r4547 r4548 28 28 namespace HeuristicLab.Services.OKB { 29 29 /// <summary> 30 /// Implementation of the OKB administration service (interface <see cref="IAdminService"/>).30 /// Implementation of the OKB service (interface <see cref="IOKBService"/>). 31 31 /// </summary> 32 32 [ServiceBehavior(IncludeExceptionDetailInFaults = true)] 33 public class AdminService : IAdminService {33 public class OKBService : IOKBService { 34 34 #region Platform Methods 35 35 public DataTransfer.Platform GetPlatform(long id) { -
branches/OKB/HeuristicLab.Services.OKB/3.3/app.config
r4492 r4548 67 67 68 68 <services> 69 <service name="HeuristicLab.Services.OKB. AdminService" behaviorConfiguration="DefaultServiceBehavior">69 <service name="HeuristicLab.Services.OKB.OKBService" behaviorConfiguration="DefaultServiceBehavior"> 70 70 <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexHttpBinding" contract="IMetadataExchange" /> 71 <endpoint binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding" contract="HeuristicLab.Services.OKB.I AdminService" />71 <endpoint binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding" contract="HeuristicLab.Services.OKB.IOKBService" /> 72 72 <host> 73 73 <baseAddresses> 74 <add baseAddress="http://localhost:8732/Design_Time_Addresses/OKB-3.3/ AdminService" />74 <add baseAddress="http://localhost:8732/Design_Time_Addresses/OKB-3.3/OKBService" /> 75 75 </baseAddresses> 76 76 </host>
Note: See TracChangeset
for help on using the changeset viewer.