-
Bug
-
Resolution: Done
-
High
-
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);