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

This Demo Widget is the cumulocity module federation plugin created using c8ycli. Created by Global Presales.

License

Notifications You must be signed in to change notification settings

Cumulocity-IoT/cumulocity-demo-widget-plugin

Repository files navigation

Deprecation notice

This plugin is not further developed and it might break with upcoming Cumulocity releases. Use it at your own risk. The repository is archived but feel free to fork & adapt it to your needs in a new repo.

Cumulocity Demo Widget Plugin

This Demo Widget is the Cumulocity module federation plugin created using c8ycli. This plugin can be used in Application Builder or Cockpit. It fetches Inventory data based on the device id and displays the same in a widget.

Please choose Demo Widget release based on Cumulocity/Application builder version:

APPLICATION BUILDER CUMULOCITY DEMO WIDGET PLUGIN
2.0.x >= 1018.x.x 1.x.x

Prerequisites:

Cumulocity c8ycli >=1018.x.x

Installation

Runtime Deployment?

  • This widget support runtime deployment. Download Runtime Binary and install via Administrations(Beta mode) --> Ecosystems --> Applications --> Packages

Local Development?

Requirements:

  • Git
  • NodeJS (release builds are currently built with v14.18.0)
  • NPM (Included with NodeJS)

Instructions

  1. Clone the repository:
git clone https://github.com/SoftwareAG/cumulocity-demo-widget-plugin.git
  1. Change directory:
cd cumulocity-demo-widget-plugin
  1. Install the dependencies:
npm install
  1. (Optional) Local development server:
npm start -- --shell cockpit
  1. Build the app:
npm run build
  1. Deploy the app:
npm run deploy

This tool is provided as-is and without warranty or support. They do not constitute part of the Cumulocity product suite. Users are free to use, fork and modify them, subject to the license agreement. While Cumulocity GmbH welcomes contributions, we cannot guarantee to include every contribution in the master project.