apn-app-manager 1.8.2 → 1.10.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apn-app-manager",
3
- "version": "1.8.2",
3
+ "version": "1.10.0",
4
4
  "description": "Appian App Manager",
5
5
  "license": "Apache-2.0",
6
6
  "preferGlobal": true,
@@ -80,6 +80,8 @@ function executeClone(appZipPath, icfPath, callback) {
80
80
  }
81
81
  }
82
82
 
83
+ util.writeJson(path.resolve(cons.outDir, `objects.json`), objectMaps);
84
+
83
85
  // Update the object maps we are cloning based on the application prefix
84
86
  util.print(`Cloning the objects files...`);
85
87
  obMapsUpdates.renameObjectMaps(objectMaps, uuidCollector, namespaceCollector, options, obProps.usageTypes.CLONE);
@@ -45,9 +45,11 @@ const fieldNames = {
45
45
  DSE_NAMES: "dseNames",
46
46
  NODE_UUIDS: "nodeUuids",
47
47
  PM_PERSISTENT_UUIDS: "pmPersistentUuids",
48
+ ACP_UUIDS: "acpUuids",
48
49
  URL_STUB: "urlStub",
49
50
  PAGE_UUIDS: "pageUuids",
50
51
  APP_PREFIX: "appPrefix",
52
+ APP_ACTION_UUIDS: "appActionUuids",
51
53
  RECORD_ACTION_UUIDS: "recordActionUuids",
52
54
  RECORD_ACTION_REF_IDS: "recordActionRefIds",
53
55
  RECORD_FIELD_UUIDS: "fieldUuids",
@@ -235,6 +237,14 @@ const haulTypes = [
235
237
  usage: [usageTypes.CLONE, usageTypes.BUILD],
236
238
  isArray: true,
237
239
  },
240
+ {
241
+ fieldName: fieldNames.ACP_UUIDS,
242
+ xpath: `//*[local-name()='acp']/@name`,
243
+ extractRegex: /(?<=[\w_]+_uuid_).{25,}/g,
244
+ type: propTypes.UUID,
245
+ usage: [usageTypes.CLONE, usageTypes.BUILD],
246
+ isArray: true,
247
+ },
238
248
  ],
239
249
  },
240
250
  {
@@ -400,6 +410,13 @@ const haulTypes = [
400
410
  usage: [usageTypes.CLONE, usageTypes.BUILD],
401
411
  replaceFormat: "<prefix>{VALUE}</prefix>",
402
412
  },
413
+ {
414
+ fieldName: fieldNames.APP_ACTION_UUIDS,
415
+ xpath: `applicationHaul/application/applicationActions/action/actionUuid/node()`,
416
+ type: propTypes.UUID,
417
+ usage: [usageTypes.CLONE, usageTypes.BUILD],
418
+ isArray: true,
419
+ },
403
420
  ],
404
421
  },
405
422
  {