+ All Categories
Home > Documents > CM MatchPoint for Ca Plex .Net

CM MatchPoint for Ca Plex .Net

Date post: 02-Jan-2017
Category:
Upload: ngokhue
View: 215 times
Download: 0 times
Share this document with a friend
31
CM MatchPoint for Ca Plex .Net CA Plex Track Christoph Heinrich and Lorenz Alder CM First Goup
Transcript
Page 1: CM MatchPoint for Ca Plex .Net

CM MatchPoint for Ca Plex .Net

CA Plex Track

Christoph Heinrich and Lorenz Alder CM First Goup

Page 2: CM MatchPoint for Ca Plex .Net

Abstract

In this session we will demonstrate how to manage deployments

in a CA Plex .NET environment. We will show examples of

environments as well look into best practices when generating C#

from your CA Plex model

Page 3: CM MatchPoint for Ca Plex .Net

Speaker

Christoph Heinrich – CM First Group

CEO, Architect CM MatchPoint Application Lifecycle Manager

Lorenz Alder – CM First Group

CTO, SW Architect

Page 4: CM MatchPoint for Ca Plex .Net

CM MatchPoint Overview

– A day in the life of [any name here]

CA Plex .Net

– What is generated

– Code library wizard / Gen&Build from CA Plex

– ClickOnce Deployment

CM MatchPoint for .Net

– Deploying Source Files

– Automated Builds

– Refresh Workspace

Agenda

Page 5: CM MatchPoint for Ca Plex .Net

A day in the life of …

Page 6: CM MatchPoint for Ca Plex .Net

A day in the life of …

Page 7: CM MatchPoint for Ca Plex .Net

A day in the life of …

Page 8: CM MatchPoint for Ca Plex .Net

A day in the life of …

Page 9: CM MatchPoint for Ca Plex .Net

A day in the life of …

Page 10: CM MatchPoint for Ca Plex .Net

A day in the life of …

Page 11: CM MatchPoint for Ca Plex .Net

A day in the life of …

Page 12: CM MatchPoint for Ca Plex .Net

Development Integration Test

A day in the life of …

Development Integration Test Production

Deploying a hot fix

Ticket 123

Ticket 199

Conflict Check Conflict Check Conflict Check

Page 13: CM MatchPoint for Ca Plex .Net

A day in the life of …

Page 14: CM MatchPoint for Ca Plex .Net

A day in the life of …

Page 15: CM MatchPoint for Ca Plex .Net

A day in the life of …

Page 16: CM MatchPoint for Ca Plex .Net

CA Plex and .Net

Page 17: CM MatchPoint for Ca Plex .Net

CA Plex and .Net / .Net client

Plex Function

Plex Function Plex Function

Plex Function Plex Function

.dll

.pnl

.dll Plex Function Plex Function Plex Functions in PKG and Code library

WinC

.NET

Page 18: CM MatchPoint for Ca Plex .Net

In Winc we copy dll’s and pnl’s (compiled functions)

In C# we copy source files in order to track CR

After copying the sources we need to rebuild assemblies

Rebuild everything, relay on MS build for optimization (skip

unnecessary builds)

CA Plex and .Net / .Net client

Page 19: CM MatchPoint for Ca Plex .Net

Integration share

Dev Workstation1

Plex generated

Source

Integrated source

Dev Workstation2

Plex generated

Source

Integrated Assemblies

Local Assembly

Local Assembly

Copy of Integ

Assemblies

Copy of Integ

Assemblies

CA Plex .NET Client - Assemblies

Page 20: CM MatchPoint for Ca Plex .Net

Plex generated Production

Source

CA Plex .NET Client – ClickOnce Build

VS Studio main.exe solution setup for Click Once

Code Library VS projects

Images

Application Icon

Exe project

Publish Directory Build 1

Build 2

Build n

Active/X

32 bit ….

Page 21: CM MatchPoint for Ca Plex .Net

CA Plex .NET Client – Deployment

Publish Directory

Client Workstation

URL to publish

directory

Install and

Update

Page 22: CM MatchPoint for Ca Plex .Net

Simple scripts can be done with .cmd files

When pre/post processing is needed use NANT Tasks

– Versioning / Build Numbers

– Code Analysis

– Automated tests

CA Plex and .Net / .Net client

Page 23: CM MatchPoint for Ca Plex .Net

Use of an SCM and Build Server (proposal)

CA Plex and .Net / .Net client

Matchpoint

SCM Build Server

triggers

notifies checks out/in CR

CA Plex generated Source

Page 24: CM MatchPoint for Ca Plex .Net

CM MatchPoint and .Net

Page 25: CM MatchPoint for Ca Plex .Net

Triple match

– Model function -> source files

– Find package information

Manage Source Files

Page 26: CM MatchPoint for Ca Plex .Net

Manage Source Files

Plex Function

_ObFnc.cs

_ObIn.cs

_ObOut.cs

_ObPnl.xaml.cs

.restxt

_ObPnl.xaml

_ObIn.cs

_ObOut.cs

_ObIn.cs

_ObOut.cs

calls

Page 27: CM MatchPoint for Ca Plex .Net

User defined processes

Build Script

Build Scripts

Page 28: CM MatchPoint for Ca Plex .Net

Refresh Workspace

Create CA Plex Add-In to copy Assemblies to local environment

At any time developers can refresh their workspace with assemblies from the integration environment

COPY /Y "\\YourServer\Integration\Bld\Release\*.dll" C:\Locals\PLEX710\GEN_C#\Bld\Release\*.*

Page 29: CM MatchPoint for Ca Plex .Net

Deployment to Production Environment

Deployment Process

Check Status and

Authorization

Check Promotion

Create Backup

Deploy Source Files

Rebuild Assemblies

Launch ClickOnce

Deployment

CM MatchPoint Deployment Process

Page 30: CM MatchPoint for Ca Plex .Net

Q & A


Recommended