trm-core 10.1.0 → 10.2.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/changelog.txt
CHANGED
|
@@ -116,6 +116,11 @@ exports.addNamespace = {
|
|
|
116
116
|
context.runtime.namespace = getInstallNamespace(context);
|
|
117
117
|
if (context.runtime.namespace[0] !== '/') {
|
|
118
118
|
trm_commons_1.Logger.log(`Package install namespace is ${context.runtime.namespace}, continue`, true);
|
|
119
|
+
// trm-server and trm-rest are fixed into `$` packages: the backend assigns their /ATRM/ objects with
|
|
120
|
+
if (context.runtime.isTrmServer || context.runtime.isTrmRest) {
|
|
121
|
+
trm_commons_1.Logger.log(`Skipping namespace ${originalNamespace} import: ${context.rawInput.packageData.name} objects are assigned to ${context.runtime.namespace} packages`, true);
|
|
122
|
+
return;
|
|
123
|
+
}
|
|
119
124
|
// Packages renamed out of the original namespace: the objects keep their names, and can only be
|
|
120
125
|
// assigned to the install packages (and repaired) when their namespace exists.
|
|
121
126
|
if (originalNamespace[0] === '/' && !((_a = (yield systemConnector_1.SystemConnector.getNamespace(originalNamespace))) === null || _a === void 0 ? void 0 : _a.trnspacet)) {
|