0% found this document useful (0 votes)
112 views76 pages

Demosem4doc PDF

This document is a project report submitted by Vikas Songara to fulfill requirements for a Master's degree in Computer Applications from Gujarat Technological University. The report describes a project called "Reporting Agent" which aims to provide merchants with consolidated reports and key performance indicators from different e-commerce systems in one place. The project was developed under the guidance of internal and external guides and submitted on May 5th, 2022.

Uploaded by

satu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
112 views76 pages

Demosem4doc PDF

This document is a project report submitted by Vikas Songara to fulfill requirements for a Master's degree in Computer Applications from Gujarat Technological University. The report describes a project called "Reporting Agent" which aims to provide merchants with consolidated reports and key performance indicators from different e-commerce systems in one place. The project was developed under the guidance of internal and external guides and submitted on May 5th, 2022.

Uploaded by

satu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 76

A

PROJECT REPORT
ON

REPORTING
AGENT
IN FULFILMENT OF

MASTER’S DEGREE IN COMPUTER APPLICATIONS (M.C.A.)

GUJARAT TECHNOLOGICAL UNIVERSITY (2020-2021)

GOVERNMENT MCA COLLEGE


MANINAGAR, AHMEDABAD
(Affiliated to the Gujarat Technological University)

SUBMITTED BY: -

ENROLLMENT NO STUDENT NAME

205690694034 Vikas Songara


GOVERNMENT MCA COLLEGE
MANINAGAR, AHMEDABAD

(Affiliated to the Gujarat Technological University)

CERTIFICATE

This is to certify that System Development Project of “REPORTING AGENT”


developed and submitted to Gujarat Technological University by Vikas Songara
(205690694034) fulfilment of the requirement of MCA SEM-4 for the award of
the “Master Degree in ComputerApplications (M.C.A.)” in the year 2021-2022.

This is the original work and carried out under guidance and supervision. We
further certify that to the best of our knowledge and belief the matter presented
in this project report is Bonafede certificate.

Date of Submission: 05-05-2022

Nisha Chavda Prof B.B. Prajapati Dr. Chetan B. Bhatt


Internal Guide Head of Department Principal
Government MCA Government MCA Government MCA
College, Maninagar. College, Maninagar. College, Maninagar.
Acknowledgement

I would like to express my sincere gratitude to several individuals for supporting me throughout
my internship project. First, I wish to express my sincere gratitude to my Internal Guide, Prof.
Nisha Chavda, for his enthusiasm, patience, insightful comments, helpful information,
practical advice and unceasing ideas that have helped me tremendously at all times in my
research project. His immense knowledge, profound experience and professional expertise has
enabled me to complete this research successfully. Without his support and guidance, this
project would not have been possible.

I would like to express my endless thanks to my external guide Mr. Rakesh Dobariya, And
Admin Department at Dakshya Freondtech for their sincere and dedicated guidance throughout
the project development.

I also wish to express my sincere thanks to Principal of Government of MCA College, Dr.
Chetan B. Bhatt and to HOD Prof. Bhavesh B. Prajapati for providing the needful support
throughout the timeline. Additionally, I would acknowledge all the support staff and my friends
for their constant help and mental support.

Vikas B. Songara

Reporting Agent i
Abstract

• Nowadays, merchant (Seller who sells products online using one or multiple commerce
systems) is selling items in different commerce system (like Shopify, BigCommerce,
Magento, WooCommerce, Amazon, Flipkart, etc.), there are no single tools available
to provide various reports of business performance.

• Reporting Agent is SaaS (Software as a services) based platform, which provides


various kinds of reports and KPI from different e-commerce systems at a single place.

Reporting Agent ii
List of Figure

Fig 3.1 Use Case ………………………………………………………………………... 12


Fig 3.2 Class Diagram ………………………………….………….…………………… 13
Fig 3.3 Interaction Diagram ………..…………………………………………………... 14
Fig 3.4 Activity Diagram: User ….………………………………………………….….. 15
Fig 3.5 Activity Diagram: Admin ...……………………………………………………. 16
Fig 3.6 ER Diagram …………..……………………….………….………………….… 17
Fig 3.7 DFD Diagram (Admin) ……………………….………….………………….… 18
Fig 3.8 DFD Diagram (Customer) …………………….………….………………….… 19
Fig 4.1 Admin Login ...…………………………………...……..…….……………....... 34
Fig 4.2 Dashboard ………………………………………………..…………...………... 34
Fig 4.3 Customer page ..……………..……..……………………….……………...…... 35
Fig 4.4 Customer validation ……………………......……………………..………….… 35
Fig 4.5 Customer Details …..………………………………………..….……...……...... 36
Fig 4.6 Create Customer …………..…………………………………………………..... 36
Fig 4.7 Delete Customer .…………..……………...……………………..….……….…. 37
Fig 4.8 Customer Details ……..………………….………………………...………..….. 37
Fig 4.9 Customer Login ………………..…………………….....…………………..….. 38
Fig 4.10 Customer dashboard 1 ……................................................................................ 38
Fig 4.11 Customer dashboard 2 ……................................................................................ 39
Fig 4.12 Customer dashboard 3 ………............................................................................ 39
Fig 4.13 Connection Table …...………..…………………………………………..…... 40
Fig 4.14 Add connection ………………..….…………………………………............... 40
Fig 4.15 Fill details ....................................................................................................... .... 41
Fig 4.16 Amazon Permission ........................................................................................... 41
Fig 4.17 Connection Created ............................................................................................ 42
Fig 4.18 Connection Table ............................................................................................. 42
Fig 4.19 Connection page ................................................................................................. 43
Fig 4.20 Add Store............................................................................................................ 43
Fig 4.21 Connection validation 1 ..................................................................................... 44
Fig 4.22 Connection validation 2 ..................................................................................... 44

Reporting Agent iii


Fig 4.23 Connection validation 3 ..................................................................................... 44
Fig 4.24 User details ......................................................................................................... 45
Fig 4.25 Amazon Permission ........................................................................................... 45
Fig 4.26 Forgot Email ...................................................................................................... 47
Fig 4.27 Send OTP ........................................................................................................... 47
Fig 4.28 Enter OTP .......................................................................................................... 48
Fig 4.29 Change password ............................................................................................... 48
Fig 4.30 Postman Collection ............................................................................................ 49
Fig 4.31 Message Auth Module ....................................................................................... 49
Fig 4.32 All Order download ........................................................................................... 49
Fig 4.33 Order API ........................................................................................................... 50
Fig 4.34 Order download Amazon ................................................................................... 50
Fig 4.35 Order download RA-core web ........................................................................... 51
Fig 4.36 Order in download in Order ............................................................................... 51

Reporting Agent iv
List Of Table

Table 5.1 Account ....................................................................................................................22

Table 5.2 Commerce Platform…..............................................................................................23

Table 5.3 Order Connection .................................................................................……..…......24

Table 5.4 Core Order ….................................................................................………………..25

Table 5.5 Core OrderItem ……................................................................................................26

Table 5.6 Core OrderAddress ...................................................................................................27

Table 5.7 Amazon Order ……………......................................................................................28

Table 5.8 Amazon OrderItem ...................................................................................................29

Table 5.9 Amazon OrderAddress .............................................................................................30

Table 5.10 Amazon Customer .................................................................................................31

Reporting Agent v
Table of Contents
Acknowledgement............................................................................................................... i
Abstract ............................................................................................................................... ii
List of Figures.................................................................................................................... iii
List of Tables ..................................................................................................................... iv
Table of Contents .............................................................................................................. vi
Chapter 1 Introduction ................................................................................................... 1
1.1 Existing System ........................................................................................................ 2

1.2 Need of the New System ......................................................................................... 2

1.3 Objective of the New System .................................................................................. 3

1.4 Problem Definition ................................................................................................... 3

1.5 Core Components ..................................................................................................... 3

1.6 Project Profile ........................................................................................................... 4

1.7 Assumptions of Constraints ..................................................................................... 5

1.8 Advantages and Limitations of the System ............................................................ 5

Chapter 2 Requirement Determination & Analysis ................................................... 6


2.1 Requirement Determination .................................................................................... 7

2.2 Targeted Users ........................................................................................................ 10

Chapter 3 System Design .............................................................................................. 11


3.1 Use Case Diagram .................................................................................................. 12

3.2 Class Diagram ........................................................................................................ 13

3.3 Interaction Diagram ............................................................................................... 14

3.4 Activity Diagram .................................................................................................... 15

3.5 ER Diagram ............................................................................................................ 17

3.6 Data Flow Diagram ............................................................................................... 18

3.7 Data Dictionary ...................................................................................................... 20

Chapter 4 Development ................................................................................................. 32


4.1 Coding Standards ………………………………………………………………33
4.2 Working project screenshot ……………………………………………………34

Reporting Agent vi
Chapter 5 Project Management ................................................................................... 52
5.1 Agile Project Charter ............................................................................................. 53

5.2 Agile Roadmap / Schedule .................................................................................... 54

5.3 Agile Project Plan................................................................................................... 56

5.4 Agile User Story ..................................................................................................... 57

5.5 Agile Release Plan ................................................................................................. 57

5.6 Agile Sprint Backlog .............................................................................................. 58

5.7 Agile Test Plan ....................................................................................................... 58

5.8 Agile Burn Charts................................................................................................... 61

Chapter 6 Proposed Business Model ........................................................................... 62


6.1 Requirement Resources ......................................................................................... 62

6.1.1 Human Resources ......................................................................................... 62

6.1.2 Reusable Software Resources ...................................................................... 62

6.1.3 Hardware Resources ..................................................................................... 62

6.2 Estimate of Cost ..................................................................................................... 62

6.2.1 Technical solution cost ................................................................................. 62

6.2.2 Human resource cost .................................................................................... 62

6.2.3 Location and space cost................................................................................ 62

6.2.4 Publication / Dissemination cost.................................................................. 62

6.2.5 Miscellaneous expenditure ........................................................................... 62

6.2.6 Time Frame ................................................................................................... 62

Chapter 7 Proposed Enhancements ........................................................................ 63

Chapter 8 Conclusion ................................................................................................ 63

Chapter 9 Bibliography ............................................................................................. 64

Reporting Agent vii


Subject Code : 649401 Introduction

CHAPTER 1
INTRODUCTION

Reporting Agent 1
Subject Code : 649401 Introduction

1.1 Existing System

There is no existing system like we developed, but there is some related E-commerce platform in
which if client want to see the reports of their store they have to buy the subscription which is costly
and they can see only reports regarding to their single E-commerce system.

1.2 Need for the New System

Reporting agent is SaaS (Software as a service) based platform which provide various king of reports
and KPI (key performance indicator) from different e-commerce systemat single place.

The Idea behind this project is there, our company has many clients and they have some common
problems like if they want to see the reports of their system they have to buy the subscription which
is costly and they can see only reports regarding their own E- Commerce system. So we decided to
create a system in which clients can see all E-Commercereports at one system at low cost.

There is no existing system like we developed, but there is some related E-commerce platform in
which if client want to see the reports of their store, they have to buy thesubscription which is costly
and they can see only reports regarding to their single E-Commercesystem.

In the proposed system user can integrate all the E-Commerce Store that show all the reports of their
multiple store and they can perform filtration and generate reports basedon filtered data. Other than
that the client can see the dashboard in which they can see the "KeyPerformance" on daily basis.

• You can access your all e-commerce merchant store in one place
• Application provides reports of store based on selling, returns and many business related
reports.
• Reporting agent provide graphical representation of statistical data so user can understand
easily.
• Main user can also be able to crate sub users.

Reporting Agent 2
Subject Code : 649401 Introduction

1.3 Objective of New System

• The main objective of this application is that, it saves lots of time and cost. It is very
helpful, mainly for customer and visitors,
• Other useful objective for this application are as follows:
o Reduce the effort to analyze business,
o Reduce the time for searching.
o Saves the time of getting reports.
o Filter search.

1.4. Problem Definition

The main objective of Reporting Agent system is now a days merchant is selling items
in different commerce system (like Amazon, BigCommerce, E-bay etc). There is no
single tools available to provide various reports of business performance.

1.5. Core Components

➢ REGISTERY
➢ RA-CORE
➢ RA-AMAZON
• AMAZON-Auth
• AMAZON-INTEGRATION-PROCESSOR
• AMAZON-INITIAL-IMPORTER
• AMAZON-PAYLOAD
• AMAZON-WEBCILENT
• AMAZON-WEBSERVICE

Reporting Agent 3
Subject Code : 649401 Introduction

1.6. Project Profile

Project Title Description


Company Name Dakshya Freondtech
Project Title Reporting agent
Project Description Now a days, merchant (Seller who sells
products online using one or multiple
commerce systems) is selling items in
different commerce system (like Shopify,
BigCommerce, Magento, WooCommerce,
Amazon, Flipkart etc.), there is no single
tools available to provide various reports of
business performance. Reporting Agent is
SaaS (Software as a services) based
platform, which provides various kinds of
reports and KPI from different e-commerce
systems at a single place.
Tools IntelliJ IDEA, HeidiSQL
Methodology Object-Oriented Software Development
Technologies Java(Jdk 11), Maven 3.8, Apache Kafka,
Spring Boot, Spring Cloud, MySQL, html,
css, bootstrap, javascript, jquery.
Duration 6th January 2022 To 6th May 2022
Team Size 1
Internal Guide Prof. Nisha Chavda

Reporting Agent 4
Subject Code : 649401 Introduction

1.7. Assumption and constraint

• Currently we are working to provide support for 4 E-commerce platform and in future we will
increase the number of platform support for various E-commerce platform.

• In future we will work on our system to work more smoothly and fast.

• We will add more functionalities like user can download his/her data of stores and make their
own reports.

• The current time for rendering all the components is 1.5 seconds we will decrease it.

• We will improve security layer.

1.8 Advantages and Limitations of the Proposed System

• Multiple e-commerce platform support


• Various Reports
• All platform reports at one place
• Reduce the effort to analyze business
• Reduce the time for searching.
• Saves the time of getting reports.

Limitations

• High expenses for plans


• Not getting all reports at one place
• Limited data reports

Reporting Agent 5
Subject Code : 649401 Requirement Determination

CHAPTER 2
REQUIREMENT DETERMINATION
&
ANALYSIS

Reporting Agent 6
Subject Code : 649401 Requirement Determination

2. Requirement Determination & Analysis

2.1. Requirement Determination

❖ Purpose
Firstly, The Main Idea behind "Reporting Agent" is that it can
integrate all the E-Commerce Store that show all the reports of their multiple
store and they can perform Filteration and generate reports based on filtered data.
Other than that the clientcan see the dashboard in which they can see the "Key
Performance" on daily basis.

Nowadays, merchant is selling items in different E-commerce system


(like shopify, Amazon). There is no other tools available in the market to provide
various standard and support filtration reports on basis of order, product,
customer etc for business performance. So, the "reporting agent" is stand for
solving and overcome all the issues faced by business man.

❖ Problem statement
The main objective of Reporting Agent system is now a days merchant
is selling items in different commerce system(like shopify, BigCommerce, and
etc). There is no single tools available to provide various reports of business
performance. The reporting agent is stand for solving all this issues.

❖ Project Scope
The main objective of developing “Reporting Agent” project is to
save timeand money and it is computerized. This system provides the following
features on different tasks.

• You can access your all ecommerce merchant store in one place.
• Application provide reports of store based on selling, returns, and many
business related reports.
• Reporting agent provide graphical representation of statistical data so
user canunderstand easily.
• Main user can also be able to create sub users.

Reporting Agent 7
Subject Code : 649401 Requirement Determination

❖ Intended Audience
This system can be used by the users who have store in any e-commerce
store andwant to see their everyday performance and financial reports.

• Hardware and Software (For User)

o Operating System: Windows7 minimum, Linux, or Mac


o Processor: Any process, Multi core process is recommended
o Storage: Minimum 1GB.
o Ram: Minimum 1GB, 2GB is recommended.
o Other: Browser, Jdk 11, Maven 3.8, MySQL

• Hardware and Software (For Development)

o Operating System: Windows


o Processor: intel i5 10th Generation quad process
o Storage: 2GB
o Ram: 16GB
o Other: jdk 11, Maven 3.8, MySQL, Browser

• Peripheral

o Mouse
o Key Board
o Monitor

• Acronyms and Abbreviations

o JDK: java Development kit


o UI: User Interface

Reporting Agent 8
Subject Code : 649401 Requirement Determination

Tools and Technologies

➢ Tools

Sr. No Tool Purpose

1 IntelliJ IDEA Writing code

2 Bitbucket Code versioning

3 Postman Api testing


4 HeidiSQL Access database

➢ Technologies

Sr. No Technology Purpose

1 Java, Spirng boot Backend

2 Mysql Database

3 Maven Dependency management


Html, css, Bootstrap, jquery,
4 Frontend
javascript
Event store and stream
5 Apache kafka
processing.

Reporting Agent 9
Subject Code : 649401 Requirement Determination

2.2 Targeted Users

➢ User
• Login
• Forgot Password
• Create Connection
• Manage Connection
• Manage Profile
• View Reports
• Create sub-account
• Dashboard

➢ Admin
• Login
• Manage Customer
• Manage account
• Manage data source
• Manage Report

Reporting Agent 10
Subject Code : 649401 System Design

CHAPTER 3
SYSTEM DESIGN

Reporting Agent 11
Subject Code : 649401 System Design

3.1 Use Case Diagram

This is the use case diagram for system user. It is showing the different way that
a user might interact with the system.

Fig 3.1 Use Case

Reporting Agent 12
Subject Code : 649401 System Design

3.2 Class Diagram


This class diagram is used for general conceptual modelling of the structure of the
application,and for detailed modelling, translating the models into programming code

Fig 3.2 Class diagram

Reporting Agent 13
Subject Code : 649401 System Design

3.3 Interaction Diagram

This class diagram is used for understand the message flow and the structural organization

Login Create View View Purchase Manage


Success Connection Report Plane Plan Profile
CUSTOMER

Assign Role Give View Plane


Login to Permisstion
page Req Report

Check login Details Get Profile Deails

Manage the client

Req Plane View Details

View Plane Details

Invalid login Deatils

Login
Succesfully
Manage all Details about Report

Fig 3.3 Interaction Diagram

Reporting Agent 14
Subject Code : 649401 System Design

3.4 Activity Diagram

• USER

Fig 3.4 Activity diagram (i)

Reporting Agent 15
Subject Code : 649401 System Design

• ADMIN:

• Admin

Fig 3.5 Activity diagram (ii)

Reporting Agent 16
Subject Code : 649401 System Design

3.6 ER Diagram

Fig 3.6 ER diagram

Reporting Agent 17
Subject Code : 649401 System Design

3.7 DFD Diagram

• Admin

Login
Login
1.0
Login
Login Ack Login Ack

Manage Customer
2.0 Approve

Admin View Customer Details


(Cancel,Approve)
Mange
Customer
Cancel
Account

List Report
List Report
3.0
View Report
Report
Manage View Report

Report

Fig 3.7.1 DFD Diagram

Reporting Agent 18
Subject Code : 649401 System Design

• Customer

Registration Ack Registration Detail


Registration 1.0
Registation Detail Account
Registration

Login Login Detail


Login Ack 2.0 Ack Account
Login

Manage Connection 3.0 Category Detail


View Connection
Create View Detail Connection
Connection

View Connection 4.0 View Details


Customer Mange Connection
Mange Exhibitopns Details(insert,update,delete) Connection
Connection

Request Manage Profile 5.0 Stall Book Details


Profile Ack
Manage Stall Ack Account
Profile

Report Payment Entery


6.0
Report Ack
View Ack Report
Report

Edit Dashbard 7.0 Profile Details


Save Dashbard
View Ack Dashboard
Dashboard

Fig 3.7.2 DFD Diagram

Reporting Agent 19
Subject Code : 649401 System Design

Reporting Agent 19
Subject Code : 649401 System Design

DATA
DICTIONARY

Reporting Agent 20
Subject Code : 649401 System Design

3.5. Data Dictionary

Table Name

1. Account

2. Commerce_platform

3. Connection

4. core_Order

5. core_OrdeItem

6. core_OrderAddress

7. Amazon_order

8. Amazon_Order_Item

9. Amazon_Order_address

10. Amazon_Customer

Reporting Agent 21
Subject Code : 649401 System Design

Table 3.5.1 Account


Field Name Datatype Length Constraints Description
id int 10 primary key auto increment unique id for account
first_name varchar 150 - user first name
middle_name varchar 150 - user middle name
last_name varchar 150 - user last name
account_type varchar 20 - user account type
account_status varchar 20 - account status
email_address varchar 255 - email address of user
username varchar 100 unique key username for the account
password varchar 100 - password of the user
phone varchar 20 - mobile number of the user
gender char 1 - gender of the user
business_type varchar 150 - business type of the user
address_line_1 varchar 255 not null address line one for the user address
address_line_2 varchar 255 - address line two for the user address
address_line_3 varchar 255 - address line three for the user address
city varchar 20 - city of the user
state varchar 20 - state of the user
country varchar 100 - country of the user
zip varchar 20 - postal code of the user area
gst_number varchar 20 - gst number

parent_id int 10 - parent account id

expired_at datetime - - date time of account expiration

created_at timestamp - - date time of the user creation

updated_at timestamp - - date time of the user updation

Reporting Agent 22
Subject Code : 649401 System Design

Table 3.5.2 Commerce_platform

Field Datatype Length Constraints Description


id int 10 primary key unique id for each category

Name varchar 50 not null Ecommerce platform name

description varchar 250 - description of the commerce platform

logo_url varchar 250 - url of commerce platform logo

platform alias varchar 50 - commerce platform alias


authentication flow e.x. manual
auth_flow varchar 10 -

authentication credential of commerce


auth_credential mediumtext -
platform
denote the commerce platform is active or
active bit 1 -
note
success_url varchar 50 - rl if autheredirect untication is successful
failure url varchar 50 - redirect url if authentication is fail
redirect url varchar 50 - redirect url of commerce platform

Reporting Agent 23
Subject Code : 649401 System Design

Table 3.5.3 Connection

Field Datatype Length Constraints Description


unique id for each
Id int 10 primary key
connection
foreign key of component
commerce_plateform_id int 10 Foreign key
id
foreign key of account table
account_id int 10 Foreign key
id
commerce_plateform_alias varchar 50 not null alias of commerce platform
is_active bit 1 - connection is active or not
connection_name varchar 50 - name of the connection
description of the
connection_description varchar 250 not null
connection
can_active bit 1 - connection can active or not
access credentials of the
access_credentials mediumtext not null
connection
logo_url mediumtext - url of connection logo
store hash of the
store_hash varchar 150 -
ecommerce store
default:
created_at timestamp current_time date of connection creation
stamp

Reporting Agent 24
Subject Code : 649401 System Design

Table 3.5.4 Core_Order

Field Datatype Length Constraints Description


unique id for each
Id int 10 primary key
connection
order id coming from the
order_id varchar 255 Foreign key
api
Foreign key of account
customer_id varchar 255 Foreign key
table id column
order_number varchar 255 not null order number
- alias of the commerce
commerce_plateform_alias varchar 50
platform
Foreign key of connection
connection_id int 10 Foreign key
table id column
status of the order
order_status varchar 255 -
e.x fulfilled
order_total double 12,2 - total amount of order
discount double 12,2 - total discount on order
shipping_amount double 12,2 - total shipping amount of the
order
tax double 12,2 - total tax on the order
Notes varchar 100 - notes for the order
payment_type varchar 255 - payment type for the order
payment_transection_id varchar 255 - transection id of the
payment if it is done online
shipping_method varchar 100 - shipping method for the
order shipping
currency varchar 10 - currency used in payment
order_items int 10 - total ordered items
items_shipped int 10 - total order items shipped
items_refunded int 10 - total items refunded
created_at timestamp - - date of order creation
payment_date timestamp - - date of order payment
ship_date timestamp - - date of the order shipment

Reporting Agent 25
Subject Code : 649401 System Design

Table 3.5.5 Core_order_Items

Field Datatype Length Constraints Description

unique id for each order


id int 10 primary key
addresses
foreign key of id of the
internal_order_id varchar 255 Foreign key
order table
order id which is come
external_order_id varchar 255 not null
from the api
order_numer varchar 50 - order number
-
Foreign key of order
order_item_id varchar 255
table id column

Foreign key of product


product_id varchar 255 -
table id column
Foreign key of variant
variant_id varchar 255 -
table id column
sku varchar 50 - stock keeping unit id
name varchar 50 - name of the product
quantity ordered for the
quantity int 10 -
product
unit_price double 12,2 - price per unit
weight double 12,2 - weight of the product
discount double 12,2 - discount on product
is shipping is required
shipping required bit 1 -
for the product
is order is custom
custom_order bit 1 -
generated

Reporting Agent 26
Subject Code : 649401 System Design

Table 3.5.6 Core_Order_Address

Field Datatype Length Constraints Description


unique id for each order
Id int 10 primary key
addresses
foreign key of id of the
internal_order_id varchar 255 Foreign key
order table
order id which is come
external_order_id varchar 255 not null
from the api
order_numer varchar 50 - order number
Foreign key Connection
store_id varchar 255 Foreign key
table id column
address_type varchar 50 - type of the address
name of the company if
company varchar 50 -
address type is company
first_name varchar 150 - first name of customer
last_name varchar 150 - last name of the
customer
street 1 varchar 100 - address line 1
street 2 varchar 100 - address line 2
city varchar 50 - city name
state varchar 50 - state name

Reporting Agent 27
Subject Code : 649401 System Design

Table 3.5.7 Amazon_order

Field Name Datatype Length Constraints Description

Auto increment,
1 id INT 10 Primary Key
Not null
2 account_id INT 10 - Not null

3 connection_id INT 10 - Not null

4 amazon_order_id VARCHAR 20 - Allow Null

5 seller_order_id VARCHAR 20 - Allow Null

6 purchase_date TIMESTAMP - - Allow Null


7 last_update_date TIMESTAMP - - Allow Null

8 order_status VARCHAR 10 - Allow Null

9 order_channel VARCHAR 20 - Allow Null

10 sales_channel VARCHAR 20 - Allow Null

11 ship_service_level VARCHAR 25 - Allow Null

12 number_of_items_shipped INT 10 - Allow Null

13 number_of_items_unshipped INT 10 - Allow Null

14 payment_method VARCHAR 10 - Allow Null

15 marketplace_id VARCHAR 20 - Allow Null

16 shipment_service_level_category VARCHAR 10 - Allow Null

17 easy_ship_shipment_status VARCHAR 20 - Allow Null

18 order_type VARCHAR 15 - Allow Null

19 earliest_delivery_date TIMESTAMP - - Allow Null

20 replaced_order_id VARCHAR 20 - Allow Null

21 money_amount VARCHAR 10,4 - Allow Null

22 address_name VARCHAR 50 - Allow Null

23 address_line1 VARCHAR 50 - Allow Null

24 city VARCHAR 100 - Allow Null

25 county VARCHAR 60 - Allow Null

26 district VARCHAR 50 - Allow Null

29 phone VARCHAR 20 - Allow Null

30 address_type VARCHAR 10 - Allow Null

Reporting Agent 28
Subject Code : 649401 System Design

Table 3.5.8 Amazon_Order_Item

Field Name Datatype Length Constraints Description

Auto increment,
1 id INT 10 Primary Key
Not null

2 account_id INT 10 - Not null

3 connection_id INT 10 - Not null

4 order_item_id VARCHAR 20 - Allow Null

5 order_id VARCHAR 20 - Allow Null

6 asin VARCHAR 15 - Allow Null

7 seller_sku VARCHAR 20 - Allow Null

8 title VARCHAR 250 - Allow Null

9 quantity_ordered VARCHAR 10 - Allow Null

10 quantity_shipped VARCHAR 10 - Allow Null

11 condition_note VARCHAR 50 - Allow Null

12 condition_id VARCHAR 10 - Allow Null

13 condition_subtype_id VARCHAR 10 - Allow Null

14 scheduled_delivery_start_date TIMESTAMP - - Allow Null

15 scheduled_delivery_end_date TIMESTAMP - - Allow Null

16 price_designation VARCHAR 20 - Allow Null

17 ioss_number VARCHAR 20 - Allow Null

18 store_chain_store_id VARCHAR 20 - Allow Null

19 deemed_reseller_category VARCHAR 20 - Allow Null

20 serial_number_required BIT 1 - Allow Null

21 is_gift BIT 1 - Allow Null

22 is_transparency BIT 1 - Allow Null

23 number_of_items INT 10 - Allow Null

24 tax_collection_model VARCHAR 20 Allow Null

25 tax_collection_responsible_party VARCHAR 20 Allow Null

26 points_granted_points_number INT 10 Allow Null

27 money_currency_code VARCHAR 5 Allow Null

28 money_amount VARCHAR 10,4 Allow Null

Reporting Agent 29
Subject Code : 649401 System Design

Table 3.5.9 Amazon_Order_address

Field Name Datatype Length Constraints Description

Auto increment,
id INT 10 Primary Key
Not null

order_id INT 10 - Not null

address_name VARCHAR 50 - Allow Null

address_line1 VARCHAR 50 - Allow Null

address_line2 VARCHAR 50 - Allow Null

address_line3 VARCHAR 50 - Allow Null

city VARCHAR 100 - Allow Null

county VARCHAR 60 - Allow Null

district VARCHAR 50 - Allow Null

state_or_region VARCHAR 50 - Allow Null

country_code VARCHAR 30 - Allow Null

phone VARCHAR 20 - Allow Null

address_type VARCHAR 30 - Allow Null

Reporting Agent 30
Subject Code : 649401 System Design

Table 3.5.10 Amazon_Customer

Field Name Datatype Length Constraints Description

Auto increment,
id INT 10 Primary Key
Not null

account_id INT 10 - Not null

connection_id INT 10 - Not null

first_name VARCHAR 150 - Allow Null

last_name VARCHAR 150 - Allow Null

middle_name VARCHAR 150 - Allow Null

gender VARCHAR 10 - Allow Null

email VARCHAR 250 - Allow Null

address_name VARCHAR 50 - Allow Null

address_line1 VARCHAR 50 - Allow Null

address_line2 VARCHAR 50 - Allow Null

address_line3 VARCHAR 50 - Allow Null

city VARCHAR 100 - Allow Null

county VARCHAR 60 - Allow Null

district VARCHAR 50 - Allow Null

state_or_region VARCHAR 50 - Allow Null

country_code VARCHAR 30 - Allow Null

phone VARCHAR 20 - Allow Null

address_type VARCHAR 30 - Allow Null

Reporting Agent 31
Subject Code : 649401 Development

CHAPTER 4
DEVELOPMENT

Reporting Agent 32
Subject Code : 649401 Development

4.1 Coding Standards

• Every Company follows a different coding standard based on their best practices. Coding
standards is required because there may be many developers working different modules so
if they will start inventing their own standard then source will become very unmanageable
and it will become difficult to maintain the source code in future.
• In this system I am also following coding standard as bellow.
▪ Class names are written in Upper camelCase
▪ All the variables are defined with small letter.
▪ All the fields are prefix with the table initial like user_id.
▪ Declare all member variable at the top of the class.
• All standard are follows simple and manageable manner so it will become easy to manage
and understand.

Reporting Agent 33
Subject Code : 649401 Development

4.2. Working Project screenshot


• Create Customer

Fig 4.1 Admin Login

Fig 4.2 Dashboard

Reporting Agent 34
Subject Code : 649401 Development

Fig 4.3 Customer page

Fig 4.4 Customer Details

Reporting Agent 35
Subject Code : 649401 Development

Fig 4.5 Fill Customer Details

Fig 4.6 Create Customer Successfully

Reporting Agent 36
Subject Code : 649401 Development

Fig 4.7 Delete Customer

Fig 4.8 Customer Details

Reporting Agent 37
Subject Code : 649401 Development

• Create Connection

Fig 4.9 Customer Login

Fig 4.10 Customer Dashboard

Reporting Agent 38
Subject Code : 649401 Development

Fig 4.11 Customer Dashboard 2

Fig 4.12 Customer Dashboard 3

Reporting Agent 39
Subject Code : 649401 Development

Fig 4.13 Connection page

Fig 4.14 Add Connection

Reporting Agent 40
Subject Code : 649401 Development

Fig 4.15 Connection Detail

Fig 4.16 Amazon Permission

Reporting Agent 41
Subject Code : 649401 Development

Fig 4.17 Connection created

Fig 4.18 reload Connection page

Reporting Agent 42
Subject Code : 649401 Development

➢ VALIDATION

Fig 4.19. Connection page

Fig 4.20 Add Store

Reporting Agent 43
Subject Code : 649401 Development

Fig 4.21 Connection Page Validation 1

Fig 4.22. Connection Page Validation 2

Reporting Agent 44
Subject Code : 649401 Development

Fig 4.23. Connection Page Validation 3

Fig 4.24. Amazon store Permission

Reporting Agent 45
Subject Code : 649401 Development

Fig 4.25. Connection Page Validation3

Reporting Agent 46
Subject Code : 649401 Development

• Forgot Password

Fig 4.26. Enter Email-id

Fig 4.27. send OTP

Reporting Agent 47
Subject Code : 649401 Development

Fig 4.28. Enter OTP

Fig 4.29. Enter OTP

Reporting Agent 48
Subject Code : 649401 Development

• POSTMAN COLLECTION

Fig 4.30. Postman details

Fig 4.31 Auth Module

Fig 4.32. All Order Downloaded

Reporting Agent 49
Subject Code : 649401 Development

Fig 4.33. Order API

Fig 4.34. Order download in Amazon DB

Reporting Agent 50
Subject Code : 649401 Development

Fig 4.35. Order download in Core DB

Fig 4.36. Order download in Database

Reporting Agent 51
Subject Code : 649401 Project Management

CHAPTER 5
PROJECT MANAGEMENT

Reporting Agent 52
Subject Code : 649401 Project Management

5.1. Agile Project Charter

Project Charter
Project Title: Reporting Agent
Project
Project Start Project Dakshya
17.01.2022 End 06.05.2022
Date: Sponsor: Freondtech
Date:
Business Need
Reporting agent is SaaS (Software as a service) based platform which provide various king of reports
and KPI from different e-commerce systemat single place.

Project Scope Deliverables


Normally, successful project are ones
This System uses digital technology for managing the flow the are delivered on-time, meets budget
of Reports of information. In this service providing website, constraints, and lastly serve the purpose
in the best possible way.
the action can be done by three sides Our system will deliver product time to
time and update through tracking id.
Risks and Issues Assumptions/Dependencies
Currently we are working to provide
Credit card fraud is a real and growing problem for online support for 4 E-commerce platform and in
future we will increase the number of
businesses. It can lead to chargebacks that result in the loss platform support for various E-commerce
of revenue, penalties and bad reputation. platform
In future we will work on our system to
work more smoothly and fast

Financials
Milestone Schedule
Target Actual
Milestone
Completion Date Date
Start Date 17-01-22 17-01-22
Analyze 3-02-22 4-02-22
Improve 17-03-22 20-03-22
Completion Date 20-04-22 25-04-22
Project Team Approval / Review Committee
Project Guide: Prof. Nisha Chavda Sponsor Body: NA

Reporting Agent 53
Subject Code : 649401 Project Management

5.2 Agile Roadmap / Schedule

Digital India Roadmap

January Febuary March April


Time 8 15 22 29 5 12 19 26 5 11 19 26 9 16 23 30
Problem Solving

Requir ement Dete rminatio n

Analysis Design Analysis

Development

Planning Design Flow

Front End

Desigining Back End

Front End

Programming Back End

Front End

Testing Back End

Reporting Agent 54
Subject Code : 649401 Project Management

Quarter 1 Quarter 2 Quarter 3 Quarter 4

17-Jan-21 10-Feb-21 8-Mar-21 2-Apr-21

Version 1 Version 2 Version 3 Version 4

Started our Started Started the


Download
application making our Auth
Data
designing. API Module

Completed Finally
Completed Completed
to our completed
to overall our Auth
application to our
API. Module
designing. application.

40% 55% 75% 100%

Reporting Agent 55
Subject Code : 649401 Project Management

5.3 Agile Project Plan

Task Name Priority Owner Start Date End Date Status


Sprint #1 – Requirement Mapping
Create postman
High Vikas 8-Jan-22 15-Jan-22 Completed
collection
Create Amazon
and Core High Vikas 15-Jan-22 12-Jan-22 Completed
Database in doc
Call Api and
High Vikas 12-Jan-22 29-Jan-22 Completed
create POJO
Create Ra-Core
High Vikas 29-Jan-22 4-Feb-22 Completed
module
Sprint #2 – Feature Designing
Create Customer-
High Vikas 5-Feb-22 12-Feb-22 Completed
web
Add Connection
High Vikas 12-Feb-22 19-Feb-22 Completed
in Amazon
crud operatin on
High Vikas 19-Feb-22 26-Feb-22 Completed
connection
Create Auth
High Vikas 26-Feb-22 2-Mar-22 Completed
module
Sprint #3 – Code Writing
Create
Integration-
High Vikas 9-Apr-22 9-Apr-22 Completed
processor and
Initial-importer
Create Web-
High Vikas 16-Apr-22 9-Apr-22 Completed
Service module
donload data in
High Vikas 23-Apr-22 9-Apr-22 Completed
Amazon
donload data in
Medium Vikas 30-Apr-22 9-Apr-22 Completed
Core database

Reporting Agent 56
Subject Code : 649401 Project Management

5.4 Agile User Story

User Story ID As a I want to So that I Can


Create different
1 Customer Create Store
platform store.
Authenticate
download data
and
2 Amazon in seprete model
download
database
data
download all
download
3 Core-web data in Core
data in core
database

5.5 Agile Release Plan

Sprint Task Start End Duration Status Release Date Goal

1 Project Planning 6-Jan-22 26-Jan-22 20 Days Completed 27-Jan-22 Easy to show Designing

Maintain Personal
2 Desining 27-Jan-22 16-Feb-22 20 Days Completed 25-Feb-22
Detail with Security
Display Services And
3 Implimantaion 17-Feb-22 19-Mar-22 50 Days Completed 2-Apr-22
Service Area
Proper display
4 Testing 30-Mar-22 20-Apr-22 20 Days Completed 22-Apr-22 Notification ,Help And
Live Chat
Proper display
5 Documentaion 21-Apr-22 30-Apr-22 10 Days Completed 3-Apr-22 Notification ,Help And
Live Chat

Reporting Agent 57
Subject Code : 649401 Project Management

5.6 Agile Sprint Backlog

Story Original Sprint


Backlog Item Responsible Status Day 1 Day 2 Day 3 Day 4 Day 5
Points Estimate Review
User Story #1 15
Create postman collection Vikas Complete 2 2 0 0 0 0 0

Create Amazon and Core Database Vikas Complete 3 1 1 1 0 0 0

Call Api and create POJO Vikas Complete 6 1 3 0 2 0 1

Create Ra-Core module Vikas Complete 30 8 8 8 1 0 5

User Story #2 15
Create Customer-web Vikas Complete 5 5 3 0 0 0 0

Add Connection in Amazon Vikas Complete 4 2 2 0 0 0 1

crud operatin on connection Vikas Complete 2 0 0 2 0 0 1

Create Auth module Vikas Complete 10 3 5 0 0 0 3

User Story #3 15
Create Integration-processor and Initial-importer Vikas Complete 7 5 2 1 0 1 1

Create Web-Service module Vikas Complete 6 2 1 0 1 0 0

donload data in Amazon Vikas Complete 2 1 0 0 1 0 0

donload data in Core database


Vikas Complete 5 1 0 2 1 0 0

Total 62 31 25 13 6 1 12

5.7 Agile Test Plan

1. Login

Sr.no Test Data Input Expected Actual Remarks Result


Output Output
1 Email - Required Required This field is Pass
Address required
2 Email vikas.songara Incorrect Incorrect - Pass
Address Email Email
Address Address
3 Email vikassongara@ Email Email - Pass
Address Dakshyafreondtech Address is Address is
.com not not
Registered Registered

Reporting Agent 58
Subject Code : 649401 Project Management

4 Email vikas@ Valid Email Valid Email - Pass


Address Dakshyafreondtech Address Address
.com
5 Password - Password is Password is - Pass
required required
6 Password Wrong password Email Email - Pass
address or address or
password is password is
invalid invalid
7 Email Registered email Login Login - Pass
address address and correct Successful Successful
and password
Password

2. Registration
Sr.no Test Data Input Expected Actual Remarks Result
Output Output
1 Email Vikas*** Please enter Please enter Email Pass
validation valid email valid email should be
address address valid
2 First name - First name is First name is - Pass
required required
3 Last - First name is First name is - Pass
Name required required
4 Email - Email is Email id - Pass
Address required required
5 Username - Username is Username is - Pass
required required
6 Password - Password is Password is - Pass
required required
7 Zip Code - Zip code is Zip code is - Pass
required required
8 Email Already Email address Email - Pass
address registered email is already address is
address registered already
registered
9 Password Less than 8 Password Password - Pass
characters length should length should
be of be of
minimum 8 minimum 8
characters characters
10 Zip code Less or greater Zip code Zip code - Pass
than 6 characters should be of 6 should be of
characters 6 characters

Reporting Agent 59
Subject Code : 649401 Project Management

3. Forgot Password

Sr.no Test Data Input Expected Actual Remarks Result


Output Output
1 Email Enter email which Email address Email - Pass
is not registered is not address is not
registered registered
2 Email Enter email which Otp received Otp received - Pass
is registered
3 OTP Wrong otp Please enter Please enter - Pass
valid otp valid otp

4 OTP Right otp Redirect to Redirect to - Pass


update update
password password
page page
6 Password Enter password Password Password - Pass
and re-enter changed changed
password both successfully successfully
same and strong
password
7 Password Both password Your Your - Pass
and re- are same and password is password is
enter strong reset reset
password successfully successfully

4. Connection popup

Sr.no Test Input Expected Actual Remarks Result


Data Output Output
1 Store - Store name Email - Pass
name is required address is
not
registered
2 Store Store name which is Store name Store name - Pass
name already in system is already is already
exist for this exist for this
account account
3 Store Reporting- Form submit Form submit - Pass
name agent.myshopify.com

Reporting Agent 60
Subject Code : 649401 Project Management

5.8 Agile Burn Charts

Total
140

120

100

80

60 Total

40

20

0
Original Day 1 Day 2 Day 3 Day 4 Day 5 Sprint
Estimate Backlog

140

120

100

80
Remaining Effort
60 Ideal Burndown

40

20

0
1 2 3 4 5 6

Reporting Agent 61
Subject Code : 649401 Proposed Enhancements and Conclusion

Chapter 6
PROPOSED BUSINESS MODEL

Reporting Agent 62
Subject Code : 649401 Proposed Enhancements and Conclusion

6.1 Required Resources

• Human Resources
Human Role Number of Person’s
Project Manager 1
Technical Lead 1
Analyst 1
Lead Developer 1
Developer 1

➢ Reusable Software Resources


o Downloading API
o Auth module, integration-Processor
o Webservice and initial-importer

➢ Hardware Resources
o Windows System
o Apache Service, consul
o Intel J

6.2 Estimate of Cost


➢ Technical Solution Cost
o Technical Solution cost is is 8000.

➢ Human Resource Cost Solution Cost


Human Role Number of Person’s
Project Manager 20000
Technical Lead 8000
Analyst 5000
Lead Developer 5000
Developer 10000

Reporting Agent 62
Subject Code : 649401 Proposed Enhancements and Conclusion

7 Proposed Enhancements
The current time for rendering all the components is 1.5 seconds we will decrease it.
We will improve security layer

8 Conclusion

• SUMMARY OF INTERNSHIP
At the beginning of internship, I have learned about various tools and sharpen up my
knowledge in java. Also leaned codding standards that are used in our company in this phase
of internship I have also performed some basic tasks like creating small demo project.
After I completed my learning phase I got a chance to work on our company’s product name
REPORTING AGENT. In RA(Reporting Agent) There are various modules of various
eCommerce platforms and from them I have assigned Amazon module.
This internship helped us to learn Project Development and Project Management in a
corporate environment. This internship gave us an opportunity to develop new skills,
experience the work environment, network with people, work on different tasks, get
guidance from professionals, and management. We learnt how to put knowledge and skills
into practice as well as how to learn while working. The project helped us to explore
technologies like Java 11, reactive programming, different frameworks and libraries and
work back-end development. Overall, the internship and project helped us in a lot of ways.

• FUTURE WORK
Currently we are working to provide support for four E-commerce platform and in future
we will increase the number of platform support for various e-Commerce platform.
In future we will work on our system to work more smoothly and fast.
We will add more functionalities like user can download his/her data of stores and make
their own reports.

Reporting Agent 63
Subject Code : 649401 Bibliography

9 Bibliography

https://developer.amazon.com/

https://stackoverflow.com/

https://www.w3schools.com/

https://www.youtube.com/c/JavaBrainsChannel

https://docs.spring.io/spring-framework/docs/5.3.17/reference/html/web-
reactive.html#spring-webflux

Reporting Agent 64

You might also like