Implement switchable feedback storage mechanism

Uncategorized

Scripting API changes

  1. TenForce.Execution.Scripting.FeedbackManager
    • Obsolete (marked as obsolete 5 years ago) members are removed:

      static FeedbackManager Instance { get; }

      IFeedbackIdProvider IdProvider { get; set; }
      FeedbackQueue Get()
      FeedbackQueue Get(object id)
      FeedbackQueue GetQueue(object id)
       

    • Methods to cover functionality of removed members are added:

      static List<FeedbackMessage> CollectFeedback()
      static List<FeedbackMessage> CollectFeedback(String feedbackKey)

      static FeedbackReturnValue GetData(String dataKey)
      static Void ClearData()
       

    • The rest functionality was already covered by existing FeedbackManager members
       
  2. TenForce.Execution.Scripting.ThreadDataSecificParamters is renamed to ThreadDataSpecificParameters
  3. TenForce.Execution.Scripting.FeedbackQueue is removed

Functional changes

If Redis flag is set to true in application configuration it will not only enable the Redis cache but also will enable Redis-based storage for the feedback.