Code Monkey home page Code Monkey logo

dat250-group6's People

Contributors

eirins avatar eivinddh avatar omlie avatar

Watchers

 avatar  avatar

dat250-group6's Issues

Implement security according to assignment

Using the standard security features of the Java EE framework, implement a working solution for authentication and access control / authorization in the application. This must include a secure login mechanism using password and username, and the solution should use database storage of the user credentials. In the application, there should be at least two different roles with corresponding access rights. Finally, all communication between clients and the server should be protected by using the https protocol.

Implement messaging according to assigment

When a user is approved to use a registered device, the application needs to send a message to a Notify-subsystem implemented as a message-driven bean and the Java Message Service (JMS). You should add a JMS topic to your application in which this information can be published and received by a subscribing message-driven bean. The message-driven bean should sent a message to dweet.io via REST similar to the functionality of the advanced tweet example application.

Create database access functions

  • getDeviceById(int deviceId) - which should return a representation of the device identified by id

  • getSubscribers(int deviceId) - which should return a representation with reference to all current registrations of the device identified by id

  • getUserFromSubscriptionId(int deviceId, int registrationId) - which should return a representation of the given rid for the device identified by id

  • addSubscription(int deviceId, int userId) - which creates a registration for a specified user for the device identified by id and returns a representation of the registration. The user should be contained in the payload of the request (or optionally as a query parameter).

Create business logic

  • Log in
  • Add new device
  • Add new user
  • Search for online devices
  • Delete device
  • Register for device
  • Deregister for device
  • See list of devices subscribed to
  • Edit owned devices
  • Add feedback to devices
  • View feedback for owned devices
  • Publish device
  • Update user data

Create REST endpoints

  • GET /rest/devices - which should return a representation of all devices
  • GET /rest/devices/{id} - which should return a representation of the device identified by id
  • GET /rest/devices/{id}/registrations/ - which should return a representation with reference to all current registrations of the device identified by id
  • GET /rest/devices/{id}/registration/{rid} - which should return a representation of the given rid for the device identified by id
  • POST /rest/devices/{id}/ - which creates a registration for a specified user for the device identified by id and returns a representation of the registration. The user should be contained in the payload of the request (or optionally as a query parameter).

Make presentation for friday

  • A brief introduction to the software technology that you are investigating (2 slides).
  • A summary of what you have done until now and what prototype you are going to build (2 slides).
  • A summary of how you intend to proceed in the project and how you will evaluate the prototype (1 slide).

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.