35
Managed File Transfer: backbone of your opera7ons Chinmaya Tripathy, Integra1on Consultant, Yenlo Rob Blaauboer, Integra1on Consultant Yenlo Senduran Balasubramaniyam, So<ware Engineer WSO2 April 5 th 2016

WSO2 Partner Webinar: Managed File Transfer with WSO2 Enterprise Service Bus

Embed Size (px)

Citation preview

Page 1: WSO2 Partner Webinar: Managed File Transfer with WSO2 Enterprise Service Bus

ManagedFileTransfer:backboneofyouropera7ons ChinmayaTripathy,Integra1onConsultant,YenloRobBlaauboer,Integra1onConsultantYenloSenduranBalasubramaniyam,So<wareEngineerWSO2

April5th2016

Page 2: WSO2 Partner Webinar: Managed File Transfer with WSO2 Enterprise Service Bus

Aboutthepresenters

2

ChinmayaTripathySeniorConsultant,YenloChinmayaTripathyisanIntegra1onConsultantwithWSO2knowledgestackalongwith9yearsofexperianceincrossdomainprojectsandtechnologieslikeJava,J2EE,WebServices,Spring,SOAArchitecture,JS,AJAX,DOJO,GWT.HehasaMasterdegreeinComputerApplica1on,followedbygradua1onofscienceasMathema1csasspecialcourse.RobBlaauboerSeniorConsultant,YenloRobisaSeniorBusinessConsultantandSolu1onArchitectwithmorethantwentyyearsexperience.Inaddi1ontohisworkheisanac1vebloggerworkingonanumberofar1clesonthe'InternetofThings'andaWSO2'GeRngStartedwith...'seriesinwhichhetalksaboutWSO2componentsandtheirpurposeespeciallyaimedatnontechnicalreaders.SenduranBalasubramaniyamSo:wareEngineer,WSO2Senduran is a software Engineer at WSO2 and part of WSO2 Enterprise Service Bus engineering team.

Page 3: WSO2 Partner Webinar: Managed File Transfer with WSO2 Enterprise Service Bus

3

•  PremierPartnerofWSO2

•  GlobalOrganiza1on

•  OfficesintheNetherlands,Germany,Belgium,UnitedKingdomandUnitedStates

•  ExpertsisIntegra1onSolu1ons

•  Expertsina‘ConnectedBusiness’

•  WSO2project&consultancyservices

•  WSO2supportservices:•  ProductSupport•  DevelopmentSupport•  Opera1onalSupport

•  WSO2Trainingservices

•  Enterprise&Solu1onArchitecture

Whoweare Whatwedeliver

Moreinfoaboutusandourpre-build(WSO2)solu1ons:www.yenlo.com

Page 4: WSO2 Partner Webinar: Managed File Transfer with WSO2 Enterprise Service Bus

TopicsWebinar

4

ManagedFileTransfer=SGlloneofthebackbone’sofmanyoperaGons

•  Introduc1onto‘FileTransfer’ingeneral

•  FiletransferinWSO2ESB(Transports)

•  WhataboutManagedFileTransfer?

•  BenefitsofourMFTsolu1onbasedonWSO2

•  Demonstra1on&Technicaldetails

•  Youhaveques1ons?Wehaveanswers!

Page 5: WSO2 Partner Webinar: Managed File Transfer with WSO2 Enterprise Service Bus

ThelongevityofFileTransfer

Page 6: WSO2 Partner Webinar: Managed File Transfer with WSO2 Enterprise Service Bus

Formanyorganiza1onsfiletransferiss1llpartoftheirdailyopera1ons,forexample:o  Transferfilesbetweensystemso  Interactwithbusinesspartnerso  ManagingLaws(publishing)o  Taxreturnstoconsumers

Filetransferisheretostay….

6

Page 7: WSO2 Partner Webinar: Managed File Transfer with WSO2 Enterprise Service Bus

o  Filescanbereallybig,uptoseveralGB,andreallysmall,somekilobytes,forexample

Bigfilesandsmallfiles

7

Page 8: WSO2 Partner Webinar: Managed File Transfer with WSO2 Enterprise Service Bus

o  FilescanbePDF,XML,Plaintext,and-so-ono  Filescanbeencryptedorevenneedtobeencrypted

XML, PDF, DOC, D

OCX …

Allkindoffiles

8

Page 9: WSO2 Partner Webinar: Managed File Transfer with WSO2 Enterprise Service Bus

o  A<eruploadingyoumightneedtosendtheuploaderareceipto  Calcula1ngahashmightbenecessaryforauditpurposes

ab34e562acd

Receipt We have received…

Filesmayneedreceiptorhash

9

Page 10: WSO2 Partner Webinar: Managed File Transfer with WSO2 Enterprise Service Bus

o  Checkformaliciouscontent,isthereanyunwantedpayload?

Receipt Warning! We have received…

Maliciouscontent

10

Page 11: WSO2 Partner Webinar: Managed File Transfer with WSO2 Enterprise Service Bus

o  Ac1ve/PassiveorAc1ve/Ac1vesetupo  Makeitscalableo  MakingsureoneESBpicksupthefile,nottwoormoreo  Needstobeadeadleherchannel(EIP)

Setupcanbechallenging

11

Page 12: WSO2 Partner Webinar: Managed File Transfer with WSO2 Enterprise Service Bus

FiletransferinWSO2ESB(Transports)

Page 13: WSO2 Partner Webinar: Managed File Transfer with WSO2 Enterprise Service Bus

TransportsinWSO2ESB

Forthecompletelist:hRps://docs.wso2.com/display/ESB490/ESB+Transports

o  HTTP/SNIOTransporto  HTTPPassThroughTransporto  HTTP/SServletTransporto  JMSTransporto  VFSTransporto  FIXTransporto  andmore...

13

Page 14: WSO2 Partner Webinar: Managed File Transfer with WSO2 Enterprise Service Bus

VFSTransport

SupportedProtocols

o  LocalFileSystemo  FTPo  FTPSo  SFTPo  WindowsShare(SMB)

14

Page 15: WSO2 Partner Webinar: Managed File Transfer with WSO2 Enterprise Service Bus

FileTransportsinESB

15

o  VFSTransporto  FileInboundprotocolo  FileConnector

FileHandlingComponents

Page 16: WSO2 Partner Webinar: Managed File Transfer with WSO2 Enterprise Service Bus

VFSTransporto  FileprocessingisdonethroughVirtualFileSystem(VFS)

transport.o  VFSTransporthastwoparts

o  VFSTransportListenero  VFSTransportSender

o  EnablingbyUncommen1ngthefollowingentriesinaxis2.xml

<transportreceivername="vfs"class="org.apache.synapse.transport.vfs.VFSTransportListener"/>

<transportSendername="vfs"class="org.apache.synapse.transport.vfs.VFSTransportSender"/>

16

Page 17: WSO2 Partner Webinar: Managed File Transfer with WSO2 Enterprise Service Bus

o  Thisisamuchimprovedalterna1vetoVFSTransporto  Supportsmul1-tenancyo  Supportscoordina1oninclusteredenvironment

FileInbound

FileConnector

o  Speedfilecopy

17

Page 18: WSO2 Partner Webinar: Managed File Transfer with WSO2 Enterprise Service Bus

VFSusecases

18

HTTPtoVFS

Page 19: WSO2 Partner Webinar: Managed File Transfer with WSO2 Enterprise Service Bus

VFSusecases

19

VFStoHTTP

Page 20: WSO2 Partner Webinar: Managed File Transfer with WSO2 Enterprise Service Bus

TheYenloManagedFileTransfersolu1onbasedonWSO2

Page 21: WSO2 Partner Webinar: Managed File Transfer with WSO2 Enterprise Service Bus

o  ArobustMFTsolu1onbasedonWSO2ESB

o  Manyout-of-the-boxfeaturestoaddressmen1onedchallenges,andmuchmore…

o  Addedhighavailabilitybyadding2ormoreESBnodes

SoYenlocreated...

21

Page 22: WSO2 Partner Webinar: Managed File Transfer with WSO2 Enterprise Service Bus

Inalmostallcasesguaranteeddeliveryisanecessity.TheYenloManagedFileTransferoffers:o SLA’so Possibleguaranteeddeliveryo Deliveryonlyonceo Receiptwithorwithouthasho Possibilitytoworkwithencryptedfiles

GuaranteedDelivery

22

Page 23: WSO2 Partner Webinar: Managed File Transfer with WSO2 Enterprise Service Bus

Forcon1nuousopera1onaHAsetupisnecessary:o HAinAc1ve/Passivesinglesetupo HAinAc1ve/Passivegroupsetup(2+groups)

AP

AP

Highavailability

23

Page 24: WSO2 Partner Webinar: Managed File Transfer with WSO2 Enterprise Service Bus

Contentandmetadatacontrol

Makingcontentbasedrou1ngpossibleusingsimplerulesbasedon,forexample:o RegEXo Metadata(1mestamp)o Inclusionandexclusioncriteria(size,type,extension)o Encryp1onortheabsenceofencryp1ono Virusscanning

24

Page 25: WSO2 Partner Webinar: Managed File Transfer with WSO2 Enterprise Service Bus

Clusteredsetup

Managingmul1pleESB’sandmul1pledropdirectories

25

Page 26: WSO2 Partner Webinar: Managed File Transfer with WSO2 Enterprise Service Bus

RegExSample

ExampleofMetadatabasedrou1ng

26

Page 27: WSO2 Partner Webinar: Managed File Transfer with WSO2 Enterprise Service Bus

Transportvariables(currentversion)

27

Page 28: WSO2 Partner Webinar: Managed File Transfer with WSO2 Enterprise Service Bus

Futuredevelopments

o  Encryp1on–Decryp1ono  Hashcrea1onforauditpurposeso  MalicousPayloadscanningo  Receipttosender/uploadero  Poten1alValida1onofpayload(internal)

28

Page 29: WSO2 Partner Webinar: Managed File Transfer with WSO2 Enterprise Service Bus

ManagedFileTransferWhatarethebenefits?

Page 30: WSO2 Partner Webinar: Managed File Transfer with WSO2 Enterprise Service Bus

Benefitsareclear

o  Highavailabilityo  Mul1tenanto  Monitoring&Tracingo  Guaranteeddeliveryo  MFTisaservice;Sonoheadachesfortheend-user

30

Page 31: WSO2 Partner Webinar: Managed File Transfer with WSO2 Enterprise Service Bus

ManagedFileTransferDemonstra1on&Technicalstuff

Page 32: WSO2 Partner Webinar: Managed File Transfer with WSO2 Enterprise Service Bus

Demo

o  Runningonlocalmachine:twoWSO2ESB’s(4.9.0)o  Clustered(Hazelcast)withtwoworkers

o  10000(dummy)fileso  7toobigo  13corrupto  8000XMLfileso  2000PDFfiles

o  Es1mated1metofinish:lessthen120seconds

32

Page 33: WSO2 Partner Webinar: Managed File Transfer with WSO2 Enterprise Service Bus

ManagedFileTransferYouhaveques1ons?Wehaveanswers!

Page 34: WSO2 Partner Webinar: Managed File Transfer with WSO2 Enterprise Service Bus

Contact&Download

34

InterestedinourManagedFileTransfersoluGon?

Downloadthispresenta1on:hhps://www.yenlo.com/en/free-advice/webinarsOrContactus:hhps://www.yenlo.com/en/contact

Page 35: WSO2 Partner Webinar: Managed File Transfer with WSO2 Enterprise Service Bus

35

THANK YOU FOR

YOUR ATTENTION