Uploaded image for project: 'External API Framework'
  1. External API Framework
  2. EXTAPI-66

Missing requestorId in requestInfo of the SO request as part of NBI serviceOrder

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: High High
    • Beijing Release
    • Beijing Release
    • None
    • None

      Currently, requestorId in requestInfo is missing from the SO request:

      "requestInfo": {
      {{ "instanceName": "vFW0001",}}
      {{ "productFamilyId": null,}}
      {{ "source": "VID",}}
      {{ "suppressRollback": false}}
      {{ },}}

       

      This file needs to be changed :

      src/main/java/org/onap/nbi/apis/serviceorder/model/consumer/RequestInfo.java

      <     private String requestorId;

      47,54d60

      <     public String getRequestorId() {

      <         return requestorId;

      <     }

      <     public void setRequestorId(String requestorId) {

      <         this.requestorId = requestorId;

      <     }

      58,59c64

      <                 + ", source='" + source + '\'' + ", suppressRollback=" + suppressRollback +  '\''

      <                 + ", requestorId='" + requestorId + '}';

      >                 + ", source='" + source + '\'' + ", suppressRollback=" + suppressRollback + '}';

      And also this one (for my testing I set the value to NBI, but could be a random UUID or something that maps to the order id):

      src/main/java/org/onap/nbi/apis/serviceorder/workflow/SOTaskProcessor.java

      requestInfo.setSuppressRollback(false);
      requestInfo.setRequestorId("NBI");
      requestDetails.setRequestInfo(requestInfo);

       

            nilap nilap
            chiarelloa chiarelloa
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: