Changeset 4731


Ignore:
Timestamp:
11/06/10 14:22:03 (9 years ago)
Author:
jhaider
Message:

#1197
Interface implemantation

Location:
branches/ClientManagement/HeuristicLab.Services.Authentication
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • branches/ClientManagement/HeuristicLab.Services.Authentication/HLDemo/HeuristicLab.Services.DemoService/HeuristicLab.Services.DemoService.csproj

    r4728 r4731  
    8181    <Folder Include="App_Data\" />
    8282  </ItemGroup>
    83   <ItemGroup>
    84     <ProjectReference Include="..\..\HeuristicLab.Services.Authentication.AdminMethods\HeuristicLab.Services.Authentication.AdminMethods.csproj">
    85       <Project>{2DC20235-6A91-4ABC-8E3E-660B43EAD23B}</Project>
    86       <Name>HeuristicLab.Services.Authentication.AdminMethods</Name>
    87     </ProjectReference>
    88   </ItemGroup>
    8983  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
    9084  <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />
  • branches/ClientManagement/HeuristicLab.Services.Authentication/HeuristicLab.Services.Authentication.DataAccess/ClientManagment.dbml

    r4730 r4731  
    22  <Table Name="" Member="Resources">
    33    <Type Name="Resource" InheritanceCode="Resource" IsInheritanceDefault="true">
    4       <Column Name="ResourceID" Member="ResourceId" Storage="_ResourceID" AutoSync="OnInsert" Type="System.Guid" IsPrimaryKey="true" CanBeNull="false" />
     4      <Column Name="ResourceID" Member="Id" Storage="_ResourceID" AutoSync="OnInsert" Type="System.Guid" IsPrimaryKey="true" CanBeNull="false" />
    55      <Column Name="Name" Type="System.String" CanBeNull="false" />
    66      <Column Name="Description" Type="System.String" CanBeNull="true" />
    77      <Column Name="ResourceType" Type="System.Guid" CanBeNull="false" IsDiscriminator="true" />
    8       <Association Name="Resource_ResourceResourceGroup" Member="Clients" Storage="_ResourceResourceGroups" ThisKey="ResourceId" OtherKey="ResourceId" Type="ResourceResourceGroup" />
    9       <Association Name="Resource_ResourceResourceGroup1" Member="ResourceGroups" Storage="_ResourceResourceGroups1" ThisKey="ResourceId" OtherKey="ResourceGroupId" Type="ResourceResourceGroup" />
     8      <Association Name="Resource_ResourceResourceGroup" Member="Clients" Storage="_ResourceResourceGroups" ThisKey="Id" OtherKey="ResourceId" Type="ResourceResourceGroup" />
     9      <Association Name="Resource_ResourceResourceGroup1" Member="ResourceGroups" Storage="_ResourceResourceGroups1" ThisKey="Id" OtherKey="ResourceGroupId" Type="ResourceResourceGroup" />
    1010      <Type Name="Client" InheritanceCode="Client">
    1111        <Column Name="ProcessorType" Type="System.String" CanBeNull="true" />
     
    2323      <Column Name="ResourceID" Member="ResourceId" Storage="_ResourceID" Type="System.Guid" IsPrimaryKey="true" CanBeNull="false" />
    2424      <Column Name="ResourceGroupID" Member="ResourceGroupId" Storage="_ResourceGroupID" Type="System.Guid" IsPrimaryKey="true" CanBeNull="false" />
    25       <Association Name="Resource_ResourceResourceGroup" Member="Client" Storage="_Resource" ThisKey="ResourceId" OtherKey="ResourceId" Type="Resource" IsForeignKey="true" />
    26       <Association Name="Resource_ResourceResourceGroup1" Member="ResourceGroup" Storage="_Resource1" ThisKey="ResourceGroupId" OtherKey="ResourceId" Type="Resource" IsForeignKey="true" />
     25      <Association Name="Resource_ResourceResourceGroup" Member="Client" Storage="_Resource" ThisKey="ResourceId" OtherKey="Id" Type="Resource" IsForeignKey="true" />
     26      <Association Name="Resource_ResourceResourceGroup1" Member="ResourceGroup" Storage="_Resource1" ThisKey="ResourceGroupId" OtherKey="Id" Type="Resource" IsForeignKey="true" />
    2727    </Type>
    2828  </Table>
  • branches/ClientManagement/HeuristicLab.Services.Authentication/HeuristicLab.Services.Authentication.DataAccess/ClientManagment.dbml.layout

    r4694 r4731  
    33  <DataContextMoniker Name="/ClientManagmentDataContext" />
    44  <nestedChildShapes>
    5     <classShape Id="cace4a80-c7a9-4132-9b82-c4ef3884dbc0" absoluteBounds="0.75, 3.875, 2, 1.7535424804687496">
     5    <classShape Id="cace4a80-c7a9-4132-9b82-c4ef3884dbc0" absoluteBounds="0.75, 3.875, 2, 1.9631982421874996">
    66      <DataClassMoniker Name="/ClientManagmentDataContext/Client" />
    77      <nestedChildShapes>
    8         <elementListCompartment Id="bce42ce5-f605-4c26-a210-ed4ea2812ca7" absoluteBounds="0.765, 4.335, 1.9700000000000002, 1.19354248046875" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />
     8        <elementListCompartment Id="bce42ce5-f605-4c26-a210-ed4ea2812ca7" absoluteBounds="0.765, 4.335, 1.9700000000000002, 1.4031982421875" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />
    99      </nestedChildShapes>
    1010    </classShape>
    11     <classShape Id="ea129a98-d63f-4c3a-a3e8-dff64ad53c30" absoluteBounds="2.125, 1.25, 2, 1.424847819010417">
     11    <classShape Id="ea129a98-d63f-4c3a-a3e8-dff64ad53c30" absoluteBounds="2.125, 1.25, 2, 1.5785953776041666">
    1212      <DataClassMoniker Name="/ClientManagmentDataContext/Resource" />
    1313      <nestedChildShapes>
    14         <elementListCompartment Id="3a656a72-fe83-45a4-87c2-c0aa13fa068f" absoluteBounds="2.14, 1.71, 1.9700000000000002, 0.86484781901041663" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />
     14        <elementListCompartment Id="3a656a72-fe83-45a4-87c2-c0aa13fa068f" absoluteBounds="2.14, 1.71, 1.9700000000000002, 1.0185953776041665" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />
    1515      </nestedChildShapes>
    1616    </classShape>
     
    2121      </nodes>
    2222    </inheritanceConnector>
    23     <classShape Id="7820d3d1-da69-4786-9415-4fa77e5fc03a" absoluteBounds="3.625, 3.875, 2, 0.76745849609374961">
     23    <classShape Id="7820d3d1-da69-4786-9415-4fa77e5fc03a" absoluteBounds="3.625, 3.875, 2, 0.80938964843749961">
    2424      <DataClassMoniker Name="/ClientManagmentDataContext/ResourceGroup" />
    2525      <nestedChildShapes>
    26         <elementListCompartment Id="125f9904-768c-4c01-9a04-5212a9e6e484" absoluteBounds="3.64, 4.335, 1.9700000000000002, 0.20745849609375" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />
     26        <elementListCompartment Id="125f9904-768c-4c01-9a04-5212a9e6e484" absoluteBounds="3.64, 4.335, 1.9700000000000002, 0.2493896484375" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />
    2727      </nestedChildShapes>
    2828    </classShape>
     
    3333      </nodes>
    3434    </inheritanceConnector>
    35     <classShape Id="9b206f4e-128f-4c3f-bd08-7f2d271ebb2b" absoluteBounds="5.125, 1.25, 2, 1.0961531575520831">
     35    <classShape Id="9b206f4e-128f-4c3f-bd08-7f2d271ebb2b" absoluteBounds="5.125, 1.25, 2, 1.1939925130208331">
    3636      <DataClassMoniker Name="/ClientManagmentDataContext/ResourceResourceGroup" />
    3737      <nestedChildShapes>
    38         <elementListCompartment Id="9d879183-e5e2-42e9-9fbf-3e68f959d459" absoluteBounds="5.14, 1.71, 1.9700000000000002, 0.53615315755208326" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />
     38        <elementListCompartment Id="9d879183-e5e2-42e9-9fbf-3e68f959d459" absoluteBounds="5.14, 1.71, 1.9700000000000002, 0.63399251302083326" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />
    3939      </nestedChildShapes>
    4040    </classShape>
  • branches/ClientManagement/HeuristicLab.Services.Authentication/HeuristicLab.Services.Authentication.DataTransfer/Client.cs

    r4694 r4731  
    1 
    2 using System.Runtime.Serialization;
     1using System.Runtime.Serialization;
    32
    4 namespace HeuristicLab.Services.Authentication.DataTransfer {
     3namespace HeuristicLab.Services.Authentication.DataTransfer
     4{
     5    [DataContract]
     6    public class Client : HeuristicLab.Services.Authentication.DataTransfer.Resource
     7    {
     8        [DataMember]
     9        public string ProcessorType { get; set; }
     10        [DataMember]
     11        public string NumberOfProcessors { get; set; }
     12        [DataMember]
     13        public string NumberOfThreads { get; set; }
     14        [DataMember]
     15        public string IPAdress { get; set; }
     16        [DataMember]
     17        public string MemorySize { get; set; }
     18        [DataMember]
     19        public string OperatingSystem { get; set; }
    520
    6   public class Client : HeuristicLab.Services.Authentication.DataTransfer.Resource {
    7 
    8     public string ProcessorType { get; set; }
    9 
    10     public string NumberOfProcessors { get; set; }
    11 
    12     public string NumberOfThreads { get; set; }
    13 
    14     public string IPAdress { get; set; }
    15 
    16     public string MemorySize { get; set; }
    17 
    18     public string OperatingSystem { get; set; }
    19 
    20   }
     21    }
    2122}
  • branches/ClientManagement/HeuristicLab.Services.Authentication/HeuristicLab.Services.Authentication.DataTransfer/HeuristicLab.Services.Authentication.DataTransfer.csproj

    r4728 r4731  
    4242    <Reference Include="System.Core" />
    4343    <Reference Include="System.Data.Linq" />
     44    <Reference Include="System.Runtime.Serialization" />
    4445    <Reference Include="System.Xml.Linq" />
    4546    <Reference Include="System.Data.DataSetExtensions" />
  • branches/ClientManagement/HeuristicLab.Services.Authentication/HeuristicLab.Services.Authentication.DataTransfer/Resource.cs

    r4694 r4731  
    1 // Resource.cs
     1using System.Runtime.Serialization;
    22
    3 using System.Runtime.Serialization;
    4 
    5 namespace HeuristicLab.Services.Authentication.DataTransfer {
    6   public abstract class Resource {
    7 
    8     public System.Guid ResourceID { get; set; }
    9    
    10     public string Name { get; set; }
    11    
    12     public string Description { get; set; }
    13 
    14     public string ResourceType { get; set; }
    15 
    16     public string ResourceGroup { get; set; }
    17 
    18     public override string ToString() {
    19       return (this.Name + "; Id= " + this.ResourceID + "; " + this.ResourceType);
     3namespace HeuristicLab.Services.Authentication.DataTransfer
     4{
     5    [DataContract]
     6    public abstract class Resource
     7    {
     8        [DataMember]
     9        public System.Guid ResourceID { get; set; }
     10        [DataMember]
     11        public string Name { get; set; }
     12        [DataMember]
     13        public string Description { get; set; }
     14        [DataMember]
     15        public string ResourceType { get; set; }
     16        [DataMember]
     17        public string ResourceGroup { get; set; }
    2018    }
    21   }
    2219}
    2320
  • branches/ClientManagement/HeuristicLab.Services.Authentication/HeuristicLab.Services.Authentication.DataTransfer/ResourceGroup.cs

    r4592 r4731  
    1 
    2 using System.Runtime.Serialization;
     1using System.Runtime.Serialization;
    32
    4 namespace HeuristicLab.Services.Authentication.DataTransfer {
    5   public class ResourceGroup : Resource {
    6   }
     3namespace HeuristicLab.Services.Authentication.DataTransfer
     4{
     5    [DataContract]
     6    public class ResourceGroup : Resource
     7    {
     8    }
    79}
    810
  • branches/ClientManagement/HeuristicLab.Services.Authentication/HeuristicLab.Services.Authentication/HeuristicLab.Services.Authentication.csproj

    r4728 r4731  
    6464  </ItemGroup>
    6565  <ItemGroup>
    66     <Content Include="Service1.svc" />
     66    <Content Include="AuthenticationService.svc" />
    6767    <Content Include="Web.config" />
    6868    <Content Include="Web.Debug.config">
     
    7575  <ItemGroup>
    7676    <Compile Include="Convert.cs" />
    77     <Compile Include="Service1.svc.cs">
    78       <DependentUpon>Service1.svc</DependentUpon>
     77    <Compile Include="AuthenticationService.svc.cs">
     78      <DependentUpon>AuthenticationService.svc</DependentUpon>
    7979    </Compile>
    80     <Compile Include="IService1.cs" />
     80    <Compile Include="Interfaces\IAuthenticationService.cs" />
    8181    <Compile Include="Properties\AssemblyInfo.cs" />
    8282  </ItemGroup>
  • branches/ClientManagement/HeuristicLab.Services.Authentication/UserInterface/HeuristicLab.Services.Authentication.UserInterface.csproj

    r4695 r4731  
    8383    <WCFMetadata Include="Service References\" />
    8484  </ItemGroup>
    85   <ItemGroup>
    86     <ProjectReference Include="..\HeuristicLab.Services.Authentication.AdminMethods\HeuristicLab.Services.Authentication.AdminMethods.csproj">
    87       <Project>{2DC20235-6A91-4ABC-8E3E-660B43EAD23B}</Project>
    88       <Name>HeuristicLab.Services.Authentication.AdminMethods</Name>
    89     </ProjectReference>
    90   </ItemGroup>
    9185  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
    9286  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Note: See TracChangeset for help on using the changeset viewer.