Code Monkey home page Code Monkey logo

cumulocity-advanced-simulator's Introduction

Advanced Simulator for Cumulocity

Feature Log

  • Create thousands of instructions simple with an UI
  • Orchestrate thousands of instructions effortlessly
  • Linear scale, Waveform, randomization are some of the 1-click features
  • Check the outcome of your simulator before even starting it with charts and Aggregations of all kind
  • Do bulk updates to all measurements
  • Simulate CSV data of real device
  • Templates to create multiple simulators

Install Guide

Through the UI:

  1. Go to the releases section in GitHub and download the latest ZIP
  2. Open the administration app in your tenant
  3. Click on "Applications" -> "Own applications" -> and in top right corner "Add application"
  4. "Upload Web application" -> Select the Zip

Alternative way to install through CLI:

  1. Fork and clone the repositoriy
  2. Use npm install && npm build in the cloned Repo
  3. Run npm deploy and enter the URL of your tenant and enter credentials with the appropriate permission

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

cumulocity-advanced-simulator's People

Contributors

chrism3y avatar techcommunity avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

cumulocity-advanced-simulator's Issues

Save overview view-mode

Simulator overview

current: when I change the view-mode of the overview from list to grid and reload the page, the default view mode is shown.
expected: when I change the view-mode to grid and reload the page, the view-mode will again reflect my latest change.

reported by Chris

Implement via local storage (check c8y build-in alternative)

Add Simulator Interval

e.g. Adding sleeps corresponding to the input (once a day, once a week)

add the ability to loop (interval) a process at a given time-frame (eg once every hour/day).

use sleep as a workaround for using a micro-service.

check if that could cause issues (performance?).

Overview Loading indicator

Simulator overview (set network throttling to fast 3g)

current: after the component is loaded, no list/grid is visible
expected: after the component is loaded and until the simulators are loaded a loading indicator id displayed

UI enhancements

-> Update series is not straightforward
-> Unit label for input fields

Easy access to simulators

Simulator Overview

current: a simulator can be edited, via a button in the dropdown-menu
expected: the simulator can be edited by clicking on its title.

having the "Edit Simulator" action in the dropdown would be optional, but redundancy would be fine.

Graph update on instruction change

Simulator details > add/remove sleep

current: when a sleep instruction is added (or removed) the simulation-graphs do not reflect the lastest state. if I click on any button (eg "Show Alarms") the current state is displayed.
expected: if I remove an instruction, the charts should directly reflect the current state of configuration.

Simulator for Customer ITAC

Bugs fixed:

  • Smartrest instructions didn't create properly

Features added:

  • Salt works also for smartrest instructions now
  • Bulk changes for a specific Smartrest series

Code Clean-Up

  • Remove logging & deprecated code
  • Resolve errors (or apply proper handling)

Deployment

Make sure you can deploy from GitHub with every commit into the master branch

Add Project-Actions

setup CI/CD actions (pipelines in "jenkins-speak") for:

  • MR commits (lint, test & build)
  • MR merges (lint, test, build & deploy)
  • MR to deploy and remove C8Y-Apps

Simple add simulator

Simulator Overview > Add Simulator

current: When adding a new simulator, the form can only be submitted, when clicking on the "Save"-button.
expected: Enable the submission of the form with "enter" on the name field

Intertwine removes instructions

Current: When I setup a simple set of series and activate the intertwine option, the instructions are gone.

Expected: When there are no instructions to be intertwined, the checkbox should be disabled. When the action can be executed, the instructions should intertwine.

How to replicate
On edit sim view:

  1. one series of measurements, one basic event and one sleep mute be setup
  2. check intertwine
  3. all instructions, but the sleep, are gone. series are still present.
  4. when updating the basic event series, it is not added to the instructions.

Add app version info to UI

add a display of the version-number (from package.json) to the simulator overview.

that number can be used to properly tell the deployed application version.

Delete simulator feedback

Simulator Overview > Remove From list

  1. current: naming suggests that the simulator would still be existent but only removed from list.
    expected: (if action deletes simulator) rename to "Delete Simulator"

  2. current: the removal of a simulator only provides implicit feedback (item gets removed from list)
    expected: explicit feedback - eg a toast - displays the success/fail of the action

Submit change simulator title behavior

UC 1:
Current: When I have adjusted the title of my simulator I need to press the edit-button (?) again.
Expected: I can (also) submit the changes to the simulator-title by pressing enter/return.

UC 2:
Current: When I started to edit the simulator title, but do not want to change it after all I cannot cancel the action.
Expected: When I want to cancel the editing of the title, I click somewhere outside of the field.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.