Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/20/11 14:16:53 (13 years ago)
Author:
cneumuel
Message:

#1233

  • renamed UptimeCalendar and Appointment to Downtime
  • added service methods to delete plugins and get plugin by hash
  • made reverted TransactionManager change, made it non-static and added interface
  • moved magic numbers to application settings
Location:
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.Common/3.4
Files:
4 added
5 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.Common/3.4/HeuristicLab.Services.Hive.Common-3.4.csproj

    r6369 r6452  
    9494  </ItemGroup>
    9595  <ItemGroup>
    96     <Compile Include="ApplicationConstants.cs" />
    9796    <Compile Include="DataTransfer\SlaveStatistics.cs" />
    9897    <Compile Include="DataTransfer\Statistics.cs" />
    9998    <Compile Include="DataTransfer\UserStatistics.cs" />
     99    <Compile Include="ITransactionManager.cs" />
    100100    <Compile Include="ServiceFaults\PluginAlreadyExistsFault.cs" />
     101    <Compile Include="Settings.Designer.cs">
     102      <AutoGen>True</AutoGen>
     103      <DesignTimeSharedInput>True</DesignTimeSharedInput>
     104      <DependentUpon>Settings.settings</DependentUpon>
     105    </Compile>
     106    <None Include="app.config" />
    101107    <None Include="HeuristicLabServicesHiveCommonPlugin.cs.frame" />
    102     <Compile Include="DataTransfer\Appointment.cs" />
     108    <Compile Include="DataTransfer\Downtime.cs" />
    103109    <Compile Include="DataTransfer\Command.cs" />
    104110    <Compile Include="DataTransfer\HiveExperimentPermission.cs" />
     
    125131    <None Include="Properties\AssemblyInfo.cs.frame" />
    126132    <Compile Include="ServiceContracts\IHiveService.cs" />
     133    <None Include="Settings.settings">
     134      <Generator>PublicSettingsSingleFileGenerator</Generator>
     135      <LastGenOutput>Settings.Designer.cs</LastGenOutput>
     136    </None>
    127137  </ItemGroup>
    128138  <ItemGroup>
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.Common/3.4/ServiceContracts/IHiveService.cs

    r6431 r6452  
    127127    Plugin GetPlugin(Guid pluginId);
    128128    [OperationContract]
     129    Plugin GetPluginByHash(byte[] hash);
     130    [OperationContract]
    129131    [FaultContract(typeof(PluginAlreadyExistsFault))]
    130132    Guid AddPlugin(Plugin plugin, List<PluginData> pluginData);
     
    133135    [OperationContract]
    134136    IEnumerable<PluginData> GetPluginDatas(List<Guid> pluginIds);
     137    [OperationContract]
     138    void DeletePlugin(Guid pluginId);
    135139    #endregion
    136140
     
    182186    #endregion
    183187
    184     #region Appointment Methods
    185     [OperationContract]
    186     Guid AddAppointment(Appointment appointment);
    187 
    188     [OperationContract]
    189     void DeleteAppointment(Guid appointmentId);
    190 
    191     [OperationContract]
    192     void UpdateAppointment(Appointment appointment);
    193 
    194     [OperationContract]
    195     IEnumerable<Appointment> GetScheduleForResource(Guid resourceId);
     188    #region Downtime Methods
     189    [OperationContract]
     190    Guid AddDowntime(Downtime downtime);
     191
     192    [OperationContract]
     193    void DeleteDowntime(Guid downtimeId);
     194
     195    [OperationContract]
     196    void UpdateDowntime(Downtime downtime);
     197
     198    [OperationContract]
     199    IEnumerable<Downtime> GetDowntimesForResource(Guid resourceId);
    196200    #endregion
    197201  }
Note: See TracChangeset for help on using the changeset viewer.