@salesforce/plugin-omnistudio-migration-tool 2.0.0-beta.7 → 2.0.0-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (117) hide show
  1. package/README.md +116 -20
  2. package/lib/commands/omnistudio/migration/assess.d.ts +1 -1
  3. package/lib/commands/omnistudio/migration/assess.js +24 -91
  4. package/lib/commands/omnistudio/migration/assess.js.map +1 -1
  5. package/lib/commands/omnistudio/migration/migrate.d.ts +5 -1
  6. package/lib/commands/omnistudio/migration/migrate.js +102 -30
  7. package/lib/commands/omnistudio/migration/migrate.js.map +1 -1
  8. package/lib/error/errorInterfaces.d.ts +14 -0
  9. package/lib/error/errorInterfaces.js +27 -0
  10. package/lib/error/errorInterfaces.js.map +1 -0
  11. package/lib/mappings/GlobalAutoNumber.d.ts +10 -0
  12. package/lib/mappings/GlobalAutoNumber.js +14 -0
  13. package/lib/mappings/GlobalAutoNumber.js.map +1 -0
  14. package/lib/migration/base.d.ts +5 -4
  15. package/lib/migration/base.js +27 -7
  16. package/lib/migration/base.js.map +1 -1
  17. package/lib/migration/flexcard.d.ts +2 -0
  18. package/lib/migration/flexcard.js +77 -21
  19. package/lib/migration/flexcard.js.map +1 -1
  20. package/lib/migration/globalautonumber.d.ts +60 -0
  21. package/lib/migration/globalautonumber.js +334 -0
  22. package/lib/migration/globalautonumber.js.map +1 -0
  23. package/lib/migration/interfaces.d.ts +84 -0
  24. package/lib/migration/omniscript.d.ts +2 -0
  25. package/lib/migration/omniscript.js +74 -0
  26. package/lib/migration/omniscript.js.map +1 -1
  27. package/lib/migration/postMigrate.d.ts +13 -0
  28. package/lib/migration/postMigrate.js +50 -0
  29. package/lib/migration/postMigrate.js.map +1 -0
  30. package/lib/migration/related/ExperienceSiteMigration.d.ts +17 -0
  31. package/lib/migration/related/ExperienceSiteMigration.js +218 -0
  32. package/lib/migration/related/ExperienceSiteMigration.js.map +1 -0
  33. package/lib/migration/related/FlexipageMigration.d.ts +84 -0
  34. package/lib/migration/related/FlexipageMigration.js +215 -0
  35. package/lib/migration/related/FlexipageMigration.js.map +1 -0
  36. package/lib/migration/related/OmnistudioRelatedObjectMigrationFacade.d.ts +4 -0
  37. package/lib/migration/related/OmnistudioRelatedObjectMigrationFacade.js +17 -1
  38. package/lib/migration/related/OmnistudioRelatedObjectMigrationFacade.js.map +1 -1
  39. package/lib/styles/reportGenerator.css +40 -0
  40. package/lib/templates/assessmentReport.template +29 -21
  41. package/lib/templates/dashboard.template +15 -0
  42. package/lib/templates/migrationReport.template +27 -19
  43. package/lib/utils/OmniGlobalAutoNumberPrefManager.d.ts +39 -0
  44. package/lib/utils/OmniGlobalAutoNumberPrefManager.js +64 -0
  45. package/lib/utils/OmniGlobalAutoNumberPrefManager.js.map +1 -0
  46. package/lib/utils/XMLUtil.d.ts +34 -0
  47. package/lib/utils/XMLUtil.js +171 -0
  48. package/lib/utils/XMLUtil.js.map +1 -0
  49. package/lib/utils/constants/{callToActionMessages.d.ts → documentRegistry.d.ts} +3 -1
  50. package/lib/utils/constants/{callToActionMessages.js → documentRegistry.js} +5 -3
  51. package/lib/utils/constants/documentRegistry.js.map +1 -0
  52. package/lib/utils/constants/stringContants.d.ts +6 -0
  53. package/lib/utils/constants/stringContants.js +6 -0
  54. package/lib/utils/constants/stringContants.js.map +1 -1
  55. package/lib/utils/file/fileUtil.d.ts +1 -0
  56. package/lib/utils/file/fileUtil.js +27 -0
  57. package/lib/utils/file/fileUtil.js.map +1 -1
  58. package/lib/utils/flexipage/flexiPageTransformer.d.ts +17 -0
  59. package/lib/utils/flexipage/flexiPageTransformer.js +134 -0
  60. package/lib/utils/flexipage/flexiPageTransformer.js.map +1 -0
  61. package/lib/utils/generatePackageXml.d.ts +3 -2
  62. package/lib/utils/generatePackageXml.js +12 -1
  63. package/lib/utils/generatePackageXml.js.map +1 -1
  64. package/lib/utils/interfaces.d.ts +42 -0
  65. package/lib/utils/logger.d.ts +1 -1
  66. package/lib/utils/logger.js +0 -1
  67. package/lib/utils/logger.js.map +1 -1
  68. package/lib/utils/lwcparser/fileutils/FileDiffUtil.d.ts +2 -1
  69. package/lib/utils/lwcparser/fileutils/FileDiffUtil.js +34 -6
  70. package/lib/utils/lwcparser/fileutils/FileDiffUtil.js.map +1 -1
  71. package/lib/utils/net/index.js +13 -16
  72. package/lib/utils/net/index.js.map +1 -1
  73. package/lib/utils/orgPreferences.d.ts +22 -0
  74. package/lib/utils/orgPreferences.js +70 -0
  75. package/lib/utils/orgPreferences.js.map +1 -1
  76. package/lib/utils/orgUtils/index.js +1 -2
  77. package/lib/utils/orgUtils/index.js.map +1 -1
  78. package/lib/utils/projectPathUtil.d.ts +39 -0
  79. package/lib/utils/projectPathUtil.js +173 -0
  80. package/lib/utils/projectPathUtil.js.map +1 -0
  81. package/lib/utils/reportGenerator/reportInterfaces.d.ts +1 -0
  82. package/lib/utils/reportGenerator/reportUtil.d.ts +1 -1
  83. package/lib/utils/reportGenerator/reportUtil.js +5 -1
  84. package/lib/utils/reportGenerator/reportUtil.js.map +1 -1
  85. package/lib/utils/resultsbuilder/ApexAssessmentReporter.js +2 -2
  86. package/lib/utils/resultsbuilder/ApexAssessmentReporter.js.map +1 -1
  87. package/lib/utils/resultsbuilder/DRAssessmentReporter.js +11 -4
  88. package/lib/utils/resultsbuilder/DRAssessmentReporter.js.map +1 -1
  89. package/lib/utils/resultsbuilder/FlexcardAssessmentReporter.js +14 -0
  90. package/lib/utils/resultsbuilder/FlexcardAssessmentReporter.js.map +1 -1
  91. package/lib/utils/resultsbuilder/FlexipageAssessmentReporter.d.ts +55 -0
  92. package/lib/utils/resultsbuilder/FlexipageAssessmentReporter.js +137 -0
  93. package/lib/utils/resultsbuilder/FlexipageAssessmentReporter.js.map +1 -0
  94. package/lib/utils/resultsbuilder/GlobalAutoNumberAssessmentReporter.d.ts +14 -0
  95. package/lib/utils/resultsbuilder/GlobalAutoNumberAssessmentReporter.js +148 -0
  96. package/lib/utils/resultsbuilder/GlobalAutoNumberAssessmentReporter.js.map +1 -0
  97. package/lib/utils/resultsbuilder/IPAssessmentReporter.js +1 -1
  98. package/lib/utils/resultsbuilder/IPAssessmentReporter.js.map +1 -1
  99. package/lib/utils/resultsbuilder/OSAssessmentReporter.js +18 -9
  100. package/lib/utils/resultsbuilder/OSAssessmentReporter.js.map +1 -1
  101. package/lib/utils/resultsbuilder/assessmentReporter.d.ts +2 -0
  102. package/lib/utils/resultsbuilder/assessmentReporter.js +24 -0
  103. package/lib/utils/resultsbuilder/assessmentReporter.js.map +1 -1
  104. package/lib/utils/resultsbuilder/index.d.ts +4 -1
  105. package/lib/utils/resultsbuilder/index.js +164 -8
  106. package/lib/utils/resultsbuilder/index.js.map +1 -1
  107. package/lib/utils/resultsbuilder/reportingHelper.d.ts +4 -2
  108. package/lib/utils/resultsbuilder/reportingHelper.js +22 -4
  109. package/lib/utils/resultsbuilder/reportingHelper.js.map +1 -1
  110. package/lib/utils/storageUtil.d.ts +9 -0
  111. package/lib/utils/storageUtil.js +58 -0
  112. package/lib/utils/storageUtil.js.map +1 -0
  113. package/messages/assess.json +40 -13
  114. package/messages/migrate.json +68 -14
  115. package/oclif.manifest.json +1 -1
  116. package/package.json +3 -3
  117. package/lib/utils/constants/callToActionMessages.js.map +0 -1
package/README.md CHANGED
@@ -1,33 +1,52 @@
1
1
  # OmniStudio Migration Assistant
2
2
 
3
+ The Omnistudio Migration Assistant is a command-line interface (CLI) plugin that you install via Salesforce CLI. It creates records for your omnistudio components on the Salesforce standard objects.
4
+
3
5
  ### Before You Begin
4
6
 
5
- Read and follow the directions in the Omnistudio migration documentation: https://help.salesforce.com/s/articleView?id=sf.os_migrate_omnistudio_custom_objects_to_standard_objects.htm&type=5
7
+ - Review the migration phases in [Migration Process from Omnistudio for Managed Packages to Omnistudio](https://help.salesforce.com/s/articleView?id=xcloud.os_migrate_omnistudio_custom_objects_to_standard_objects.htm&language=en_US&type=5)
8
+
9
+ - Install Salesforce CLI on your computer. See : [Install Salesforce CLI](https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_install_cli.htm).
10
+
11
+ ## Install and Run the Omnistudio Migration Assistant
12
+
13
+ 1. Install SF cli using the official documentation located [here](https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_install_cli.htm).
14
+ 2. Authenticate Salesforce CLI in your migration sandbox (the org you are going to use for development) using the `sf org login web` command and then enter your username and password in the new browser tab that appears. See [Salesforce CLI Command Reference org login Commands](https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference_org_commands_unified.htm).
15
+
16
+ `sf org login web --instance-url=<Org URL>`
17
+
18
+ When prompted, enter your username and password, and connect. The command-line interface shows the message "Authentication Successful"
19
+
20
+ For example:
21
+ `username@userdomain ~ % sf org login web --instance-url=https://usa794org-5b.my.salesforce.com`
22
+
23
+ You then see the authorization message.
24
+ Successfully authorized username@salesforce.com with org ID 00DHp000004ArLWMA0
6
25
 
7
- ## Running SFDX plugin
26
+ You can also authenticate using a consumer key (client ID) and secret key through connected apps. See [Authorization Through Connected Apps and OAuth 2.0](<[text](https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/intro_oauth_and_connected_apps.htm)>).
8
27
 
9
- 1. Install SFDX cli using the official documentation located [here](https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_install_cli.htm).
10
- 2. Authenticate your SFDX cli into the org you are going to use for development. You can follow authentication steps [here](https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference_auth_web.htm).
11
- 3. In a new terminal session, install the plugin using the following command
28
+ 3. In a new terminal session, Install the Omnistudio Migration Assistant by running the `sf plugins install` command. For example
12
29
 
13
30
  ```
14
- sfdx plugins:install @salesforce/plugin-omnistudio-migration-tool
31
+ sf plugins install @salesforce/plugin-omnistudio-migration-tool@2.0.0-beta.13
15
32
  ```
16
33
 
17
- 4. To run the migration assistant, run the following command from your command line tool:
34
+ 4. Run the Omnistudio Migration Assistant from the Salesforce CLI:
18
35
 
19
36
  ```
37
+ // To assess everything without migrating
38
+ sfdx omnistudio:migration:assess -u YOUR_ORG_USERNAME@DOMAIN.COM
39
+
20
40
  // To migrate everything
21
41
  sfdx omnistudio:migration:migrate -u YOUR_ORG_USERNAME@DOMAIN.COM
22
42
 
23
- // To assess everything without migrating
24
- sfdx omnistudio:migration:assess -u YOUR_ORG_USERNAME@DOMAIN.COM
25
43
 
26
- // To migrate/assess specific components: FlexCards, DataMappers, Integration Procedures, or OmniScripts, add the following parameters:
27
- --only=dr
28
- --only=ip
29
- --only=os
30
- --only=fc
44
+ // To migrate/assess specific components: FlexCards, DataMappers, Integration Procedures, OmniScripts, or Global Auto Numbers, add the following parameters:
45
+ --only=dr // DataMappers (DataRaptors)
46
+ --only=ip // Integration Procedures
47
+ --only=os // OmniScripts
48
+ --only=fc // FlexCards
49
+ --only=autonumber // Global Auto Numbers
31
50
 
32
51
  // To migrate all versions of the components and not just the active ones:
33
52
  --allversions
@@ -39,13 +58,89 @@ sfdx omnistudio:migration:assess -u YOUR_ORG_USERNAME@DOMAIN.COM
39
58
  --namespace=VLOCITY_PACKAGE_NAMESPACE
40
59
  ```
41
60
 
61
+ 5. An HTML page will be open in your default browser with the results of your migration/assessment reports.
62
+
63
+ ## Global Auto Number Migration
64
+
65
+ Global Auto Numbers are components that generate sequential numbers across your Omnistudio org. The migration tool supports both assessment and migration of these components.
66
+
67
+ ### Prerequisites for Global Auto Number Migration
68
+
69
+ Before migrating Global Auto Numbers, ensure that:
70
+
71
+ 1. **Org Preference is Disabled**: The `OmniGlobalAutoNumberPref` org preference must be disabled before migration
72
+ 2. **Rollback Flags are Disabled**: Both `RollbackIPChanges` and `RollbackDRChanges` flags must be disabled
73
+ 3. **Namespace is Specified**: Provide the correct namespace for your OmniStudio package
74
+
75
+ ### Global Auto Number Migration Process
76
+
77
+ The migration process for Global Auto Numbers includes:
78
+
79
+ 1. **Pre-migration Checks**: Validates that org preferences and rollback flags are properly configured
80
+ 2. **Data Migration**: Transforms Global Auto Number settings from custom objects to standard Business Process Objects (BPO)
81
+ 3. **Post-migration Cleanup**: Removes source objects and enables the `OmniGlobalAutoNumberPref` org preference
82
+ 4. **Validation**: Ensures all records are successfully migrated before cleanup
83
+
84
+ ### Global Auto Number Assessment
85
+
86
+ Assessment provides detailed information about:
87
+
88
+ - **Name Changes**: Identifies any naming modifications required to comply with API naming standards
89
+ - **Migration Readiness**: Determines if components can be automatically migrated or require manual intervention
90
+ - **Warnings**: Highlights potential issues that may affect migration success
91
+
92
+ ### Usage Examples for Global Auto Numbers
93
+
94
+ ```bash
95
+ # Assess Global Auto Numbers only
96
+ sfdx omnistudio:migration:assess -u YOUR_ORG_USERNAME@DOMAIN.COM --only=autonumber
97
+
98
+ # Migrate Global Auto Numbers only
99
+ sfdx omnistudio:migration:migrate -u YOUR_ORG_USERNAME@DOMAIN.COM --only=autonumber
100
+ ```
101
+
42
102
  5. An HTML page will be open in your default browser with the results of your migration/assessment job.
43
103
 
44
- ### Usage & parameters
104
+ ### Assess Usage & parameters
105
+
106
+ ```
107
+ USAGE
108
+ $ sf omnistudio:migration:assess [-n <string>] [-f] [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel
109
+ trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
110
+
111
+ OPTIONS
112
+ -n, --namespace=namespace the namespace of the vertical package
113
+
114
+ -u, --targetusername=targetusername username or alias for the target
115
+ org; overrides default target org
116
+
117
+ -v, --targetdevhubusername=targetdevhubusername username or alias for the dev hub
118
+ org; overrides default dev hub org
119
+
120
+ --apiversion=apiversion override the api version used for
121
+ api requests made by this command
122
+
123
+ --json format output as json
124
+
125
+ --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL) [default: warn] logging level for
126
+ this command invocation
127
+
128
+ -a, --allversions migrate all versions and not
129
+ and not just the active ones.
130
+
131
+ --only=only specify components to assess:
132
+ dr (DataRaptors), ip (Integration Procedures),
133
+ os (OmniScripts), fc (FlexCards), autonumber (Global Auto Numbers)
134
+
135
+ --relatedobjects=relatedobjects specify related objects to assess:
136
+ 'apex' for Apex classes
137
+ ```
138
+
139
+ ### Migrate Usage & parameters
45
140
 
46
141
  ```
47
142
  USAGE
48
- $ sfdx omnistudio:migration:migrate [-n <string>] [-f] [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel
143
+ $ sf omnistudio:migration:migrate [-n <string>] [-f] [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel
49
144
  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
50
145
 
51
146
  OPTIONS
@@ -68,16 +163,17 @@ OPTIONS
68
163
  -a, --allversions migrate all versions and not
69
164
  and not just the active ones.
70
165
 
71
- --only=only specify components to migrate/assess:
166
+ --only=only specify components to migrate:
72
167
  dr (DataRaptors), ip (Integration Procedures),
73
168
  os (OmniScripts), fc (FlexCards)
74
169
 
75
170
  --relatedobjects=relatedobjects specify related objects to assess:
76
- 'apex' for Apex classes, 'lwc' for Lightning
77
- Web Components, or 'apex,lwc' for both types
171
+ 'apex' for Apex classes
78
172
  ```
79
173
 
80
- > **Note:** LWC (Lightning Web Components) migration functionality is temporarily disabled in the current version. This includes LWC migration, assessment, and report generation features. These features will be re-enabled in a future release. Apex migration functionality remains fully available. The `--relatedobjects` flag accepts all values ('apex', 'lwc', 'apex,lwc'), but LWC-related operations will not be executed.
174
+ > **Note:** LWC (Lightning Web Components) assessment/migration functionality is temporarily disabled in the current version. LWC features will be re-enabled in a future releases.
175
+
176
+ > Apex migration functionality remains fully available. The `--relatedobjects` flag only accepts values ('apex')
81
177
 
82
178
  Terms:
83
179
  Notwithstanding anything stated in the terms and conditions agreed between Salesforce (‘SFDC’) and you (‘Customer’), the use of the OmniStudio Migration Assistant (‘Assistant’) is designed to facilitate the migration and it’s going to modify your custom code and by deploying and using the Assistant you hereby provide your consent to automate the migration process and enable a smooth transition. Customer shall access and use the Assistant only as permitted to the Customer and shall not compromise, break or circumvent any technical processes or security measures associated with the services provided by SFDC.
@@ -19,5 +19,5 @@ export default class Assess extends OmniStudioBaseCommand {
19
19
  private assessDataRaptors;
20
20
  private assessFlexCards;
21
21
  private assessOmniScripts;
22
- private getProjectPath;
22
+ private assessGlobalAutoNumbers;
23
23
  }
@@ -27,8 +27,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  const os = __importStar(require("os"));
30
- const path = __importStar(require("path"));
31
- const fs = __importStar(require("fs"));
32
30
  const command_1 = require("@salesforce/command");
33
31
  const core_1 = require("@salesforce/core");
34
32
  const basecommand_1 = __importDefault(require("../../basecommand"));
@@ -36,32 +34,16 @@ const assessmentReporter_1 = require("../../../utils/resultsbuilder/assessmentRe
36
34
  const omniscript_1 = require("../../../migration/omniscript");
37
35
  const flexcard_1 = require("../../../migration/flexcard");
38
36
  const dataraptor_1 = require("../../../migration/dataraptor");
37
+ const globalautonumber_1 = require("../../../migration/globalautonumber");
39
38
  const utils_1 = require("../../../utils");
40
39
  const logger_1 = require("../../../utils/logger");
41
40
  const OmnistudioRelatedObjectMigrationFacade_1 = __importDefault(require("../../../migration/related/OmnistudioRelatedObjectMigrationFacade"));
42
41
  const orgUtils_1 = require("../../../utils/orgUtils");
43
42
  const orgPreferences_1 = require("../../../utils/orgPreferences");
44
43
  const stringContants_1 = require("../../../utils/constants/stringContants");
45
- const sfProject_1 = require("../../../utils/sfcli/project/sfProject");
46
- const promptUtil_1 = require("../../../utils/promptUtil");
44
+ const projectPathUtil_1 = require("../../../utils/projectPathUtil");
47
45
  core_1.Messages.importMessagesDirectory(__dirname);
48
46
  const messages = core_1.Messages.loadMessages('@salesforce/plugin-omnistudio-migration-tool', 'assess');
49
- const EXISTING_MODE = 'existing';
50
- const EMPTY_MODE = 'empty';
51
- const YES_SHORT = 'y';
52
- const NO_SHORT = 'n';
53
- const YES_LONG = 'yes';
54
- const NO_LONG = 'no';
55
- // Helper to create SFDX project if needed
56
- function createSfdxProject(folderPath) {
57
- const projectName = path.basename(folderPath);
58
- const parentDir = path.dirname(folderPath);
59
- sfProject_1.sfProject.create(projectName, parentDir);
60
- }
61
- function isSfdxProject(folderPath) {
62
- const sfdxProjectJson = path.join(folderPath, 'sfdx-project.json');
63
- return fs.existsSync(sfdxProjectJson);
64
- }
65
47
  class Assess extends basecommand_1.default {
66
48
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
67
49
  async run() {
@@ -71,7 +53,7 @@ class Assess extends basecommand_1.default {
71
53
  return await this.runAssess();
72
54
  }
73
55
  catch (error) {
74
- logger_1.Logger.error('Error running assess');
56
+ logger_1.Logger.error(messages.getMessage('errorRunningAssess'));
75
57
  logger_1.Logger.error(error);
76
58
  process.exit(1);
77
59
  }
@@ -91,7 +73,7 @@ class Assess extends basecommand_1.default {
91
73
  apiVersion = conn.getApiVersion();
92
74
  }
93
75
  const orgs = await orgUtils_1.OrgUtils.getOrgDetails(conn, this.flags.namespace);
94
- if (!orgs.hasValidNamespace) {
76
+ if (!orgs.hasValidNamespace && this.flags.namespace) {
95
77
  logger_1.Logger.warn(messages.getMessage('invalidNamespace') + orgs.packageDetails.namespace);
96
78
  }
97
79
  if (!orgs.packageDetails) {
@@ -105,20 +87,22 @@ class Assess extends basecommand_1.default {
105
87
  const namespace = orgs.packageDetails.namespace;
106
88
  let projectPath = '';
107
89
  if (relatedObjects) {
108
- projectPath = await this.getProjectPath();
90
+ projectPath = await projectPathUtil_1.ProjectPathUtil.getProjectPath(messages, true);
109
91
  }
110
92
  const assesmentInfo = {
111
93
  lwcAssessmentInfos: [],
112
94
  apexAssessmentInfos: [],
113
95
  dataRaptorAssessmentInfos: [],
114
96
  flexCardAssessmentInfos: [],
97
+ globalAutoNumberAssessmentInfos: [],
115
98
  omniAssessmentInfo: {
116
99
  osAssessmentInfos: [],
117
100
  ipAssessmentInfos: [],
118
101
  },
102
+ flexipageAssessmentInfos: [],
119
103
  };
120
104
  logger_1.Logger.log(messages.getMessage('assessmentInitialization', [String(namespace)]));
121
- logger_1.Logger.logVerbose(messages.getMessage('apiVersionInfo', [String(apiVersion)]));
105
+ logger_1.Logger.log(messages.getMessage('apiVersionInfo', [String(apiVersion)]));
122
106
  logger_1.Logger.logVerbose(messages.getMessage('assessmentTargets', [String(this.flags.only || 'all')]));
123
107
  logger_1.Logger.logVerbose(messages.getMessage('relatedObjectsInfo', [relatedObjects || 'none']));
124
108
  logger_1.Logger.logVerbose(messages.getMessage('allVersionsFlagInfo', [String(allVersions)]));
@@ -127,18 +111,21 @@ class Assess extends basecommand_1.default {
127
111
  let objectsToProcess;
128
112
  // Assess related objects if specified
129
113
  if (relatedObjects) {
130
- const validOptions = [stringContants_1.Constants.Apex, stringContants_1.Constants.LWC];
114
+ // To-Do: Add LWC to valid options when GA is released
115
+ const validOptions = [stringContants_1.Constants.Apex, stringContants_1.Constants.FlexiPage];
131
116
  objectsToProcess = relatedObjects.split(',').map((obj) => obj.trim());
132
117
  // Validate input
133
118
  for (const obj of objectsToProcess) {
134
119
  if (!validOptions.includes(obj)) {
135
- logger_1.Logger.warn(messages.getMessage('invalidRelatedObjectsOption', [String(obj)]));
120
+ logger_1.Logger.error(messages.getMessage('invalidRelatedObjectsOption', [String(obj)]));
121
+ process.exit(1);
136
122
  }
137
123
  }
138
124
  const omnistudioRelatedObjectsMigration = new OmnistudioRelatedObjectMigrationFacade_1.default(namespace, assessOnly, allVersions, this.org, projectPath);
139
125
  const relatedObjectAssessmentResult = omnistudioRelatedObjectsMigration.assessAll(objectsToProcess);
140
126
  assesmentInfo.lwcAssessmentInfos = relatedObjectAssessmentResult.lwcAssessmentInfos;
141
127
  assesmentInfo.apexAssessmentInfos = relatedObjectAssessmentResult.apexAssessmentInfos;
128
+ assesmentInfo.flexipageAssessmentInfos = relatedObjectAssessmentResult.flexipageAssessmentInfos;
142
129
  }
143
130
  try {
144
131
  orgs.rollbackFlags = await orgPreferences_1.OrgPreferences.checkRollbackFlags(conn);
@@ -156,6 +143,7 @@ class Assess extends basecommand_1.default {
156
143
  await this.assessDataRaptors(assesmentInfo, namespace, conn);
157
144
  await this.assessFlexCards(assesmentInfo, namespace, conn, allVersions);
158
145
  await this.assessOmniScripts(assesmentInfo, namespace, conn, allVersions, omniscript_1.OmniScriptExportType.All);
146
+ await this.assessGlobalAutoNumbers(assesmentInfo, namespace, conn);
159
147
  return;
160
148
  }
161
149
  switch (assessOnly) {
@@ -171,6 +159,9 @@ class Assess extends basecommand_1.default {
171
159
  case stringContants_1.Constants.IntegrationProcedure:
172
160
  await this.assessOmniScripts(assesmentInfo, namespace, conn, allVersions, omniscript_1.OmniScriptExportType.IP);
173
161
  break;
162
+ case stringContants_1.Constants.GlobalAutoNumber:
163
+ await this.assessGlobalAutoNumbers(assesmentInfo, namespace, conn);
164
+ break;
174
165
  default:
175
166
  throw new Error(messages.getMessage('invalidOnlyFlag'));
176
167
  }
@@ -198,70 +189,12 @@ class Assess extends basecommand_1.default {
198
189
  ]));
199
190
  logger_1.Logger.log(messages.getMessage('omniScriptAssessmentCompleted'));
200
191
  }
201
- async getProjectPath() {
202
- let projectPath = '';
203
- let mode = EXISTING_MODE;
204
- // Prompt for project type
205
- const askWithTimeout = promptUtil_1.PromptUtil.askWithTimeOut(messages);
206
- // Prompt: Existing project?
207
- let response = '';
208
- let validResponse = false;
209
- while (!validResponse) {
210
- try {
211
- const resp = await askWithTimeout(logger_1.Logger.prompt.bind(logger_1.Logger), messages.getMessage('existingApexPrompt'));
212
- response = typeof resp === 'string' ? resp.trim().toLowerCase() : '';
213
- }
214
- catch (err) {
215
- logger_1.Logger.error(messages.getMessage('requestTimedOut'));
216
- process.exit(1);
217
- }
218
- if (response === YES_SHORT || response === YES_LONG) {
219
- mode = EXISTING_MODE;
220
- validResponse = true;
221
- }
222
- else if (response === NO_SHORT || response === NO_LONG) {
223
- mode = EMPTY_MODE;
224
- validResponse = true;
225
- }
226
- else {
227
- logger_1.Logger.error(messages.getMessage('invalidYesNoResponse'));
228
- }
229
- }
230
- // Prompt for project path
231
- let gotValidPath = false;
232
- while (!gotValidPath) {
233
- let folderPath = '';
234
- try {
235
- const resp = await askWithTimeout(logger_1.Logger.prompt.bind(logger_1.Logger), mode === EXISTING_MODE
236
- ? messages.getMessage('enterExistingProjectPath')
237
- : messages.getMessage('enterEmptyProjectPath'));
238
- folderPath = typeof resp === 'string' ? resp.trim() : '';
239
- }
240
- catch (err) {
241
- logger_1.Logger.error(messages.getMessage('requestTimedOut'));
242
- process.exit(1);
243
- }
244
- folderPath = path.resolve(folderPath);
245
- if (!fs.existsSync(folderPath) || !fs.lstatSync(folderPath).isDirectory()) {
246
- logger_1.Logger.error(messages.getMessage('invalidProjectFolderPath'));
247
- continue;
248
- }
249
- if (mode === EMPTY_MODE && fs.readdirSync(folderPath).length > 0) {
250
- logger_1.Logger.error(messages.getMessage('notEmptyProjectFolderPath'));
251
- continue;
252
- }
253
- // If empty, create SFDX project
254
- if (mode === EMPTY_MODE) {
255
- createSfdxProject(folderPath);
256
- }
257
- else if (!isSfdxProject(folderPath)) {
258
- logger_1.Logger.error(messages.getMessage('notSfdxProjectFolderPath'));
259
- continue;
260
- }
261
- projectPath = folderPath;
262
- gotValidPath = true;
263
- }
264
- return projectPath;
192
+ async assessGlobalAutoNumbers(assesmentInfo, namespace, conn) {
193
+ logger_1.Logger.logVerbose(messages.getMessage('startingGlobalAutoNumberAssessment'));
194
+ const globalAutoNumberMigrationTool = new globalautonumber_1.GlobalAutoNumberMigrationTool(namespace, conn, logger_1.Logger, messages, this.ux);
195
+ assesmentInfo.globalAutoNumberAssessmentInfos = await globalAutoNumberMigrationTool.assess();
196
+ logger_1.Logger.logVerbose(messages.getMessage('assessedGlobalAutoNumbersCount', [assesmentInfo.globalAutoNumberAssessmentInfos.length]));
197
+ logger_1.Logger.log(messages.getMessage('globalAutoNumberAssessmentCompleted'));
265
198
  }
266
199
  }
267
200
  exports.default = Assess;
@@ -284,7 +217,7 @@ Assess.flagsConfig = {
284
217
  }),
285
218
  relatedobjects: command_1.flags.string({
286
219
  char: 'r',
287
- description: messages.getMessage('apexLwc'),
220
+ description: messages.getMessage('relatedObjectGA'),
288
221
  }),
289
222
  verbose: command_1.flags.builtin({
290
223
  type: 'builtin',
@@ -1 +1 @@
1
- {"version":3,"file":"assess.js","sourceRoot":"","sources":["../../../../src/commands/omnistudio/migration/assess.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAC7B,uCAAyB;AACzB,iDAA4C;AAC5C,2CAAwD;AACxD,oEAAsD;AAEtD,yFAAsF;AACtF,8DAA8F;AAC9F,0DAAgE;AAChE,8DAAwE;AACxE,0CAA4C;AAC5C,kDAA+C;AAC/C,+IAAuH;AACvH,sDAAyE;AACzE,kEAA+D;AAC/D,4EAAoE;AACpE,sEAAmE;AACnE,0DAAuD;AAEvD,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,8CAA8C,EAAE,QAAQ,CAAC,CAAC;AAEjG,MAAM,aAAa,GAAG,UAAU,CAAC;AACjC,MAAM,UAAU,GAAG,OAAO,CAAC;AAC3B,MAAM,SAAS,GAAG,GAAG,CAAC;AACtB,MAAM,QAAQ,GAAG,GAAG,CAAC;AACrB,MAAM,QAAQ,GAAG,KAAK,CAAC;AACvB,MAAM,OAAO,GAAG,IAAI,CAAC;AAErB,0CAA0C;AAC1C,SAAS,iBAAiB,CAAC,UAAkB;IAC3C,MAAM,WAAW,GAAG,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC;IAC9C,MAAM,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;IAC3C,qBAAS,CAAC,MAAM,CAAC,WAAW,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,CAAC,UAAU,CAAC,qCAAqC,CAAC,CAAC,CAAC;IACzE,CAAC;;AAxOH,yBAyOC;AAxOe,kBAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,oBAAoB,CAAC,CAAC;AAExD,eAAQ,GAAG,QAAQ,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;AAEzD,WAAI,GAAG,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,CAAC;AAEvB,kBAAW,GAAG;IAC7B,SAAS,EAAE,eAAK,CAAC,MAAM,CAAC;QACtB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,0BAA0B,CAAC;KAC7D,CAAC;IACF,IAAI,EAAE,eAAK,CAAC,MAAM,CAAC;QACjB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,qBAAqB,CAAC;KACxD,CAAC;IACF,WAAW,EAAE,eAAK,CAAC,OAAO,CAAC;QACzB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,wBAAwB,CAAC;QAC1D,QAAQ,EAAE,KAAK;KAChB,CAAC;IACF,cAAc,EAAE,eAAK,CAAC,MAAM,CAAC;QAC3B,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,iBAAiB,CAAC;KACpD,CAAC;IACF,OAAO,EAAE,eAAK,CAAC,OAAO,CAAC;QACrB,IAAI,EAAE,SAAS;QACf,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,qBAAqB,CAAC;KACxD,CAAC;CACH,CAAC"}
@@ -15,10 +15,14 @@ export default class Migrate extends OmniStudioBaseCommand {
15
15
  };
16
16
  run(): Promise<any>;
17
17
  runMigration(): Promise<any>;
18
+ private handleExperienceSitePrerequisites;
19
+ private collectActionItems;
20
+ private removeKeyFromRelatedObjectsToProcess;
18
21
  private truncateObjects;
19
22
  private migrateObjects;
20
23
  private getMigrationObjects;
21
- private getProjectPath;
22
24
  private getTargetApexNamespace;
25
+ private getGeneralConsent;
26
+ private getExpSiteMetadataEnableConsent;
23
27
  private mergeRecordAndUploadResults;
24
28
  }