design pds copy
TRANSCRIPT
-
8/3/2019 Design PDS Copy
1/19
High Level Architecture
Multiple PDS clients can connect to same server or to multiple servers. Servers can have either Approva one orCertification Manager or both. Portable Data schedule service (PDS service) will be hosted on server side.
Network
Server Configuration on PDS client
Configure server and Application Types
y U ser will first configure servers to which he wants to connect to. This will include U ser Name, Passwordand other details to connect to server.
This will check whether the server is running and authenticate the user for this server. This will take information of the server URL and connect to PDS service hosted onto server . This will store the user details in xml configuration file for this request on the server side and PDS
client side.y Once the servers are configured the list of servers will be stored at client side and populated into the
server dropdown.y Master list of application types will maintained at client side in configuration file.y For configured server, list of application types will be queried at server. PDS service will return the list of
Applications installed on the server. This will be stored at client side for each configured server.y For each Application type, credentials will be provided for authentication (Biz R ights/Certification
Manager). These will include username and password. These credentials will be stored at PDS client sideand server side as well.
y This completes the configuration between server and PDS client and also the Application type on theserver.
For type of extraction as PDE, user must configure extraction project in PDE first. Once the Project is configured inPDE then the PDE extraction can be scheduled in PDS by specifying the existing PDE project. As the extractioncompletes, the .zip of the files will be transferred to the server.
This includes the pre-tasks such as running PDE for scheduled extraction, then upload the files for transfer (Bydefault) and then once the files are transferred onto server side post tasks will be done such as notifying users onPDS client and creating import task into server.
PDE Client on PC
Target Server with PDS service
PDE Client on PC
PDE Client on PC
Target Server with PDS service
-
8/3/2019 Design PDS Copy
2/19
Interaction of PDS client and server
Configuration on PDS
Configure servers on PDS Client
Connect to server and PDS service. Store the userdetails on PDS service and also on PDS client.
Configure the Application type on client.
Get Connection list from Application Type
U pload files on specified server
Create import task for extraction on server
Configure list of extraction types for each client.
Select extraction type and schedule extraction
Perform the Post tasks as Notify users for upload status.
-
8/3/2019 Design PDS Copy
3/19
High Level Architecture
y PDS client will install on client side along with the service installed on the machine. This servicewill communicate with PDS service on the target server.
y Configuration files will be the repository for the client data such as the server configured,schedules history, application types, extraction types on the client.
y Client service on PDS client will communicate with PDS service on target server to get the list of connections for which data will be transferred on target server.
y Once the files are transferred to configured location via PDS service, the import task will becreated to create a schedule to import data into application.
y Status of the upload will be notified to the PDS client. y PDS service will also provide the status of the import task to client whenever requested.
PDS ClientTarget Server
CertificaManager
Approva
PDS ServiceHosted onserver
IApplication
TasksInterface
Configuration files
ClientService
U IComponent
Configurationfiles
PDSIneterface
BusinessEntities
BusinessEntities
PDSIneterface
-
8/3/2019 Design PDS Copy
4/19
G et Connection from server to Client
Get Connections from Target servers
PDS Client
Connect to PDE service on Target server
App Type
Invoke B R type Object Invoke CM type Object
y BR Authenticatey Get Connections List
y CM Authenticatey Get Connections List
PDS Client Service
-
8/3/2019 Design PDS Copy
5/19
F ile Transfer Process
Approva One or CM depending upon App Type object
Depending U pon Apptype Object
R eturn the Status of upload R eturn the Status of upload
File Transfer service call
Authenticate(Certification Manager)
Authenticate (ApproovaOne)
Perform file transferto configured locationon Approva One
Perform file transferto configured locationon CertificationManager
Create a ExtractionTask on ApprovaOne and fireextraction
Create a ExtractionTask onCertificationManager and fireextraction
File U pload InterfaceIFileUpload
Approva One ImplementsIFileU pload
Certification ManagerImplements I FileU pload.
PDS Client
Exit Exit
-
8/3/2019 Design PDS Copy
6/19
PDS Client Design
PDS Client Block- Diagram
Component Description
PDS Window Service:
All the R equest to the PDS Service will be routed through the window service.
WP F UI Framework:
WPF U I Framework will be used to develop the PDS Client and will have interaction with the PDSServer through a Windows Client. It will also act as a communicating layer between the otherComponents as well
Notification Component :
Notify Each Components and send mails.
PSD Scheduler Component:
1) Store Schedule Information2) Create a window Schedule Job3) List out the Schedule History
PDS Extractor:
1) Load Application type Implementation dll [ Approva One, Certification Manager, Any other ]
WPF U I Framework
PDS Extractor
NotificationPDS SchedulerData up Loader
Application Class Implementation
Configurations
PDS Windows Service
A rovaOne CM
PDS Task Interface
-
8/3/2019 Design PDS Copy
7/19
2) Schedule/ R un Extraction
Data UpLoader :
1) Connect to server2) U pload Data files to Server3) U pdate the Status for the of file transfer.
Application Class Implementation:
The Implementation class will have all the logic to get the extracted data. This class will beindependent for each Application and will be loaded via Interface.
Data Storage
All schedule data and other information will be stored in xml files.
Work F low for PDS Client Task
Schedule U pload
ScheduleExtraction
Do Extraction
U pload Files
Schedule time =Present Time
NR un extractionNow
Y
Y
N
Stop
-
8/3/2019 Design PDS Copy
8/19
Client side Class Interface and methods
Schema1) ApplicationTypes.xml
This xml stores the configuration for each Extraction type supported by the Applicationon PDS client.
C:\PD E\pde.e x e
-
8/3/2019 Design PDS Copy
9/19
D:\PD E\p r oj.beu
d: / CM/Extr ac t USER.e x e
2 ) ServerConfig.xmlServiceConfig xml store the Target server information.
htt p: // BizSe r v / PDSSe r vice admin enc r yp t edpasswo r d
adminis tr a t o r enc r yp t edpasswo r d
-
8/3/2019 Design PDS Copy
10/19
< se r ve r de t ails se r ve r name = CMse r ve r >htt p: // CMse r ve r/ PDSSe r vice admin enc r yp t edpasswo r d
adminis tr a t o r enc r yp t edpasswo r d
-
8/3/2019 Design PDS Copy
11/19
htt p: // BizCMSe r v / PDSSe r vice admin enc r yp t edpasswo r d
adminis tr a t o r enc r yp t edpasswo r d
adminis tr a t o r enc r yp t edpasswo r d
-
8/3/2019 Design PDS Copy
12/19
con tr ac t =" IT r ansfe r Se r viceCon tr ac t " name =" BasicH tt pBindin g_ IT r ansfe r Se r viceCon tr ac t " / >
-
8/3/2019 Design PDS Copy
13/19
PDS service Design
o IApplica t ionTas k s interface:IApplica t ionTas k s interface defines methods that will be implemented byApplication types as Approva and Certification Manager to:
y Authenticate the client request with application type (Approva One or
Certification Manager)y Get list of connections that exist on the specific application depending upon
Application type in the request.y Create a import task to import datay Get the import task status.
o Approva One Implementation:This component will implement methods provided by IApplica t ionTas k s Interface.Following are the details. This will include the implementation D LLs or web references toauthenticate, get connections, create a import task, get task status from Approva One.
o Certification Manager ImplementationThis component will implement methods provided by IApplica t ionTas k s Interface.Following are the details. This will include the implementation D LLs or web references toauthenticate, get connections, create a import task, get task status from Certification Manager.
o PDS service component
PDS Framework
Application Types
BusinessEntities
PDSInterface
CertificationManager
Approva One
PDS Service
IApplication TasksInterface
Configuration files
-
8/3/2019 Design PDS Copy
14/19
This service will be hosted on the target server. PDS service will implement theIPDSFramework interface to:
To Test connection between client and server To get list of connections To upload files from client to server.
o PDS framework Components: Business Entities component:
This component will be used by PDS client and PDs service side.This will include classes for following:
y Class for returning the connection data back to clienty Class for returning the upload status and checksum status for uploaded file.y Task status Enumeration.y To transfer files between client and server.
IPDSFrameworkThis is the common interface which will be implemented by PDS client and PDS service to
y To Test Connection between the client and server.y To get list of connections for application typey To upload files from client to server
-
8/3/2019 Design PDS Copy
15/19
Component Level Design
PDSFramework Interfaces
BusinessEntities
-
8/3/2019 Design PDS Copy
16/19
PDSService
Common Components that can be used on client and server side
Exception Handler component
-
8/3/2019 Design PDS Copy
17/19
Logger Component
-
8/3/2019 Design PDS Copy
18/19
R egistry
-
8/3/2019 Design PDS Copy
19/19
Application Task interface will be implemented by Applications (approva One and Certification Manager)