Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

49
DESIGN AND INSTANTIATION OF REFERENCE ARCHITECTURE FOR PLUGGABLE SERVICE PLATFORM IN E-COMMERCE MOHAMMAD ANGGASTA PARAMARTHA - S1341243 MASTER INDUSTRIAL ENGINEERING & MANAGEMENT

description

This is the colloquium version of my master thesis project about enterprise architecture of pluggable e-commerce service platform. In this research, I created an e-commerce platform by integrating various web services using Service Oriented Architecture (SOA) and REST API (Application Programming Interface), run on top of a cloud-based integration platform namely Mulesoft

Transcript of Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

Page 1: Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

DESIGN AND INSTANTIATION OF REFERENCE ARCHITECTURE FOR PLUGGABLE SERVICE PLATFORM

IN E-COMMERCE

MOHAMMAD ANGGASTA PARAMARTHA - S1341243MASTER INDUSTRIAL ENGINEERING & MANAGEMENT

Page 2: Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

Design and Instantiation of Reference Architecture of Pluggable Service Platform in E-Commerce

Traditional approach

12 april 2023 2

INTRODUCTIONBACKGROUND & MOTIVATION

E-commerce Platform

Function 1

Function 2

Function 3E-

commerce Platform

Function 1

Function 2

Function 3

Flexible & Lightweight Platform

- Impact to agility- Limited options for retailers

- Pluggable Platform- Integration

Page 3: Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

Design and Instantiation of Reference Architecture of Pluggable Service Platform in E-Commerce

Needs to integrate diverse applications of business partners

Emergence of new technologies (Cloud, SaaS, Mobile, Social Media)

Lack of suitable E-commerce platform

12 april 2023 3

RESEARCH PROBLEMS

Page 4: Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

Design and Instantiation of Reference Architecture of Pluggable Service Platform in E-Commerce

12 april 2023 4

RESEARCH QUESTIONMAIN RESEARCH QUESTION

What reference architecture can best serve as the foundation for a

pluggable e-commerce platformwhich supports

seamless integration and coordination

of e-commerce supply chain partners’ application and services?

Page 5: Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

Design and Instantiation of Reference Architecture of Pluggable Service Platform in E-Commerce

12 april 2023 5

RESEARCH QUESTIONSUB RESEARCH QUESTIONS

RQ 1: What is the current e-commerce platform solutions landscape?

RQ 2: How is the current integration platform solutions landscape?

RQ 3: How to design the reference architecture of pluggable E-commerce platform which support seamless integration and coordination?

RQ 4: How to implement and evaluate the reference architecture?

Page 6: Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

Design and Instantiation of Reference Architecture of Pluggable Service Platform in E-Commerce

12 april 2023 6

RESEARCH METHODOLOGY

Design Science Research Methodology (DSRM) (Peffers et. al. , 2007)

RQ1

RQ2

RQ3

RQ4

Page 7: Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

Design and Instantiation of Reference Architecture of Pluggable Service Platform in E-Commerce

Common components: compilation of common e-commerce platform functionalities

Gaps & issues: Webshop-specific connectors Point-to-point

12 april 2023 7

E-COMMERCE WEB SHOP STATE-OF-THE-ARTKEY FINDINGS

Page 8: Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

Design and Instantiation of Reference Architecture of Pluggable Service Platform in E-Commerce

Web Services Service Oriented Architecture & SOAP

Web Services RESTful Services & REST API

Cloud Computing

Cloud-based Integration platform

12 april 2023 8

B2B INTEGRATION TECHNOLOGIESLATEST DEVELOPMENT

Page 9: Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

Design and Instantiation of Reference Architecture of Pluggable Service Platform in E-Commerce

Common components: SOA Governance and API Management Process management

Gaps: Lack of BPM engine

12 april 2023 9

CLOUD-BASED INTEGRATION PLATFORMKEY FINDINGS

Page 10: Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

Design and Instantiation of Reference Architecture of Pluggable Service Platform in E-Commerce

Enterprise Architecture

Architecture Framework : TOGAF

Architecture Modeling Language : Archimate

12 april 2023 10

REFERENCE ARCHITECTUREKEY CONCEPTS

Page 11: Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

Click icon to add picture

12 april 2023Design and Instantiation of Reference Architecture of Pluggable

Service Platform in E-Commerce

11

ARCHIMATE

Page 12: Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

12 april 2023Design and Instantiation of Reference Architecture of Pluggable

Service Platform in E-Commerce

12

THE COMPLETE REFERENCE ARCHITECTURE

Page 13: Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

12 april 2023 13

ONLINE RETAILER

Common e-commerceplatform functionalities

from the state-of-the-art analysis

Page 14: Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

12 april 2023Design and Instantiation of Reference Architecture of Pluggable

Service Platform in E-Commerce

14

SERVICE PROVIDER

Page 15: Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

12 april 2023Design and Instantiation of Reference Architecture of Pluggable

Service Platform in E-Commerce

15

PLATFORM PROVIDER

SOA Governance & API Management Process Management

Page 16: Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

Design and Instantiation of Reference Architecture of Pluggable Service Platform in E-Commerce

12 april 2023 16

PLATFORM PROVIDER

Collaborative Data Management

Canonical data model

Schema mapper & matching

Identity and Access Management

Page 17: Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

Design and Instantiation of Reference Architecture of Pluggable Service Platform in E-Commerce

12 april 2023 17

CASE SELECTIONARCHITECTURE INSTANTIATION AS PROTOTYPE

Return Registration Process Efficient return handling can increase

customer satisfaction and lead to major

cost saving

Not provided in most of e-commerce

platform & ERP (van Hillegersberg et. al. , 2001)

Not present in existing online retailer

process models

Page 18: Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

Design and Instantiation of Reference Architecture of Pluggable Service Platform in E-Commerce

12 april 2023 18

PROTOTYPE DEVELOPMENT

Model Driven Architecture (MDA)

Computation Independent Model (CIM)

Platform Independent Model (PIM)

Platform Specific Model (PSM)

Page 19: Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

12 april 2023 19

CIM & BUSINESS PROCESS DIAGRAMRETURN REGISTRATION PROCESS

Page 20: Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

12 april 2023 20

PIM& RETURN HANDLING ARCHITECTURE

Page 21: Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

12 april 2023 21

PSM & MULESOFT INTEGRATION FLOW

Page 22: Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

PROTOTYPE DEMONSTRATION

12 april 2023Design and Instantiation of Reference Architecture of Pluggable

Service Platform in E-Commerce

22

Catelog Front-end Webshop (1)

Page 23: Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

Design and Instantiation of Reference Architecture of Pluggable Service Platform in E-Commerce

12 april 2023 23

DESIGN VALIDATION

System agility aspects (Lankhorst,

2012) The ease of making changes to a system:

adaptability The ease of rapidly deploying changes:

manageability The ease of minimizing and dealing with

effects of changes: resilience The ease of integrating a system with its

environment: interoperability The ease of decoupling a system from its

environment: reusability

Page 24: Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

Design and Instantiation of Reference Architecture of Pluggable Service Platform in E-Commerce

12 april 2023 24

DESIGN VALIDATION

Replace some of the existing services with new set of services

Type of services

Existing New

Mailing Google Mail Yahoo Mail

Shippping Postmaster Shipcloud

Page 25: Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

Design and Instantiation of Reference Architecture of Pluggable Service Platform in E-Commerce

12 april 2023 25

DESIGN VALIDATIONRESULTS

Only few parameters need to be changed ESB architecture design, one endpoint for

each service Schema mapping as the key to replace

services Manual service configuration during

design-time Deploying changes to Cloudhub takes

few minutes Hard to define the right granularity

Page 26: Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

Design and Instantiation of Reference Architecture of Pluggable Service Platform in E-Commerce

12 april 2023 26

CONCLUSIONCONTRIBUTIONS

Contributions to theory Add to the literatures of e-commerce,

integration platform and enterprise architecture

Fill the gap in pluggable platform topic research line

State-of-the-art analysis

Contributions to practice The architecture as the basis for real

products Fully functional prototype

Page 27: Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

Design and Instantiation of Reference Architecture of Pluggable Service Platform in E-Commerce

12 april 2023 27

CONCLUSIONLIMITATION & FUTURE RESEARCH

Limitations Future Research

Qualitative, subjective assessment to the platform design

Try to find suitable metrics for assessment with external experts

Simplified use-case Broader & more complex use-case, or more than one caseImplement security mechanism

Partial evaluation on some architecture components

Detailed service classification with respect to pluggability

Page 28: Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

THANK YOUDISCUSSION TIME

12 april 2023Design and Instantiation of Reference Architecture of Pluggable

Service Platform in E-Commerce

28

conclusion

contributions

Page 29: Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

RESERVED SLIDES

12 april 2023Design and Instantiation of Reference Architecture of Pluggable

Service Platform in E-Commerce

29

conclusion

contributions

Page 30: Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

Design and Instantiation of Reference Architecture of Pluggable Service Platform in E-Commerce

Content & Product Information Management Website Storefront Management Customer Account Management and Customer

Service Marketing, Promotion and Conversion Analytic and Reporting Data Repository & Search Rich Web and Client Presentation Stable Core Web Framework Shopping Cart and Payment (Transaction

Processing) Order Management & Fulfilment System Shipping, logistic/distribution, and warehousing Back-office Integration Social Media Integration (Multi) Channel Management 12 april 2023 30

FEATURES OF E-COMMERCE WEB SHOP PLATFORM

Page 31: Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

Design and Instantiation of Reference Architecture of Pluggable Service Platform in E-Commerce

12 april 2023 31

E-COMMERCE PLATFORM STATE-OF-THE-ARTKEY TAKEAWAYS

Page 32: Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

Design and Instantiation of Reference Architecture of Pluggable Service Platform in E-Commerce

Web Services Universal Description Discovery and

Integration (UDDI):

service discoverability mechanism

Web Service Description Language (WSDL):

A formal document explaining service

contracts, service interface

Simple Object Access Protocol (SOAP):

XML-based communication protocol

12 april 2023 32

DEVELOPMENT HISTORY OF INTEGRATION TECHNOLOGIES

WEB SERVICES

Page 33: Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

Design and Instantiation of Reference Architecture of Pluggable Service Platform in E-Commerce

12 april 2023 34

DEVELOPMENT HISTORY OF INTEGRATION TECHNOLOGIES

SOA STACK

Page 34: Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

Design and Instantiation of Reference Architecture of Pluggable Service Platform in E-Commerce

SOAP

REST

12 april 2023 35

DEVELOPMENT HISTORY OF INTEGRATION TECHNOLOGIESSOAP AND RESTFUL SERVICES COMPARISON

Page 35: Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

Click icon to add picture

12 april 2023Design and Instantiation of Reference Architecture of Pluggable

Service Platform in E-Commerce

36

STATE-OF-THE-ART ANALYSIS

Page 36: Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

Design and Instantiation of Reference Architecture of Pluggable Service Platform in E-Commerce

12 april 2023 37

STATE-OF-THE-ART OF CLOUD-BASED SERVICE INTEGRATION PLATFORMS

Page 37: Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

12 april 2023 39

MULESOFT STUDIO MAIN WORKFLOW

Design and Instantiation of Reference Architecture of Pluggable

Service Platform in E-Commerce

Page 38: Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

12 april 2023 40

APPROVED REQUEST

Design and Instantiation of Reference Architecture of Pluggable

Service Platform in E-Commerce

Page 39: Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

Design and Instantiation of Reference Architecture of Pluggable Service Platform in E-Commerce

12 april 2023 41

APPROVED REQUESTOBTAIN CUSTOMER DETAILS

Page 40: Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

12 april 2023 42

DATA MAPPER

Design and Instantiation of Reference Architecture of Pluggable

Service Platform in E-Commerce

Page 41: Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

Design and Instantiation of Reference Architecture of Pluggable Service Platform in E-Commerce

12 april 2023 43

GENERATE RMA LABEL

Page 42: Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

44

POSTMASTER LABEL

Page 43: Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

Design and Instantiation of Reference Architecture of Pluggable Service Platform in E-Commerce

12 april 2023 45

APPROVED REQUESTGENERATE RMA (RETURN MERCHANDISE AUTHORIZATION) LABEL

Page 44: Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

Design and Instantiation of Reference Architecture of Pluggable Service Platform in E-Commerce

12 april 2023 46

REJECTED REQUESTMAIN FLOW

Page 45: Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

Component

Postmaster Shipcloud

JSONPayload

 {  "to":      {   "company": "Catelog", "contact": "Mohammad Anggasta”  "line1":”Emmastraat 210",  "city": "Enschede”, "state": "Null", "zip_code": "7513BH", "phone_no": "123456789" }, "package":{     "weight": 1.5,"length": 10,"width": 6,"height": 8 } } "carrier": "Fedex","service": "2DAY",  "label":{     "format":"PNG","type":"NORMAL","size":"SMALL"},  

 { "to": {   "company":"Catelog",  "first_name":"Mohammad", "last_name":"Anggasta", "street":"Emmastraat","street_no":"210", "country":"NL", "city":"Enschede”, "zip_code":"7513BH" },   "package":{         "weight":1.5,"length":20,"width":20,"height":20 },  "carrier":"DHL","service":"standard","reference_number":"ref123456", "create_shipping_label":true  }

HTTP Header

Postmaster API Key Shipcloud API Key

HTTP Outbound

https://api.postmaster.io/v1/shipments

 

https://api.shipcloud.io/v1/shipments

 

Returned Response (Label section)

 "packages": [{ "weight_units": "LB", "weight": 1.5, "type": "CUSTOM", "height": 8, "width": 6, "length": 10,   "label_url": "/v1/label/AMIfv95bWF0VRo5Ioqoj7jdxENDL4tFUW2ejEACanLvxWZvNT9EZCQICDlcooyf2n7xzV3eBCuCgsK4rGImBQX-bOlDX2_e7gD_5adRgtLC7ueg3dIQooJrv31EpCYKApcZgS-6Lj1-s9IEdsl3vIdsaIZDvyfKaKMmPW2UUDHBXo6kQQZ4kCiQ", "dimension_units": "Inches" 

 { "id": "19dc5733fe5b025d01cc727f1b94a8ed8f0d5b39", "carrier_tracking_no": "00340434127604360535", "tracking_url":"https://track.shicloud.io/19dc5733fe", "label_url":"https://sc-labels.s3.amazonaws.com/shipments/70df0605/19dc5733fe/label/shipping_label_19dc5733fe.pdf",     "price": 5}

CHANGES FROM POSTMASTER TO SHIPCLOUD

Page 46: Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

Design and Instantiation of Reference Architecture of Pluggable Service Platform in E-Commerce

12 april 2023 48

DESIGN VALIDATIONCHANGES FROM GMAIL TO YAHOO MAIL

Parameters Gmail Yahoo Mail

Host smtp.gmail.com smtp.mail.yahoo.com

Port 25 465

PasswordApplication-specific password

(two-step authentication)Original account password

Page 47: Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

49

SHIPCLOUD LABEL

Page 48: Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

Design and Instantiation of Reference Architecture of Pluggable Service Platform in E-Commerce

12 april 2023 50

PROTOTYPE DEVELOPMENTDISCUSSION

General Remarks

Collaborative Services and Process

Framework

Collaborative Data Management

Service ClassificationMulesoft flow, Message Structure, and Data Transformation

Page 49: Design and Instantiation of Reference Architecture for Pluggable Service Platform in E-commerce

Design and Instantiation of Reference Architecture of Pluggable Service Platform in E-Commerce

12 april 2023 51

OAUTHDISCUSSION

Tokens can get really big

Your apps/APIs gets more

complicated

Whoever grant these permissions will

have a hard time managing all this.