我想知道 Wirecloud 是否使用 FI-WARE Testbed 而不是 Fi-lab 提供对对象存储的完全支持。我已经成功地将 Wirecloud 与 Testbed 集成,并开发了一组小部件,这些小部件能够成功地将文件上传/下载到 Fi-lab 中的特定容器。但是,相同的小部件似乎在 Fi-lab 中不起作用,因为我在尝试检索包含以下响应的身份验证令牌(也使用众所周知的 object-storage-test 小部件)时收到错误 500:
SyntaxError: Unexpected token
at Object.parse (native)
at create (/home/fiware/fi-ware-keystone-proxy/controllers/Token.js:343:25)
at callbacks (/home/fiware/fi-ware-keystone-proxy/node_modules/express/lib/router/index.js:164:37)
at param (/home/fiware/fi-ware-keystone-proxy/node_modules/express/lib/router/index.js:138:11)
at pass (/home/fiware/fi-ware-keystone-proxy/node_modules/express/lib/router/index.js:145:5)
at Router._dispatch (/home/fiware/fi-ware-keystone-proxy/node_modules/express/lib/router/index.js:173:5)
at Object.router (/home/fiware/fi-ware-keystone-proxy/node_modules/express/lib/router/index.js:33:10)
at next (/home/fiware/fi-ware-keystone-proxy/node_modules/express/node_modules/connect/lib/proto.js:195:15)
at Object.handle (/home/fiware/fi-ware-keystone-proxy/server.js:31:5)
at next (/home/fiware/fi-ware-keystone-proxy/node_modules/express/node_modules/connect/lib/proto.js:195:15)
我注意到在开始(开始交易)中提供的令牌是
token: Object
id: "%fiware_token%"
关于可能出了什么问题的任何想法?