To upgrade Plasma Harvester, use the Plasma Harvester - Upgrade package in PlatformManager. In order to keep the existing configuration, it will upload only Calculation Logics. The remaining changes must be done manually according to instructions below.
In this section:
Update Price Parameters
Plasma_Harvester_SequenceControlTable
|
Price Parameter (Parameters.json) |
||
|
|
Old value |
New value |
|
folder: |
|
"PFXTemplate/Plasma/Sequencers" |
|
label: |
"SequenceControlTable for Harvester" |
"Plasma Harvester SequenceControlTable" |
|
uniqueName: |
"Plasma_SequenceControlTable_Harvester" |
"Plasma_Harvester_SequenceControlTable" |
|
Price Parameter Value (data_matrix4key.csv) |
||
|
|
Old value |
New value |
|
key1: |
|
Plasma_Quotes_Harvester |
|
key2: |
|
1 |
|
key3: |
|
DL |
|
key4: |
|
Plasma_Quotes_Harvester |
|
attribute3: |
|
Calculation |
|
attribute4: |
|
DMDS.Plasma_Quotes_Harvester |
|
attribute5: |
|
Y |
|
key1: |
|
Plasma_Quotes_Harvester |
|
key2: |
|
2 |
|
key3: |
|
DL |
|
key4: |
|
Plasma_Quotes_Validations |
|
attribute3: |
|
Truncate |
|
attribute4: |
|
DM.Plasma_Quotes_Validations |
|
attribute5: |
|
Y |
|
key1: |
|
Plasma_Quotes_Harvester |
|
key2: |
|
3 |
|
key3: |
|
DL |
|
key4: |
|
Plasma_Quotes_Validations |
|
attribute3: |
|
Calculation |
|
attribute4: |
|
DM.Plasma_Quotes_Validations |
|
attribute5: |
|
Y |
|
key1: |
|
Plasma_Quotes_Harvester |
|
key2: |
|
4 |
|
key3: |
|
DL |
|
key4: |
|
Plasma_Quotes_Harvester |
|
attribute3: |
|
Refresh |
|
attribute4: |
|
DM.Plasma_Quotes_Harvester |
|
attribute5: |
|
Y |
|
key1: |
|
Plasma_Transactions_Harvester |
|
key2: |
|
1 |
|
key3: |
|
DL |
|
key4: |
|
Plasma_Transactions_Harvester |
|
attribute3: |
|
Calculation |
|
attribute4: |
|
DMDS.Plasma_Transactions_Harvester |
|
attribute5: |
|
Y |
|
key1: |
|
Plasma_Transactions_Harvester |
|
key2: |
|
2 |
|
key3: |
|
DL |
|
key4: |
|
Plasma_Transactions_Validations |
|
attribute3: |
|
Truncate |
|
attribute4: |
|
DM.Plasma_Transactions_Validations |
|
attribute5: |
|
Y |
|
key1: |
|
Plasma_Transactions_Harvester |
|
key2: |
|
3 |
|
key3: |
|
DL |
|
key4: |
|
Plasma_Transactions_Validations |
|
attribute3: |
|
Calculation |
|
attribute4: |
|
DM.Plasma_Transactions_Validations |
|
attribute5: |
|
Y |
|
key1: |
|
Plasma_Transactions_Harvester |
|
key2: |
|
4 |
|
key3: |
|
DL |
|
key4: |
|
Plasma_Transactions_Harvester |
|
attribute3: |
|
Refresh |
|
attribute4: |
|
DM.Plasma_Transactions_Harvester |
|
attribute5: |
|
Y |
Plasma_KPI_Audit
|
Price Parameter (Parameters.json) |
||
|
|
Old value |
New value |
|
folder: |
|
"PFXTemplate/Plasma/Harvester" |
|
label: |
"Quote Harvester Audit" |
"KPI Distributor Audit" |
|
uniqueName: |
"Quote_Harvester_Audit" |
"Plasma_KPI_Audit" |
|
matrix |
||
|
|
Old value |
New value |
|
attribute1: |
"fieldType" : 2, "label" : "Status" |
"fieldType" : 5, "label" : "End Time" |
|
attribute2: |
"label" : "Rejected Rows" |
"label" : "Time Taken In Minutes" |
|
attribute6: |
"fieldType" : 5, "label" : "End Time" |
"fieldType" : 2, "label" : "Status" |
|
attribute7: |
|
"fieldType" : 2, "label" : "Log Message", "requiredField" : false |
|
attribute8: |
|
"fieldType" : 2, "label" : "HTTP Response Code", "requiredField" : false |
|
key1: |
|
"fieldName" : "key1", "fieldType" : 2, "label" : "KPI_Type_HarvesterId", "labelTranslations" : "KPI Type | HarvesterId" "readOnly" : false, "requiredField" : false |
|
key2: |
|
"fieldName" : "key2", "fieldType" : 5, "label" : "Start Time", "requiredField" : false |
Plasma_KPI_Distributor_SequenceControlTable
|
Price Parameter (Parameters.json) |
||
|
|
Old value |
New value |
|
folder: |
|
"PFXTemplate/Plasma/Sequencers" |
|
label: |
"SequenceControlTable for KPI Distributor" |
"Plasma KPI Distributor SequenceControlTable" |
|
uniqueName: |
"Plasma_SequenceControlTable_KPI" |
"Plasma_KPI_Distributor_SequenceControlTable" |
|
Price Parameter Value (data_matrix4key.csv) |
||
|
|
Old value |
New value |
|
key4: |
Plasma_TX_KPI_Distributor |
Plasma_Transactions_KPI_Distributor |
|
key4: |
Plasma_Quote_KPI_Distributor |
Plasma_Quotes_KPI_Distributor |
Plasma_KPI_Refresher
|
Price Parameter (Parameters.json) |
||
|
|
Old value |
New value |
|
folder: |
|
"PFXTemplate/Plasma/Harvester" |
Plasma_Quotes_Harvester_Audit
|
Price Parameter (Parameters.json) |
||
|
|
Old value |
New value |
|
folder: |
|
"PFXTemplate/Plasma/Harvester" |
|
label: |
"Quote Harvester Audit" |
"Plasma Quote Harvester Audit" |
|
uniqueName: |
"Quote_Harvester_Audit" |
"Plasma_Quotes_Harvester_Audit" |
|
matrix |
||
|
|
Old value |
New value |
|
attribute1: |
"fieldType" : 5, "label" : "End Time" |
"fieldType" : 2, "label" : "Status" |
|
attribute2: |
"fieldType" : 1, "formatType" : "NUMERIC", "label" : "Time Taken In Minutes" |
"fieldType" : 2, "formatType" : deleted "label" : "Log Message" |
|
attribute6: |
"fieldType" : 2, "label" : "Status" |
"fieldType" : 5, "label" : "End Time" |
Plasma_Quotes_Harvester_Mapping
|
Price Parameter (Parameters.json) |
||
|
|
Old value |
New value |
|
folder: |
|
"PFXTemplate/Plasma/Harvester" |
|
label: |
"Quote Harvester Validator" |
"Plasma Quote Harvester Mapping" |
|
uniqueName: |
"Quote_Harvester_Validator" |
"Plasma_Quotes_Harvester_Mapping" |
Plasma_Quotes_Harvester_Validator
|
Price Parameter (Parameters.json)A |
||
|
|
Old value |
New value |
|
folder: |
|
"PFXTemplate/Plasma/Harvester" |
|
label: |
"Quote Harvester Mapping" |
"Plasma Quote Harvester Validator" |
|
uniqueName: |
"Quote_Harvester_Mapping" |
"Plasma_Quotes_Harvester_Validator" |
Plasma_Quotes_KPIs
|
Price Parameter (Parameters.json) |
||
|
|
Old value |
New value |
|
folder: |
|
"PFXTemplate/Plasma/Harvester" |
|
uniqueName: |
"Plasma_Quote_KPIs" |
"Plasma_Quotes_KPIs" |
|
Price Parameter Value (data_matrix4key.csv) |
||
|
|
Old value |
New value |
|
name |
|
PERCENT_NEEDING_APPROVAL_MARGIN |
|
value |
|
Q |
Plasma_Transactions_Harvester_Audit
|
Price Parameter (Parameters.json) |
||
|
|
Old value |
New value |
|
folder: |
|
"PFXTemplate/Plasma/Harvester" |
|
label: |
"Harvester Audit" |
"Plasma Harvester Audit" |
|
uniqueName: |
"Harvester Audit" |
"Plasma_Transactions_Harvester_Audit" |
|
matrix |
||
|
|
Old value |
New value |
|
attribute1: |
"fieldType" : 5, "label" : "End Time" |
"fieldType" : 2, "label" : "Status" |
|
attribute2: |
"fieldType" : 1, "formatType" : "NUMERIC", "label" : "Time Taken In Minutes" |
"fieldType" : 2, "formatType" : deleted "label" : "Log Message" |
|
attribute6: |
"fieldType" : 2, "label" : "Status" |
"fieldType" : 5, "label" : "End Time" |
Plasma_Transactions_Harvester_Mapping
|
Price Parameter (Parameters.json) |
||
|
|
Old value |
New value |
|
folder: |
|
"PFXTemplate/Plasma/Harvester" |
|
label: |
"Harvester Validator" |
"Plasma Harvester Mapping" |
|
uniqueName: |
"Harvester_Validator" |
"Plasma_Transactions_Harvester_Mapping" |
Plasma_Transactions_Harvester_Validator
|
Price Parameter (Parameters.json) |
||
|
|
Old value |
New value |
|
folder: |
|
"PFXTemplate/Plasma/Harvester" |
|
label: |
"Harvester Validator" |
"Plasma Harvester Validator" |
|
uniqueName: |
"Harvester_Validator" |
"Plasma_Transactions_Harvester_Validator" |
Update PA objects
Data Sources
Quote_Harvester -> Plasma_Quotes_Harvester
-
Navigate to PriceAnalyzer > Data Manager > Data Sources.
-
Select "Quote_Harvester" and click "Export XLSX". Once the file is downloaded, open it.
-
Edit the "Name" column in the "<meta>" sheet:
-
Before: Quote_Harvester
-
After: Plasma_Quotes_Harvester
-
-
Edit the "Meta" column in the "<meta>" sheet. Make these changes:
-
uniqueName
-
Before: Quote_Harvester
-
After: Plasma_Quotes_Harvester
-
-
label
-
Before:Quote_Harvester
-
After: Plasma_Quotes_Harvester
-
-
Find and edit the “UniqueID” field column:
-
label: UniqueID -> UniqueId
-
name: UniqueID -> UniqueId
-
-
-
Edit the “UniqueID” column in the “Quote_Harvester” sheet:
-
UniqueID → UniqueId
-
-
Save the changes.
-
In PriceAnalyzer > Data Sources select "Import", then select the file that you modified. Wait a moment for the import to finish and verify that the changes were imported correctly.
-
Old unused Data Source should not be removed in case a rollback becomes necessary.
Harvester -> Plasma_Transactions_Harvester
-
Navigate to PriceAnalyzer > Data Manager > Data Sources.
-
Select "Harvester" and click "Export XLSX". Once the file is downloaded, open it.
-
Edit the "Name" column in the "<meta>" sheet.
-
Before: Harvester
-
After: Plasma_Transactions_Harvester
-
-
Edit the "Meta" column in the "<meta>" sheet. Make these changes:
-
uniqueName
-
Before: Harvester
-
After: Plasma_Transactions_Harvester
-
-
label
-
Before: Harvester
-
After: Plasma_Transactions_Harvester
-
-
-
Save the changes.
-
In PriceAnalyzer > Data Sources select "Import", then select the file that you modified. Wait a moment for the import to finish and verify that the changes were imported correctly.
-
Old unused Data Source should not be removed in case a rollback becomes necessary.
Datamarts
Quote_Harvester -> Plasma_Quotes_Harvester
-
Click “Add Datamart”.
-
Name: Plasma_Quotes_Harvester
-
Label: Plasma_Quotes_Harvester
-
-
Open the newly added Datamart.
-
Click “Import & Export”, paste the contents of the “Plasma_Quotes_Harvester_Datamart.txt” file to the popup window and click “Apply”.
-
Click “Deploy” to deploy the changes.
-
Copy data from the “Quote_Harvester” Datamart to the new one.
-
Old unused Datamart should not be removed in case a rollback becomes necessary.
Quote_Validations -> Plasma_Quotes_Validations
-
Click “Add Datamart”.
-
Name: Plasma_Quotes_Validations
-
Label: Plasma_Quotes_Validations
-
-
Open the newly added Datamart.
-
Click “Import & Export”, paste the contents of the “Plasma_Quotes_Validations_Datamart.txt” to the popup window and click “Apply”.
-
Click “Deploy” to deploy the changes.
-
Copy data from the “Quote_Validations ” Datamart to the new one.
-
Old unused Datamart should not be removed in case a rollback becomes necessary.
Harvester -> Plasma_Transactions_Harvester
-
Click “Add Datamart”.
-
Name: Plasma_Transactions_Harvester
-
Label: Plasma_Transactions_Harvester
-
-
Open the newly added Datamart.
-
Click “Import & Export”, paste the contents of the “Plasma_Transactions_Harvester_Datamart.txt” to the popup window and click “Apply”.
-
Click “Deploy” to deploy the changes.
-
Copy data from the “Harvester ” Datamart to the new one.
-
Old unused Datamart should not be removed in case a rollback becomes necessary.
TX_Validations -> Plasma_Transactions_Validations
-
Click “Add Datamart”.
-
Name: Plasma_Transactions_Validations
-
Label: Plasma_Transactions_Validations
-
-
Open the newly added Datamart.
-
Click “Import & Export”, paste the contents of the “Plasma_Transactions_Validations_Datamart.txt” to the popup window and click “Apply”.
-
Click “Deploy” to deploy the changes.
-
Copy data from the “TX_Validations ” Datamart to the new one.
-
Old unused Datamart should not be removed in case a rollback becomes necessary.
Plasma_Transactions_Validations_Datamart.txtPlasma_Transactions_Harvester_Datamart.txtPlasma_Quotes_Validations_Datamart.txtPlasma_Quotes_Harvester_Datamart.txt
Data Loads
-
Navigate to PriceAnalyzer >Data Manager > Data Loads.
-
Click "Import & Export".
-
Copy contents of the "Harvester_DL_Import.txt" file and paste them to the input field.
-
Uncheck "Include schedules?".
-
Click Apply.
-
-
New DataLoads should be uploaded. They will replace:
-
DM.Quote_Validations/Calculation/Quote_Validator -> DM.Plasma_Quotes_Validations/Calculation/Plasma_Quotes_Validator
-
DM.TX_Validations/Calculation/TX_Validator -> DM.Plasma_Transactions_Validations/Calculation/Plasma_Transactions_Validator
-
DMDS.Quote_Harvester/Calculation/Quote_Harvester -> DMDS>Plasma_Quotes_Harvester/Calculation/Plasma_Harvester
-
DMDS.Harvester/Calculation/Harvester -> DMDS.Plasma_Transactions_Harvester/Calculation/Plasma_Harvester
-
-
Old unused DLs should not be removed because they still store execution history.
Update Calculation Flows
-
Navigate to Configuration > System Configuration > Calculation Flows.
-
Create a new Calcualtion Flow:
-
Name: Plasma_KPI_Distributor_Sequencer
-
Add a new Flow Item:
-
Name: Sequencer
-
Periodic: true
-
TimeUnit: Minute
-
Number of Time Units: 5
-
Logic Name: Plasma_KPI_Distributor_Sequencer
-
-
-
Create a new Calcualtion Flow:
-
Name: Plasma_KPI_Distributor_Sequencer_Reset
-
Add a new Flow Item:
-
Name: Reset
-
Periodic: false
-
TimeUnit: Day
-
Number of Time Units: 1
-
Logic Name: Plasma_KPI_Distributor_Sequencer_Reset
-
-
-
Create a new Calcualtion Flow:
-
Name: Plasma_KPI_Refresher
-
Add a new Flow Item:
-
Name: Refresher
-
Periodic: true
-
TimeUnit: Hour
-
Number of Time Units: 1
-
Logic Name: Plasma_KPI_Refresher
-
-
-
Deploy new Calculation Flows.
Update Calculated Field Sets
-
Navigate to Configuration > Calculated Field Sets.
-
Create a new CFS:
-
Click the "Add" button:
-
Label: Plasma_Quotes_KPI_Distributor
-
Target date: 2016-01-01
-
-
Click "Add", select the new CFS and click "Configure".
-
Source selection:
-
Source type: Parameter
-
Parameter: Plasma_Quotes_Harvester_Mapping
-
Add a filter:
-
IsActive?
-
equals(match case)
-
Y
-
-
-
Calculation Setup:
-
Calculation logic: Plasma_KPI_Distributor
-
Filter:
-
KPI Type: Quote
-
-
-
Click "Save".
-
-
Create a new CFS.
-
Click the "Add" button:
-
Label: Plasma_Transactions_KPI_Distributor
-
Target date: 2016-01-01
-
-
Click "Add", select the new CFS and click "Configure".
-
Source selection:
-
Source type: Parameter
-
Parameter: Plasma_Transactions_Harvester_Mapping
-
Add a filter:
-
IsActive?
-
equals(match case)
-
Y
-
-
-
Calculation Setup:
-
Calculation logic: Plasma_KPI_Distributor
-
Filter:
-
KPI Type: Transaction
-
-
-
Click "Save".
-