Our Services

Get 15% Discount on your First Order

[rank_math_breadcrumb]

computer science

CST 365/465
Michael Ruth
Homework #1
Due: 6/17/24 (by midnight)

For this assignment, you will need to create a Netbeans project (using Spring Initializer) which you will
need to name using your Last name followed by your first name followed by “-Homework1” to name it.
After completing the assignment, zip the project directory and turn in via blackboard by the due date.

Finally, you will need to perform this work using Spring Boot.

(15%) Part I: Initialization

1. (5%) Our spring system will be a video game catalog system that will allow us to work with a video
game database. We’ll need a basic video game object (name it Game) which has the following
fields with the following types:
a. EQUALS method: should exist and use GID to compare games for equality.
b. Should include the following fields:

i. GID (int), name (String), system (String), genre (String), price (double)
1. Note that system is the type of system the game runs on (Atari, Nintendo Swith, etc.)
2. Note that genre is a type of game, like RPG, Action, Racing, etc.

2. (10%) Your Controller should create 30 games at random using the initialization code similar to
what we developed in class (in week 1) and store them in an ArrayList designed to store games.

(50%) Part II: GET endpoints

1. (10%) Get all games
2. (10%) Get employee with given GID

a. GID must be given through the path
b. If the employee with the given GID exists, return it
c. Otherwise, return 404

3. (10%) Get all games for a given system
a. System must be given through the path
b. Return all games for a given system

4. (10%) Get all games for a given genre
a. Genre must be given through the path
b. Return all games for a given genre

5. (10%) Get all games priced between a given range (low, high values)
a. A high value and a low value must be given through the path
b. Return all games that are priced between the high and low given values

(10%) Part III: POST endpoints
1. (10%) Add a game

a. Game must be given through the body
b. No duplicates allowed
c. Only accept valid games (must use validation criteria from part V)
d. Report with game if OK, or report FOUND

(10%) Part IV: PUT endpoints
1. (10%) Update an game

a. Game must be given through the body
b. Game must already exist
c. Update the game using the given game values
d. Only accept valid games
e. Report with employee if OK, conflict otherwise

(5%) Part IV: DELETE endpoints

1. (5%) Delete game with the given GID
a. GID must be given through the path
b. Game must exist with the given GID
c. Report with game if OK, 404 otherwise

(10%) Part V: Validation (Employee)

1. (10%) Validate all fields of employee using the following constraints:
a. GID must be present and a 6 digit number
b. Name, genre, system must be present and not empty strings
c. Price must be positive number and greater than 0
d. Make sure to have exception handling as necessary (JUST COPY MY CODE FOR THIS PART

INTO YOUR PROJECT)

GRADUATE STUDENTS ONLY (UG may do for extra credit)

You will work on some additional GET endpoints:

1. (5%) Create a new object named Manufacturer with two fields: (int) MID, and (String) name.
2. (5%) In the constructor for your controller, generate 5 manufacturers and put them into a

separate list.
3. (10%) Create an additional int field for game named man (will refer to their manufacturer’s

MID) and initialize the field during creation of the games to one of the MIDs of the
manufacturers you created.

4. (15%) Create the endpoints necessary in the same controller to manage manufacturers (list,
delete, update, put)

5. (15%) Create an endpoint that gets all games for a given manufacturer name
a. Manufacturer name must be given through the path
b. Return all games for a given manufacturer name

Note:

• If the project or the zipped file is NOT named correctly, I will take 10 points off the total score.

• If the files within the project are named incorrectly, I will take 10 points off the total score.

• Do NOT use lamba expressions for this homework, if you do, you will receive a zero.

• If the project doesn’t contain sufficient comments, I will take 10 points off the total score.

• This is an individual assignment and what you turn in should represent only your work.

• Do NOT try to do this last minute!

Share This Post

Email
WhatsApp
Facebook
Twitter
LinkedIn
Pinterest
Reddit

Order a Similar Paper and get 15% Discount on your First Order

Related Questions

D 8 of 485

Follow the attached instructions to complete this work.   Strategies for Addressing Global Threats You will start by writing a short paper as described in the discussion question. You will be using information from this week’s readings and from your own research to address the information needs expressed in the

D 7 of 485

Follow the attached instructions to complete this work. Leadership Update: Cyber Crime   You will start by writing a short paper as described in the discussion question. You will be using information from this week’s readings and from your own research to address the information needs expressed in the question.

D 8 of 413

 Follow the attach instructions to complete this work. Budgeting for Cybersecurity   You will start by writing a short paper as described in the discussion question. You will be using information from this week’s readings and from your own research to address the information needs expressed in the question. Create an

Computer Science written assignment 3

Written Essay Assignment 3-1: · Identify common risks, threats, and vulnerabilities found in the LAN-to-WAN Domain that require proper security controls for mitigation · Identify network and security policies needed to properly secure the LAN-to-WAN portion of the network infrastructure · Write a 2-3 page APA-formatted essay that identifies network

project 3 of 485

Follow the attach instructions to complete the work. Make sure it aligns with the Rubric Project #3: Presentation for Board of Directors Your Task: Padgett-Beale’s Chief Information Security Officer (CISO) has tasked you to continue supporting the Merger & Acquisition team’s efforts to bring Island Banking Services’ security program into

project 2 of 485

Fellow the attach instructions to complete this work. Make sure it aligns with the Rubric Project #2: Cybersecurity Implementation Plan Your Task: The Acquisition of Island Banking Services has moved from the strategy development phase to the integration phase. In this phase, the M&A team will develop transition and implementation

PROJECT 1 of 485

Fellow the attach instructions to complete this work. Make sure it aligns with the rubric Project #1: Cybersecurity Strategy & Plan of Action Your Task: You have been assigned to support the Padgett-Beale Merger & Acquisition (M&A) team working under the direct supervision of Padgett-Beale’s Chief Information Security Officer (CISO).

proj3-Final

Project 3: Cloud Portfolio Report  Step 1: Review BallotOnline’s Cloud Services Offerings  You’ve now had a lot of experience working on many aspects of the cloud at BallotOnline, and you will take a look at what you’ve done in the past. In this step, you will write up how you

AWS Simple Monthly Calculator

Discussion: AWS Simple Monthly Calculator Contains unread posts Now that you have discussed BallotOnline’s cloud services offerings, you will discuss the AWS Simple Monthly Calculator. You should cover the following areas: · What are some of the general use cases that are covered? · What are the requirements to use

D 5 0F 485

Follow the attach instructions to complete this work. Assessing Maturity for Cybersecurity Program Before you begin read:  Our class focuses on integrating many different aspects of cybersecurity, information security, and information assurance.  Recent developments in the field of cybersecurity have resulted in a number of “maturity models” which can be

Discussion 4 of 413

Follow the attach instructions to complete the work Data Breach Reporting Policy Review the Red Clay Renovations company profile and the weekly readings. Provide specific information about “the company” in your response. Due to changes in state and federal laws, Red Clay leadership decided the CISO will be the sole

discussion 4 of 485

Follow the attach instructions to complete this work. Cultural Differences as Barriers to Success The Merger & Acquisition team hired a team of external consultants to assist with identification of cultural issues which could result in barriers to the successful acquisition of Island Banking Services by Padgett-Beale. The consultants conducted

project 3 of 413

Follow the attached instructions to complete this work Download the attached detailed assignment description for this project. You should also review the rubric shown below for additional information about the requirements for the project and how your work will be graded. Please make sure that you use both the assignment description file

Project 2 of 413

Follow the attach instructions to complete this work. Make sure it aligns with the rubric Project #2: Manager’s Deskbook Company Background & Operating Environment Red Clay Renovations is an internationally recognized, awarding winning firm that specializes in the renovation and rehabilitation of residential buildings and dwellings. The company specializes in

Project 1 of 413

Follow the attach instructions to complete this work. Make sure it aligns with rubric Project #1: Employee Handbook Company Background & Operating Environment Red Clay Renovations is an internationally recognized, awarding winning firm that specializes in the renovation and rehabilitation of residential buildings and dwellings. The company specializes in updating

Discussion and Replies

Please see attachment for instructions     Discussion   In 250 words total, answer the questions below with 4 evidence base scholarly articles. APA format. 1. Discuss some of the common issues with implementation of security policy. 2. What are some possible mitigations to ensure policy can be enforced. Replies

revision x 10

I need someone to follow all of the instructions that is provided for revision that can be done no later than tomorrow, do not request bid if this price is not enough or if you cannot fulfill the requirements this is a time sensitive manner I cannot wait 3-4 days