STARIONGROUP/COMET-SDK-Community-Edition

[Implement] CometTask handling

samatstariongroup opened this issue · 0 comments

Prerequisites

  • I have written a descriptive issue title
  • I have verified that I am running the latest version of the COMET-SDK
  • I have searched open and closed issues to ensure it has not already been reported

Description

In PR STARIONGROUP/COMET-WebServices-Community-Edition#336 there is an implementation to handle long running tasks. This needs to be supported by the SDK.

  • implement in CDP4ServicesDal the waittime query parameter. This query parameter is an integer that specifies how long a POST request may run on the server after which it is executed on the background and the server returns a CometTask instance
  • implement CometTask (de)serialization
  • Implement a method to query a specific task or all tasks of the current user

please check POSt handling server side in the SiteDirectory and EngineeringModel CarterModules as well as the new Task Module