diff_months: 16

High level component design and API contract Assignment

Download Solution Now
Added on: 2022-10-29 05:16:34
Order Code: 473203 (1)
Question Task Id: 0

In this assignment you will continue to develop a backend for a Twitter-like application. Please remember its basic functionality:

  1. There should be at least 2 roles – Producer and Subscriber;
  2. Producer role is the same as Subscriber but has some extra capabilities – it can produce messages, which Subscribers get;
  3. User may have both roles at the same time;
  4. Users having Subscriber role may subscribe to as many Producers as they want to;
  5. All messages stored in database, can be easily searched based on at least criteria:
    1. User (Producer) ID – means who wrote it;
    2. Message content

Understanding the general concept for this application

For this Assignment, the interactions (for general understanding, not for implementation at this moment) with the application should be as follows:

  1. There’s a back-end application which has an exposed API allowing users to be authenticated and authorized (use data model from module 5) – UserManagementService;
  2. User must be logged in and have obtained a token. For simplicity, imagine the token is a simple ID, like number, UUID, hash, something else, producing by the UserManagementService at the first authentication request and returned to the user for further authorization purposes.
  3. After the user has been authenticated and obtained a token, he/she is able to use other APIs, related to publishing and obtaining messages; in case of unauthenticated access user should be simply redirected to UserManagementService to obtain a token; if user has a token but his/her rights are insufficient to perform a request – there should be appropriate response with HTTP status 401;
  4. Using other APIs, user is able to publish messages and/or receive messages published by other users.

Assignment Tasks:

Now that you have reviewed the Assignment #1 information as well as gained some background to the application at hand, you will now begin implementation of the following.

What you should do:

  1. Using your data model from the previous assignment, you need to create the following diagrams and charts:
    1. Activity diagrams, describing the algorithm of possible actions, happening in your system;
    2. Functional diagrams of all components (services) describing a structure of the application;
    3. Sequence diagrams, describing API calls and low-level access;
    4. Class diagrams for all your services.
  2. Once you have developed each of the diagrams as per the instructions above, please use Swagger Editor to build an API contract for each of the services you created in step # 1.
    1. As a result, you should have a YAML file, which can be shared with your facilitator. An Example of that file is in module 5;
  3. Save all diagrams as JPEG pictures
  • Uploaded By : Katthy Wills
  • Posted on : October 29th, 2022
  • Downloads : 0
  • Views : 137

Download Solution Now

Can't find what you're looking for?

Whatsapp Tap to ChatGet instant assistance

Choose a Plan


80 USD
  • All in Gold, plus:
  • 30-minute live one-to-one session with an expert
    • Understanding Marking Rubric
    • Understanding task requirements
    • Structuring & Formatting
    • Referencing & Citing


30 50 USD
  • Get the Full Used Solution
    (Solution is already submitted and 100% plagiarised.
    Can only be used for reference purposes)
Save 33%


20 USD
  • Journals
  • Peer-Reviewed Articles
  • Books
  • Various other Data Sources – ProQuest, Informit, Scopus, Academic Search Complete, EBSCO, Exerpta Medica Database, and more