27
Integrating Oracle Database Development into your CI Processes John Pocknell – Senior Product Manager [email protected]

Integrating Oracle Database Development into CI

  • Upload
    others

  • View
    8

  • Download
    0

Embed Size (px)

Citation preview

Microsoft PowerPoint - Integrating Oracle Database Development into CI.pptxIntegrating Oracle Database Development into your CI Processes John Pocknell – Senior Product Manager
[email protected]
• Customer Use Cases
5
Deployment
6
C o n t i n u o u s I n t e g r a t i o n
Automate Code Reviews
7
US East Coast – Financial Services company – 9000 developers in US and India
Customer Use Case #1
• Business requires shortened release cycles
• CTO team has to figure out how to accomplish that for their Oracle dev teams
without compromising quality, performance and scalability
• Already have over 1000 devs using Toad for Oracle
• Not doing any PL/SQL unit testing and code quality issues causing rework
• Application teams already using Jenkins with their VCS SVN moving to Git
• Currently using Toad Developer Edition + Toad Intelligence Central on a pilot project
8
Customer Use Case #2
• Some manual PL/SQL unit testing and code reviews but limited
• Project team setup to conduct POC and pilot project based on Toad and Toad
Intelligence Central
• Initial task to define all their PL/SQL unit tests using Toad for Oracle and
automate them so they can be callable as part of a build process
• Plan to use existing Jenkins CI server with SVN moving to Git
9
Customer Use Case #3
• DevOps engineer appointed to handle process transformation to DevOps
• Already have over 100’s of devs using Toad for Oracle
• Some manual PL/SQL unit testing but limited
• Need automated testing with PASS/FAIL reporting in Bamboo (Code & tests paired)
• Use Bamboo CI server with SVN and Git
• Deploying to hybrid cloud infrastructure
Demo
11
Why is this important?
• Ensures ongoing PL/SQL code/object integrity.
• Provides true collaborative development.
• Intuitive – enables you to work directly on DB objects without
worrying about checking-out/-in files.
environment for ensuring code changes/updates are consistent. Eliminates backdoor changes.
• VCS enabled – works with version control systems like Git,
Microsoft TFS, CVS, ClearCase, Perforce, and SVN.
• Productivity – seamlessly check-in and check- out objects
directly from within Toad.
• Policies – optionally force PL/SQL regression test executions and minimum code review standards prior to code check-in.
12
of tasks in a consistent view.
• Comprehensive – builds conditional logic into task workflows
• Centralization – automation Apps can be published and
stored on Toad Intelligence Central as standard artifacts and
shared across teams.
callable from a CI build process.
13
• Becomes part of Continuous Integration process.
Benefits:
• Intuitive and fast – enables you to think about code behavior
as you define your tests – test code is generated automatically. Simply run your code and create your tests.
• Persistent – all unit tests are preserved for the life of the
code, facilitating full regression test/code coverage reporting during ongoing code changes.
• VCS enabled – optionally require full regression test cycle
during code check-in.
Toad server are callable from a CI build process.
3) Automate PL/SQL unit testing with Toad Code Tester
14
Why is this important?
• Ensures consistent code quality standards are applied across an entire project.
• Becomes part of Continuous Integration process.
Benefits:
you to instantly see where code quality violations occur
as you code.
per project – rules can be customized.
• VCS enabled – optionally require minimum code
quality level during code check-in.
• CI integration – code review automations hosted on
Toad server are callable from a CI build process.
4) Automate code reviews with Toad Code Analysis
15
Why is this important?
• Provides a really simple way to tune poor SQL and PL/SQL before production.
• Cost of fixing in production can be exponentially
higher and very disruptive for business.
Benefits:
technology to directly fix the problem – not just offer
advice.
Management Packs.
• Advanced optimization – more advanced SQL
optimization capabilities such as indexing available
depending on developer’s experience and permissions.
5) Automate SQL tuning with Toad Auto Optimize SQL
16
• Helps companies achieve their goals of shortening release
cycles without compromising quality and performance.
Benefits:
• Collaboration – artifacts published on the server can be consumed by/enforced to users and groups working on
specific projects.
• Security – artifacts and folders can be assigned with the appropriate access rights.
• Automation – automation Apps created in Toad can be
executed directly on the server.
• Reporting – accessible by management via a web server.
• CI integration –automation Apps hosted on Toad
Intelligence Central are callable from a CI build process.
6) Support Continuous Integration processes with Toad and Toad Intelligence Central server
17
Why is this important?
• Ensures PL/SQL code is bug-free and meets quality requirements during build process.
• Reduces risk of unplanned dev cycles.
Benefits:
• Simplicity – automatically generated HTTP POST call for a
CI build process to access Toad automations on Toad Intelligence Central.
• Integrates with existing workflows– regression test and code reviews can be part of check-in process or build
process.
management via web server.
7) Using Toad as a part of Continuous Integration
e.g. curl --insecure --user root:toad -X POST https://10.95.33.14:8066/tic-automation/v1/tasks/870627d2/run -v -d ""
18
What’s Coming Next?
20
Important NDA Notices & Disclaimers Please note that these plans represent our intentions as of the date hereof, and our development plans and priorities are subject to change due to competitive factors, availability of resources and other matters common to software and hardware vendors.
Accordingly, we cannot offer any commitments or other forms of assurance that we will ultimately release any or all of the above-described products on the schedule or in the order described, or at all.
These general indications of development schedules or “product roadmaps” should not be interpreted or construed as any form of a commitment, and our customers’ rights to upgrades, updates, enhancements and other maintenance releases will be set forth only in the applicable software license or purchase agreement. This presentation is confidential and proprietary to Quest Software Inc. and must be protected as such in accordance with
applicable non-disclosure obligations. No part of this presentation may be reproduced or transmitted in any form or by any
means, electronic or mechanical, including photocopying and recording for any purpose without the written permission of
Quest Software Inc.
Leverage the power of Toad during
an automated build process by
providing access to Toad functions
via programmable objects.
Resources
24
• Exclusive freeware downloads
Use Toad World
• eBook – “DevOps for Oracle Databases”
• NEW! Toad Agile Cookbook – Part 1, Part 2, Part 3
• On-Demand webcast series – “It’s Time to get Agile – Part 1: Team Coding”
• On-Demand webcast series – “It’s Time to get Agile – Part 2: Code Dev & Reporting”
• On-Demand webcast series – “It’s Time to get Agile – Part 3: Remote Execute Unit Tests”
• White Paper – DevOps Comes to Database Developers and DBAs – It’s About Time
Resources on agile DB development using Toad
26
– DBA: Database Maintenance
– DBA: Performance Management
– DBA: Change Management
– What’s New in Toad for Oracle 2016
• Register during installation or on Toad World
• Includes a course completion certificate
Q & A