Skip to content

Commit

Permalink
#58: normalize cross-type references with r__ for journey
Browse files Browse the repository at this point in the history
  • Loading branch information
JoernBerkefeld committed May 21, 2024
1 parent 8237eb7 commit 915fb73
Show file tree
Hide file tree
Showing 7 changed files with 242 additions and 207 deletions.
425 changes: 230 additions & 195 deletions lib/metadataTypes/Journey.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
"r__senderProfile_CustomerKey": "testExisting_senderProfile",
"r__sendClassification_CustomerKey": "testExisting_sendClassification",
"c__priority": "High",
"r__assetMessage_Name_readOnly": "testExisting_asset_message",
"r__assetMessage_Key": "testExisting_asset_message"
"r__asset_name_readOnly": "testExisting_asset_message",
"r__asset_customerKey": "testExisting_asset_message"
},
"applicationExtensionKey": "jb-email-activity"
},
Expand Down
4 changes: 2 additions & 2 deletions test/resources/9999999/journey/build-expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@
"r__senderProfile_CustomerKey": "testTemplated_senderProfile",
"r__sendClassification_CustomerKey": "testTemplated_sendClassification",
"c__priority": "High",
"r__assetMessage_Name_readOnly": "testTemplated_asset_message",
"r__assetMessage_Key": "testTemplated_asset_message"
"r__asset_name_readOnly": "testTemplated_asset_message",
"r__asset_customerKey": "testTemplated_asset_message"
},
"applicationExtensionKey": "jb-email-activity"
},
Expand Down
4 changes: 2 additions & 2 deletions test/resources/9999999/journey/get-multistep-expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@
"r__senderProfile_CustomerKey": "testExisting_senderProfile",
"r__sendClassification_CustomerKey": "testExisting_sendClassification",
"c__priority": "Medium",
"r__assetMessage_Name_readOnly": "testExisting_asset_message",
"r__assetMessage_Key": "testExisting_asset_message"
"r__asset_name_readOnly": "testExisting_asset_message",
"r__asset_customerKey": "testExisting_asset_message"
}
},
"metaData": {
Expand Down
4 changes: 2 additions & 2 deletions test/resources/9999999/journey/get-quicksend-expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
"r__senderProfile_CustomerKey": "testExisting_senderProfile",
"r__sendClassification_CustomerKey": "testExisting_sendClassification",
"c__priority": "High",
"r__assetMessage_Name_readOnly": "testExisting_asset_message",
"r__assetMessage_Key": "testExisting_asset_message"
"r__asset_name_readOnly": "testExisting_asset_message",
"r__asset_customerKey": "testExisting_asset_message"
},
"applicationExtensionKey": "jb-email-activity"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
"r__senderProfile_CustomerKey": "testExisting_senderProfile",
"r__sendClassification_CustomerKey": "testExisting_sendClassification",
"c__priority": "Medium",
"r__assetMessage_Name_readOnly": "testExisting_asset_message",
"r__assetMessage_Key": "testExisting_asset_message"
"r__asset_name_readOnly": "testExisting_asset_message",
"r__asset_customerKey": "testExisting_asset_message"
},
"r__transactionalEmail_definitionKey": "testExisting_temail"
},
Expand Down
4 changes: 2 additions & 2 deletions test/resources/9999999/journey/template-expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@
"r__senderProfile_CustomerKey": "{{{prefix}}}senderProfile",
"r__sendClassification_CustomerKey": "{{{prefix}}}sendClassification",
"c__priority": "High",
"r__assetMessage_Name_readOnly": "{{{prefix}}}asset_message",
"r__assetMessage_Key": "{{{prefix}}}asset_message"
"r__asset_name_readOnly": "{{{prefix}}}asset_message",
"r__asset_customerKey": "{{{prefix}}}asset_message"
},
"applicationExtensionKey": "jb-email-activity"
},
Expand Down

0 comments on commit 915fb73

Please sign in to comment.