Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/22/10 16:53:27 (15 years ago)
Author:
gkronber
Message:

Improved controls for deployment service interaction.
Increased max values for message sizes and related limits in the deployment service configuration.
Recreated proxy classes for the deployment service.

#891 (Refactor GUI for plugin management)

Location:
trunk/sources/HeuristicLab.PluginInfrastructure
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.PluginInfrastructure/Advanced/DeploymentService/DeploymentService.cs

    r3092 r3179  
    1 #pragma warning disable 1591
    2 //------------------------------------------------------------------------------
     1//------------------------------------------------------------------------------
    32// <auto-generated>
    43//     This code was generated by a tool.
     
    314313    }
    315314}
    316 #pragma warning restore 1591
  • trunk/sources/HeuristicLab.PluginInfrastructure/Advanced/DeploymentService/PluginDescription.cs

    r3092 r3179  
    104104      return Name + " " + Version;
    105105    }
     106
     107    public override bool Equals(object obj) {
     108      PluginDescription other = obj as PluginDescription;
     109      if (other == null) return false;
     110      else return other.Name == this.Name && other.Version == this.Version;
     111    }
     112
     113    public override int GetHashCode() {
     114      return Name.GetHashCode() + Version.GetHashCode();
     115    }
    106116  }
    107117}
  • trunk/sources/HeuristicLab.PluginInfrastructure/Advanced/DeploymentService/RegenerateServiceClasses.cmd

    r3006 r3179  
    11#
    2 svcutil http://servdev.heuristiclab.com/Deployment/Update.svc/mex http://servdev.heuristiclab.com/Deployment/Admin.svc/mex  /language:C# /targetClientVersion:Version35 /out:DeploymentService /namespace:*,HeuristicLab.PluginInfrastructure.Advanced.DeploymentService /mergeConfig /config:../../app.config
     2svcutil http://servdev.heuristiclab.com/Deployment-3.3/Update.svc/mex http://servdev.heuristiclab.com/Deployment-3.3/Admin.svc/mex  /language:C# /targetClientVersion:Version35 /out:DeploymentService /namespace:*,HeuristicLab.PluginInfrastructure.Advanced.DeploymentService /mergeConfig /config:../../app.config
  • trunk/sources/HeuristicLab.PluginInfrastructure/Advanced/InstallationManagerForm.cs

    r3090 r3179  
    336336      Cursor = Cursors.AppStarting;
    337337      toolStripProgressBar.Visible = true;
    338       DisableControls();
     338      refreshButton.Enabled = false;
    339339      refreshServerPluginsBackgroundWorker.RunWorkerAsync();
    340340    }
     
    378378      (new ConnectionSetupView()).ShowInForm();
    379379    }
     380
     381    protected override void OnClosing(CancelEventArgs e) {
     382      installationManager.PluginInstalled -= new EventHandler<PluginInfrastructureEventArgs>(installationManager_PluginInstalled);
     383      installationManager.PluginRemoved -= new EventHandler<PluginInfrastructureEventArgs>(installationManager_PluginRemoved);
     384      installationManager.PluginUpdated -= new EventHandler<PluginInfrastructureEventArgs>(installationManager_PluginUpdated);
     385      installationManager.PreInstallPlugin -= new EventHandler<PluginInfrastructureCancelEventArgs>(installationManager_PreInstallPlugin);
     386      installationManager.PreRemovePlugin -= new EventHandler<PluginInfrastructureCancelEventArgs>(installationManager_PreRemovePlugin);
     387      installationManager.PreUpdatePlugin -= new EventHandler<PluginInfrastructureCancelEventArgs>(installationManager_PreUpdatePlugin);
     388      base.OnClosing(e);
     389    }
    380390  }
    381391}
  • trunk/sources/HeuristicLab.PluginInfrastructure/Manager/PluginInfrastructureEventArgs.cs

    r3046 r3179  
    2525
    2626namespace HeuristicLab.PluginInfrastructure.Manager {
    27   // to be replaced by GenericEventArgs
    2827  [Serializable]
    2928  internal sealed class PluginInfrastructureEventArgs : EventArgs {
  • trunk/sources/HeuristicLab.PluginInfrastructure/app.config

    r3112 r3179  
    2020    </applicationSettings>
    2121    <system.serviceModel>
     22        <behaviors>
     23            <endpointBehaviors>
     24                <behavior name="SerializationBehavior">
     25                    <dataContractSerializer maxItemsInObjectGraph="1000000" />
     26                </behavior>
     27            </endpointBehaviors>
     28        </behaviors>
    2229        <bindings>
    2330            <wsHttpBinding>
    24                 <binding name="WSHttpBinding_IUpdate" closeTimeout="00:01:00"
     31                <binding name="WSHttpBinding_IUpdate1" closeTimeout="00:01:00"
    2532                    openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
    2633                    bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
    27                     maxBufferPoolSize="524288" maxReceivedMessageSize="10000000"
     34                    maxBufferPoolSize="524288" maxReceivedMessageSize="200000000"
    2835                    messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true"
    2936                    allowCookies="false">
    30                     <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="10000000"
     37                    <readerQuotas maxDepth="32" maxStringContentLength="32000" maxArrayLength="200000000"
    3138                        maxBytesPerRead="4096" maxNameTableCharCount="16384" />
    3239                    <reliableSession ordered="true" inactivityTimeout="00:10:00"
     
    3946                    </security>
    4047                </binding>
    41                 <binding name="WSHttpBinding_IAdmin" closeTimeout="00:01:00"
     48                <binding name="WSHttpBinding_IAdmin1" closeTimeout="00:01:00"
    4249                    openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
    4350                    bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
    44                     maxBufferPoolSize="524288" maxReceivedMessageSize="10000000"
     51                    maxBufferPoolSize="524288" maxReceivedMessageSize="200000000"
    4552                    messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true"
    4653                    allowCookies="false">
    47                     <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="10000000"
     54                    <readerQuotas maxDepth="32" maxStringContentLength="32000" maxArrayLength="200000000"
    4855                        maxBytesPerRead="4096" maxNameTableCharCount="16384" />
    4956                    <reliableSession ordered="true" inactivityTimeout="00:10:00"
     
    6067        <client>
    6168            <endpoint address="http://servdev.heuristiclab.com/Deployment-3.3/Update.svc"
    62                 binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IUpdate"
    63                 contract="HeuristicLab.PluginInfrastructure.Advanced.DeploymentService.IUpdate"
    64                 name="WSHttpBinding_IUpdate">
     69                behaviorConfiguration="SerializationBehavior" binding="wsHttpBinding"
     70                bindingConfiguration="WSHttpBinding_IUpdate1" contract="HeuristicLab.PluginInfrastructure.Advanced.DeploymentService.IUpdate"
     71                name="WSHttpBinding_IUpdate1">
    6572                <identity>
    6673                    <certificate encodedValue="AwAAAAEAAAAUAAAAFhNc5P5CrrUsDAETV1gq2wDRXQ0gAAAAAQAAACcCAAAwggIjMIIBjKADAgECAhCnTkk2TwtajEKLiJLyjCpwMA0GCSqGSIb3DQEBBAUAMCMxITAfBgNVBAMTGHNlcnZkZXYuaGV1cmlzdGljbGFiLmNvbTAeFw0xMDAzMTAxNTI4MTJaFw0zOTEyMzEyMzU5NTlaMCMxITAfBgNVBAMTGHNlcnZkZXYuaGV1cmlzdGljbGFiLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEArJSMi2lAXj/Z9sMiLjiUmqUfNSfozaio/mjR6PxbDPBWZp6xTFdDLnBx+kHMBp+gc75hMI6wCFHB8PYud8tHMgJFDssGBUZkEN2vFZ0h41efyXo9U0o90KVFWFBQWOz+Opnalqohh8qHnOczo1zabeLFf79pC81Y6QGNkSyQcikCAwEAAaNYMFYwVAYDVR0BBE0wS4AQ1x+ArbPOrv0XwUivnGidCKElMCMxITAfBgNVBAMTGHNlcnZkZXYuaGV1cmlzdGljbGFiLmNvbYIQp05JNk8LWoxCi4iS8owqcDANBgkqhkiG9w0BAQQFAAOBgQBU8cGNgEnkWLs3v433WBC2Sl6BiPk6IchsqfxECp1Q4j/gqsIe9xRNnjxD5YEj0HGdqjrKBwF8XrOXPgyXQXfM4ju3INGLSJ1WH/oODbgbKnqQ/7TSJ++y1x0lnDgh+ibqjchsrBrqzKfkBNOa4B3g1M9q1eNVDOyGWu7GiZAUTA==" />
     
    6875            </endpoint>
    6976            <endpoint address="http://servdev.heuristiclab.com/Deployment-3.3/Admin.svc"
    70                 binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IAdmin"
    71                 contract="HeuristicLab.PluginInfrastructure.Advanced.DeploymentService.IAdmin"
    72                 name="WSHttpBinding_IAdmin">
     77                behaviorConfiguration="SerializationBehavior" binding="wsHttpBinding"
     78                bindingConfiguration="WSHttpBinding_IAdmin1" contract="HeuristicLab.PluginInfrastructure.Advanced.DeploymentService.IAdmin"
     79                name="WSHttpBinding_IAdmin1">
    7380                <identity>
    7481                    <certificate encodedValue="AwAAAAEAAAAUAAAAFhNc5P5CrrUsDAETV1gq2wDRXQ0gAAAAAQAAACcCAAAwggIjMIIBjKADAgECAhCnTkk2TwtajEKLiJLyjCpwMA0GCSqGSIb3DQEBBAUAMCMxITAfBgNVBAMTGHNlcnZkZXYuaGV1cmlzdGljbGFiLmNvbTAeFw0xMDAzMTAxNTI4MTJaFw0zOTEyMzEyMzU5NTlaMCMxITAfBgNVBAMTGHNlcnZkZXYuaGV1cmlzdGljbGFiLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEArJSMi2lAXj/Z9sMiLjiUmqUfNSfozaio/mjR6PxbDPBWZp6xTFdDLnBx+kHMBp+gc75hMI6wCFHB8PYud8tHMgJFDssGBUZkEN2vFZ0h41efyXo9U0o90KVFWFBQWOz+Opnalqohh8qHnOczo1zabeLFf79pC81Y6QGNkSyQcikCAwEAAaNYMFYwVAYDVR0BBE0wS4AQ1x+ArbPOrv0XwUivnGidCKElMCMxITAfBgNVBAMTGHNlcnZkZXYuaGV1cmlzdGljbGFiLmNvbYIQp05JNk8LWoxCi4iS8owqcDANBgkqhkiG9w0BAQQFAAOBgQBU8cGNgEnkWLs3v433WBC2Sl6BiPk6IchsqfxECp1Q4j/gqsIe9xRNnjxD5YEj0HGdqjrKBwF8XrOXPgyXQXfM4ju3INGLSJ1WH/oODbgbKnqQ/7TSJ++y1x0lnDgh+ibqjchsrBrqzKfkBNOa4B3g1M9q1eNVDOyGWu7GiZAUTA==" />
Note: See TracChangeset for help on using the changeset viewer.