IntrospectiveSystems / xGraph

Introspective Systems, developer of xGraph, collaborative AI platform for data systems
https://www.introspectivesystems.com/
GNU Affero General Public License v3.0
14 stars 3 forks source link

No logging when fail to retrieve module from faulty module broker uri #80

Closed tjgionet closed 6 years ago

tjgionet commented 6 years ago
[INFO] Retrieving modules ...
[VRBS] About to load:
[VRBS]  xGraph.WebViewer
[VRBS]  xGraph.WebSocketServerProxy
[VRBS]  DataSource
[VRBS] Requesting xGraph.WebViewer from **mb://drp.xgraphdev.com**
[VRBS] Requesting xGraph.WebSocketServerProxy from /home/tjgionet/Development/CoreModules
[VRBS] Requesting DataSource from /home/tjgionet/Development/BasicWeb/Modules
[VRBS] DataSource returned from local file system
[VRBS] Successfully retrieved module: DataSource
[VRBS] xGraph/WebSocketServerProxy returned from local file system
[VRBS] Successfully retrieved module: xGraph.WebSocketServerProxy
[VRBS] [CACHE] Installing dependencies for BrokerProxy
[VRBS] [CACHE] createInstance 00000000000000000000000000000000 {
[VRBS]   "Module": "BrokerProxy",
[VRBS]   "Par": {
[VRBS]     "Encrypt": false,
[VRBS]     "Role": "client",
[VRBS]     "Host": "drp.xgraphdev.com",
[VRBS]     "Port": "27000",
[VRBS]     "Module": "BrokerProxy"
[VRBS]   }
[VRBS] }
[VRBS] [CACHE] parseMacros 00000000000000000000000000000000 {
[VRBS]   "Module": "BrokerProxy",
[VRBS]   "Par": {
[VRBS]     "Encrypt": false,
[VRBS]     "Role": "client",
[VRBS]     "Host": "drp.xgraphdev.com",
[VRBS]     "Port": "27000",
[VRBS]     "Module": "BrokerProxy"
[VRBS]   }
[VRBS] }
[VRBS] [CACHE] Entity Pars to save: [
[VRBS]   {
[VRBS]     "$Setup": "Setup",
[VRBS]     "Entity": "Proxy.js",
[VRBS]     "$Stop": "Stop",
[VRBS]     "Encrypt": false,
[VRBS]     "Role": "client",
[VRBS]     "Host": "drp.xgraphdev.com",
[VRBS]     "Port": "27000",
[VRBS]     "Module": "BrokerProxy",
[VRBS]     "Pid": "00000000000000000000000000000000",
[VRBS]     "Apex": "00000000000000000000000000000000"
[VRBS]   }
[VRBS] ]
[VRBS] ├─ cache.json
[VRBS] ├─ Lib
[VRBS] │  └─ BrokerProxy
[VRBS] │     ├─ node_modules
[VRBS] │     │  ├─ asn1
[VRBS] │     │  │  ├─ lib
[VRBS] │     │  │  │  ├─ ber
[VRBS] │     │  │  │  │  ├─ errors.js
[VRBS] │     │  │  │  │  ├─ index.js
[VRBS] │     │  │  │  │  ├─ reader.js
[VRBS] │     │  │  │  │  ├─ types.js
[VRBS] │     │  │  │  │  └─ writer.js
[VRBS] │     │  │  │  └─ index.js
[VRBS] │     │  │  ├─ LICENSE
[VRBS] │     │  │  ├─ package.json
[VRBS] │     │  │  ├─ README.md
[VRBS] │     │  │  └─ tst
[VRBS] │     │  │     └─ ber
[VRBS] │     │  │        ├─ reader.test.js
[VRBS] │     │  │        └─ writer.test.js
[VRBS] │     │  ├─ ip
[VRBS] │     │  │  ├─ lib
[VRBS] │     │  │  │  └─ ip.js
[VRBS] │     │  │  ├─ package.json
[VRBS] │     │  │  ├─ README.md
[VRBS] │     │  │  └─ test
[VRBS] │     │  │     └─ api-test.js
[VRBS] │     │  └─ node-rsa
[VRBS] │     │     ├─ _test.js
[VRBS] │     │     ├─ gruntfile.js
[VRBS] │     │     ├─ package.json
[VRBS] │     │     ├─ README.md
[VRBS] │     │     └─ src
[VRBS] │     │        ├─ encryptEngines
[VRBS] │     │        │  ├─ encryptEngines.js
[VRBS] │     │        │  ├─ io.js
[VRBS] │     │        │  ├─ js.js
[VRBS] │     │        │  └─ node12.js
[VRBS] │     │        ├─ formats
[VRBS] │     │        │  ├─ components.js
[VRBS] │     │        │  ├─ formats.js
[VRBS] │     │        │  ├─ pkcs1.js
[VRBS] │     │        │  └─ pkcs8.js
[VRBS] │     │        ├─ libs
[VRBS] │     │        │  ├─ jsbn.js
[VRBS] │     │        │  └─ rsa.js
[VRBS] │     │        ├─ NodeRSA.js
[VRBS] │     │        ├─ schemes
[VRBS] │     │        │  ├─ oaep.js
[VRBS] │     │        │  ├─ pkcs1.js
[VRBS] │     │        │  ├─ pss.js
[VRBS] │     │        │  └─ schemes.js
[VRBS] │     │        └─ utils.js
[VRBS] │     ├─ package-lock.json
[VRBS] │     └─ package.json
[VRBS] ├─ package.json
[VRBS] └─ System
[VRBS]    └─ BrokerProxy
[VRBS]       ├─ 00000000000000000000000000000000
[VRBS]       │  └─ 00000000000000000000000000000000.json
[VRBS]       └─ Module.zip
[VRBS]
[VRBS] Booting Module Retrieval Subsystem
Waiting for the debugger to disconnect...
Killed
tjgionet commented 6 years ago

vscode launch "args": [ "r", "--logleveldebug", "--cwd", "${env:HOME}/Development/BasicWeb", "--local", "${env:HOME}/Development/BasicWeb/Modules", "--core", "mb://drp.xgraphdev.com", "--devCore", "${env:HOME}/Development/CoreModules" ],

tjgionet commented 6 years ago
config 
{
    "Sources": {
        "local": "{local}",
        "core" : "{core}",
        "devCore": "{devCore}"
    },
    "Modules": {
        "WebViewer": {
            "Module":"xGraph.WebViewer",
            "Source": "core",
            "Par":{
                "Port": "8080",
                "Url": "",
                "": "@system: browser.json",
                "Static": "@directory: Static"
            }
        },
        "WebsocketServer": {
            "Module": "xGraph.WebSocketServerProxy",
            "Source": "devCore",
            "Par": {
                "Link": "$OtherModule",
                "Port": 52310
            }
        },
        "OtherModule":{
            "Module": "DataSource",
            "Source": "local",
            "Par": {
            }
        }
    }
}
valyrie97 commented 6 years ago

part of #69, closing