Skip to content

Commit

Permalink
corrected the structure of product order item in the inventory list (#81
Browse files Browse the repository at this point in the history
)
  • Loading branch information
xuelianhan007 authored Nov 7, 2024
1 parent db0cd09 commit 6885516
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,4 @@ spec:
#- classpath:/mock/mapping-matrix/mapping.matrix.inventory.uni.read.yaml
#- classpath:/mock/mapping-matrix/mapping.matrix.inventory.eline.read.yaml
#- classpath:/mock/mapping-matrix/mapping.matrix.inventory.uni.list.yaml
#- classpath:/mock/mapping-matrix/mapping.matrix.inventory.eline.list.yaml
#- classpath:/mock/mapping-matrix/mapping.matrix.inventory.eline.list.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ spec:
"externalId":"${entity.request[externalId]?:''}",
"productRelationship":"${entity.request.productOrderItem[0].product.productRelationship}",
"billingAccount":"${entity.request.productOrderItem[0].billingAccount}",
"productOrderItem":"${entity.renderedResponse.productOrderItem}"
"productOrderItem":[
{
"productOrderHref":"",
"productOrderItemId":"${entity.renderedResponse.productOrderItem[0]['id']}",
"productOrderId":"${entity.renderedResponse['orderId']}"
}
]
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ spec:
"externalId":"${entity.request[externalId]?:''}",
"productRelationship":"${entity.request.productOrderItem[0].product.productRelationship}",
"billingAccount":"${entity.request.productOrderItem[0].billingAccount}",
"productOrderItem":"${entity.renderedResponse.productOrderItem}"
"productOrderItem":[
{
"productOrderHref":"",
"productOrderItemId":"${entity.renderedResponse.productOrderItem[0]['id']}",
"productOrderId":"${entity.renderedResponse['orderId']}"
}
]
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ spec:
"externalId":"${entity.request[externalId]?:''}",
"productRelationship":"${entity.request.productOrderItem[0].product.productRelationship}",
"billingAccount":"${entity.request.productOrderItem[0].billingAccount}",
"productOrderItem":"${entity.renderedResponse.productOrderItem}"
"productOrderItem":[
{
"productOrderHref":"",
"productOrderItemId":"${entity.renderedResponse.productOrderItem[0]['id']}",
"productOrderId":"${entity.renderedResponse['orderId']}"
}
]
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ spec:
{
"id": "${segment}",
"startDate": "@{{startDate}}",
"status": "@{{status}}"
"status": "@{{status}}"
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ spec:
"externalId":"${entity.request[externalId]?:''}",
"productRelationship":"${entity.request.productOrderItem[0].product.productRelationship}",
"billingAccount":"${entity.request.productOrderItem[0].billingAccount}",
"productOrderItem":"${entity.renderedResponse.productOrderItem}"
"productOrderItem":[
{
"productOrderHref":"",
"productOrderItemId":"${entity.renderedResponse.productOrderItem[0]['id']}",
"productOrderId":"${entity.renderedResponse['orderId']}"
}
]
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ spec:
{
"id": "${segment}",
"startDate": "@{{startDate}}",
"status": "@{{status}}"
"status": "@{{status}}"
}

0 comments on commit 6885516

Please sign in to comment.