@hcl-software/dxclient 223.0.0 → 225.0.0

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 (49) hide show
  1. package/README.md +189 -0
  2. package/dist/package.json +2 -2
  3. package/dist/packages/admintasks/src/commands/restartDXCore.js +18 -9
  4. package/dist/packages/admintasks/src/commands/restartDXCore.js.map +1 -1
  5. package/dist/packages/admintasks/src/errors/CommandLineMessages_en.json +1 -0
  6. package/dist/packages/livesync/src/commands/pullTheme.d.ts +4 -1
  7. package/dist/packages/livesync/src/commands/pullTheme.js +13 -12
  8. package/dist/packages/livesync/src/commands/pullTheme.js.map +1 -1
  9. package/dist/packages/livesync/src/commands/pullWcmDesignLibrary.d.ts +0 -1
  10. package/dist/packages/livesync/src/commands/pullWcmDesignLibrary.js +146 -108
  11. package/dist/packages/livesync/src/commands/pullWcmDesignLibrary.js.map +1 -1
  12. package/dist/packages/livesync/src/commands/pushTheme.js +38 -18
  13. package/dist/packages/livesync/src/commands/pushTheme.js.map +1 -1
  14. package/dist/packages/livesync/src/commands/pushWcmDesignLibrary.js +224 -94
  15. package/dist/packages/livesync/src/commands/pushWcmDesignLibrary.js.map +1 -1
  16. package/dist/packages/livesync/src/errors/CommandLineMessages_en.json +42 -36
  17. package/dist/packages/livesync/src/messages/messages_en.json +10 -3
  18. package/dist/packages/livesync/src/services/EventsQueue.d.ts +1 -0
  19. package/dist/packages/livesync/src/services/EventsQueue.js +9 -2
  20. package/dist/packages/livesync/src/services/EventsQueue.js.map +1 -1
  21. package/dist/packages/livesync/src/services/foldersWcmServices.js +10 -2
  22. package/dist/packages/livesync/src/services/foldersWcmServices.js.map +1 -1
  23. package/dist/packages/livesync/src/services/livesyncUtils.d.ts +4 -0
  24. package/dist/packages/livesync/src/services/livesyncUtils.js +107 -2
  25. package/dist/packages/livesync/src/services/livesyncUtils.js.map +1 -1
  26. package/dist/packages/livesync/src/services/metadataServices.d.ts +3 -2
  27. package/dist/packages/livesync/src/services/metadataServices.js +187 -73
  28. package/dist/packages/livesync/src/services/metadataServices.js.map +1 -1
  29. package/dist/packages/livesync/src/services/ongoingSyncServices.d.ts +3 -3
  30. package/dist/packages/livesync/src/services/ongoingSyncServices.js +124 -30
  31. package/dist/packages/livesync/src/services/ongoingSyncServices.js.map +1 -1
  32. package/dist/packages/livesync/src/services/presentationTemplateWcmServices.d.ts +6 -0
  33. package/dist/packages/livesync/src/services/presentationTemplateWcmServices.js +138 -0
  34. package/dist/packages/livesync/src/services/presentationTemplateWcmServices.js.map +1 -0
  35. package/dist/packages/livesync/src/types/WCMDesignLibraryCache.type.d.ts +3 -0
  36. package/dist/packages/livesync/src/types/WcmRestApiV2.type.d.ts +8 -0
  37. package/dist/src/errors/CommandLineMessages_en.json +2 -1
  38. package/dist/src/index.js +6 -4
  39. package/dist/src/index.js.map +1 -1
  40. package/dist/src/services/apiServices.js +80 -78
  41. package/dist/src/services/apiServices.js.map +1 -1
  42. package/dist/src/utils/constants.d.ts +6 -2
  43. package/dist/src/utils/constants.js +10 -3
  44. package/dist/src/utils/constants.js.map +1 -1
  45. package/dist/src/utils/utils.js +6 -2
  46. package/dist/src/utils/utils.js.map +1 -1
  47. package/dist/src/utils/validateOptions.js +10 -1
  48. package/dist/src/utils/validateOptions.js.map +1 -1
  49. package/package.json +2 -2
package/README.md CHANGED
@@ -10,6 +10,8 @@ DXClient comes with two deployment options:
10
10
 
11
11
  1. One option is the DXClient container package. DXClient is packaged as a container that can be run using OCI-based runtimes such as Docker or Podman. It is available as a container image with HCL DX 9.5 CF196 and later releases.
12
12
 
13
+ **Warning** - Recent changes to Podman introduced by RedHat have caused a compatibility issue with the container implementation of DXClient. HCL is currently investigating how this might be resolved. Until further notice, Docker is recommended for using the DXClient container implementation.
14
+
13
15
  2. The alternative deployment option is DXClient as native JavaScript code. Customers who want to rely on this deployment option need to install their own Node.js and NPM runtime environment in the correct version and must install necessary dependencies as needed.
14
16
 
15
17
  **Important Note related to DXClient version & distribution:** DXClient is now available free to download/install through NpmJS and harbor repositories. Following the decision to openly distribute DXClient, we have changed the current versioning format of DXClient from 1.xx.x to <CFNumber>.x.x. For example, the last release version of DXClient was "1.29.0" but the upcoming release is reformatted to "221.0.0". The number 221 is synonymous with the CF Number version of DX deployments.
@@ -266,6 +268,12 @@ Note that a few parameters are deprecated and replaced with new parameters in th
266
268
  * DXClient will be openly distributed in NpmJS & harbor repository.
267
269
  * In DAM Staging tasks, the parameters dxWASUsername, dxWASPassword, targetServerWASUsername, and targetServerWASPassword are now deprecated and should no longer be used.
268
270
 
271
+ 22. If connecting to an HCL DX 9.5 CF224 release, following changes are to be expected.
272
+ * New DXClient LiveSync Sub-Commands: LiveSync push-wcm-design-library | pull-wcm-design-library
273
+
274
+ 24. If connecting to an HCL DX 9.5 CF225 release, following changes are to be expected.
275
+ * Livsync enabled for Presentation Template under WCM Design Library.
276
+
269
277
  ## DXClient configuration
270
278
 
271
279
  Common command arguments that are listed in `config.json` can be pre-configured via this file. The common arguments could also be provided through command line. If so, it will override the values in `config.json` and execute.
@@ -329,6 +337,8 @@ dxclient manage-dam-assets import-assets [options] - command to import the dam a
329
337
  dxclient restart-core-pods [options] - command to execute the Restart Core Pods action (for Kubernetes deployments)
330
338
  dxclient livesync push-theme [options] - command for watching a theme folder path live and syncs it in DX Server
331
339
  dxclient livesync pull-theme [options] - command for downloading theme files from DX Server to a target local theme folder
340
+ dxclient livesync push-wcm-design-library [options] - command for watching a WCM Design Library folder path live and syncs it in DX Server
341
+ dxclient livesync pull-wcm-design-library [options] - command for downloading WCM Design Library files from DX Server to a target local folder
332
342
 
333
343
  ```
334
344
  ### DXClient Help commands
@@ -1112,6 +1122,26 @@ The import command imports the translated contents into DX and It would overwrit
1112
1122
  dxclient mls-import -dxProtocol <dxProtocol> -hostname <hostname> -dxPort <dxPort>
1113
1123
  -contenthandlerPath <contenthandlerPath> -dxUsername <dxUsername> -dxPassword <dxPassword> -importPath <importPath> -wcmProjectName <wcmProjectName> -virtualPortalContext <virtualPortalContext>
1114
1124
  ```
1125
+ Editable fields in CSV files
1126
+
1127
+ In the exported CSV file, you can only edit the following fields: **target**, **title**, and **description**.
1128
+
1129
+ Maximum data length for importing the translated contents:
1130
+ ```
1131
+ Only ShortTextComponent element type has an explicit maximum data length defined as 250 characters. Import command would validate the length of the data for this particular element type before proceeding with the actual import flow. Any errors due to custom configuration of limits are caught by the import/export during the execution cycle and the error log is reported.
1132
+ ```
1133
+ CSV file length limits
1134
+ ```
1135
+ Only ShortTextComponent element type has an explicit maximum data length defined as 250 characters. And this limit is seen by users in the CSV file as new column called fieldLimit is added.
1136
+ ```
1137
+ Link field to see translators content
1138
+ ```
1139
+ User can just preview the link of the portal content directly from the CSV file as new column called previewLink is added.
1140
+ ```
1141
+ Content information data
1142
+ ```
1143
+ Content specific information rows namely title and description has been provided in the CSV file. User can edit the title and description of the content while importing the contents to portal.
1144
+ ```
1115
1145
 
1116
1146
  ### 11. Deploy Application
1117
1147
 
@@ -3124,6 +3154,165 @@ Example usage:
3124
3154
  dxclient manage-dam-staging find-staging-mismatch -dxProtocol <dxProtocol> -hostname <hostname> -dxPort <dxPort> -dxUsername <dxUsername> -dxPassword <dxPassword> -damAPIPort <damAPIPort> -ringAPIPort <ringAPIPort> -damAPIVersion <damAPIVersion> -ringAPIVersion <ringAPIVersion> -subscriberId <subscriberId>
3125
3155
  ```
3126
3156
 
3157
+ ### 44. LiveSync Push WCM Design Library
3158
+
3159
+ This command will sync your WCM Design Library local files into DX Server. Then, it will watch for succeeding changes within the given `wcmLibraryPath` and immediately reflect the changes in the DX server.
3160
+
3161
+ > :warning: **Feature Limitations:**
3162
+ > 1. Supported WCM Types: Presentation Template, HTML Component and Folder Component.
3163
+ > 2. Moving and Renaming of files will be equivalent to deleting the original components and creation of an entirely new components.
3164
+ > 3. If a published component have a draft version, the feature will pull and push into the draft version.
3165
+ > 4. The Push WCM Design Library feature will only work on WCM Design Library previously pulled by the LiveSync Pull WCM Design Library feature.
3166
+
3167
+ Commands Description
3168
+
3169
+ This command invokes the livesync push-wcm-design-library tool inside the DXClient.
3170
+
3171
+ This command initially pushes all the changes that happened in local WCM Design Library files (provided in `wcmLibraryPath`) to DX Server with the WCM Design Library system name (provided in `wcmLibraryName`). It will then create a file system watcher which will watch for any changes (files or folders) under `wcmLibraryPath` and immediately reflect those changes in DX Server. To stop watching, press (Ctrl + C).
3172
+
3173
+ ```shell
3174
+ dxclient livesync push-wcm-design-library
3175
+ ```
3176
+
3177
+ **Help command**
3178
+ This command shows the help information for `live-sync` command usage:
3179
+
3180
+ ```shell
3181
+ dxclient livesync push-wcm-design-library -h
3182
+ ```
3183
+ **Command options**
3184
+ ```
3185
+ -dxProtocol, --dxProtocol <value>
3186
+ Protocol of the DX server
3187
+
3188
+ -hostname, --hostname <value>
3189
+ Host name of the DX server
3190
+
3191
+ -dxPort, --dxPort <value>
3192
+ Port number of the DX Server, for any Kubernetes Environment default port is 443
3193
+
3194
+ -dxUsername, --dxUsername <value>
3195
+ Username of the DX Core server
3196
+
3197
+ -dxPassword, --dxPassword <value>
3198
+ Password of the DX Core server
3199
+
3200
+ -contenthandlerPath,--contenthandlerPath <value>
3201
+ Alternate path for the portal context root or the content handler servlet (default: "/wps/mycontenthandler")
3202
+
3203
+ -wcmLibraryName, --wcmLibraryName <value>
3204
+ WCM Design Library Name
3205
+
3206
+ -wcmLibraryId, --wcmLibraryId <value>
3207
+ UUID of the WCM Design Library
3208
+
3209
+ -wcmLibraryPath, --wcmLibraryPath <value>
3210
+ Local path to the Library folder
3211
+
3212
+ -wcmProjectName, --wcmProjectName <value>
3213
+ Name of the WCM Project
3214
+
3215
+ -virtualPortalContext, --virtualPortalContext <value>
3216
+ Context of the virtual portal of the DX Core server
3217
+
3218
+ -disablePrompt, --disablePrompt <value>
3219
+ Disable the confirmation prompt for overwriting local and server files. Bypasses the prompt and immediately proceeds on pushing or pulling theme files.
3220
+ ```
3221
+ Example usage:
3222
+
3223
+ ```
3224
+ dxclient livesync push-wcm-design-library -dxUsername <dxUsername> -dxPassword <dxPassword> -dxPort <dxPort> -dxProtocol <dxProtocol> -hostname <hostname> -contenthandlerPath <contenthandlerPath> -wcmLibraryPath <wcmLibraryPath> -wcmLibraryName <wcmLibraryName>
3225
+ ```
3226
+
3227
+ **Optional wcmLibraryName and wcmLibraryId inputs**
3228
+ If the user provided neither of these options. The dxclient livesync push-wcm-design-library will use the metadata of saved WCM Design Library in the `wcmLibraryPath`.
3229
+
3230
+ ### 45. LiveSync Pull WCM Design Library
3231
+
3232
+ This command is used to sync a DX WCM Design Library from DX Server to a local folder.
3233
+
3234
+ > :warning: **Feature Limitations:**
3235
+ > 1. Supported WCM Types: Presentation Template, HTML Component and Folder Component.
3236
+ > 2. Moving and Renaming of files will be equivalent to deleting the original components and creation of an entirely new components.
3237
+ > 3. If a published component have a draft version, the feature will pull and push into the draft version.
3238
+ > 4. The Push WCM Design Library feature will only work on WCM Design Library previously pulled by the LiveSync Pull WCM Design Library feature.
3239
+
3240
+ Commands Description
3241
+
3242
+ This command invokes the livesync pull-wcm-design-library tool inside the DXClient.
3243
+
3244
+ This command will download the WCM Design Library files in DX Server under the given library name (provided in `-wcmLibraryName`). This will then be saved to the target local directory of the library (provided in `-wcmLibraryPath`), overwriting existing files in this local directory which also deletes stale files in the process.
3245
+
3246
+ ```
3247
+ dxclient livesync pull-wcm-design-library
3248
+ ```
3249
+ **Help command**
3250
+ This command shows the help information for `livesync pull-wcm-design-library` command usage:
3251
+ ```
3252
+ dxclient livesync pull-wcm-design-library -h
3253
+ ```
3254
+
3255
+ **Command Options:**
3256
+ ```
3257
+ -dxProtocol, --dxProtocol <value>
3258
+ Protocol of the DX server
3259
+
3260
+ -hostname, --hostname <value>
3261
+ Host name of the DX server
3262
+
3263
+ -dxPort, --dxPort <value>
3264
+ Port number of the DX Server, for any Kubernetes Environment default port is 443
3265
+
3266
+ -dxUsername, --dxUsername <value>
3267
+ Username of the DX Core server
3268
+
3269
+ -dxPassword, --dxPassword <value>
3270
+ Password of the DX Core server
3271
+
3272
+ -contenthandlerPath,--contenthandlerPath <value>
3273
+ Alternate path for the portal context root or the content handler servlet (default: "/wps/mycontenthandler")
3274
+
3275
+ -wcmLibraryName, --wcmLibraryName <value>
3276
+ WCM Design Library Name
3277
+
3278
+ -wcmLibraryId, --wcmLibraryId <value>
3279
+ UUID of the WCM Design Library
3280
+
3281
+ -wcmibraryPath, --wcmLibraryPath <value>
3282
+ Local path to the Library folder
3283
+
3284
+ -wcmProjectName, --wcmProjectName <value>
3285
+ Name of the WCM Project
3286
+
3287
+ -virtualPortalContext, --virtualPortalContext <value>
3288
+ Context of the virtual portal of the DX Core server
3289
+
3290
+ -disablePrompt, --disablePrompt <value>
3291
+ Disable the confirmation prompt for overwriting local and server files. Bypasses the prompt and immediately proceeds on pushing or pulling theme files.
3292
+ ```
3293
+
3294
+ Example usage:
3295
+ ```
3296
+ dxclient livesync pull-wcm-design-library -dxUsername <dxUsername> -dxPassword <dxPassword> -dxPort <dxPort> -dxProtocol <dxProtocol> -hostname <hostname> -contenthandlerPath <contenthandlerPath> -wcmLibraryPath <wcmLibraryPath> -wcmLibraryName <wcmLibraryName>
3297
+ ```
3298
+
3299
+ **Optional wcmLibraryName and wcmLibraryId inputs**
3300
+
3301
+ If neither of these options is not provided:
3302
+ 1. The LiveSync will check if a saved library was previously pull using this command and use that as the basis.
3303
+ 2. If no saved library is detected, a list of WCM Design Libraries displayed and you can select a WCM Design Library to pull.
3304
+
3305
+ Sample WCM Design Library Selection Prompt
3306
+ ```shell
3307
+ $ dxclient livesync pull-wcm-design-library -dxUsername <dxUsername> -dxPassword <dxPassword> -dxPort <dxPort> -dxProtocol <dxProtocol> -hostname <hostname> -contenthandlerPath <contenthandlerPath> -wcmLibraryPath <wcmLibraryPath>
3308
+ 2024-08-16 19:53:06 : Checking for saved WCM Design Library in <wcmLibraryPath>
3309
+ 2024-08-16 19:53:06 : Please select a WCM Design Library
3310
+ (x) [Library Name: blog solo template v70, Display Title: Blog Solo Template v70, ID: ddc1c6de-b18d-4cfd-af8f-dac5ccdd5d30]
3311
+ ( ) [Library Name: blog template v70, Display Title: Blog Template v70, ID: 5eb62c46-6f7d-498f-b71d-6bbdaac3e84a]
3312
+ ( ) [Library Name: ml configuration, Display Title: ML Configuration, ID: cac73711-d639-436b-a922-1a717c5e1105]
3313
+ ( ) [Library Name: portal site, Display Title: Portal Site, ID: TWFuYWdlZCBQYWdlcyBSb290IExpYnJhcnk]
3314
+ ```
3315
+
3127
3316
  # Logger enablement
3128
3317
 
3129
3318
  ## Enable logger
package/dist/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hcl-software/dxclient",
3
3
  "description": "DXClient is a CLI tool to manage tasks such as deploying portlets, script applications and themes easily from source development environments to target HCL DX deployments. This tool is capable of taking artifacts developed locally and deploying them into DX servers deployed on supported on-premise platforms in standalone, cluster or farm topologies and Kubernetes. Kubernetes platforms are supported for HCL Digital Experience 9.5 CF192 and higher only. \n\nCommon command arguments that are listed in `config.json` can be pre-configured via this file. The common arguments could also be provided through command line. If so, it will override the values in `config.json` and execute. A sample configuration file 'default-config-kube.json' for Kubernetes environments is available under the 'samples/sample-configurations' folder for reference.",
4
- "version": "223.0.0",
4
+ "version": "225.0.0",
5
5
  "license": "Licensed Materials - Property of HCL, Copyright HCL Technologies Ltd. 2020, 2024. All Rights Reserved.",
6
6
  "bin": {
7
7
  "dxclient": "bin/dxclient"
@@ -120,7 +120,7 @@
120
120
  "coverageThreshold": {
121
121
  "global": {
122
122
  "branches": 85.53,
123
- "functions": 94.74,
123
+ "functions": 94.55,
124
124
  "lines": 93.19,
125
125
  "statements": 93.31
126
126
  }
@@ -44,15 +44,24 @@ class RestartDXCore {
44
44
  process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
45
45
  try {
46
46
  const restartDXCoreResponse = yield restartDXCoreService_1.restartDXCoreService.executeRestartDXCore(restartDXCoreURL, cmdArgs.dxUsername, cmdArgs.dxPassword, cmdArgs.dxConnectUsername, cmdArgs.dxConnectPassword, cmdArgs.dxProfileName, cmdArgs.dxProfilePath, cmdArgs.requestId);
47
- if (restartDXCoreResponse && restartDXCoreResponse.status === constants_1.HttpStatus.SUCCESS) {
48
- logger_1.logger.info(utils_1.message('RESTART_DXCORE_SUCCESS'));
49
- restartStatus = true;
50
- }
51
- else if (restartDXCoreResponse && restartDXCoreResponse.status === constants_1.HttpStatus.ACCEPTED) {
52
- logger_1.logger.info(utils_1.errorMessage('REQUEST_UNDER_PROCESS', { 0: restartDXCoreResponse.data.uuid }, true));
53
- }
54
- else if (restartDXCoreResponse && restartDXCoreResponse.data) {
55
- logger_1.logger.info(utils_1.errorMessage('ERROR_RESTART_DXCORE', { 0: restartDXCoreResponse.data.message }));
47
+ if (restartDXCoreResponse) {
48
+ switch (restartDXCoreResponse.status) {
49
+ case constants_1.HttpStatus.SUCCESS:
50
+ logger_1.logger.info(utils_1.message('RESTART_DXCORE_SUCCESS'));
51
+ restartStatus = true;
52
+ break;
53
+ case constants_1.HttpStatus.ACCEPTED:
54
+ logger_1.logger.info(utils_1.errorMessage('REQUEST_UNDER_PROCESS', { 0: restartDXCoreResponse.data.uuid }, true));
55
+ break;
56
+ case constants_1.HttpStatus.NOT_FOUND:
57
+ logger_1.logger.error(utils_1.errorMessage('ERROR_RESTART_DXCORE_NOT_FOUND'));
58
+ logger_1.logger.debug(`Restart DX Core URL not found or not been defined ${restartDXCoreURL}`);
59
+ break;
60
+ default:
61
+ if (restartDXCoreResponse.data) {
62
+ logger_1.logger.info(utils_1.errorMessage('ERROR_RESTART_DXCORE', { 0: restartDXCoreResponse.data.message }));
63
+ }
64
+ }
56
65
  }
57
66
  }
58
67
  catch (error) {
@@ -1 +1 @@
1
- {"version":3,"file":"restartDXCore.js","sourceRoot":"","sources":["../../../../../packages/admintasks/src/commands/restartDXCore.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYA,8EAAgE;AAChE,+DAAmF;AACnF,y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CAAC,CAAC;gBAE7I,IAAI,qBAAqB,EAAE;oBACzB,QAAQ,qBAAqB,CAAC,MAAM,EAAE;wBACpC,KAAK,sBAAU,CAAC,OAAO;4BACrB,eAAM,CAAC,IAAI,CAAC,eAAO,CAAC,wBAAwB,CAAC,CAAC,CAAC;4BAC/C,aAAa,GAAG,IAAI,CAAC;4BACrB,MAAM;wBACR,KAAK,sBAAU,CAAC,QAAQ;4BACtB,eAAM,CAAC,IAAI,CAAC,oBAAY,CAAC,uBAAuB,EAAE,EAAE,CAAC,EAAE,qBAAqB,CAAC,IAAI,CAAC,IAAI,EAAE,EAAE,IAAI,CAAC,CAAC,CAAC;4BACjG,MAAM;wBACR,KAAK,sBAAU,CAAC,SAAS;4BACvB,eAAM,CAAC,KAAK,CAAC,oBAAY,CAAC,gCAAgC,CAAC,CAAC,CAAC;4BAC7D,eAAM,CAAC,KAAK,CAAC,qDAAqD,gBAAgB,EAAE,CAAC,CAAC;4BACtF,MAAM;wBACR;4BACE,IAAI,qBAAqB,CAAC,IAAI,EAAE;gCAC9B,eAAM,CAAC,IAAI,CAAC,oBAAY,CAAC,sBAAsB,EAAE,EAAE,CAAC,EAAE,qBAAqB,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC;6BAC9F;qBACJ;iBACF;aACF;YAAC,OAAO,KAAK,EAAE;gBACd,eAAM,CAAC,KAAK,CAAC,8CAA8C,CAAC,CAAC;gBAC7D,eAAM,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;aAC7B;YACD,eAAM,CAAC,KAAK,CAAC,6CAA6C,CAAC,CAAC;YAC5D,OAAO,aAAa,CAAC;QACvB,CAAC;KAAA;CACF;AA5CD,sCA4CC"}
@@ -7,6 +7,7 @@
7
7
  "ERROR_TARGET_PORT": "Please enter a valid target server port.",
8
8
  "ERROR_TARGET_DX_PROFILE_NAME": "Please enter a valid profile name of the target server.",
9
9
  "ERROR_RESTART_DXCORE": "Error in restarting the DX Core: {0}.",
10
+ "ERROR_RESTART_DXCORE_NOT_FOUND": "An unexpected issue occurred while attempting to restart DX Core. Please check DXClient logs and DX Core Server logs.",
10
11
  "ERROR_RESPONSE_UNAUTHORIZED": "Restart of DX Core failed due to an authorization failure.",
11
12
  "ERROR_VP_CONTEXT": "Please enter a valid virtual portal context.",
12
13
  "ERROR_VP_TITLE": "Please enter a valid virtual portal name.",
@@ -1,5 +1,8 @@
1
1
  import commander from 'commander';
2
2
  export declare class PullTheme {
3
3
  invoke(cmdArgs: commander.Command): Promise<boolean>;
4
- initPull(cmdArgs: commander.Command): Promise<boolean>;
4
+ initPull(cmdArgs: commander.Command): Promise<{
5
+ isSuccess: boolean;
6
+ errString?: string;
7
+ }>;
5
8
  }
@@ -32,18 +32,19 @@ class PullTheme {
32
32
  }
33
33
  logger_1.logger.info(utils_1.message('LIVESYNC_PULL_THEME_START', { 0: pullThemeLocation }));
34
34
  const result = yield this.initPull(cmdArgs);
35
- if (result) {
35
+ if (result.isSuccess) {
36
36
  logger_1.logger.info(utils_1.message('LIVESYNC_PULL_THEME_END'));
37
37
  }
38
38
  else {
39
- logger_1.logger.error(utils_1.errorMessage('ERROR_THEME_PULL_END'));
39
+ logger_1.logger.error(result.errString);
40
40
  }
41
- return result;
41
+ return result.isSuccess;
42
42
  });
43
43
  }
44
44
  initPull(cmdArgs) {
45
45
  return __awaiter(this, void 0, void 0, function* () {
46
46
  logger_1.logger.debug('initPull started');
47
+ let errString = '';
47
48
  try {
48
49
  const baseUrl = `${cmdArgs.dxProtocol}://${cmdArgs.hostname}:${cmdArgs.dxPort}${cmdArgs.contenthandlerPath}${constants_1.URL_PATH.webDavTheme}`;
49
50
  const { themeName } = cmdArgs;
@@ -71,32 +72,32 @@ class PullTheme {
71
72
  catch (error) {
72
73
  const msg = new Error(error).message;
73
74
  if (msg.toLowerCase().includes('ebusy')) {
74
- logger_1.logger.error(utils_1.errorMessage('ERROR_THEME_PULL_EBUSY'));
75
+ errString = utils_1.errorMessage('ERROR_THEME_PULL_EBUSY');
75
76
  }
76
77
  else {
77
- logger_1.logger.error(utils_1.errorMessage('ERROR_THEME_PULL_EMPTY_DIR'));
78
+ errString = utils_1.errorMessage('ERROR_THEME_PULL_EMPTY_DIR');
78
79
  }
79
- return false;
80
+ return { isSuccess: false, errString };
80
81
  }
81
82
  if (filesServices_1.fileServices.unZip(localThemePath, tmpZip.name)) {
82
- return true;
83
+ return { isSuccess: true };
83
84
  }
84
85
  }
85
- logger_1.logger.error(utils_1.errorMessage('ERROR_THEME_PULL_ZIP_SAVE_FAILED', { 0: themeName }));
86
+ errString = utils_1.errorMessage('ERROR_THEME_PULL_ZIP_SAVE_FAILED', { 0: themeName });
86
87
  }
87
88
  else {
88
- logger_1.logger.error(utils_1.errorMessage('ERROR_THEME_PULL_NO_DATA_RECEIVED', { 0: themeName }));
89
+ errString = utils_1.errorMessage('ERROR_THEME_PULL_NO_DATA_RECEIVED', { 0: themeName });
89
90
  }
90
91
  }
91
92
  else {
92
- logger_1.logger.error(utils_1.errorMessage('ERROR_THEME_PULL_NOT_FOUND', { 0: themeName }));
93
+ errString = utils_1.errorMessage('ERROR_THEME_PULL_NOT_FOUND', { 0: themeName });
93
94
  }
94
95
  logger_1.logger.debug('Exit the deploy theme in WebDav.');
95
96
  }
96
97
  catch (error) {
97
- logger_1.logger.error(utils_1.errorMessage('ERROR_THEME_PULL_GENERIC', { 0: cmdArgs.themeName, 1: error.message }));
98
+ errString = utils_1.errorMessage('ERROR_THEME_PULL_GENERIC', { 0: cmdArgs.themeName, 1: error.message });
98
99
  }
99
- return false;
100
+ return { isSuccess: false, errString };
100
101
  });
101
102
  }
102
103
  }
@@ -1 +1 @@
1
- {"version":3,"file":"pullTheme.js","sourceRoot":"","sources":["../../../../../packages/livesync/src/commands/pullTheme.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAYA,8CAAsB;AACtB,gDAAwB;AACxB,+DAAsF;AACtF,yDAAsD;AACtD,uDAKqC;AACrC,mFAAgF;AAChF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C;QACzC,CAAC;KAAA;CACF;AA9ED,8BA8EC"}
@@ -10,7 +10,6 @@ export declare class PullWcmDesignLibrary {
10
10
  invoke(cmdArgs: commander.Command): Promise<boolean>;
11
11
  pullLibrary(libraryId: string, projectId?: string): Promise<boolean>;
12
12
  private pullFolderPresets;
13
- getLibraryId(libraryName: string): Promise<string>;
14
13
  getLibraryMetadata(libraryId?: string): Promise<Library>;
15
14
  emptyLocalPath(localLibraryPath: string): boolean;
16
15
  private processFolders;