1. DOAG Development 2013, Bonn
Ulrich Gerkmann-Bartels
CEO & Consultant
Oracle Technologies
CONTINUOUS DELIVERY
IN ADF PROJEKTEN...
2. Ulrich Gerkmann-Bartels
CEO & Consultant
Oracle Technologies
Ulrich Gerkmann-Bartels
ÜBER MICH
Beratung, Training Oracle Technologie
ADF Certified Implementation Specialist
Community
DOAG, ADF EMG, ADF German Community, Twitter @Gerkmann-Bartels
Blog
Technical http://maybe-interesting.blogspot.com
Sonstiges http://www.enpit.de/blog
2
11. Ulrich Gerkmann-Bartels
CONTINUOUS DELIVERY
11
1. Continous Delivery working group at ThoughtWorks, Quelle: http://martinfowler.com/bliki/ContinuousDelivery.html
Continuous Delivery is a software development discipline where you build software
in such a way that the software can be released to production at any time.
You’re doing continuous delivery when: [1]
■ Your software is deployable throughout its lifecycle
■ Your team prioritizes keeping the software deployable over working on new
features
■ Anybody can get fast, automated feedback on the production readiness of their
systems any time somebody makes a change to them
■ You can perform push-button deployments of any version of the software to
any environment on demand
WITHOUT PANIC !
14. Ulrich Gerkmann-Bartels
VORAUSSETZUNGEN
‣ Keine Silos - übergreife Zusammenarbeit
‣ Berücksichtigung der unterschiedlichen Ziele und
Rahmenbedingungen
‣ Gemeinsame Definition von Fertig
‣ Automatisierung^3
‣ Veränderungswille
14
15. Ulrich Gerkmann-Bartels
AUSWIRKUNGEN
‣ Ständig gesicherter Nutzungszuwachs für den
Kunden
‣ Transparenz, Beherrschbarkeit, Reproduzierbarkeit
‣ Weg von einmal Systemen mit Updates zu
wachsenden und veränderbaren System
‣ Autarke und überschaubare Module notwendig
15
17. Ulrich Gerkmann-Bartels
KNACKPUNKTE - DEV
‣ Sourcen im TRUNK können jederzeit in eine
Lieferung kommen
‣ ALLE Artefakte sind im Konfigurationsmanagement
‣ Konfigurationen sind externalisiert, KEIN Build für
eine spezielle Umgebung
‣ Feature - Toggle
17
18. Ulrich Gerkmann-Bartels
KNACKPUNKTE - OPS
‣ Umgebung sind alle GLEICH
‣ Änderung des Auslieferungsprozess ist eine
GRUNDSÄTZLICHE Sache
‣ Automatisierung^3
‣ ALLES ist versioniert
18
22. Ulrich Gerkmann-Bartels
ASPEKT ARCHITEKTUR
22
Quelle: ADF Architecture Fundamentals http://www.youtube.com/watch?v=toEuQvp73h8, Chris Muir (Oracle PM)
Model
AppMetaModel
View
Module A Module BAPP X
APP Y
Model
View
Common
Skin
*
AppMetaModel
Base
Model
AppMetaModel
View
Model
AppMetaModel
View
Model
AppMetaModel
View
AppMetaStore
AppMetaStore
Runtime
WAR LIB
Nested AM
Database
23. Ulrich Gerkmann-Bartels
ASPEKT - PACKAGING
23
‣ Weblogic Shared Libraries:
‣ JAR, WAR und EAR
‣ Shared Libraries mehrere
Versionen
‣ Production Redeployment
maximal zwei Versionen
‣ Retired Application müssen
vor bereinigt werden !
24. Ulrich Gerkmann-Bartels
ASPEKT - PACKAGING
24
‣ Base, Common, Skin
‣ Library: JAR oder EAR,
‣ Referenz: weblogic.xml, weblogic-
application.xml
‣ Module (webapp)
‣ Library: WAR
‣ Referenz: weblogic.xml
25. Ulrich Gerkmann-Bartels
ASPEKT - VERSION
25
‣ Version der Applikation und der
Library müssen in der MANIFEST.MF
angegeben werden !
‣ Es gibt KEINE JAR,WAR,EAR ohne
MANIFEST.MF !
‣ Build-Prozess sollte diese
entsprechend berücksichtigen und
mit einer Referenznummer ergänzen.
28. Ulrich Gerkmann-Bartels
Konfigurations-
werkzeug
KONFIGURATIONSWERKZEUG
Konfiguration
‣ Umgebungen sind vielzählig und einem
unterliegen einem Wandel
‣ Wieviele Administratoren werden benötigt,
um den Betrieb von 10 Rechner eines
Systems im Aufbau GLEICH zu halten ?
‣ Notwendigkeit: Automatisierung,
Dokumentation, Konfiguration und
Überwachung !
Beispieltool:
https://forge.puppetlabs.com/biemond/orautils
Oracle PlugIns für puppet von Edwin Biemond
34. Ulrich Gerkmann-Bartels
LITERATUR
THE PHONIX PROJECT
34
Autoren: Gene Kim, Kevin Behr, George Spafford
“This book is the modern day version of The
Goal. It shows us how to diminish our modern
constraints to help the business win.”
–John Willis, VP Client Services and
Enablement, enStratus, Host of “DevOps Cafe