@esri/solution-common 5.6.4 → 5.6.5

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.
@@ -43,6 +43,7 @@ export * from "./sharing";
43
43
  export * from "./templatization";
44
44
  export * from "./trackingHelpers";
45
45
  export * from "./velocityHelpers";
46
+ export * from "./webtoolHelpers";
46
47
  export * from "./workflowHelpers";
47
48
  export * from "./workforceHelpers";
48
49
  export * from "./zip-utils";
package/dist/cjs/index.js CHANGED
@@ -46,6 +46,7 @@ tslib_1.__exportStar(require("./sharing"), exports);
46
46
  tslib_1.__exportStar(require("./templatization"), exports);
47
47
  tslib_1.__exportStar(require("./trackingHelpers"), exports);
48
48
  tslib_1.__exportStar(require("./velocityHelpers"), exports);
49
+ tslib_1.__exportStar(require("./webtoolHelpers"), exports);
49
50
  tslib_1.__exportStar(require("./workflowHelpers"), exports);
50
51
  tslib_1.__exportStar(require("./workforceHelpers"), exports);
51
52
  tslib_1.__exportStar(require("./zip-utils"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH;;;;GAIG;AAEH,yDAA+B;AAC/B,yDAA+B;AAC/B,uEAA6C;AAC7C,0DAAgC;AAChC,2DAAiC;AACjC,yDAA+B;AAC/B,kEAAwC;AACxC,wDAA8B;AAC9B,2DAAiC;AACjC,qEAA2C;AAC3C,8DAAoC;AACpC,+DAAqC;AACrC,kEAAwC;AACxC,uDAA6B;AAC7B,uDAA6B;AAC7B,0DAAgC;AAChC,qDAA2B;AAC3B,4DAAkC;AAClC,sDAA4B;AAC5B,wDAA8B;AAC9B,2DAAiC;AACjC,oDAA0B;AAC1B,2DAAiC;AACjC,4DAAkC;AAClC,4DAAkC;AAClC,4DAAkC;AAClC,6DAAmC;AACnC,sDAA4B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH;;;;GAIG;AAEH,yDAA+B;AAC/B,yDAA+B;AAC/B,uEAA6C;AAC7C,0DAAgC;AAChC,2DAAiC;AACjC,yDAA+B;AAC/B,kEAAwC;AACxC,wDAA8B;AAC9B,2DAAiC;AACjC,qEAA2C;AAC3C,8DAAoC;AACpC,+DAAqC;AACrC,kEAAwC;AACxC,uDAA6B;AAC7B,uDAA6B;AAC7B,0DAAgC;AAChC,qDAA2B;AAC3B,4DAAkC;AAClC,sDAA4B;AAC5B,wDAA8B;AAC9B,2DAAiC;AACjC,oDAA0B;AAC1B,2DAAiC;AACjC,4DAAkC;AAClC,4DAAkC;AAClC,2DAAiC;AACjC,4DAAkC;AAClC,6DAAmC;AACnC,sDAA4B"}
@@ -65,10 +65,6 @@ function getItemResourcesPaths(itemTemplate, solutionItemId, authentication, sto
65
65
  result = false;
66
66
  }
67
67
  }
68
- // GP Services
69
- if (itemTemplate.type === "Geoprocessing Service") {
70
- return res.indexOf("webtoolDefinition") > -1 || res.indexOf(".json") < 0;
71
- }
72
68
  return result;
73
69
  });
74
70
  // create the filePaths
@@ -1 +1 @@
1
- {"version":3,"file":"getItemResourcesPaths.js","sourceRoot":"","sources":["../../../src/resources/getItemResourcesPaths.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,sDAAqD;AACrD,wDAA6D;AAG7D,wHAAwH;AAExH;;;;;;;;GAQG;AACH,SAAgB,qBAAqB,CACnC,YAA2B,EAC3B,cAAsB,EACtB,cAA2B,EAC3B,cAAc,GAAG,CAAC;IAElB,iCAAiC;IACjC,OAAO,IAAA,iCAAgB,EAAC,YAAY,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC,IAAI,CAAC,CAAC,gBAAgB,EAAE,EAAE;QACrF,sDAAsD;QACtD,sCAAsC;QACtC,MAAM,aAAa,GAAG,gBAAgB,CAAC,SAAS;aAC7C,GAAG,CAAC,CAAC,CAAM,EAAE,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AC;iBAChB;gBACD,IAAI,GAAG,CAAC,KAAK,CAAC,sBAAsB,CAAC,EAAE;oBACrC,MAAM,GAAG,KAAK,CAAC;iBAChB;gBACD,IAAI,GAAG,KAAK,qBAAqB,EAAE;oBACjC,MAAM,GAAG,KAAK,CAAC;iBAChB;aACF;YAED,kBAAkB;YAClB,IAAI,YAAY,CAAC,IAAI,KAAK,gBAAgB,EAAE;gBAC1C,IAAI,GAAG,KAAK,oBAAoB,EAAE;oBAChC,MAAM,GAAG,KAAK,CAAC;iBAChB;aACF;YAED,OAAO,MAAM,CAAC;QAChB,CAAC,CAAC,CAAC;QACL,uBAAuB;QACvB,MAAM,qBAAqB,GAA0B,IAAA,yCAAuB,EAC1E,cAAc,CAAC,MAAM,EACrB,YAAY,CAAC,MAAM,EACnB,YAAY,CAAC,IAAI,CAAC,SAAS,EAC3B,aAAa,EACb,YAAY,CAAC,IAAI,KAAK,OAAO,EAC7B,cAAc,CACf,CAAC;QACF,OAAO,OAAO,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC;IAChD,CAAC,CAAC,CAAC;AACL,CAAC;AA3DD,sDA2DC"}
@@ -0,0 +1,57 @@
1
+ /** @license
2
+ * Copyright 2024 Esri
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { IItemTemplate } from "./interfaces";
17
+ /**
18
+ * Store any web tool urls in the templateDictionary so we can use them to search other items
19
+ * after they have been converted to templates
20
+ *
21
+ * @param template the current template
22
+ * @param templateDictionary Hash of facts: folder id, org URL, adlib replacements
23
+ *
24
+ */
25
+ export declare function preProcessWebTool(template: IItemTemplate, templateDictionary: any): void;
26
+ /**
27
+ * Use any stored GPServer urls to search all other templates for potential references
28
+ * This will allow us to replace the base server name as will as the itemId
29
+ *
30
+ * @param templates the list of all the templates in the solution
31
+ * @param templateDictionary Hash of facts: folder id, org URL, adlib replacements
32
+ *
33
+ * @returns potentially updated list of all the templates in the solution
34
+ */
35
+ export declare function postProcessWebToolReferences(templates: IItemTemplate[], templateDictionary: any): IItemTemplate[];
36
+ /**
37
+ * Use any stored GPServer urls to search all other templates for potential references
38
+ * This will allow us to replace the base server name as will as the itemId
39
+ *
40
+ * @param templates the list of all the templates in the solution
41
+ * @param orgUrl the item url of the GPServer
42
+ * @param templatizedUrl the templatized GPServer Url
43
+ * @param orgItemId the item id of the GPServer
44
+ *
45
+ * @returns potentially updated list of all the templates in the solution
46
+ */
47
+ export declare function _globalTemplatize(templates: IItemTemplate[], orgUrl: string, templatizedUrl: string, orgItemId: string): IItemTemplate[];
48
+ /**
49
+ * Update the templates dependencies if we can detect differences after we try and replace a GPServer url
50
+ *
51
+ * @param template the current template
52
+ * @param itemString stringified version of the the templates item before we replaced anything
53
+ * @param dataString stringified version of the the templates data before we replaced anything
54
+ * @param id the current item Id of the GPServer
55
+ *
56
+ */
57
+ export declare function _updateDependencies(template: IItemTemplate, itemString: string, dataString: string, id: string): void;
@@ -0,0 +1,102 @@
1
+ "use strict";
2
+ /** @license
3
+ * Copyright 2024 Esri
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports._updateDependencies = exports._globalTemplatize = exports.postProcessWebToolReferences = exports.preProcessWebTool = void 0;
19
+ const generalHelpers_1 = require("./generalHelpers");
20
+ /**
21
+ * Store any web tool urls in the templateDictionary so we can use them to search other items
22
+ * after they have been converted to templates
23
+ *
24
+ * @param template the current template
25
+ * @param templateDictionary Hash of facts: folder id, org URL, adlib replacements
26
+ *
27
+ */
28
+ function preProcessWebTool(template, templateDictionary) {
29
+ if (template.type === "Geoprocessing Service") {
30
+ const url = template.item.origUrl;
31
+ const urlVar = `{{${template.itemId}.url}}`;
32
+ templateDictionary[url] = urlVar;
33
+ }
34
+ }
35
+ exports.preProcessWebTool = preProcessWebTool;
36
+ /**
37
+ * Use any stored GPServer urls to search all other templates for potential references
38
+ * This will allow us to replace the base server name as will as the itemId
39
+ *
40
+ * @param templates the list of all the templates in the solution
41
+ * @param templateDictionary Hash of facts: folder id, org URL, adlib replacements
42
+ *
43
+ * @returns potentially updated list of all the templates in the solution
44
+ */
45
+ function postProcessWebToolReferences(templates, templateDictionary) {
46
+ const gpServerUrls = Object.keys(templateDictionary).filter((k) => k.indexOf("GPServer") > -1);
47
+ if (gpServerUrls.length > 0) {
48
+ gpServerUrls.forEach((url) => {
49
+ const itemId = templateDictionary[url].replace("{{", "").replace(".url}}", "");
50
+ _globalTemplatize(templates, url, templateDictionary[url], itemId);
51
+ // handle items that already have a templatized itemId in the url
52
+ const idTest = /[0-9A-F]{32}/gim;
53
+ const templatizedUrl = url.replace(idTest, `{{${itemId}.itemId}}`);
54
+ _globalTemplatize(templates, templatizedUrl, templateDictionary[url], itemId);
55
+ });
56
+ }
57
+ return templates;
58
+ }
59
+ exports.postProcessWebToolReferences = postProcessWebToolReferences;
60
+ /**
61
+ * Use any stored GPServer urls to search all other templates for potential references
62
+ * This will allow us to replace the base server name as will as the itemId
63
+ *
64
+ * @param templates the list of all the templates in the solution
65
+ * @param orgUrl the item url of the GPServer
66
+ * @param templatizedUrl the templatized GPServer Url
67
+ * @param orgItemId the item id of the GPServer
68
+ *
69
+ * @returns potentially updated list of all the templates in the solution
70
+ */
71
+ function _globalTemplatize(templates, orgUrl, templatizedUrl, orgItemId) {
72
+ // Cycle through each of the items in the template and scan the `item` and `data` sections of each for replacements
73
+ templates.forEach((template) => {
74
+ const itemString = JSON.stringify(template.item);
75
+ const dataString = JSON.stringify(template.data);
76
+ (0, generalHelpers_1.globalStringReplace)(template.item, new RegExp(orgUrl, "gi"), templatizedUrl);
77
+ (0, generalHelpers_1.globalStringReplace)(template.data, new RegExp(orgUrl, "gi"), templatizedUrl);
78
+ _updateDependencies(template, itemString, dataString, orgItemId);
79
+ });
80
+ return templates;
81
+ }
82
+ exports._globalTemplatize = _globalTemplatize;
83
+ /**
84
+ * Update the templates dependencies if we can detect differences after we try and replace a GPServer url
85
+ *
86
+ * @param template the current template
87
+ * @param itemString stringified version of the the templates item before we replaced anything
88
+ * @param dataString stringified version of the the templates data before we replaced anything
89
+ * @param id the current item Id of the GPServer
90
+ *
91
+ */
92
+ function _updateDependencies(template, itemString, dataString, id) {
93
+ const hasItemDepdendency = template.dependencies.indexOf(id) > -1;
94
+ if (itemString && itemString !== JSON.stringify(template.item) && !hasItemDepdendency) {
95
+ template.dependencies.push(id);
96
+ }
97
+ if (dataString && dataString !== JSON.stringify(template.data) && !hasItemDepdendency) {
98
+ template.dependencies.push(id);
99
+ }
100
+ }
101
+ exports._updateDependencies = _updateDependencies;
102
+ //# sourceMappingURL=webtoolHelpers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webtoolHelpers.js","sourceRoot":"","sources":["../../src/webtoolHelpers.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,qDAAuD;AAEvD;;;;;;;GAOG;AACH,SAAgB,iBAAiB,CAAC,QAAuB,EAAE,kBAAuB;IAChF,IAAI,QAAQ,CAAC,IAAI,KAAK,uBAAuB,EAAE;QAC7C,MAAM,GAAG,GAAG,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC;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UAAU,GAAG,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QACjD,MAAM,UAAU,GAAG,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QAEjD,IAAA,oCAAmB,EAAC,QAAQ,CAAC,IAAI,EAAE,IAAI,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,EAAE,cAAc,CAAC,CAAC;QAC7E,IAAA,oCAAmB,EAAC,QAAQ,CAAC,IAAI,EAAE,IAAI,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,EAAE,cAAc,CAAC,CAAC;QAE7E,mBAAmB,CAAC,QAAQ,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,CAAC,CAAC;IACnE,CAAC,CAAC,CAAC;IACH,OAAO,SAAS,CAAC;AACnB,CAAC;AAjBD,8CAiBC;AAED;;;;;;;;GAQG;AACH,SAAgB,mBAAmB,CAAC,QAAuB,EAAE,UAAkB,EAAE,UAAkB,EAAE,EAAU;IAC7G,MAAM,kBAAkB,GAAG,QAAQ,CAAC,YAAY,CAAC,OAAO,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAElE,IAAI,UAAU,IAAI,UAAU,KAAK,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,kBAAkB,EAAE;QACrF,QAAQ,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;KAChC;IAED,IAAI,UAAU,IAAI,UAAU,KAAK,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,kBAAkB,EAAE;QACrF,QAAQ,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;KAChC;AACH,CAAC;AAVD,kDAUC"}
@@ -43,6 +43,7 @@ export * from "./sharing";
43
43
  export * from "./templatization";
44
44
  export * from "./trackingHelpers";
45
45
  export * from "./velocityHelpers";
46
+ export * from "./webtoolHelpers";
46
47
  export * from "./workflowHelpers";
47
48
  export * from "./workforceHelpers";
48
49
  export * from "./zip-utils";
package/dist/esm/index.js CHANGED
@@ -43,6 +43,7 @@ export * from "./sharing";
43
43
  export * from "./templatization";
44
44
  export * from "./trackingHelpers";
45
45
  export * from "./velocityHelpers";
46
+ export * from "./webtoolHelpers";
46
47
  export * from "./workflowHelpers";
47
48
  export * from "./workforceHelpers";
48
49
  export * from "./zip-utils";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH;;;;GAIG;AAEH,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH;;;;GAIG;AAEH,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC"}
@@ -62,10 +62,6 @@ export function getItemResourcesPaths(itemTemplate, solutionItemId, authenticati
62
62
  result = false;
63
63
  }
64
64
  }
65
- // GP Services
66
- if (itemTemplate.type === "Geoprocessing Service") {
67
- return res.indexOf("webtoolDefinition") > -1 || res.indexOf(".json") < 0;
68
- }
69
65
  return result;
70
66
  });
71
67
  // create the filePaths
@@ -1 +1 @@
1
- {"version":3,"file":"getItemResourcesPaths.js","sourceRoot":"","sources":["../../../src/resources/getItemResourcesPaths.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAG7D,wHA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AAmF;YACnF,2EAA2E;YAC3E,0EAA0E;YAC1E,iCAAiC;YAEjC,YAAY;YACZ,IAAI,YAAY,CAAC,IAAI,KAAK,sBAAsB,EAAE;gBAChD,IAAI,GAAG,CAAC,KAAK,CAAC,oBAAoB,CAAC,EAAE;oBACnC,MAAM,GAAG,KAAK,CAAC;iBAChB;aACF;YAED,YAAY;YACZ,IAAI,YAAY,CAAC,IAAI,KAAK,UAAU,EAAE;gBACpC,IAAI,CAAC,aAAa,EAAE,YAAY,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,EAAE;oBACrD,MAAM,GAAG,KAAK,CAAC;iBAChB;gBACD,IAAI,GAAG,CAAC,KAAK,CAAC,sBAAsB,CAAC,EAAE;oBACrC,MAAM,GAAG,KAAK,CAAC;iBAChB;gBACD,IAAI,GAAG,KAAK,qBAAqB,EAAE;oBACjC,MAAM,GAAG,KAAK,CAAC;iBAChB;aACF;YAED,kBAAkB;YAClB,IAAI,YAAY,CAAC,IAAI,KAAK,gBAAgB,EAAE;gBAC1C,IAAI,GAAG,KAAK,oBAAoB,EAAE;oBAChC,MAAM,GAAG,KAAK,CAAC;iBAChB;aACF;YAED,OAAO,MAAM,CAAC;QAChB,CAAC,CAAC,CAAC;QACL,uBAAuB;QACvB,MAAM,qBAAqB,GAA0B,uBAAuB,CAC1E,cAAc,CAAC,MAAM,EACrB,YAAY,CAAC,MAAM,EACnB,YAAY,CAAC,IAAI,CAAC,SAAS,EAC3B,aAAa,EACb,YAAY,CAAC,IAAI,KAAK,OAAO,EAC7B,cAAc,CACf,CAAC;QACF,OAAO,OAAO,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC;IAChD,CAAC,CAAC,CAAC;AACL,CAAC"}
@@ -0,0 +1,57 @@
1
+ /** @license
2
+ * Copyright 2024 Esri
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { IItemTemplate } from "./interfaces";
17
+ /**
18
+ * Store any web tool urls in the templateDictionary so we can use them to search other items
19
+ * after they have been converted to templates
20
+ *
21
+ * @param template the current template
22
+ * @param templateDictionary Hash of facts: folder id, org URL, adlib replacements
23
+ *
24
+ */
25
+ export declare function preProcessWebTool(template: IItemTemplate, templateDictionary: any): void;
26
+ /**
27
+ * Use any stored GPServer urls to search all other templates for potential references
28
+ * This will allow us to replace the base server name as will as the itemId
29
+ *
30
+ * @param templates the list of all the templates in the solution
31
+ * @param templateDictionary Hash of facts: folder id, org URL, adlib replacements
32
+ *
33
+ * @returns potentially updated list of all the templates in the solution
34
+ */
35
+ export declare function postProcessWebToolReferences(templates: IItemTemplate[], templateDictionary: any): IItemTemplate[];
36
+ /**
37
+ * Use any stored GPServer urls to search all other templates for potential references
38
+ * This will allow us to replace the base server name as will as the itemId
39
+ *
40
+ * @param templates the list of all the templates in the solution
41
+ * @param orgUrl the item url of the GPServer
42
+ * @param templatizedUrl the templatized GPServer Url
43
+ * @param orgItemId the item id of the GPServer
44
+ *
45
+ * @returns potentially updated list of all the templates in the solution
46
+ */
47
+ export declare function _globalTemplatize(templates: IItemTemplate[], orgUrl: string, templatizedUrl: string, orgItemId: string): IItemTemplate[];
48
+ /**
49
+ * Update the templates dependencies if we can detect differences after we try and replace a GPServer url
50
+ *
51
+ * @param template the current template
52
+ * @param itemString stringified version of the the templates item before we replaced anything
53
+ * @param dataString stringified version of the the templates data before we replaced anything
54
+ * @param id the current item Id of the GPServer
55
+ *
56
+ */
57
+ export declare function _updateDependencies(template: IItemTemplate, itemString: string, dataString: string, id: string): void;
@@ -0,0 +1,95 @@
1
+ /** @license
2
+ * Copyright 2024 Esri
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { globalStringReplace } from "./generalHelpers";
17
+ /**
18
+ * Store any web tool urls in the templateDictionary so we can use them to search other items
19
+ * after they have been converted to templates
20
+ *
21
+ * @param template the current template
22
+ * @param templateDictionary Hash of facts: folder id, org URL, adlib replacements
23
+ *
24
+ */
25
+ export function preProcessWebTool(template, templateDictionary) {
26
+ if (template.type === "Geoprocessing Service") {
27
+ const url = template.item.origUrl;
28
+ const urlVar = `{{${template.itemId}.url}}`;
29
+ templateDictionary[url] = urlVar;
30
+ }
31
+ }
32
+ /**
33
+ * Use any stored GPServer urls to search all other templates for potential references
34
+ * This will allow us to replace the base server name as will as the itemId
35
+ *
36
+ * @param templates the list of all the templates in the solution
37
+ * @param templateDictionary Hash of facts: folder id, org URL, adlib replacements
38
+ *
39
+ * @returns potentially updated list of all the templates in the solution
40
+ */
41
+ export function postProcessWebToolReferences(templates, templateDictionary) {
42
+ const gpServerUrls = Object.keys(templateDictionary).filter((k) => k.indexOf("GPServer") > -1);
43
+ if (gpServerUrls.length > 0) {
44
+ gpServerUrls.forEach((url) => {
45
+ const itemId = templateDictionary[url].replace("{{", "").replace(".url}}", "");
46
+ _globalTemplatize(templates, url, templateDictionary[url], itemId);
47
+ // handle items that already have a templatized itemId in the url
48
+ const idTest = /[0-9A-F]{32}/gim;
49
+ const templatizedUrl = url.replace(idTest, `{{${itemId}.itemId}}`);
50
+ _globalTemplatize(templates, templatizedUrl, templateDictionary[url], itemId);
51
+ });
52
+ }
53
+ return templates;
54
+ }
55
+ /**
56
+ * Use any stored GPServer urls to search all other templates for potential references
57
+ * This will allow us to replace the base server name as will as the itemId
58
+ *
59
+ * @param templates the list of all the templates in the solution
60
+ * @param orgUrl the item url of the GPServer
61
+ * @param templatizedUrl the templatized GPServer Url
62
+ * @param orgItemId the item id of the GPServer
63
+ *
64
+ * @returns potentially updated list of all the templates in the solution
65
+ */
66
+ export function _globalTemplatize(templates, orgUrl, templatizedUrl, orgItemId) {
67
+ // Cycle through each of the items in the template and scan the `item` and `data` sections of each for replacements
68
+ templates.forEach((template) => {
69
+ const itemString = JSON.stringify(template.item);
70
+ const dataString = JSON.stringify(template.data);
71
+ globalStringReplace(template.item, new RegExp(orgUrl, "gi"), templatizedUrl);
72
+ globalStringReplace(template.data, new RegExp(orgUrl, "gi"), templatizedUrl);
73
+ _updateDependencies(template, itemString, dataString, orgItemId);
74
+ });
75
+ return templates;
76
+ }
77
+ /**
78
+ * Update the templates dependencies if we can detect differences after we try and replace a GPServer url
79
+ *
80
+ * @param template the current template
81
+ * @param itemString stringified version of the the templates item before we replaced anything
82
+ * @param dataString stringified version of the the templates data before we replaced anything
83
+ * @param id the current item Id of the GPServer
84
+ *
85
+ */
86
+ export function _updateDependencies(template, itemString, dataString, id) {
87
+ const hasItemDepdendency = template.dependencies.indexOf(id) > -1;
88
+ if (itemString && itemString !== JSON.stringify(template.item) && !hasItemDepdendency) {
89
+ template.dependencies.push(id);
90
+ }
91
+ if (dataString && dataString !== JSON.stringify(template.data) && !hasItemDepdendency) {
92
+ template.dependencies.push(id);
93
+ }
94
+ }
95
+ //# sourceMappingURL=webtoolHelpers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webtoolHelpers.js","sourceRoot":"","sources":["../../src/webtoolHelpers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEvD;;;;;;;GAOG;AACH,MAAM,UAAU,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Built Wed 09/11/2024 11:23:40.16
2
- webtool-id-check
3
- commit 7f30bc2cec89aae75790dfe1c59ac5f1fe4c9ad7
1
+ Built Mon 09/16/2024 7:11:43.76
2
+ develop
3
+ commit e34343bf493fe7349876fed265c89654c3585c82
4
4
  Author: John Hauck <jhauck@esri.com>
5
- Date: Wed Sep 11 10:42:58 2024 -0600
5
+ Date: Mon Sep 16 07:07:46 2024 -0600
6
6
 
7
- update test
7
+ format changes from build
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/solution-common",
3
- "version": "5.6.4",
3
+ "version": "5.6.5",
4
4
  "description": "Provides general helper functions for @esri/solution.js.",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -94,5 +94,5 @@
94
94
  "esri",
95
95
  "ES6"
96
96
  ],
97
- "gitHead": "fa632ab421f189ca4c4d68ae8a1054440066cdab"
97
+ "gitHead": "34aa39cf4de1ae2642862f6407df802939807431"
98
98
  }