Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Commit

Permalink
Updated context path and refactored name
Browse files Browse the repository at this point in the history
  • Loading branch information
SheethalJR committed Mar 30, 2023
1 parent 14414b1 commit e888c33
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 18 deletions.
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Cumulocity Device Chart Widget Plugin [<img width="35" src="https://user-images.githubusercontent.com/32765455/211497905-561e9197-18b9-43d5-a023-071d3635f4eb.png"/>](https://github.com/SoftwareAG/cumulocity-device-chart-widget-plugin/releases/download/1.0.1-beta/device-chart-runtime-widget-1.0.1-beta.zip)
# Cumulocity Device Chart Widget Plugin [<img width="35" src="https://user-images.githubusercontent.com/32765455/211497905-561e9197-18b9-43d5-a023-071d3635f4eb.png"/>](https://github.com/SoftwareAG/cumulocity-device-chart-widget-plugin/releases/download/1.0.1/sag-ps-device-chart-1.0.1.zip)

This Device Chart Widget is the Cumulocity module federation plugin created using c8ycli. This plugin can be used in Application Builder or Cockpit. It displays the chart based on the device-specific inventory data.
By Default the chart displays the count based on the input in the group by field of configuration. But if the input is provided in the value field of the widget configuration it gives the value sum of the provided field from device managed object.
Expand All @@ -21,13 +21,11 @@ Scatter Chart (Data set not ideal for this chart)

Bubble Chart (Data set not ideal for this chart)

### Please note that this plugin is in currently under BETA mode.

### Please choose Device Chart Widget release based on Cumulocity/Application builder version:

|APPLICATION BUILDER | CUMULOCITY | DEVICE CHART WIDGET PLUGIN |
|--------------------|------------|-----------------------------|
| 2.x.x(coming soon) | >= 1016.x.x| 1.x.x |
| 2.0.x | >= 1016.x.x| 1.x.x |


![DeviceChart](https://user-images.githubusercontent.com/67993842/91125981-99ffaa00-e6c0-11ea-80b5-32269311642f.PNG)
Expand All @@ -47,7 +45,7 @@ Bubble Chart (Data set not ideal for this chart)

### Runtime Widget Deployment?

* This widget support runtime deployment. Download [Runtime Binary](https://github.com/SoftwareAG/cumulocity-device-chart-widget-plugin/releases/download/1.0.1-beta/device-chart-runtime-widget-1.0.1-beta.zip) and install via Administrations(Beta mode) --> Ecosystems --> Applications --> Packages
* This widget support runtime deployment. Download [Runtime Binary](https://github.com/SoftwareAG/cumulocity-device-chart-widget-plugin/releases/download/1.0.1/sag-ps-device-chart-1.0.1.zip) and install via Administrations --> Ecosystems --> Applications --> Packages

## QuickStart

Expand Down
26 changes: 15 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
{
"name": "cumulocity-device-chart-widget-plugin",
"version": "1.0.1-beta",
"description": "Cumulocity Device Chart Widget displays the chart based on the device specific inventory data.",
"version": "1.0.1",
"description": "The Device Chart Widget displays the chart based on the device specific inventory data.",
"scripts": {
"start": "c8ycli server --env.beta=true",
"start": "c8ycli server",
"build": "c8ycli build --env.mode=production",
"deploy": "c8ycli deploy",
"postinstall": "ngcc",
"prebuild": " gulp clean",
"postbuild": " gulp bundle"
},
"keywords": [],
"keywords": [
"Cumulocity",
"Plugin",
"Widget"
],
"author": "Software AG, Global Presales",
"license": "Apache-2.0",
"dependencies": {
Expand Down Expand Up @@ -54,11 +58,11 @@
},
"c8y": {
"application": {
"name": "Cumulocity Device Chart Widget Plugin",
"description": "Cumulocity Device Chart Widget displays the chart based on the device specific inventory data.",
"contextPath": "device-chart-runtime-widget",
"key": "device-chart-runtime-widget-application-key",
"globalTitle": "Cumulocity Device Chart Widget displays the chart based on the device specific inventory data.",
"name": "Device Chart Widget",
"description": "The Device Chart Widget displays the chart based on the device specific inventory data.",
"contextPath": "sag-ps-device-chart",
"key": "sag-ps-device-chart-application-key",
"globalTitle": "The Device Chart Widget displays the chart based on the device specific inventory data.",
"tabsHorizontal": true,
"isPackage": true,
"noAppSwitcher": true,
Expand All @@ -69,10 +73,10 @@
},
"exports": [
{
"name": "Cumulocity Device Chart Widget Plugin",
"name": "Device Chart Widget",
"module": "GpLibDeviceChartModule",
"path": "./widget/gp-lib-device-chart.module.ts",
"description": "Cumulocity Device Chart Widget displays the chart based on the device specific inventory data."
"description": "The Device Chart Widget displays the chart based on the device specific inventory data."
}
],
"remotes": {
Expand Down
4 changes: 2 additions & 2 deletions widget/gp-lib-device-chart.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ import { ColorPaletteComponent } from './color-picker/color-palette/color-palett
multi: true,
useValue: {
id: 'device-chart.widget',
label: 'Device Chart Widget Plugin',
description: 'Current Firmware Charts',
label: 'Device Chart',
description: 'The Device Chart Widget displays the chart based on the device specific inventory data.',
previewImage: preview.previewImage,
component: GpLibDeviceChartComponent,
configComponent: GpDeviceChartWidgetConfig,
Expand Down

0 comments on commit e888c33

Please sign in to comment.