LDS Account Integration. Disclaimer This is a training NOT a presentation. – Be prepared to learn and participate in labs Please ask questions Prerequisites:

Slides:



Advertisements
Similar presentations
Introduction to Maven 2.0 An open source build tool for Enterprise Java projects Mahen Goonewardene.
Advertisements

Developing in CAS. Why? As distributed you edit CAS 3 with Eclipse and build with Maven 2 – Best Practice for Release Engineering – Difficult edit-debug.
Introduction to Maven Michael Youngstrom. Notes This is a training NOT a presentation Please ask questions Prerequisites – Introduction to the Java Stack.
Functional Testing with the Java Stack Test Runner
Java Build Tool Comparison HJUG - April 29th, 2009 John Tyler.
Maven: Build and project management in the 21th century.
Ellucian Mobile: Don’t text and drive, kids!
Intermediate Maven Michael Youngstrom. Notes This is a training NOT a presentation Please ask questions No making fun of my microphone Prerequisites –
Automatic Installation System on USB Memory Instructor: Hai Vortman Students: Leeor Langer Eyal Koren.
Web Applications Basics. Introduction to Web Web features Clent/Server HTTP HyperText Markup Language URL addresses Web server - a computer program that.
LDS Account and the Java Stack. Disclaimer This is a training NOT a presentation. – Be prepared to learn and participate in labs Please ask questions.
Deployment and Configuration Management Solution
Introduction to the Java Stack Michael Youngstrom.
Configuration Management Process and Environment MACS Review 1 February 5th, 2010 Roland Moser PR a-RMO, February 5 th, 2010 R. Moser 1 R. Gutleber.
AppCMD Quick Reference Guide for IIS 7 installed on Win2k8 Servers.
Maven and Stack Starter Michael Youngstrom. Notes This is a training NOT a presentation Please ask questions Prerequisites – Introduction to Java Stack.
Maven & Bamboo CONTINUOUS INTEGRATION. QA in a large organization In a large organization that manages over 100 applications and over 20 developers, implementing.
MAVEN-BLUEMARTINI Yannick Robin. What is maven-bluemartini?  maven-bluemartini is Maven archetypes for Blue Martini projects  Open source project on.
Framework for Automated Builds Natalia Ratnikova CHEP’03.
What’s new in Stack 3.2 Michael Youngstrom. Disclaimer This IS a presentation – So sit back and relax Please ask questions.
AUTOBUILD Build and Deployment Automation Solution.
Tomcat Spencer Uresk. Notes This is a training NOT a presentation Please ask questions This is being recorded
Using the ALM Module Fully Automated Deployments in Stack 3.2.
Developing Applications for SSO Justen Stepka Authentisoft, LLC
INFSOM-RI Juelich, 10 June 2008 ETICS - Maven From competition, to collaboration.
Presented by: Alicia Goodwin
Using the ALM Module Michael Youngstrom. Disclaimer This is a training NOT a presentation. – Be prepared to learn and participate in lab Please ask questions.
Installation and Development Tools National Center for Supercomputing Applications University of Illinois at Urbana-Champaign The SEASR project and its.
Empowering people-centric IT Unified device management Access and information protection Desktop Virtualization Hybrid Identity.
LDS Account and the Java Stack. Disclaimer This is a training NOT a presentation. – Be prepared to learn and participate in labs Please ask questions.
LDS Account Integration. Disclaimer This is a training NOT a presentation. – Be prepared to learn and participate in labs Please ask questions Prerequisites:
WAM and the Java Stack. Disclaimer Please ask questions There are hands on labs Prerequisites: – Basic Java knowledge – Basic Spring knowledge – LDS Account.
1 may 31, 2007 Build, test and deploy ADF applications without effort with the use of Maven2 Aino Andriessen AMIS.
Introduction to the Java Stack Michael Youngstrom.
I Copyright © 2007, Oracle. All rights reserved. Module i: Siebel 8.0 Essentials Training Siebel 8.0 Essentials.
Running Kuali: A Technical Perspective Ailish Byrne (Indiana University) Jonathan Keller (University of California, Davis)
Overview of the Automated Build & Deployment Process Johnita Beasley Tuesday, April 29, 2008.
SONIC-3: Creating Large Scale Installations & Deployments Andrew S. Neumann Principal Engineer Progress Sonic.
Access Services Introduction & Setup Requirements Kipp Sorensen, Soren Innovations.
Dr. David Roldán Martínez Universidad Politécnica de Valencia, Spain & Nuno Fernandes Universidade Fernando Pessoa, Portugal Site Stats, the power of event.
Maven for building Java applications By Nalin De Zoysa
System/SDWG Update Management Council Face-to-Face Flagstaff, AZ August 22-23, 2011 Sean Hardman.
Adxstudio Portals Training
Build Systems Presentation December 14, 2015 Noon-1pm Kathy Lee Simunich Bldg. 203/ D120 Brought to you by: Argonne Java.
SPI NIGHTLIES Alex Hodgkins. SPI nightlies  Build and test various software projects each night  Provide a nightlies summary page that displays all.
Software Deployment & Release 26/03/2015 1EN-ICE.
LDS Account and the Java Stack. Disclaimer This is a training NOT a presentation. – Be prepared to learn and participate in labs Please ask questions.
UpgradinguPortal to What’s new that matters Better use of third party frameworks Faster! Improved caching Drag and Drop New Skin & Theme Accessibility.
Personalizing Web Sites Nasrullah. Understanding Profile The ASP.NET application service that enables you to store and retrieve information about users.
IBM Express Runtime Quick Start Workshop © 2007 IBM Corporation Deploying a Solution.
8/29/10 Maven Repository Management with Nexus Jim McMahon.
JRA1 Meeting – 09/02/ Software Configuration Management and Integration EGEE is proposed as a project funded by the European Union under contract.
Maven. Introduction Using Maven (I) – Installing the Maven plugin for Eclipse – Creating a Maven Project – Building the Project Understanding the POM.
WAM and the Java Stack. Disclaimer This is a training NOT a presentation. – Be prepared to learn and participate in labs Please ask questions Prerequisites:
CS520 Web Programming Introduction to Maven Chengyu Sun California State University, Los Angeles.
9 Copyright © 2004, Oracle. All rights reserved. Getting Started with Oracle Migration Workbench.
Platform & Maven2 David Šimonek. Certified Engineer Course Agenda What is Maven? Why Maven? NB IDE & Maven NB Platform & Maven.
XNAT 1.7: Getting Started 6 June, Introduction In this presentation we’ll discuss:  Features and functions in XNAT 1.7  Requirements  Installing.
Build Fundamentals and Continuous Integration
Maven 04 March
Plan What is Maven ? Links : mvn command line tool
Deploying and Configuring SSIS Packages
Advanced Integration and Deployment Techniques
Maven IIB9 Plug-in Version 9.0
Cmake Primer.
Using JDeveloper.
JENKINS TIPS Ideas for making your life with Jenkins easier
Maven IIB9 Plug-in Version 9.0
HP ALM Introduction.
Presentation transcript:

LDS Account Integration

Disclaimer This is a training NOT a presentation. – Be prepared to learn and participate in labs Please ask questions Prerequisites: – Java Knowledge – Basic understanding of LDAP

History In the beginning Maven and CruiseControl – Produced an.ear Automated config and deploy Bundles – Produced a.zip with an.ear/.war and env config – DB Migrator produced a migration.zip Anthill Pro replaces CruiseControl – Introduced secondary process execution

What is LDS Account? LDS Account is meant to be the single source for user authentication and basic user information LDS Account is implemented with LDAP LDS Account is an application for maintaining user attributes

LDS Account "LDS Account is a single user name and password for any person who interacts with online LDS Church resources. LDS Account is the primary account authentication credentials for most Church sites and applications. It reduces development costs that would be incurred as the user interfaces change, or as upgrades to security and the registration process are required. Unlike previous authentication systems, LDS Account is a branded single sign-on solution that is centrally managed at ldsaccount.lds.org."

LDS Account (cont.) "LDS Account has become the key to accessing all the resources the Church has to offer, such as family history tools, ward and stake websites, employment resources, and more.... The idea is to have only one username and password that you can use with all password-protected websites the Church has."

User Details LDS Account also provides user information – User details – User details can be exposed through LDAP attributes, or WAM headers, or SAML attributes

LDS Account integration in the Stack Consists of two main parts – Authentication – User information (details)

LDS Account User Details Integration The LDS Account module acts as a Java model for LDS Account information LdsAccountDetails.java is the abstraction layer for LDS Account user details integration Factories generate LdsAccountDetails object for each user – Factories handle the different formats in which the raw user details attributes are provide to the application LDAP attributes, WAM headers, SAML, …

Lab 1 Get acquainted with LDS Account integration points

Maven Lifecycles Maven uses lifecycles to orchestrate goals Phases represent steps in a lifecycle Default process-resources compile test-compile test package integration-test install deploy Clean pre-clean clean Site site site-deploy

Executing a Lifecycle Lifecycles are executed by calling a phase Phase identifies where in lifecycle to stop Examples: – mvn test – mvn install – mvn clean install – mvn site-deploy clean – mvn clean compile package install clean Default process-resources compile test-compile test package integration-test install deploy Clean pre-clean clean Site site site-deploy

Phases in Lifecycle Phases in a lifecycle are mapped to plugin goals – Dictated by default, packaging type, and pom config Default PhasesWar process-resources compilecompiler:compile test-compilecompiler:testCompile testsurefire:test packagewar:war integration-test installinstall:install deploydeploy:deploy Clean PhasesDefault pre-clean cleanclean:clean Site PhasesDefault sitesite:site site-deploysite:deploy

Example Binding in Pom Config … war org.apache.maven.plugins maven-enforcer-plugin enforce compile

ALM the Lifecycle for Deployments Default Lifecycle builds and managing artifacts What might a lifecycle for application deployment look like? – Migrate database – Deploy app – Test deployed app ALM Lifecycle Phasesalm-bundle Bindings alm-dbstack-db:migrate alm-deploystack-tcat:deploy alm-teststack-test:functional-test alm-promote Quiz: – clean install – alm-promote – clean install alm-promote

Packaging the ALM Module ALM Module creates a.zip containing: – The project – All Dependencies – settings.xml file Zip can be rerun Same artifacts

ALM Execution Configuration Maven profiles represent environments Profiles allow custom environment configuration – Choose deploy type/server – Execute different tests Maven properties provide configuration – Deploy Username/Password – Skip test run – Skip DB migration – Defaults in profile->properties – Can be customized on command line “-Dsome=value”

How to execute a post build promotion? 1.Download alm zip file for project 2.Execute: mvn -s settings.xml alm-promote 3.Optionally add appropriate ‘-D’ parameters 4.Specify env using a maven profile (e.g. -P stage)

Lab 1 #Lab_1

Customizing ALM Execution

How to Customize ALM Promotion Maven Plugins (Preferred) – Simplify common complex processes – Cross Platform Java Platform Scripts (OK) – Ant, Groovy, BeanShell, Java, etc. – Fully customizable – Cross Platform Shell Scripts (Worst Case) – Executed using maven-exec-plugin – Not Cross Platform

Maven Plugin Options Stack Tomcat Plugin – Local and SSH Tomcat deploys Stack Tcat Plugin Stack DB Migrator Plugin Stack Test Runner Stack Was Deploy Plugin Maven Deploy Maven Wagon Maven SCM Plugin

Java Platform Scripts Write custom scripts executed in Java – Cross Platform – More difficult to maintain – Common scripts will be candidates for plugins Maven Ant and Antrun Plugins – Very simple to execute ant scripts Gmaven Plugin Maven Exec Plugin

Shell Scripts Custom shell scripts packaged with alm bundle – Executed with maven-exec-plugin – Can come in handy – Not cross platform

Lab 2 #Lab_2

Executing ALM Promotion in Anthill Pro

Executing through Anthill Pro Anthill represents an excellent engine for executing ALM Modules – Securely store build artifacts – Can securely handle passwords – Easily add parameters to a maven build – Can track state of builds – Can record and store results from multiple test runs

Roles of new Build System Project Team (Developers) Developer ALM pom.xml for project – Functional Tests? – DB Migration? – Test Groups? (smoke, full, etc) Identify the Environments to enable Test on local box Identify Anthill configurable properties – Skip Plugins? – Usernames and passwords? Build Team Add Project to Anthill Take configurable properties from team add them to UI. Enable specified environments Java Stack Team Help developer ALM Module

Demo ALM Module and Anthill Pro

Conclusion ALM Module provides promotion orchestration Puts more control in hands of project team Build process now separate from promotion Anthill pro is an excellent promotion engine We hope to see more automated promotions in the future!!!