Download - p 2 in the Enterprise
![Page 2: p 2 in the Enterprise](https://reader035.vdocument.in/reader035/viewer/2022062411/56816934550346895de08d80/html5/thumbnails/2.jpg)
2
Agenda
•Old Days
•p2 to the Rescue
•p2 in Action
•What’s Next?
![Page 3: p 2 in the Enterprise](https://reader035.vdocument.in/reader035/viewer/2022062411/56816934550346895de08d80/html5/thumbnails/3.jpg)
3
Overview
•Using eclipse since 2004
•2000+ Developers world wide (US, China, India, Israel, …)
•Multiple IDE Solutions
–Java, C++, and many more
•Frequent Releases
•Complicated installations
–JVM, Maven, Server
–Configuration (eclipse.ini, environment configs, setttings.xml)
![Page 4: p 2 in the Enterprise](https://reader035.vdocument.in/reader035/viewer/2022062411/56816934550346895de08d80/html5/thumbnails/4.jpg)
OLD DAYS
![Page 5: p 2 in the Enterprise](https://reader035.vdocument.in/reader035/viewer/2022062411/56816934550346895de08d80/html5/thumbnails/5.jpg)
Eclipse installation
5old days
•Install / Update
–Java based installer
–Links + Ext (200+ additional plugins)
–CLI Installer
–Customized Equinox Launcher
•Upgrading plugins
•Release
–Clearcase + PDE/Build + Maven Repo
![Page 6: p 2 in the Enterprise](https://reader035.vdocument.in/reader035/viewer/2022062411/56816934550346895de08d80/html5/thumbnails/6.jpg)
Pain Points
6old days
•Slow Startup (2+ minutes)
•p2 Hostile
–Unresolved Plugins (missing dependencies)
–Required using “–clean” on upgrades
•Un-reusable Installer
•Tangled Release Process
•Slow Installations in Remote Development Sites
![Page 7: p 2 in the Enterprise](https://reader035.vdocument.in/reader035/viewer/2022062411/56816934550346895de08d80/html5/thumbnails/7.jpg)
p2 TO THE RESCUE!
![Page 8: p 2 in the Enterprise](https://reader035.vdocument.in/reader035/viewer/2022062411/56816934550346895de08d80/html5/thumbnails/8.jpg)
8
Overview
p2 to the rescue
Download eBay
InstallerUnzip Install Launch Update
Tycho Build Publish to QA repo Sync to Release repoNewCommit
eBay p2 Installer
eBay p2 PortaleBay p2 Publisher
Ourselves
Dev
elop
ers
Git
![Page 9: p 2 in the Enterprise](https://reader035.vdocument.in/reader035/viewer/2022062411/56816934550346895de08d80/html5/thumbnails/9.jpg)
9
Benefits
•Consistent Development Environment
•Configurable Through Profiles
•Lightening Startup
–p2 Friendly. •Fail Fast
•Intuitive Update
•Awesome New Installer!
–Profile Based
–GUI, CLI
–Reusable
•Lean Release Process
p2 to the rescue
![Page 10: p 2 in the Enterprise](https://reader035.vdocument.in/reader035/viewer/2022062411/56816934550346895de08d80/html5/thumbnails/10.jpg)
p2 IN ACTION
![Page 11: p 2 in the Enterprise](https://reader035.vdocument.in/reader035/viewer/2022062411/56816934550346895de08d80/html5/thumbnails/11.jpg)
eBay p2 Installer
•Fork existing p2 Installer
•Profile Based
–Support for multiple profiles in UI
–Support for local and remote profiles
–Define set of repositories
–Define installable units
•Support for non-eclipse based artifacts
–New Touchpoint & Provisioning Actions
•Data Driven UI
•Enhanced Validation
•Tracking Support
–Customized UDC with additional information
11p2 in action
![Page 12: p 2 in the Enterprise](https://reader035.vdocument.in/reader035/viewer/2022062411/56816934550346895de08d80/html5/thumbnails/12.jpg)
12
eBay p2 Installer
p2 in action
![Page 13: p 2 in the Enterprise](https://reader035.vdocument.in/reader035/viewer/2022062411/56816934550346895de08d80/html5/thumbnails/13.jpg)
eBay p2 Installer
13p2 in action
Profile.xml (Remote)
Profile.xml (Local)Repository.xml
Profile Actions Validation Tracking Adaptive UI
InstallAdvisor
HeadlessInstallAdvisor
InstallDialog
IInstallOperationP2Installer
![Page 14: p 2 in the Enterprise](https://reader035.vdocument.in/reader035/viewer/2022062411/56816934550346895de08d80/html5/thumbnails/14.jpg)
14
Demo
p2 in action
![Page 15: p 2 in the Enterprise](https://reader035.vdocument.in/reader035/viewer/2022062411/56816934550346895de08d80/html5/thumbnails/15.jpg)
eBay p2 Publisher
•Publish Anything as IU
•New Publish Actions
•Scanning Publisher
15p2 in action
![Page 16: p 2 in the Enterprise](https://reader035.vdocument.in/reader035/viewer/2022062411/56816934550346895de08d80/html5/thumbnails/16.jpg)
eBay p2 Publisher
16p2 in action
p2 RepoBlobs
p2.inf ……JDK
Geronimo
Maven
p2.inf p2.inf IU IUIU
eBay p2 Publisher
![Page 17: p 2 in the Enterprise](https://reader035.vdocument.in/reader035/viewer/2022062411/56816934550346895de08d80/html5/thumbnails/17.jpg)
p2 in action 17
Demo
![Page 18: p 2 in the Enterprise](https://reader035.vdocument.in/reader035/viewer/2022062411/56816934550346895de08d80/html5/thumbnails/18.jpg)
eBay p2 Portal•High-level Site Operations
•Uses provided p2 applications
–3 Actions: Publish, Mirror, Composite
•Authentication & Authorization
•Roll-back Capability
•Extended Repository Operations
18p2 in action
![Page 19: p 2 in the Enterprise](https://reader035.vdocument.in/reader035/viewer/2022062411/56816934550346895de08d80/html5/thumbnails/19.jpg)
eBay p2 Portal
19p2 in action
MirrorPublish Composite
Create Delete
Synchronize
Recover
Authentication Authorization History REST API
Roll-back
Create
Repository Operations Site Operations
![Page 20: p 2 in the Enterprise](https://reader035.vdocument.in/reader035/viewer/2022062411/56816934550346895de08d80/html5/thumbnails/20.jpg)
p2 in action 20
Demo
![Page 21: p 2 in the Enterprise](https://reader035.vdocument.in/reader035/viewer/2022062411/56816934550346895de08d80/html5/thumbnails/21.jpg)
FUTURE
![Page 22: p 2 in the Enterprise](https://reader035.vdocument.in/reader035/viewer/2022062411/56816934550346895de08d80/html5/thumbnails/22.jpg)
22
Lessons Learned
•p2 API and documentation needs work
–Great docs for high level, concepts are clear
–Low level is difficult to understand relationships of objects
•Automate everything from checkin to publish!
•Use Tycho to Build
•Use Replication for your p2 Repositories
•Mirror external p2 repository internally
•Monitor your dependencies
•Give friendly error messages when dependencies are not available
future
![Page 23: p 2 in the Enterprise](https://reader035.vdocument.in/reader035/viewer/2022062411/56816934550346895de08d80/html5/thumbnails/23.jpg)
23
What’s Next?
•Open Source
–p2 Installer
–p2 Portal
•Online Profile Management
•eBay Marketplace
future
![Page 24: p 2 in the Enterprise](https://reader035.vdocument.in/reader035/viewer/2022062411/56816934550346895de08d80/html5/thumbnails/24.jpg)
24
Q & A
![Page 25: p 2 in the Enterprise](https://reader035.vdocument.in/reader035/viewer/2022062411/56816934550346895de08d80/html5/thumbnails/25.jpg)
Give Feedback on the Sessions
1 Sign In: www.eclipsecon.org
2 Select Session Evaluate
3 Vote