Introduction to Corporate Communication with Media Lecture 1: Ing. Jiří Šnajdar 2014.
A4M36ISS: Introduction · A4M36ISS: Introduction Jiří Pechanec QA Engineer September 17th, 2015....
Transcript of A4M36ISS: Introduction · A4M36ISS: Introduction Jiří Pechanec QA Engineer September 17th, 2015....
![Page 1: A4M36ISS: Introduction · A4M36ISS: Introduction Jiří Pechanec QA Engineer September 17th, 2015. Agenda](https://reader034.fdocuments.in/reader034/viewer/2022051809/60150574390795531a0fa342/html5/thumbnails/1.jpg)
A4M36ISS: Introduction
Jiří PechanecQA EngineerSeptember 17th, 2015
![Page 2: A4M36ISS: Introduction · A4M36ISS: Introduction Jiří Pechanec QA Engineer September 17th, 2015. Agenda](https://reader034.fdocuments.in/reader034/viewer/2022051809/60150574390795531a0fa342/html5/thumbnails/2.jpg)
Agenda• Goals
• Organizational details
• Introduction into system integration• Principles
• Past/Present/Future
• Tools/Products used
![Page 3: A4M36ISS: Introduction · A4M36ISS: Introduction Jiří Pechanec QA Engineer September 17th, 2015. Agenda](https://reader034.fdocuments.in/reader034/viewer/2022051809/60150574390795531a0fa342/html5/thumbnails/3.jpg)
Goals and Organization
![Page 4: A4M36ISS: Introduction · A4M36ISS: Introduction Jiří Pechanec QA Engineer September 17th, 2015. Agenda](https://reader034.fdocuments.in/reader034/viewer/2022051809/60150574390795531a0fa342/html5/thumbnails/4.jpg)
About team• Red Hat
• Middleware QE (JBoss)
![Page 5: A4M36ISS: Introduction · A4M36ISS: Introduction Jiří Pechanec QA Engineer September 17th, 2015. Agenda](https://reader034.fdocuments.in/reader034/viewer/2022051809/60150574390795531a0fa342/html5/thumbnails/5.jpg)
Goals• Introduce into system integration world
• Overview of SI open-source software
• Find future Red Hatters :-)
![Page 6: A4M36ISS: Introduction · A4M36ISS: Introduction Jiří Pechanec QA Engineer September 17th, 2015. Agenda](https://reader034.fdocuments.in/reader034/viewer/2022051809/60150574390795531a0fa342/html5/thumbnails/6.jpg)
Organizational details• 8 topics in 4 days
• Mostly theory followed by a lab
• Grading based upon a team project
• Materials on-line• https://developer.jboss.org/wiki/SystemIntegrationWithJBoss
![Page 7: A4M36ISS: Introduction · A4M36ISS: Introduction Jiří Pechanec QA Engineer September 17th, 2015. Agenda](https://reader034.fdocuments.in/reader034/viewer/2022051809/60150574390795531a0fa342/html5/thumbnails/7.jpg)
Introduction into System Integration
![Page 8: A4M36ISS: Introduction · A4M36ISS: Introduction Jiří Pechanec QA Engineer September 17th, 2015. Agenda](https://reader034.fdocuments.in/reader034/viewer/2022051809/60150574390795531a0fa342/html5/thumbnails/8.jpg)
Why?• Organic growth of an enterprise
• Mergers and acquisitions
• New values created by combinations of existing products
• Incremental legacy application replacements
• Access internal data from public facing applications
![Page 9: A4M36ISS: Introduction · A4M36ISS: Introduction Jiří Pechanec QA Engineer September 17th, 2015. Agenda](https://reader034.fdocuments.in/reader034/viewer/2022051809/60150574390795531a0fa342/html5/thumbnails/9.jpg)
Bible
![Page 10: A4M36ISS: Introduction · A4M36ISS: Introduction Jiří Pechanec QA Engineer September 17th, 2015. Agenda](https://reader034.fdocuments.in/reader034/viewer/2022051809/60150574390795531a0fa342/html5/thumbnails/10.jpg)
Why?• Organic growth of an enterprise
• Mergers and acquisitions
• New values created by combinations of existing products
• Incremental legacy application replacements
• Access internal data from public facing applications
![Page 11: A4M36ISS: Introduction · A4M36ISS: Introduction Jiří Pechanec QA Engineer September 17th, 2015. Agenda](https://reader034.fdocuments.in/reader034/viewer/2022051809/60150574390795531a0fa342/html5/thumbnails/11.jpg)
Why?• Organic growth of an enterprise
• Mergers and acquisitions
• New values created by combinations of existing products
• Incremental legacy application replacements
• Access internal data from public facing applications
![Page 12: A4M36ISS: Introduction · A4M36ISS: Introduction Jiří Pechanec QA Engineer September 17th, 2015. Agenda](https://reader034.fdocuments.in/reader034/viewer/2022051809/60150574390795531a0fa342/html5/thumbnails/12.jpg)
Architectures• Spaghetti
• Hub-and-spoke
• Bus
• Service Oriented Architecture
• Service Component Architecture
• Event-Driven Architecture
• Microservices
![Page 13: A4M36ISS: Introduction · A4M36ISS: Introduction Jiří Pechanec QA Engineer September 17th, 2015. Agenda](https://reader034.fdocuments.in/reader034/viewer/2022051809/60150574390795531a0fa342/html5/thumbnails/13.jpg)
Spaghetti• Ad-hoc integration
• No system
• Difficult to introduce a new system
• Almost impossible to do a change
• Requires modification of source code of integrated systems
![Page 14: A4M36ISS: Introduction · A4M36ISS: Introduction Jiří Pechanec QA Engineer September 17th, 2015. Agenda](https://reader034.fdocuments.in/reader034/viewer/2022051809/60150574390795531a0fa342/html5/thumbnails/14.jpg)
Hub-and-spoke• Every system speaks only to a
central node
• Clients effectively decoupled
• Easy to add a new node
• Difficult to modify existing API
• Can have scalability issues
• Most useful application• Message Broker
![Page 15: A4M36ISS: Introduction · A4M36ISS: Introduction Jiří Pechanec QA Engineer September 17th, 2015. Agenda](https://reader034.fdocuments.in/reader034/viewer/2022051809/60150574390795531a0fa342/html5/thumbnails/15.jpg)
(Enterprise Service) Bus• Applications communicate via
(virtual) bus
• Main features• Connectivity
• Routing
• Transformation
![Page 16: A4M36ISS: Introduction · A4M36ISS: Introduction Jiří Pechanec QA Engineer September 17th, 2015. Agenda](https://reader034.fdocuments.in/reader034/viewer/2022051809/60150574390795531a0fa342/html5/thumbnails/16.jpg)
Service Oriented Architecture• Everything is a service with
defined contract
• Mostly associated with web services
• SOAP
• WSDL
• UDDI
• Descriptive registry of services
• WS-* specifications
![Page 17: A4M36ISS: Introduction · A4M36ISS: Introduction Jiří Pechanec QA Engineer September 17th, 2015. Agenda](https://reader034.fdocuments.in/reader034/viewer/2022051809/60150574390795531a0fa342/html5/thumbnails/17.jpg)
Service Component Architecture• Artifacts
• Component
• Properties
• Implementation
• Composite
• Entry point/service
• Reference
• Wire
• Not too widely used
• Defined as OASIS standard• Assembly model, language
bindings,…
• Strict interface description and matching
![Page 18: A4M36ISS: Introduction · A4M36ISS: Introduction Jiří Pechanec QA Engineer September 17th, 2015. Agenda](https://reader034.fdocuments.in/reader034/viewer/2022051809/60150574390795531a0fa342/html5/thumbnails/18.jpg)
Event-Driven Architecture• Services produces events and
react to events
• Strongly decoupled
• Very scalable
• Event processing• Simple
• Complex, Stream
• Difficult to understand
• Difficult to debug and monitor
![Page 19: A4M36ISS: Introduction · A4M36ISS: Introduction Jiří Pechanec QA Engineer September 17th, 2015. Agenda](https://reader034.fdocuments.in/reader034/viewer/2022051809/60150574390795531a0fa342/html5/thumbnails/19.jpg)
Microservices• SOA done right
• Lightweight
• Tries to avoid application container – just simple application
• Services easily replaceable
• Smart endpoints/dumb pipes• Is not there a risk of spaghetti?
• Perfect match for (Linux) containers - Docker
![Page 20: A4M36ISS: Introduction · A4M36ISS: Introduction Jiří Pechanec QA Engineer September 17th, 2015. Agenda](https://reader034.fdocuments.in/reader034/viewer/2022051809/60150574390795531a0fa342/html5/thumbnails/20.jpg)
Product levels• Integration frameworks
• API to implement EIPs
• Basic communication protocols
• Enterprise Service Bus• Standalone container
• Managed deployments
• Monitoring
• Integration Suite• BPM
• BAM
![Page 21: A4M36ISS: Introduction · A4M36ISS: Introduction Jiří Pechanec QA Engineer September 17th, 2015. Agenda](https://reader034.fdocuments.in/reader034/viewer/2022051809/60150574390795531a0fa342/html5/thumbnails/21.jpg)
Tools/Products used
![Page 22: A4M36ISS: Introduction · A4M36ISS: Introduction Jiří Pechanec QA Engineer September 17th, 2015. Agenda](https://reader034.fdocuments.in/reader034/viewer/2022051809/60150574390795531a0fa342/html5/thumbnails/22.jpg)
Products used• Apache Karaf
• Apache Camel
• JBoss Fuse• Fabric8
• JBoss SwitchYard
• JBoss A-MQ/ActiveMQ
• apiman
• Docker
![Page 23: A4M36ISS: Introduction · A4M36ISS: Introduction Jiří Pechanec QA Engineer September 17th, 2015. Agenda](https://reader034.fdocuments.in/reader034/viewer/2022051809/60150574390795531a0fa342/html5/thumbnails/23.jpg)
Apache Karaf• OSGi-based container
• Runtime for other products/projects• Hot deployment
• Dynamic configuration
• Centralized logging
• Shell
• JAAS integration
• Blueprint DI
• Supports Apache Felix and Eclipse Equinox runtime
•
![Page 24: A4M36ISS: Introduction · A4M36ISS: Introduction Jiří Pechanec QA Engineer September 17th, 2015. Agenda](https://reader034.fdocuments.in/reader034/viewer/2022051809/60150574390795531a0fa342/html5/thumbnails/24.jpg)
Apache Camel• Integration framework
• Routing and mediation engine
• Configurable via• Spring/Blueprint XML
• Java/Scala DSL
• Support for almost all EIP
• URI-based enpoint configration
• Integrated test kit
![Page 25: A4M36ISS: Introduction · A4M36ISS: Introduction Jiří Pechanec QA Engineer September 17th, 2015. Agenda](https://reader034.fdocuments.in/reader034/viewer/2022051809/60150574390795531a0fa342/html5/thumbnails/25.jpg)
JBoss Fuse• Enterprise Service Bus
• Inside• Karaf
• Camel
• ActiveMQ
• CXF
• Fabric8• Central management and provisioning of large-scale installations
• Ssh
• jclouds
• OpenShift
![Page 26: A4M36ISS: Introduction · A4M36ISS: Introduction Jiří Pechanec QA Engineer September 17th, 2015. Agenda](https://reader034.fdocuments.in/reader034/viewer/2022051809/60150574390795531a0fa342/html5/thumbnails/26.jpg)
JBoss SwitchYard• SCA-related service development and integration framework
• Augmentation of plain Camel with declarative• Transformation
• Validation
• Policy
• Security
• Routing
• Integration with• jBPM
• BPEL
• Drools
![Page 27: A4M36ISS: Introduction · A4M36ISS: Introduction Jiří Pechanec QA Engineer September 17th, 2015. Agenda](https://reader034.fdocuments.in/reader034/viewer/2022051809/60150574390795531a0fa342/html5/thumbnails/27.jpg)
JBoss A-MQ• Standalone message broker
• Inside• Karaf
• Apache ActiveMQ
• Multi-protocol• Openwire
• AMQP
• STOMP
• MQTT
• Cluster, mesh and network of brokers
• Manageable by Fabric8
![Page 28: A4M36ISS: Introduction · A4M36ISS: Introduction Jiří Pechanec QA Engineer September 17th, 2015. Agenda](https://reader034.fdocuments.in/reader034/viewer/2022051809/60150574390795531a0fa342/html5/thumbnails/28.jpg)
apiman• Open-source API Management
• Web-based configuration and management
• Policy Engine• Embeddable
• Java EE
• Vert.x
• Under fast development
• Centralization• Security
• Quotas
• Metrics
![Page 29: A4M36ISS: Introduction · A4M36ISS: Introduction Jiří Pechanec QA Engineer September 17th, 2015. Agenda](https://reader034.fdocuments.in/reader034/viewer/2022051809/60150574390795531a0fa342/html5/thumbnails/29.jpg)
Docker• Lightweight virtualization
• Complete isolated filesystem for a set of processes• Same kernel used
• Layering and inheritance
• Image registry
• But be careful with security• Docker is about running random crap from the Internet, as root and
expecting not to be hacked ;-)
![Page 30: A4M36ISS: Introduction · A4M36ISS: Introduction Jiří Pechanec QA Engineer September 17th, 2015. Agenda](https://reader034.fdocuments.in/reader034/viewer/2022051809/60150574390795531a0fa342/html5/thumbnails/30.jpg)
Questions?
plus.google.com/+RedHat
linkedin.com/company/red-hat
youtube.com/user/RedHatVideos
facebook.com/redhatinc
twitter.com/RedHatNews