qcobjects-cli 2.4.53 → 2.4.54
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/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.4.
|
|
1
|
+
2.4.54
|
package/package.json
CHANGED
|
@@ -39,14 +39,22 @@ require(absolutePath + "/org.quickcorp.qcobjects.main.file.js");
|
|
|
39
39
|
require(absolutePath+ "/org.qcobjects.common.pipelog.js");
|
|
40
40
|
|
|
41
41
|
let ImportMicroservice = function (microservicePackage) {
|
|
42
|
+
var _ret_;
|
|
42
43
|
var standardPath = findPackageNodePath(microservicePackage) || findPackageNodePath(microservicePackage + ".js");
|
|
43
44
|
if (standardPath !== null) {
|
|
44
|
-
Import(microservicePackage);
|
|
45
|
+
_ret_ = Import(microservicePackage);
|
|
45
46
|
} else {
|
|
46
|
-
|
|
47
|
+
var nonStandardPath = findPackageNodePath(absolutePath + "/backend/" + microservicePackage) || findPackageNodePath(absolutePath + "/backend/" + microservicePackage + ".js");
|
|
48
|
+
if (nonStandardPath !== null){
|
|
49
|
+
_ret_ = Import(absolutePath + "/backend/" + microservicePackage);
|
|
50
|
+
} else {
|
|
51
|
+
_ret_ = Promise.resolve(require (microservicePackage));
|
|
52
|
+
}
|
|
47
53
|
}
|
|
54
|
+
return _ret_;
|
|
48
55
|
};
|
|
49
56
|
|
|
57
|
+
|
|
50
58
|
Package("org.quickcorp.qcobjects.main.http.gae.server", [
|
|
51
59
|
|
|
52
60
|
class BackendMicroservice extends InheritClass {
|
|
@@ -44,12 +44,16 @@ let ImportMicroservice = function (microservicePackage) {
|
|
|
44
44
|
if (standardPath !== null) {
|
|
45
45
|
_ret_ = Import(microservicePackage);
|
|
46
46
|
} else {
|
|
47
|
-
|
|
47
|
+
var nonStandardPath = findPackageNodePath(absolutePath + "/backend/" + microservicePackage) || findPackageNodePath(absolutePath + "/backend/" + microservicePackage + ".js");
|
|
48
|
+
if (nonStandardPath !== null){
|
|
49
|
+
_ret_ = Import(absolutePath + "/backend/" + microservicePackage);
|
|
50
|
+
} else {
|
|
51
|
+
_ret_ = Promise.resolve(require (microservicePackage));
|
|
52
|
+
}
|
|
48
53
|
}
|
|
49
54
|
return _ret_;
|
|
50
55
|
};
|
|
51
56
|
|
|
52
|
-
|
|
53
57
|
Package("org.quickcorp.qcobjects.main.http.server",[
|
|
54
58
|
|
|
55
59
|
class BackendMicroservice extends InheritClass {
|
|
@@ -45,11 +45,17 @@ let ImportMicroservice = function (microservicePackage) {
|
|
|
45
45
|
if (standardPath !== null) {
|
|
46
46
|
_ret_ = Import(microservicePackage);
|
|
47
47
|
} else {
|
|
48
|
-
|
|
48
|
+
var nonStandardPath = findPackageNodePath(absolutePath + "/backend/" + microservicePackage) || findPackageNodePath(absolutePath + "/backend/" + microservicePackage + ".js");
|
|
49
|
+
if (nonStandardPath !== null){
|
|
50
|
+
_ret_ = Import(absolutePath + "/backend/" + microservicePackage);
|
|
51
|
+
} else {
|
|
52
|
+
_ret_ = Promise.resolve(require (microservicePackage));
|
|
53
|
+
}
|
|
49
54
|
}
|
|
50
55
|
return _ret_;
|
|
51
56
|
};
|
|
52
57
|
|
|
58
|
+
|
|
53
59
|
Package("org.quickcorp.qcobjects.main.http2.server", [
|
|
54
60
|
|
|
55
61
|
class HTTP2ServerResponse extends InheritClass {
|