Uploaded image for project: 'Configuration Persistence Service'
  1. Configuration Persistence Service
  2. CPS-2159

Review use of @Async in CPS and NCMP

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Medium Medium
    • New Delhi Release
    • None
    • CPS-Core, NCMP
    • None

      Async annotation is used in two classes in NCMP:

      1. org.onap.cps.ncmp.api.impl.utils.data.operation.ResourceDataOperationRequestUtils#publishErrorMessageToClientTopic
      2. org.onap.cps.ncmp.api.impl.events.lcm.LcmEventsCmHandleStateHandlerAsyncHelper

      In case 1, Async has no effect as it only applies to public instance methods of Spring-managed beans.

      In case 2, it is likely not needed.

            mpriyank Priyank Maheshwari
            danielhanrahan Daniel Hanrahan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: