Free cookie consent management tool by TermsFeed Policy Generator

Changeset 3976


Ignore:
Timestamp:
06/29/10 18:21:22 (14 years ago)
Author:
bfarka
Message:

added first service method and unittest for service
added abstract unit test for starting a service host (1046)

Location:
branches/HeuristicLab.Services.Authentication Prototype
Files:
14 added
3 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Services.Authentication Prototype/Service/App.config

    r3970 r3976  
    1 <?xml version="1.0" encoding="utf-8" ?>
     1<?xml version="1.0" encoding="utf-8" ?>
    22<configuration>
    33  <system.web>
     
    55  </system.web>
    66  <system.serviceModel>
     7    <behaviors>
     8      <serviceBehaviors>
     9        <behavior name="HttpServiceBehavior">
     10          <serviceMetadata httpGetEnabled="true" httpGetUrl="http://127.0.0.1:8888/metadata" />
     11          <serviceDebug httpHelpPageUrl="http://127.0.0.1:8888/debug" />
     12        </behavior>
     13      </serviceBehaviors>
     14    </behaviors>
     15    <services>
     16      <service behaviorConfiguration="HttpServiceBehavior" name="Service.Services.Administration.AuthorizationManagementService">
     17        <endpoint address="http://127.0.0.1:8888/AuthorizationManagementEndpoint"
     18          binding="basicHttpBinding" bindingConfiguration="" contract="Service.Services.Administration.IAuthorizationManagementService" />
     19        <host>
     20          <baseAddresses>
     21            <add baseAddress="http://localhost:8080/AuthorizationManagement"/>
     22          </baseAddresses>
     23        </host>
     24      </service>
     25    </services>
    726 </system.serviceModel>
    827</configuration>
  • branches/HeuristicLab.Services.Authentication Prototype/Service/Services/Administration/AuthorizationManagementService.cs

    r3971 r3976  
    1010    public void CreateRole(string roleName, bool isPermission) {
    1111      new Service.Provider.HeuristicLabRoleProvider().CreateRole(roleName, isPermission);
     12     
     13
    1214    }
    1315
  • branches/HeuristicLab.Services.Authentication Prototype/UnitTests/UnitTests.csproj

    r3943 r3976  
    6363    <Compile Include="HeuristicLabUserTest.cs" />
    6464    <Compile Include="Properties\AssemblyInfo.cs" />
     65    <Compile Include="Service References\ServiceManagementRemote\Reference.cs">
     66      <AutoGen>True</AutoGen>
     67      <DesignTime>True</DesignTime>
     68      <DependentUpon>Reference.svcmap</DependentUpon>
     69    </Compile>
     70    <Compile Include="service\AbstractHeuristicLabServiceTest.cs" />
     71    <Compile Include="service\HeuristicLabAuthorizationManagementServiceTest_old.cs" />
     72    <Compile Include="service\HeuristicLabManagementServiceTest.cs" />
    6573  </ItemGroup>
    6674  <ItemGroup>
    6775    <Content Include="AuthoringTests.txt" />
     76    <None Include="Service References\ServiceManagementRemote\Reference.svcmap">
     77      <Generator>WCF Proxy Generator</Generator>
     78      <LastGenOutput>Reference.cs</LastGenOutput>
     79    </None>
     80    <None Include="Service References\ServiceManagementRemote\configuration.svcinfo" />
     81    <None Include="Service References\ServiceManagementRemote\configuration91.svcinfo" />
    6882  </ItemGroup>
    6983  <ItemGroup>
     
    8094    <Shadow Include="Test References\Persistence.accessor" />
    8195  </ItemGroup>
     96  <ItemGroup>
     97    <WCFMetadata Include="Service References\" />
     98  </ItemGroup>
     99  <ItemGroup>
     100    <None Include="app.config" />
     101    <None Include="Service References\ServiceManagementRemote\AuthorizationManagementService.wsdl" />
     102    <None Include="Service References\ServiceManagementRemote\metadata.xsd" />
     103    <None Include="Service References\ServiceManagementRemote\metadata1.xsd" />
     104  </ItemGroup>
     105  <ItemGroup>
     106    <WCFMetadataStorage Include="Service References\ServiceManagementRemote\" />
     107  </ItemGroup>
    82108  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
    83109  <!-- 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.