简体   繁体   English

在DAS WSO2的仪表板设计器中创建一个小工具

[英]create a gadget in dashboard designer of DAS WSO2

I created a tenant in WSO2 DAS and I am authenticated with that tenant. 我在WSO2 DAS中创建了一个租户,并且已通过该租户的身份验证。 I created a stream event, when I go to the dashboard designer and try to create a gadget I get the following error. 我创建了一个流事件,当我去仪表板设计器尝试创建一个小工具时,出现以下错误。

[2016-02-11 12:08:15,207] ERROR {org.wso2.carbon.analytics.jsservice.AnalyticsJSServiceConnector} -  Failed to get the table schema for table: TT : [-1234:TT] does not exist org.wso2.carbon.analytics.datasource.commons.exception.AnalyticsTableNotAvailableException: [-1234:TT] does not exist

在此处输入图片说明

This is the solution that worked for me. 这是对我有用的解决方案。

Go to the file: 转到文件:

<DAS_HOME>/repository/deployment/server/jaggeryapps/portal/controllers/apis/analytics.jag

and change line 80 to: loggedInUser = token[USERNAME]+"@"+token["domain"]; 并将第80行更改为: loggedInUser = token[USERNAME]+"@"+token["domain"];

If you created the stream by logging using tenant credentials, you need to log into Analytic Dashboards using same tenant credentials. 如果使用租户凭据登录创建流,则需要使用相同的租户凭据登录到分析仪表板。 Streams created for one tenant is not available for other tenants. 为一个租户创建的流不适用于其他租户。 According to your screenshot you have been logged using admin credentials. 根据您的屏幕截图,您已使用管理员凭据登录。

我遇到了同样的问题,我使用租户凭据来访问仪表板设计器,当我尝试创建小工具时,我遇到了同样的问题,如果我与超级租户一起做,则可以毫无问题地创建小工具。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM