forked from community/product-iots
Merge branch 'master' of https://github.com/wso2/product-iots into das-ext
commit
4bd9fd3a56
@ -0,0 +1,66 @@
|
||||
{
|
||||
"store": {
|
||||
"types": ["fs"]
|
||||
},
|
||||
"gadgetGeneration" :{
|
||||
"isCreateGadgetEnable": false,
|
||||
"ignoreProviders": ["rt"]
|
||||
},
|
||||
"authentication": {
|
||||
"activeMethod": "basic",
|
||||
"methods": {
|
||||
"sso": {
|
||||
"attributes": {
|
||||
"issuer": "portal",
|
||||
"identityProviderURL": "https://localhost:9443/samlsso",
|
||||
"responseSigningEnabled": "false",
|
||||
"acs": "https://localhost:9444/portal/acs",
|
||||
"identityAlias": "wso2carbon",
|
||||
"useTenantKey": false
|
||||
}
|
||||
},
|
||||
"basic": {
|
||||
"attributes": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"authorization": {
|
||||
"activeMethod": "oauth",
|
||||
"methods": {
|
||||
"oauth": {
|
||||
"attributes": {
|
||||
"idPServer": "https://localhost:9443/oauth2/token",
|
||||
"dynamicClientProperties": {
|
||||
"callbackUrl": "https://localhost:9443/portal",
|
||||
"clientName": "portal",
|
||||
"owner": "admin",
|
||||
"applicationType": "JaggeryApp",
|
||||
"grantType": "password refresh_token urn:ietf:params:oauth:grant-type:saml2-bearer",
|
||||
"saasApp": false,
|
||||
"dynamicClientRegistrationEndPoint": "https://localhost:9443/dynamic-client-web/register/",
|
||||
"tokenScope": "Production"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"designers": [
|
||||
"Internal/everyone"
|
||||
],
|
||||
"tenantPrefix": "/t",
|
||||
"shareStore": false,
|
||||
"theme": "basic",
|
||||
"cacheTimeoutSeconds": "5",
|
||||
"cacheSizeBytes": "1073741824",
|
||||
"defaultDashboardRedirect": false,
|
||||
"isCreateGadgetEnable": true,
|
||||
"oauth": {
|
||||
"username": "admin",
|
||||
"password": "admin"
|
||||
},
|
||||
"host": {
|
||||
"hostname": "localhost",
|
||||
"port": "",
|
||||
"protocol": ""
|
||||
}
|
||||
}
|
@ -1,42 +0,0 @@
|
||||
{
|
||||
"store": {
|
||||
"type": "fs"
|
||||
},
|
||||
"authentication": {
|
||||
"activeMethod": "basic",
|
||||
"methods": {
|
||||
"sso": {
|
||||
"attributes": {
|
||||
"issuer": "portal",
|
||||
"identityProviderURL": "https://localhost:9443/samlsso",
|
||||
"responseSigningEnabled": "false",
|
||||
"acs": "https://localhost:9444/portal/acs",
|
||||
"identityAlias": "wso2carbon",
|
||||
"useTenantKey": false
|
||||
}
|
||||
},
|
||||
"basic": {
|
||||
"attributes": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"designers": [
|
||||
"Internal/everyone"
|
||||
],
|
||||
"tenantPrefix": "/t",
|
||||
"shareStore": false,
|
||||
"theme": "analytics",
|
||||
"cacheTimeoutSeconds": "5",
|
||||
"cacheSizeBytes": "1073741824",
|
||||
"defaultDashboardRedirect": false,
|
||||
"isCreateGadgetEnable": false,
|
||||
"oauth": {
|
||||
"username": "admin",
|
||||
"password": "admin"
|
||||
},
|
||||
"host": {
|
||||
"hostname": "localhost",
|
||||
"port": "",
|
||||
"protocol": ""
|
||||
}
|
||||
}
|
@ -1,34 +1,10 @@
|
||||
<span id="connectedcup-details" data-devices="{{devices}}" data-devicename="{{device.name}}"
|
||||
data-deviceid="{{device.deviceIdentifier}}"
|
||||
data-appcontext="{{@app.context}}"></span>
|
||||
<div id="connectedcup-div-chart" data-backend-api-url= {{backendApiUri}}>
|
||||
<div class="chartWrapper" id="chartWrapper-temperature">
|
||||
<span id="span-title">Temperature</span>
|
||||
|
||||
<div id="y_axis-temperature" class="custom_y_axis"></div>
|
||||
<div class="legend_container">
|
||||
<div id="smoother-temperature" title="Smoothing"></div>
|
||||
<div id="legend-temperature"></div>
|
||||
</div>
|
||||
<div id="chart-temperature" class="custom_rickshaw_graph"></div>
|
||||
<div id="x_axis-temperature" class="custom_x_axis"></div>
|
||||
<div id="slider-temperature" class="custom_slider"></div>
|
||||
</div>
|
||||
<iframe src="{{dashboardserverURL}}/portal/gadgets/connected-cup-analytics/landing" width="100%" height="1700" frameBorder="0"></iframe>
|
||||
|
||||
<div class="chartWrapper" id="chartWrapper-coffeelevel">
|
||||
<span id="span-title">Coffee Level</span>
|
||||
|
||||
<div id="y_axis-coffeelevel" class="custom_y_axis"></div>
|
||||
<div class="legend_container">
|
||||
<div id="smoother-coffeelevel" title="Smoothing"></div>
|
||||
<div id="legend-coffeelevel"></div>
|
||||
</div>
|
||||
<div id="chart-coffeelevel" class="custom_rickshaw_graph"></div>
|
||||
<div id="x_axis-coffeelevel" class="custom_x_axis"></div>
|
||||
<div id="slider-coffeelevel" class="custom_slider"></div>
|
||||
</div>
|
||||
</div>
|
||||
<style>
|
||||
#rangeSliderWrapper{ display: none;}
|
||||
</style>
|
||||
|
||||
{{#zone "bottomJs"}}
|
||||
{{js "js/connectedcup.js"}}
|
||||
{{/zone}}
|
||||
{{/zone}}
|
After Width: | Height: | Size: 4.7 MiB |
Loading…
Reference in new issue