Skip to content

Commit

Permalink
Merge branch 'main' into jarek/kraken-250_shed_lock
Browse files Browse the repository at this point in the history
  • Loading branch information
kuangxiang20240501 authored Dec 23, 2024
2 parents b04a20d + b4284e6 commit 914d63b
Show file tree
Hide file tree
Showing 54 changed files with 642 additions and 560 deletions.
23 changes: 23 additions & 0 deletions FEATURE_ROADMAP.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
## 2.0

### Target Release Date
- March, 2025

### Planned Feature List

- Sonata Property Type validation
- Allow user to Limit Sonata property values
- Support Mapping templates for Product Offering Qualification
- Support Mapping templates for Basic Internet Access
- Support one to many mapping between Sonata API and Seller API


## 3.0

### Target Release Date
- June, 2025

### Planned Feature List
- to be determined


Original file line number Diff line number Diff line change
Expand Up @@ -21,25 +21,25 @@ spec:
request:
- name: mapper.order.eline.add.buyerId
title: The unique identifier of the organization that is acting as the a Buyer.
source: "@{{buyerId}}"
target: "@{{username}}"
description:
source: "@{{buyerId}}"
replaceStar: true
sourceLocation: QUERY
target: "@{{username}}"
targetLocation: PATH
customizedField: false
requiredMapping: false
- name: mapper.order.eline.add.duration
title: "order item Term duration"
source: "@{{productOrderItem[0].requestedItemTerm.duration.amount}}"
target: "@{{duration}}"
sourceLocation: BODY
sourceType: constantNumber
target: "@{{duration}}"
targetLocation: BODY
requiredMapping: true
- name: mapper.order.eline.add.duration.unit
title: "order item Term unit"
source: "@{{productOrderItem[0].requestedItemTerm.duration.units}}"
target: "@{{durationUnit}}"
sourceType: enum
sourceValues:
- calendarMonths
Expand All @@ -49,6 +49,7 @@ spec:
- businessDays
- businessHours
sourceLocation: BODY
target: "@{{durationUnit}}"
targetLocation: BODY
valueMapping:
calendarMonths: m
Expand All @@ -57,22 +58,38 @@ spec:
- name: mapper.order.eline.add.endOfTermAction
title: "MEFEndOfTermAction"
source: "@{{productOrderItem[0].requestedItemTerm.endOfTermAction}}"
target: "roll"
sourceLocation: BODY
sourceType: enum
sourceValues:
- roll
- autoDisconnect
- autoRenew
target: "roll"
targetLocation: BODY
requiredMapping: true
- name: mapper.order.eline.add.rollInterval.amount
title: " quote item Term roll duration"
source: "@{{productOrderItem[0].requestedItemTerm.rollInterval.amount}}"
target: ""
sourceLocation: BODY
sourceType: constantNumber
target: ""
targetLocation: BODY
requiredMapping: false
- name: mapper.order.eline.add.rollInterval.units
title: " quote item Term roll unit"
source: "@{{productOrderItem[0].requestedItemTerm.rollInterval.units}}"
target: ""
sourceLocation: BODY
sourceType: enum
sourceValues:
- calendarYears
- calendarMonths
- calendarDays
- calendarHours
- calendarMinutes
- businessDays
- businessHours
- businessMinutes
target: ""
targetLocation: BODY
requiredMapping: false
- name: mapper.order.eline.add.bandwidthUnit
Expand All @@ -82,83 +99,92 @@ spec:
sourceValues:
- MBPS
- GBPS
target: "MBPS"
sourceLocation: BODY
target: "MBPS"
targetLocation: BODY
valueMapping: {}
requiredMapping: true
- name: mapper.order.eline.add.bandwidth
title: "Bandwidth of the ELINE"
source: "@{{productOrderItem[0].product.productConfiguration.bandwidth}}"
target: "@{{speed}}"
sourceLocation: BODY
sourceType: discreteInt
sourceValues:
- 1000
- 10000
target: "@{{speed}}"
targetLocation: BODY
requiredMapping: true
- name: mapper.order.eline.add.name
title: "The name of the ELINE"
source: "@{{productOrderItem[0].product.productConfiguration.name}}"
target: "@{{name}}"
sourceLocation: BODY
sourceType: discreteStr
target: "@{{name}}"
targetLocation: BODY
requiredMapping: false
- name: mapper.order.eline.add.paymentType
title: "The payment type of the ELINE"
source: "@{{productOrderItem[0].product.productConfiguration.paymentType}}"
target: "@{{paymentType}}"
sourceLocation: BODY
sourceType: discreteStr
target: "@{{paymentType}}"
targetLocation: BODY
requiredMapping: false
- name: mapper.order.eline.add.classOfService
title: "The class of Service of the Eline"
source: "@{{productOrderItem[0].product.productConfiguration.classOfService}}"
target: "@{{classOfService}}"
sourceLocation: BODY
sourceType: discreteStr
target: "@{{classOfService}}"
targetLocation: BODY
requiredMapping: false
- name: mapper.order.eline.add.srcUNI
title: "source UNI or ENNI id"
source: "@{{productOrderItem[0].product.productRelationship[0].id}}"
target: "@{{portId}}"
sourceLocation: BODY
sourceType: discreteStr
target: "@{{portId}}"
targetLocation: BODY
requiredMapping: true
- name: mapper.order.eline.add.destUNI
title: "destination UNI id"
source: "@{{productOrderItem[0].product.productRelationship[1].id}}"
target: "@{{destPortId}}"
sourceLocation: BODY
sourceType: discreteStr
target: "@{{destPortId}}"
targetLocation: BODY
requiredMapping: true
- name: mapper.order.eline.add.productOffering.id
title: "id of a Product Offering"
source: "@{{productOrderItem[0].product.productOffering.id}}"
target: "ACCESS_E_LINE"
sourceLocation: BODY
sourceType: discreteStr
target: "ACCESS_E_LINE"
targetLocation: BODY
requiredMapping: true
- name: mapper.order.eline.add.product.productConfiguration.type
title: "connection type"
title: "customized product type"
source: "@{{productOrderItem[0].product.productConfiguration.type}}"
target: "@{{type}}"
sourceLocation: BODY
sourceType: discreteStr
target: "@{{type}}"
targetLocation: BODY
requiredMapping: false
- name: mapper.order.eline.add.product.productConfiguration.destUNIMetroId
title: "connection destUNIMetroId"
title: "The metro id of the destination UNI"
source: "@{{productOrderItem[0].product.productConfiguration.destUNIMetroId}}"
target: "@{{destMetroId}}"
sourceLocation: BODY
sourceType: discreteStr
target: "@{{destMetroId}}"
targetLocation: BODY
requiredMapping: false
- name: mapper.order.eline.add.product.productConfiguration.buyerCompanyId
title: "connection buyerCompanyId"
title: "The Id of buyer Company"
source: "@{{productOrderItem[0].product.productConfiguration.buyerCompanyId}}"
target: "@{{destCompany}}"
sourceLocation: BODY
sourceType: discreteStr
target: "@{{destCompany}}"
targetLocation: BODY
requiredMapping: false
response:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,19 @@ spec:
description: ""
source: "@{{productOrderItem[*].product.id}}"
sourceLocation: "BODY"
target: ""
sourceType: discreteStr
target: "@{{connectionId}}"
targetLocation: ""
requiredMapping: false
- name: mapper.order.uni.delete.productOffering.id
title: "id of a Product Offering"
description: ""
source: "@{{productOrderItem[0].product.productOffering.id}}"
sourceLocation: "BODY"
sourceType: discreteStr
target: "ACCESS_E_LINE"
targetLocation: ""
requiredMapping: true
response:
- name: mapper.order.eline.delete.state
title: Order State Mapping
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,20 @@ spec:
title: >-
The unique identifier of the organization that is acting as the a
Buyer.
source: '@{{buyerId}}'
target: "@{{companyName}}"
description: ""
source: '@{{buyerId}}'
sourceLocation: QUERY
target: "@{{companyName}}"
targetLocation: PATH
requiredMapping: false
- name: mapper.order.uni.add.duration
title: "order item Term duration"
source: "@{{productOrderItem[0].requestedItemTerm.duration.amount}}"
sourceLocation: BODY
sourceType: constantNumber
target: "1"
targetLocation: BODY
requiredMapping: true
- name: mapper.order.uni.add.duration.units
title: "order item Term unit"
source: "@{{productOrderItem[0].requestedItemTerm.duration.units}}"
Expand All @@ -49,82 +57,89 @@ spec:
- name: mapper.order.eline.add.endOfTermAction
title: "MEFEndOfTermAction"
source: "@{{productOrderItem[0].requestedItemTerm.endOfTermAction}}"
target: "roll"
sourceLocation: BODY
sourceType: discreteStr
target: "roll"
targetLocation: BODY
requiredMapping: true
- name: mapper.order.eline.add.rollInterval.amount
title: " quote item Term roll duration"
source: "@{{productOrderItem[0].requestedItemTerm.rollInterval.amount}}"
target: ""
sourceLocation: BODY
sourceType: constantNumber
target: ""
targetLocation: BODY
requiredMapping: false
- name: mapper.order.eline.add.rollInterval.units
title: " quote item Term roll unit"
source: "@{{productOrderItem[0].requestedItemTerm.rollInterval.units}}"
target: ""
sourceLocation: BODY
sourceType: discreteStr
target: "calendarMonths"
targetLocation: BODY
requiredMapping: false
- name: mapper.order.uni.add.place.id
title: >-
the id of the place where the products' installation must be done.
source: '@{{productOrderItem[0].product.place[0].id}}'
target: '@{{dataCenterFacilityId}}'
description: ''
source: '@{{productOrderItem[0].product.place[0].id}}'
sourceLocation: BODY
sourceType: discreteStr
target: '@{{dataCenterFacilityId}}'
targetLocation: BODY
requiredMapping: false
- name: mapper.order.uni.add.place.name
title: the keyName of the place where the products' installation must be done.
source: '@{{productOrderItem[0].product.place[0].keyName}}'
target: '@{{dataCenterFacility}}'
description: ''
source: '@{{productOrderItem[0].product.place[0].keyName}}'
sourceLocation: BODY
sourceType: discreteStr
target: '@{{dataCenterFacility}}'
targetLocation: BODY
requiredMapping: false
- name: mapper.order.uni.add.bandwidthUnit
title: "The unit of bandwidth"
source: "@{{productOrderItem[0].product.productConfiguration.bandwidthUnit}}"
sourceLocation: BODY
sourceType: enum
sourceValues:
- MBPS
- GBPS
target: "MBPS"
sourceLocation: BODY
targetLocation: BODY
requiredMapping: true
- name: mapper.order.uni.add.bandwidth
title: "Bandwidth of the UNI"
source: "@{{productOrderItem[0].product.productConfiguration.bandwidth}}"
sourceLocation: BODY
sourceType: discreteInt
sourceValues:
- 1000
- 10000
target: "@{{speed}}"
sourceLocation: BODY
targetLocation: BODY
requiredMapping: true
- name: mapper.order.uni.add.name
title: "The name of the UNI"
source: "@{{productOrderItem[0].product.productConfiguration.name}}"
target: "@{{portName}}"
sourceLocation: BODY
sourceType: discreteStr
target: "@{{portName}}"
targetLocation: BODY
requiredMapping: false
- name: mapper.order.uni.add.paymentType
title: "The payment type of the UNI"
source: "@{{productOrderItem[0].product.productConfiguration.paymentType}}"
target: "@{{paymentType}}"
sourceLocation: BODY
sourceType: discreteStr
target: "@{{paymentType}}"
targetLocation: BODY
requiredMapping: false
- name: mapper.order.uni.add.productOffering.id
title: "id of a Product Offering"
source: "@{{productOrderItem[0].product.productOffering.id}}"
target: "UNI"
sourceLocation: BODY
target: "UNI"
targetLocation: BODY
requiredMapping: true
response:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,27 @@ spec:
description: ""
source: "@{{buyerId}}"
sourceLocation: "QUERY"
target: ""
targetLocation: ""
target: "@{{companyName}}"
targetLocation: PATH
requiredMapping: false
- name: mapper.order.uni.delete.productId
title: "The unique identifier of an in-service Product that is the ordering subject"
description: ""
source: "@{{productOrderItem[*].product.id}}"
sourceLocation: "BODY"
target: ""
targetLocation: ""
sourceType: discreteStr
target: "@{{portId}}"
targetLocation: PATH
requiredMapping: false
- name: mapper.order.uni.delete.productOffering.id
title: "id of a Product Offering"
description: ""
source: "@{{productOrderItem[0].product.productOffering.id}}"
sourceLocation: "BODY"
sourceType: discreteStr
target: "UNI"
targetLocation: ""
requiredMapping: true
response:
- name: mapper.order.uni.delete.state
title: Order State Mapping
Expand Down
Loading

0 comments on commit 914d63b

Please sign in to comment.