Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/09/10 17:24:13 (15 years ago)
Author:
gkronber
Message:

Implemented and tested rudimentary WCF service interface on top of the Linq2Sql data access layer. #860

Location:
branches/DeploymentServer Prototype/HeuristicLab.Services/HeuristicLab.Services.Deployment
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • branches/DeploymentServer Prototype/HeuristicLab.Services/HeuristicLab.Services.Deployment

    • Property svn:ignore
      •  

        old new  
        22obj
        33*.user
         4*.svclog
  • branches/DeploymentServer Prototype/HeuristicLab.Services/HeuristicLab.Services.Deployment/Admin.cs

    r2742 r2771  
    1212    #region IAdmin Members
    1313
    14     public void StoreProduct(ProductDescription product) {
     14    public void DeployProduct(ProductDescription product) {
    1515      var store = new PluginStore();
    1616      store.Persist(product);
  • branches/DeploymentServer Prototype/HeuristicLab.Services/HeuristicLab.Services.Deployment/App.config

    r2742 r2771  
    33  <configSections>
    44  </configSections>
     5  <system.diagnostics>
     6    <sources>
     7      <source name="System.ServiceModel.MessageLogging" switchValue="Warning, ActivityTracing">
     8        <listeners>
     9          <add type="System.Diagnostics.DefaultTraceListener" name="Default">
     10            <filter type="" />
     11          </add>
     12          <add name="ServiceModelMessageLoggingListener">
     13            <filter type="" />
     14          </add>
     15        </listeners>
     16      </source>
     17      <source name="System.ServiceModel" switchValue="Warning, ActivityTracing"
     18        propagateActivity="true">
     19        <listeners>
     20          <add type="System.Diagnostics.DefaultTraceListener" name="Default">
     21            <filter type="" />
     22          </add>
     23          <add name="ServiceModelTraceListener">
     24            <filter type="" />
     25          </add>
     26        </listeners>
     27      </source>
     28    </sources>
     29    <sharedListeners>
     30      <add initializeData="c:\users\p40086\documents\heuristiclab\hl3-core\branches\deploymentserver prototype\heuristiclab.services\heuristiclab.services.deployment\app_messages.svclog"
     31        type="System.Diagnostics.XmlWriterTraceListener, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
     32        name="ServiceModelMessageLoggingListener" traceOutputOptions="Timestamp">
     33        <filter type="" />
     34      </add>
     35      <add initializeData="c:\users\p40086\documents\heuristiclab\hl3-core\branches\deploymentserver prototype\heuristiclab.services\heuristiclab.services.deployment\app_tracelog.svclog"
     36        type="System.Diagnostics.XmlWriterTraceListener, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
     37        name="ServiceModelTraceListener" traceOutputOptions="Timestamp">
     38        <filter type="" />
     39      </add>
     40    </sharedListeners>
     41  </system.diagnostics>
    542  <connectionStrings>
    643    <add name="HeuristicLab.Services.Deployment.Properties.Settings.HeuristicLab_PluginStoreConnectionString"
     
    1451  app.config file. System.Configuration does not support config files for libraries. -->
    1552  <system.serviceModel>
     53    <bindings>
     54      <wsHttpBinding>
     55        <binding name="DefaultWsHttpBinding" maxBufferPoolSize="10000000"
     56          maxReceivedMessageSize="1000000">
     57          <readerQuotas maxDepth="1000" maxStringContentLength="16000"
     58            maxArrayLength="10000000" maxBytesPerRead="10000000" maxNameTableCharCount="16000" />
     59        </binding>
     60      </wsHttpBinding>
     61      <mexHttpBinding>
     62        <binding name="DefaultMexHttpBinding" />
     63      </mexHttpBinding>
     64    </bindings>
     65    <diagnostics performanceCounters="Default">
     66      <messageLogging logMalformedMessages="true" logMessagesAtTransportLevel="true" />
     67    </diagnostics>
    1668    <services>
    1769      <service behaviorConfiguration="HeuristicLab.Services.Deployment.UpdateBehavior"
    1870        name="HeuristicLab.Services.Deployment.Update">
    19         <endpoint address="" binding="wsHttpBinding" contract="HeuristicLab.Services.Deployment.IUpdate">
     71        <endpoint address="" binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding"
     72          contract="HeuristicLab.Services.Deployment.IUpdate">
    2073          <identity>
    2174            <dns value="localhost" />
    2275          </identity>
    2376        </endpoint>
    24         <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
     77        <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexHttpBinding"
     78          contract="IMetadataExchange" />
    2579        <host>
    2680          <baseAddresses>
     
    3185      <service behaviorConfiguration="HeuristicLab.Services.Deployment.AdminBehavior"
    3286        name="HeuristicLab.Services.Deployment.Admin">
    33         <endpoint address="" binding="wsHttpBinding" contract="HeuristicLab.Services.Deployment.IAdmin">
     87        <endpoint address="" binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding"
     88          contract="HeuristicLab.Services.Deployment.IAdmin">
    3489          <identity>
    3590            <dns value="localhost" />
    3691          </identity>
    3792        </endpoint>
    38         <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
     93        <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexHttpBinding"
     94          contract="IMetadataExchange" />
    3995        <host>
    4096          <baseAddresses>
  • branches/DeploymentServer Prototype/HeuristicLab.Services/HeuristicLab.Services.Deployment/IAdmin.cs

    r2742 r2771  
    1212  public interface IAdmin {
    1313    [OperationContract]
    14     void StoreProduct(ProductDescription product);
     14    void DeployProduct(ProductDescription product);
    1515
    1616    [OperationContract]
  • branches/DeploymentServer Prototype/HeuristicLab.Services/HeuristicLab.Services.Deployment/IUpdate.cs

    r2742 r2771  
    1717    IEnumerable<ProductDescription> GetProducts();
    1818
     19    [OperationContract]
     20    IEnumerable<PluginDescription> GetPlugins();
    1921  }
    2022}
  • branches/DeploymentServer Prototype/HeuristicLab.Services/HeuristicLab.Services.Deployment/Update.cs

    r2742 r2771  
    2323    }
    2424
     25    public IEnumerable<PluginDescription> GetPlugins() {
     26      PluginStore store = new PluginStore();
     27      return store.Plugins;
     28    }
     29
    2530    #endregion
    2631  }
Note: See TracChangeset for help on using the changeset viewer.