Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/14/10 16:52:55 (14 years ago)
Author:
cneumuel
Message:

#1233

  • made MockJob to execute asynchronously with the option to spinWait
  • added methods to IHiveService
  • implemented methods for Slave handling in HiveService
  • added more tests for server
  • changed db-schema of slaves and slavegroups
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.Common/3.4/ServiceContracts/IHiveService.cs

    r5101 r5106  
    3737    [OperationContract]
    3838    void UpdateJob(Job jobDto, JobData jobDataDto);
     39
     40    [OperationContract]
     41    void DeleteJob(Guid jobId);
    3942
    4043    [OperationContract]
     
    107110
    108111    [OperationContract]
     112    Slave GetSlave(Guid slaveId);
     113
     114    [OperationContract]
     115    SlaveGroup GetSlaveGroup(Guid slaveGroupId);
     116
     117    [OperationContract]
    109118    IEnumerable<Slave> GetSlaves();
    110    
     119
    111120    [OperationContract]
    112     [ServiceKnownType(typeof(Resource))]
    113     [ServiceKnownType(typeof(Slave))]
    114     [ServiceKnownType(typeof(SlaveGroup))]
    115121    IEnumerable<SlaveGroup> GetSlaveGroups();
    116122
    117123    [OperationContract]
    118     void DeleteSlaveGroup(Guid clientGroupId);
     124    void UpdateSlave(Slave slave);
    119125
    120126    [OperationContract]
    121     [ServiceKnownType(typeof(Resource))]
    122     [ServiceKnownType(typeof(Slave))]
    123     [ServiceKnownType(typeof(SlaveGroup))]
    124     void AddResourceToGroup(Guid slaveGroupId, Resource resource);
     127    void UpdateSlaveGroup(SlaveGroup slaveGroup);
     128
     129    [OperationContract]
     130    void DeleteSlave(Guid slaveId);
     131
     132    [OperationContract]
     133    void DeleteSlaveGroup(Guid slaveGroupId);
     134
     135    [OperationContract]
     136    void AddResourceToGroup(Guid slaveGroupId, Guid resourceId);
    125137
    126138    [OperationContract]
    127139    void RemoveResourceFromGroup(Guid slaveGroupId, Guid resourceId);
    128140
    129     [OperationContract]
    130     void UpdateSlave(Slave slave);
    131141    #endregion
    132142
Note: See TracChangeset for help on using the changeset viewer.