Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/90 add option to change the key #876

Merged
merged 46 commits into from
May 4, 2023

Conversation

JoernBerkefeld
Copy link
Contributor

@JoernBerkefeld JoernBerkefeld commented Apr 22, 2023

PR details

What changes did you make? (Give an overview)

To-Dos

generic solution

  • generic solution with --changeKeyField
  • generic solution with --changeKeyValue

custom solutions (types have custom createOrUpdate and/or upsert logic)

test all types for compatibility:

  • asset
  • attributeGroup deploy not supported
  • automation
  • campaign deploy not supported
  • contentArea deploy not supported
  • dataExtension
    • rewrite dataExtension.upsert for --changeKeyField & --changeKeyValue
  • dataExtensionField deploy not supported - but possible via name_new
  • dataExtensionTemplate deploy not supported
  • dataExtract
  • dataExtractType deploy not supported
  • discovery deploy not supported
  • email deploy not supported
  • emailSend
  • event
  • fileLocation deploy not supported
  • fileTransfer
  • filter deploy not supported
  • folder not supported
  • importFile
  • journey not supported
  • list deploy not supported
  • mobileCode deploy not supported
  • mobileKeyword
  • mobileMessage not supported (key==id)
  • query
  • role
  • script
  • sendClassification deploy not supported
  • setDefinition deploy not supported
  • transactionalEmail not supported
  • transactionalPush not supported
  • transactionalSMS not supported
  • triggeredSend
  • user

Checklist

@JoernBerkefeld JoernBerkefeld added this to the 5.0.0 milestone Apr 22, 2023
@JoernBerkefeld JoernBerkefeld self-assigned this Apr 22, 2023
@github-actions github-actions bot added the enhancement New feature or request; requires increasing the minor version of mcdev. Jira issue-type "Story" label Apr 22, 2023
@github-actions
Copy link

github-actions bot commented Apr 22, 2023

Coverage Report

Commit: 1b78136
Base: develop@ed70fc0

Type Base This PR
Total Statements Coverage  40.81%  40.9%  (+0.09%)
Total Branches Coverage  31.75%  32.43%  (+0.68%)
Total Functions Coverage  46.35%  47.17%  (+0.82%)
Total Lines Coverage  40.77%  40.84%  (+0.07%)
Details (changed testable files):
File Statements Branches Functions Lines
lib/Deployer.js  63.53%  54.63%  71.42%  63.88%
lib/cli.js  0%  0%  0%  0%
lib/index.js  41.01%  35.06%  43.47%  41.01%
lib/metadataTypes/DataExtension.js  68.93%  57.05%  82.6%  69.16%
lib/metadataTypes/DataExtensionField.js  58.41%  55.1%  66.66%  58%
lib/metadataTypes/Journey.js  52.31%  39.43%  92.3%  52.31%
lib/metadataTypes/MetadataType.js  61.38%  59.82%  71.25%  61.15%
lib/metadataTypes/MobileKeyword.js  81.01%  58.33%  88.88%  80.76%
lib/metadataTypes/MobileMessage.js  79.43%  55.76%  100%  79.24%
lib/util/cli.js  22.79%  21.73%  13.04%  22.89%
lib/util/util.js  58.4%  44.53%  77.77%  57.72%

@JoernBerkefeld JoernBerkefeld linked an issue Apr 27, 2023 that may be closed by this pull request
@JoernBerkefeld JoernBerkefeld changed the title Feature/90 add option to rename the key Feature/90 add option to change the key Apr 28, 2023
@JoernBerkefeld JoernBerkefeld merged commit e3e237e into develop May 4, 2023
@JoernBerkefeld JoernBerkefeld deleted the feature/90-add-option-to-rename-the-key branch May 4, 2023 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c/Generic enhancement New feature or request; requires increasing the minor version of mcdev. Jira issue-type "Story"
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] add option to rename the key
1 participant