Pitney Bowes Uses Development and Testing Tools to Drive Early API Development and Enable Parallel...

18
Pitney Bowes Uses Development and Testing Tools to Drive Early API Development and Enable Parallel Development Sam Detweiler DevOps: API Management and Application Development Pitney Bowes Sr. SDLC Architect DO3X119S @TwitterHandle #CAWorld

Transcript of Pitney Bowes Uses Development and Testing Tools to Drive Early API Development and Enable Parallel...

Pitney Bowes Uses Development and Testing Tools to Drive Early API Development and Enable Parallel Development

Sam Detweiler

DevOps: API Management and Application Development

Pitney Bowes

Sr. SDLC Architect

DO3X119S

@TwitterHandle

#CAWorld

2 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD

© 2015 CA. All rights reserved. All trademarks referenced herein belong to their respective companies.

The content provided in this CA World 2015 presentation is intended for informational purposes only and does not form any type

of warranty. The information provided by a CA partner and/or CA customer has not been reviewed for accuracy by CA.

For Informational Purposes Only

Terms of this Presentation

3 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD

Abstract

How Pitney Bowes uses modern development and testing

tools, such as CA Service Virtualization, to drive early API

development and enable parallel development, with a

simple purpose: go faster.

Why speed with quality are so important and what is

parallel development and its implications for Pitney

Bowes’ success in bringing innovation to market faster.

Sam Detweiler

Pitney Bowes

Sr. SDLC Architect

4 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD

Agenda

PITNEY BOWES

CREATING NEW APIS

RESULTS

DEVELOPMENT AND TEST TO THE RESCUE

DESIGN CRITERIA & ARCHITECTURE

EARLY COMMUNITY FEEDBACK

1

2

3

4

5

6

Shipping

& MailingGlobal

Ecommerce

Customer

Engagement

Location

Intelligence

Customer Information

Management

We enable transactions in commerce across five key areas.

6

Using trusted data

to drive insights

and intelligence

Transforming

location and

business data into

enhanced insight

Delivering relevant

and engaging

interactions across

the customer

lifecycle

Driving parcel

handling and mailing

efficiency with end-to-

end innovation

Simplifying a

complex global

marketplace

• 15 PB SaaS products on Amazon

• $1.5B web postage for 300MEcommerce shipping labels

• $7B total postage funded

• 18B Big Data elements geospatially analyzed

• 30B hits to our Ecommerce APIs

PB’s Physical and Digital Capabilities Have Been Rapidly Expanding

• 200M geocodes

• 1B address validations

• 3B tracking events

• 1,100 staff trained

Solutions/Business Outcomes

Hardware & Software

Products

Data and Analytics

• 21,000 letters per hour

• 15M parcels

• 800M statements

Pitney Bowes is a worldwide development organization

Labs in multiple US locations• Europe• India• Australia

Distributed teams work on different parts of the projects and process• Design done one place• Development and Test done in others.

Always challenging to coordinate all the process together

Creating new APIs to consolidate services

As our customers need more and more global solutions, our APIs need to expand to support more services

But

Have fewer distinct implementations and more capability.

In the past we would write the code to match the spec, then let our users test it, and take change requests.• maybe 1 in 10 would get approved, as we would have to rewrite code.

How can we go faster, reduce rework and improve the overall experience?

Development and Test to the rescue

Create an API simulator from the spec, no code yet

Create a toolkit of sample transactions

Deploy to Amazon

EBAY

SaaS app

development

API development team

API test team

API Simulation system design criteria

API Designers don’t know DevTest, how to go fast?!

Maximize API knowledgedevelopers and testers update excel spreadsheet

Make service data drivengeneric service reads spreadsheet data to verify input, construct output. Service developer doesn’t know product API

Build deployment machine with Apache server apps to upload new files. Service detects changes in files and reloads changed configs.

DevTest handles all the communications, logic control, message construction, error recovery

SW Architecture

simulatorDashboard

xx.yy.zz.qq:1

506

Registry

MGMT

Cons

:1505

VSE

Simulator

runtime

/opt/CA/DevTest/hotDeploy service.profile – dataPath=

Apache Web server fileform.html

dumpfileinfo.php

Application data

Labels,

Swagger api index.html/var/www/html/data

uploaddata.html

copydata.php

Groovy classes

Api Yaml

Data xlsx

https

If .profile, fix dataPath=

If .zip, unzip

443

Amazon vpc

One each for dev & stable

Community feedback early was significant

Having the simulator allowed us to experience the API details before the solution was locked

We were able to integrate our code with the simulator for the defined test cases and show working prototypes early

The Development and User community conversation around the API semantics, verbs, data placement, optional data and provider centric specifics happened almost immediately in the cycle and we were able to modify the API definition quickly.

Development of the product code was streamlined, because all the changes had been worked out in advance.

Testing team was ready for 1st line of actual code

Summary

Development and Test platform provided

• A stable environment for service construction and execution

• Very easily understood and extendable environment

• Good performance (sub second) for the test environment• new users complain all the time about ‘new’ system

• Easy extendibility for debugging

• Easy deployment

Future uses planned for • a product sales demo environment to eliminate backend dependencies• enable performance testing of a complex package tracking application• provide performance based simulations for our financial systems

15 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD

Q & A

16 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD

Recommended Sessions

SESSION # TITLE DATE/TIME

DO3X111STELUS Implements End-to-End Testing to Ensure

Customer First Strategy and Customer Satisfaction11/19/2015 at 1:00 pm

DO3X116SLloyds Banking Group Leverages Service Virtualization to

Deliver Quality Technology Services11/19/2015 at 3:00 pm

DO3X114SFreeing the World from Slow: How Service Virtualization

and the Concept of S.P.E.E.D. 11/19/2015 at 3:45 pm

17 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD

Must-See Demos

SV Innovations

DevOps

Theater 3

DevOps Sim

DevOps

Theater 3

SV on Demand

DevOps

Theater 3

SV Use Cases

DevOps

Theater 3

18 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD

Follow Conversations At…

Smart Bar

DevOps

Theater 3 & 4

Tech Talks

DevOps

Theater 3 & 4

19 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD

For More Information

To learn more, please visit:

http://cainc.to/Nv2VOe

CA World ’15