Assessment task description: You are required to complete six activities. • Activity 1: Selecting and preparing REST APIs • Activity 2: Creating a new project and configure RESTful API • Activity 3:...




Assessment task description:

You are required to complete six activities.

• Activity 1: Selecting and preparing REST APIs

• Activity 2: Creating a new project and configure RESTful API

• Activity 3: Building REST API endpoints

• Activity 4: Use CORS methodology

• Activity 5: Secure REST API

• Activity 6: Finalising REST API

You must attempt all criteria to the required level, e.g., Assessment criteria mentioned in the performance checklist to be deemed satisfactory in this task.


Resources required to complete the assessment task:

• Access to learner guide and other learning materials.

• Computer

• Internet

• MS Word

• Printer or e-printer

• Unit Assessment Task

• Eclipse

• REST API framework

• Operating system

• Internet


Scenario:

Future IT is an IT company that provides different IT services such as application development, technical issues resolution, software support, Internet services, database services, and others. It operates all across Australia with branches in major cities such as Melbourne, Sydney, Perth, and Brisbane.

Future IT has around 133,240 clients and is providing services to them for the last five years. The company has been consistent with providing services and is giving tough competition in the industry.

Future IT has developed different websites and is unable to maintain the data on all the websites as they are finding it hard to communicate with the different data sources. Future IT is aware that they haven’t implemented the REST APIs.

Future IT is planning to implement REST APIs as they are aware that it helps to communicate with the server and provides confirmation to constraint REST architectural style. It also helps in interacting with RESTful web services.

The different frameworks which Future IT can use are:

• ASP .NET

• Spring

• Django

The different languages which use REST API are:

• Java

• Python

• ASP .NET

Future IT wants to use the following IDE to perform the REST API functions:

• RapidAPI

• IBM API connect

• AWS API gateway

You are working as a software developer for Future IT. You need to go through the scenario and complete the following activities.

You need to complete the following activities to complete this task.


Activity 1: Selecting and preparing REST APIs

In this activity, you need to prepare a report on the REST APIs framework and IDE which will be used to operate REST APIs.

In the report, you need to cover the following:

• Need of REST APIs

• Use of REST APIs

• Business needs from REST APIs

• Different REST APIs framework

• Programming languages associated with REST APIs

• Different integrated development environment (IDE)

• Comparison between REST APIs


Activity 2:

In this activity, you need to configure and create a new project in the eclipse and then configure the RESTful API application in eclipse.

You need to open the eclipse program and start the new project on the platform. After creating the new project, you need to configure and implement RESTful API in the project.

In the activity, you need to perform the following tasks:

• Open eclipse

• Create project

• Configure and implement RESTful API


Activity 3: Building REST API endpoints

After creating the project in the eclipse, you need to build the endpoint for the REST APIs. You need to use the GET method to build the endpoint for REST API and obtain records.

After creating the REST API endpoint, you need to return the single record as well. After that, you need to configure the REST API endpoint with the help of POST and PUT methods.

You also need to use the DELETE method to build the REST API.

After developing the REST API using the GET, POST, PUT and DELETE methods, you need to test the functionality of the REST API and ensure that it meets the business needs.

In the activity, you need to perform the following tasks:

• BuildREST API using GET method

• Access collection of records

• Access anddisplay one record

• Configure REST API endpoint with the help of POST and PUT method

• Configure DELETE method in REST API

• Test functionality of REST API

• Reflect status of REST API function


Resources required

Your Trainer and Assessor will provide you with the following resources to complete this activity:

• Computers

• Internet

• Eclipsehttps://www.eclipse.org/downloads/

• REST API application

Please read section"Creating new projects in Eclipse IDE

First of all you need to download and install Eclipse IDE for Java EE Developers."From your toolbox.


Activity 4: Use CORS methodology

After creating and building the REST APIs, you need to test if CORS requests are allowed on REST APIs. You need to update the endpoints in the REST API and update GET, POST, PUT and DELETE requests.

Once the requests are updated, you need to review client requests on REST APIs and test the CORS requests. After testing the CORS requests, you need to check if pre-flight cross-origin requests are being accessed using the OPTIONS method.

You need to test the CORS pre-flight request as well.

In the activity, you need to perform the following tasks:

• Update REST API endpoints

• Update GET, POST, PUT AND DELETE options for REST API

• Check CORS requests

• Test CORS requests

• Check pre-flight requests with the help of the OPTION method

• Test pre-flight request


Resources required

Your Trainer and Assessor will provide you with the following resources to complete this activity:

• Computers

• Internet

• Eclipsehttps://www.eclipse.org/downloads/

• REST API application

Please read section"Creating new projects in Eclipse IDE

First of all you need to download and install Eclipse IDE for Java EE Developers."From your toolbox.


Activity 5: Secure REST API

In this activity, you need to secure the REST API applications by implementing the authorisation and authentication methods.

You need to ensure that different methods are evaluated before implementing security on the REST API.

In this activity, you need to perform the following tasks:

• Review security of REST API

• Select methods to implement security on REST API

• Implement authentication and authorisation on REST API


Resources required

Your Trainer and Assessor will provide you with the following resources to complete this activity:

• Computers

• Internet

• Eclipsehttps://www.eclipse.org/downloads/

• REST API application

Please read section"Creating new projects in Eclipse IDE

First of all you need to download and install Eclipse IDE for Java EE Developers."From your toolbox.


Activity 6: Finalising REST API

In this activity, you need to prepare a report on the industry tools and conventions which can be used to document the REST APS endpoints. You need to use the tools and conventions to document the REST API endpoints.

In the report, you need to discuss the following:

• Tools and conventions used to document REST APIs

• Template for store REST APIs endpoints

• Validation of REST API documents

After creating the report, you need to send an email to the manager and submit the report.
Oct 19, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here