Git Product home page Git Product logo

mbp's People

Contributors

amil-i avatar ana-silva avatar c-mueller avatar dependabot[bot] avatar emschu avatar felix-sc avatar hirmerpl avatar jakobbenz avatar katja-seb avatar lauracorssac avatar lucio-lpf avatar magirtopcu avatar marvin21 avatar mtfrigo avatar rkperes avatar rossojo avatar schneijan avatar schneiti avatar t-haller avatar tatianegava avatar ulusal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

mbp's Issues

Improve registration popups and overview of adapters

Some things that could be improved perhaps:

  • Registration popups do not close after registration
  • It is easy to close the popups by accident by clicking on the remaining screen area
  • Adapter popup is not entirely reseted after adapter creation, the parameters remain
  • The parameter display in the adapter overview can become very long if there are lots of parameters. Perhaps we can find a better way to display them there (e.g. as a list)?

Mandatory fields should be marked with a *

It is unclear whether there are mandatory fields, this needs to be made clear with a *

Add a * to the mandatory fields, e.g., Name . At the bottom, insert " mandatory"

Java script errors occur in each view

Adapter validator not used

The adapter validator is not used at the moment. It needs to be fixed (if necessary) and added to the rest configuration again.

Javarize valuelogger

When starting the tomcat server, the valuelogger functionality should be invoked in Java.
=> use ServletContextListener

Fix maven warnings

There are some maven warnings during the build cycle that should be fixed.

Ensure file integrity

In order to make the application more resilient, an approach is needed to ensure the integrity of the files (scripts) that were transferred to the dedicated network device while deployment.

Fix faulty wro configuration

The wro configuration seems to be faulty which may lead to some js files not being created on certain environments.

State display in sensor view does not work

In the sensor details view (and probably also in the actuator details view) the status display always shows "Available", independent of the actual availability of the sensor. Instead, the availability should be checked by pinging the corresponding device.

Merge controllers for actuators and sensors

Currently two different angular controllers (with exactly the same behaviour) are maintained for the actuator and sensor details. In order to increase the maintainability of the project, these controller should be generalized and extended on purpose.

Problems after VM restart

After restart of a VM, it takes a long time (~30 minutes) until the MBP is available again. Restarting Tomcat Server etc. does not help with this problem.

Deployment of Raspberry Pi is not possible

Deployment on RP cannot be processed. Probably, the path to the home directory is not set correctly. Suggestion: Use $HOME instead of ~ in commands.

RP IP: 129.69.209.79

Enable more complex sensor values

Currently, only floating point numbers are supported. More complex values should also be possible, e.g., three dimensions of accelometer.

Upgrade Mongo Java Driver

The project currently uses version 2.13.3 of the mongo java driver which is already deprecated and should be upgraded. The class "Mongo" is deprecated as well and should be replaced by "MongoClient"

Adding an adapter without scripts leads to js error

When trying to add an adapter without any associated files, a javascript error occurs.

TypeError: Cannot read property 'constructor' of undefined
at readRoutines (TypeListController.js:50)
at addItem (TypeListController.js:72)
at Object.addItemPromise [as addItem] (AddItemController.js:11)
at angular.js:15
at f (angular.js:15)
at l.$eval (angular.js:10)
at l.$apply (angular.js:10)
at HTMLFormElement. (angular.js:15)
at HTMLFormElement.dispatch (jquery-3.1.1.min.js:3)
at HTMLFormElement.q.handle (jquery-3.1.1.min.js:3)

Refactor SSHDeployer

The SSHDeployer class currently has a lot of issues that need to be resolved:

  • Eliminate code duplicates in deployment methods
  • Relax tight coupling between this class and the REST mapper class
  • Move logic of this class and the REST mapper class according to their responsibilities
  • Abstract from actuators and sensors in order to avoid case differentiations and duplicates
  • Add some documentation about preconditions and responsibilities of the deployment methods
  • Analyze whether the already existing auto deploy feature is still needed

Create parametrized adapter for testing

In order to be able to test the deployment parameters, an appropriate adapter is required. A modified version of the already existing adapter that simulates a temperature sensor may be used for this purpose.

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.