Skip to content

Commit

Permalink
fix completionDate issue
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiyaoPCCW committed Nov 20, 2024
1 parent d31eec6 commit 43a93b1
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,14 @@ spec:
description: ""
source: ""
sourceLocation: "BODY"
target: "@{{productOrderItem[0].completeDate}}"
target: "@{{productOrderItem[0].completionDate}}"
targetLocation: "BODY"
requiredMapping: false
- name: mapper.order.eline.read.delete.productOrderItem.expectedCompleteDate
title: "order item expected complete date"
description: ""
source: ""
sourceLocation: "BODY"
target: "@{{productOrderItem[0].expectedCompleteDate}}"
target: "@{{productOrderItem[0].expectedCompletionDate}}"
targetLocation: "BODY"
requiredMapping: false
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,14 @@ spec:
description: ""
source: ""
sourceLocation: "BODY"
target: "@{{productOrderItem[0].completeDate}}"
target: "@{{productOrderItem[0].completionDate}}"
targetLocation: "BODY"
requiredMapping: false
- name: mapper.order.eline.read.productOrderItem.expectedCompleteDate
title: "order item expected complete date"
description: ""
source: ""
sourceLocation: "BODY"
target: "@{{productOrderItem[0].expectedCompleteDate}}"
target: "@{{productOrderItem[0].expectedCompletionDate}}"
targetLocation: "BODY"
requiredMapping: false
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,14 @@ spec:
description: ""
source: ""
sourceLocation: "BODY"
target: "@{{productOrderItem[0].completeDate}}"
target: "@{{productOrderItem[0].completionDate}}"
targetLocation: "BODY"
requiredMapping: false
- name: mapper.order.uni.read.delete.productOrderItem.expectedCompleteDate
title: "order item expected complete date"
description: ""
source: ""
sourceLocation: "BODY"
target: "@{{productOrderItem[0].expectedCompleteDate}}"
target: "@{{productOrderItem[0].expectedCompletionDate}}"
targetLocation: "BODY"
requiredMapping: false
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,14 @@ spec:
description: ""
source: ""
sourceLocation: "BODY"
target: "@{{productOrderItem[0].completeDate}}"
target: "@{{productOrderItem[0].completionDate}}"
targetLocation: "BODY"
requiredMapping: false
- name: mapper.order.uni.read.productOrderItem.expectedCompleteDate
title: "order item expected complete date"
description: ""
source: ""
sourceLocation: "BODY"
target: "@{{productOrderItem[0].expectedCompleteDate}}"
target: "@{{productOrderItem[0].expectedCompletionDate}}"
targetLocation: "BODY"
requiredMapping: false
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ spec:
"requestedItemTerm": "${entity.renderedResponse.productOrderItem[0].requestedItemTerm}",
"tspRestorationPriority": "${entity.renderedResponse.productOrderItem[0].tspRestorationPriority}",
"charge": "${entity.renderedResponse.productOrderItem[0].charge}",
"completionDate": "((mefResponseBody.state=='completed'?mefResponseBody.completionDate:null))",
"expectedCompletionDate": "${entity.renderedResponse.productOrderItem[0].requestedCompletionDate}",
"expediteAcceptedIndicator": "${entity.renderedResponse.productOrderItem[0].expediteIndicator}",
"itemTerm": "${entity.renderedResponse.productOrderItem[0].itemTerm}",
"milestone": "${entity.renderedResponse.productOrderItem[0].milestone}",
Expand All @@ -65,6 +63,5 @@ spec:
"orderDate":"${entity.renderedResponse.orderDate}",
"state": "",
"orderId": "${entity.renderedResponse.orderId}",
"completionDate": "((mefResponseBody.state=='completed'?mefResponseBody.completionDate:null))",
"instanceId": ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ spec:
"requestedItemTerm": "${entity.renderedResponse.productOrderItem[0].requestedItemTerm}",
"tspRestorationPriority": "${entity.renderedResponse.productOrderItem[0].tspRestorationPriority}",
"charge": "${entity.renderedResponse.productOrderItem[0].charge}",
"completionDate": "((mefResponseBody.state=='completed'?mefResponseBody.completionDate:null))",
"expectedCompletionDate": "${entity.renderedResponse.productOrderItem[0].requestedCompletionDate}",
"expediteAcceptedIndicator": "${entity.renderedResponse.productOrderItem[0].expediteIndicator}",
"itemTerm": "${entity.renderedResponse.productOrderItem[0].itemTerm}",
"milestone": "${entity.renderedResponse.productOrderItem[0].milestone}",
Expand All @@ -64,6 +62,5 @@ spec:
"orderDate":"${entity.renderedResponse.orderDate}",
"state": "",
"orderId": "${entity.renderedResponse.orderId}",
"completionDate": "((mefResponseBody.state=='completed'?mefResponseBody.completionDate:null))",
"instanceId": ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ spec:
"requestedItemTerm": "${entity.renderedResponse.productOrderItem[0].requestedItemTerm}",
"tspRestorationPriority": "${entity.renderedResponse.productOrderItem[0].tspRestorationPriority}",
"charge": "${entity.renderedResponse.productOrderItem[0].charge}",
"completionDate": "((mefResponseBody.state=='completed'?mefResponseBody.completionDate:null))",
"expectedCompletionDate": "${entity.renderedResponse.productOrderItem[0].requestedCompletionDate}",
"expediteAcceptedIndicator": "${entity.renderedResponse.productOrderItem[0].expediteIndicator}",
"itemTerm": "${entity.renderedResponse.productOrderItem[0].itemTerm}",
"milestone": "${entity.renderedResponse.productOrderItem[0].milestone}",
Expand All @@ -65,6 +63,5 @@ spec:
"orderDate":"${entity.renderedResponse.orderDate}",
"state": "",
"orderId": "${entity.renderedResponse.orderId}",
"completionDate": "((mefResponseBody.state=='completed'?mefResponseBody.completionDate:null))",
"instanceId": ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ spec:
"requestedItemTerm": "${entity.renderedResponse.productOrderItem[0].requestedItemTerm}",
"tspRestorationPriority": "${entity.renderedResponse.productOrderItem[0].tspRestorationPriority}",
"charge": "${entity.renderedResponse.productOrderItem[0].charge}",
"completionDate": "((mefResponseBody.state=='completed'?mefResponseBody.completionDate:null))",
"expectedCompletionDate": "${entity.renderedResponse.productOrderItem[0].requestedCompletionDate}",
"expediteAcceptedIndicator": "${entity.renderedResponse.productOrderItem[0].expediteIndicator}",
"itemTerm": "${entity.renderedResponse.productOrderItem[0].itemTerm}",
"milestone": "${entity.renderedResponse.productOrderItem[0].milestone}",
Expand All @@ -64,6 +62,5 @@ spec:
"orderDate":"${entity.renderedResponse.orderDate}",
"state": "",
"orderId": "${entity.renderedResponse.orderId}",
"completionDate": "((mefResponseBody.state=='completed'?mefResponseBody.completionDate:null))",
"instanceId": ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ spec:
- classpath:/mef-sonata/mapping-matrix/mapping.matrix.inventory.eline.read.yaml
- classpath:/mef-sonata/mapping-matrix/mapping.matrix.inventory.uni.list.yaml
- classpath:/mef-sonata/mapping-matrix/mapping.matrix.inventory.eline.list.yaml
- classpath:/mef-sonata/template-upgrade/release.1.5.17.yaml
- classpath:/mef-sonata/template-upgrade/release.1.5.18.yaml


templateUpgradePaths:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
kind: kraken.product.template-upgrade
apiVersion: v1
metadata:
key: kraken.product.template-upgrade.1.5.17
name: V1.5.17
key: kraken.product.template-upgrade.1.5.18
name: V1.5.18
labels:
productSpec: grace
productVersion: V1.5.17
productVersion: V1.5.18
publishDate: 2024-11-20
description: |
Added negative validation for price value in quote list
Remove completionDate logic in kraken
version: 2

0 comments on commit 43a93b1

Please sign in to comment.