Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

!@ solve please The goal of this project is to create web services, which allow 1) getting, adding, updating, and removing the following resources: user,

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

!@ solve please

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed
The goal of this project is to create web services, which allow 1) getting, adding, updating, and removing the following resources: user, hourly electricity usage, electricity rate plans. 2) getting electricity costs. The web services must be implemented using JDK 11 with Spring Boot. JPA, hibernate, and H2 database should be used for data persistence. Tools related to the project are Maven for building and packaging, Spring Tool Suite as an IDE, and PostMan for testing web services. Service End Points 1. Five endpoints are required for user service. 1) Getting all users, http://localhost:8080/users 2) Getting a user, http://localhost:8080/users/(id), where (id) is the placeholder for user id 3) Add a user, http://localhost:8080/users 4) Update a user, http://localhost:8080/users/(id), where (id) is the placeholder for user id 5) Delete a user, http://localhost:8080/users/(id), where (id) is the placeholder for user id 2. Three endpoints are required for rate plan service. The application should have a default summer (June 1 - Sep 30) and non-summer (Oct 1 - May 31) plan when the system starts up. No new plans are allowed to be added. Existing plans can only be updated not deleted. 1) Get all rate plans, http://localhost:8080/plans 2) Get summer or non-summer plan http://localhost:8080/plans/summer or http://localhost:8080/planson-summer 3) Update summer or non-summer plan, http://localhost:8080/plans/summer, or http://localhost:8080/planson-summer 3. Five endpoints are required for usage service. 1) Get all usages, after resource url (http://localhost:8080/usages) optional userld, year, month, and date parameters can be used to filter usages. Here are two examples: http://localhost:8080/usages http://localhost:8080/usages?userld=2&year=2019&month=3&date=28 2) Get an usage, http://localhost:8080/usages/(id), where (id) is the place holder for usage id 3) Add a usage, http://localhost:8080/usages 4) Delete an usage, http://localhost:8080/usages/(id), where (id) is the place holder for usage id 5) Update an usage, http://localhost:8080/usages/(id), where (id) is the place holder for usage id 4. One endpoint is required for cost service. 1) Get cost by userld, year, month, date, (all the request parameters are optional) and here is an example request URL:Student SID (PK) sname saddress GPA Program DID (PK) pname faculty Undergraduate SID (FK to Student) |pID (FK to Program) year Graduate sID (FK to Student) pID (FK to Program) thesis year Course CID (PK) PID (FK to Program) cname TA SID (FK to Student) CID (FK to Course) Room Enrolled SID (FK to Student) CID (FK to Course) Grade Write a SQL query for each of the following questions: E) Find the TA's name and room for the course named 'Databases'. Please make sure you copy your answers from Relax, (https://dbis- uibk.github.io/relax/landing)This is Actuarial Science 9'. Sam purchased a stock that pays dividends of EDI] at the end of the first year and increases by SUI each yearthereafter. At an annual effective interest rate of i: the price of this stock is 46,3513. Calculate i. 3*". Consider a share of stock that pays annual dividends as follows: 2GB, Ell'l'], E'il}, 2UD[L09]\"2, , Z.'9]\"12 at times CI, 1, 2, , 12 and level payments of EDUQPlE afterward at times 13, 14, Find the purchase price of this share of stock at an annual effective rate of interest i = 4%. 5. A stock pays a dividend of SBDCI at the end of the Fth year {at time 1"}, with each subsequent annual dividend being k'h': greater than the preceding one. Find lt ifthe price of this stock is 33221.52 at an annual effective yield rate of 3%. Hint: The dividend discount model gives the price of the stock one year before the first dividend. ice Problems for the fir Banner Bb Comprehensive Assignment Be Practice Problems for th X G https://mybb.qu.edu.qa/bbeswebdav/pid-2330492-dt-content-rid-6948640_1/courses/Spring_2020_MATH222_21418/Practice%20Problems%20for% # - + 0 Fit to page Page view A" Read aloud . Add not 20. Let f(x) = - and g(x) = if : >0 1+1 ifx va, and define In+1 = 5 (In + " ). Show that (En ) decreases monotonically, bounded and lim En = Va

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Survey Of Economics

Authors: Irvin B. Tucker

10th Edition

133711152X, 978-1337111522

More Books

Students also viewed these Economics questions

Question

2. In what way can we say that method affects the result we get?

Answered: 1 week ago