create a modern(ish) bam portal in (roughly) one hour!

17
Sponsored & Brought to you by Create a modern(ish) BAM portal in (roughly) one hour! Rob Bowman https://www.linkedin.com/in/robbowman147

Upload: biztalk360

Post on 16-Apr-2017

672 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: Create a modern(ish) BAM portal in (roughly) one hour!

Sponsored & Brought to you by

Create a modern(ish) BAM portal in (roughly) one hour!Rob Bowman

https://www.linkedin.com/in/robbowman147

Page 2: Create a modern(ish) BAM portal in (roughly) one hour!

Create a modern(ish) BAM portal in (roughly) one hour!

Rob BowmanBizTalkers Ltd

www.biztalkers.com

Page 3: Create a modern(ish) BAM portal in (roughly) one hour!
Page 4: Create a modern(ish) BAM portal in (roughly) one hour!

Ever heard of thisThing they call“The Force”?

Page 5: Create a modern(ish) BAM portal in (roughly) one hour!

Single technology I’ve found adds most value given the effort required?

BAM

Page 6: Create a modern(ish) BAM portal in (roughly) one hour!

Reasons BAM doesn’t get used• Activity monitoring not seen as

essential for Go-Live of a project• It’s a new skill to learn – sometimes

developers turn to a technology they already have experience of such as Log4Net• The stock BAM Portal doesn’t give

the functionality expected

Page 7: Create a modern(ish) BAM portal in (roughly) one hour!

Why Developers Should Implement BAM

With the right portal in place, the business users can find answers themselves rather than having to ask the development or support teams.

Q: Why hasn’t the warehouse received the Purchase OrderA: Take a look on the BAM Portal

Page 8: Create a modern(ish) BAM portal in (roughly) one hour!

So why build a custom BAM portal?• The stock portal provides view over BAM Primary

Import db only• It doesn’t show data from ESB Exceptions database• It doesn’t provide a view of message payload

• Additional functionality• A BAM Portal is a convenient site to add additional

functionality such as:• task management – tickets raised for exceptions etc.• UI for maintaining cross reference data

Page 9: Create a modern(ish) BAM portal in (roughly) one hour!

A Consolidated View

Rcv Pipeline

MsgArchive

SourceData Source

DataMap Rcv

Pipeline

Msg Body

BAM

Timestamp & Key Data from Msg Body

MsgBox

Canonical Data

Exception Db

SendPipeline

Canonical DataSend Pipeline

Map

Msg Body

Timestamp & Key Data

Source System

Target System

TargetData

TargetData

BAMPortal

View

The custom BAM Portal provides a consolidated view of a message from source to target system

Page 10: Create a modern(ish) BAM portal in (roughly) one hour!

Aim of the Custom Portal• View summary of messages received and sent• Ability to drill-down to message payload• Link to the Exceptions database of the ESB Toolkit• Easy AD authentication• Potential for addition of useful admin type functionality such as:

• Resubmit a previously received message into BizTalk• Trigger BizTalk process e.g. rather than wait for scheduled task adapter• Provide a friendly UI over cross reference database• Basic task management workflow functionality e.g. tasks created on ESB

exception

Page 11: Create a modern(ish) BAM portal in (roughly) one hour!

Demo – Create the BAM Activity and Profile• Demo Existing “Simple” file type• Create new BAM Activity definition• Create new BAM Tracking Profile

Page 12: Create a modern(ish) BAM portal in (roughly) one hour!

How the Views Access / Display the Data

Page 13: Create a modern(ish) BAM portal in (roughly) one hour!

Example Razor View When Using MVC Pattern

Notice:ViewModel returned here

Page 14: Create a modern(ish) BAM portal in (roughly) one hour!
Page 15: Create a modern(ish) BAM portal in (roughly) one hour!

Example Razor View When Using MVVM Pattern

Notice:ViewModel not returned here

Page 16: Create a modern(ish) BAM portal in (roughly) one hour!

Demo Adding New Process (Votes) to be Monitored• Would expect more code reuse (generics) but for purpose of demo –

LOTS of COPY & PASTE!

Page 17: Create a modern(ish) BAM portal in (roughly) one hour!

Acknowledgments• BizTalk Message Archive Component• Randy Aldrich Pualo• http://biztalkarchiving.codeplex.com/

• KO Grid• Eric M. Barnard, Tim Sweet, Jonathan Ricaurte, Alan Souza• https://github.com/Knockout-Contrib/KoGrid

• Datatellblog.wordpress.com• Ross? • Great advice on using KoGrid