Automating API Delivery

Automating API Delivery PDF Author: Ikenna Nwaiwu
Publisher: Simon and Schuster
ISBN: 1638355525
Category : Computers
Languages : en
Pages : 398

Get Book Here

Book Description
Improve speed, quality, AND cost by automating your API delivery process! Automating API Delivery shows you how to strike the perfect balance between speed and usability by applying DevOps automation principles to your API design and delivery process. It lays out a clear path to making both the organizational and technical changes you need to deliver high-quality APIs both rapidly and reliably. In Automating API Delivery you’ll learn how to: Enforce API design standards with linting Automate breaking-change checks to control design creep Ensure accuracy of API reference documents Centralize API definition consistency checks Automate API configuration deployment Conduct effective API design reviews Author Ikenna Nwaiwu provides comprehensive guidance on implementing APIOps in your organization. He carefully walks through the technical steps and introduces the essential open-source tools, with practical advice and insights from his years of experience. You’ll benefit from his personal tips for avoiding common pitfalls and challenges of moving to automated API delivery. Foreword by Melissa van der Hecht. About the technology Create high quality, consistent, and fast-to-market APIs by automating the development process! This innovative book shows you how to apply established Continuous Delivery and DevOps principles along the whole API lifecycle, transforming a collection of individual tasks into a smooth, manageable pipeline that supports automated testing, iterative improvement, and reliable documentation. About the book Automating API Delivery introduces the tools and strategies behind APIOps. You’ll discover tools and process improvements that give you important quick wins, including API governance using the Spectral API linter and establishing an efficient CI/CD pipeline with GitHub Actions. You’ll even discover how to use the powerful OpenAPI Generator to automatically create client and server code from your API definitions. What's inside Check for breaking changes with oasdiff Create SDKs using OpenAPI Generator Maintain accurate documentation with API conformance tests Deploy API gateway configuration with GitOps About the reader Experience building RESTful APIs required. About the author Ikenna Nwaiwu is Principal Consultant at Ikenna Consulting, specializing in automating API governance. The technical editor on this book was Marjukka Niinioja. Table of Contents 1 What is APIOps? 2 Leaning into APIOps: Problem-solving and leading improvements 3 API linting: Automating API consistency 4 Breaking change checks: Managing API evolution 5 API design review: Checking for what you cannot automate 6 API conformance: Generating code and API definitions 7 API conformance: Schema testing 8 CI/CD for API artifacts 1: Source-stage governance controls 9 CI/CD for API artifacts 2: Build-stage and API configuration deployment 10 More on API consistency: Custom linting and security checks 11 Monitoring and analytics: Measuring API product metrics Appendixes A Value stream mapping icons B Installing API linting and OpenAPI diff tools C Introduction to JSON Pointer D Tools for API conformance and analytics E Docker and Kubernetes

Automating API Delivery

Automating API Delivery PDF Author: Ikenna Nwaiwu
Publisher: Simon and Schuster
ISBN: 1638355525
Category : Computers
Languages : en
Pages : 398

Get Book Here

Book Description
Improve speed, quality, AND cost by automating your API delivery process! Automating API Delivery shows you how to strike the perfect balance between speed and usability by applying DevOps automation principles to your API design and delivery process. It lays out a clear path to making both the organizational and technical changes you need to deliver high-quality APIs both rapidly and reliably. In Automating API Delivery you’ll learn how to: Enforce API design standards with linting Automate breaking-change checks to control design creep Ensure accuracy of API reference documents Centralize API definition consistency checks Automate API configuration deployment Conduct effective API design reviews Author Ikenna Nwaiwu provides comprehensive guidance on implementing APIOps in your organization. He carefully walks through the technical steps and introduces the essential open-source tools, with practical advice and insights from his years of experience. You’ll benefit from his personal tips for avoiding common pitfalls and challenges of moving to automated API delivery. Foreword by Melissa van der Hecht. About the technology Create high quality, consistent, and fast-to-market APIs by automating the development process! This innovative book shows you how to apply established Continuous Delivery and DevOps principles along the whole API lifecycle, transforming a collection of individual tasks into a smooth, manageable pipeline that supports automated testing, iterative improvement, and reliable documentation. About the book Automating API Delivery introduces the tools and strategies behind APIOps. You’ll discover tools and process improvements that give you important quick wins, including API governance using the Spectral API linter and establishing an efficient CI/CD pipeline with GitHub Actions. You’ll even discover how to use the powerful OpenAPI Generator to automatically create client and server code from your API definitions. What's inside Check for breaking changes with oasdiff Create SDKs using OpenAPI Generator Maintain accurate documentation with API conformance tests Deploy API gateway configuration with GitOps About the reader Experience building RESTful APIs required. About the author Ikenna Nwaiwu is Principal Consultant at Ikenna Consulting, specializing in automating API governance. The technical editor on this book was Marjukka Niinioja. Table of Contents 1 What is APIOps? 2 Leaning into APIOps: Problem-solving and leading improvements 3 API linting: Automating API consistency 4 Breaking change checks: Managing API evolution 5 API design review: Checking for what you cannot automate 6 API conformance: Generating code and API definitions 7 API conformance: Schema testing 8 CI/CD for API artifacts 1: Source-stage governance controls 9 CI/CD for API artifacts 2: Build-stage and API configuration deployment 10 More on API consistency: Custom linting and security checks 11 Monitoring and analytics: Measuring API product metrics Appendixes A Value stream mapping icons B Installing API linting and OpenAPI diff tools C Introduction to JSON Pointer D Tools for API conformance and analytics E Docker and Kubernetes

Principles of Web API Design

Principles of Web API Design PDF Author: James Higginbotham
Publisher: Addison-Wesley Professional
ISBN: 0137355734
Category : Computers
Languages : en
Pages : 485

Get Book Here

Book Description
The Full-Lifecycle Guide to API Design Principles of Web API Design brings together principles and processes to help you succeed across the entire API design lifecycle. Drawing on extensive in-the-trenches experience, leading consultant James Higginbotham helps you align every stakeholder on specific outcomes, design APIs that deliver value, and scale the design process from small teams to the entire organization. Higginbotham helps you bring an "outside-in" perspective to API design to reflect the voices of customers and product teams, map requirements to specific and well-organized APIs, and choose the right API style for writing them. He walks through a real-world example from the ground up, offering guidance for anyone designing new APIs or extending existing APIs. Deliver great APIs by getting your design processes right Gain agreement on specific outcomes from design teams, customers, and other stakeholders Craft job stories, conduct EventStorming, and model capabilities Identify the right APIs, and organize operations into coherent API profiles Choose the best styles for each project: REST, gRPC, GraphQL, or event-based async APIs Refine designs based on feedback from documenters, testers, and customers Decompose APIs into microservices Mature your API program, implementing design and management processes that scale This guide is invaluable for anyone involved in planning or building APIs--architects, developers, team leaders, managers in single and multi-team environments, and any technical or business professional delivering "API-as-a-product" offerings. Register your book for convenient access to downloads, updates, and/or corrections as they become available. See inside book for details.

Automating and Testing a Rest API

Automating and Testing a Rest API PDF Author: Alan J. Richardson
Publisher:
ISBN: 9780956733290
Category :
Languages : en
Pages :

Get Book Here

Book Description
Have you ever wished that you had a worked example of how to test a REST API? Not just automate the API, but how to interact with it, using command line and GUI tools, to support your manual interactive testing. Then take your testing forward into automating the API? That's what this book provides. A step by step case study covering: - How to read the REST API documentation. - How to tell if the application is using the API. - How to interact with the API from the command line with cURL. - Automating with BASH and Windows Command Line. - Sending API requests through an HTTP Proxy so you can see in detail the requests and responses. - How to use HTTP Proxies to create data in the application through Fuzzing. - Postman REST API GUI tool. - Automate 'under the GUI' parts of the application that don't have an API. - Automate the API with Java using REST Assured. - Build abstraction code to make your automated efforts readable and maintainable. - JSON and XML parsing with Serialization and Deserialization. The book is fully supported by executable code which you can find on GitHub, and the support page for the book has sample videos showing some of the early steps in the case study in detail. By working through this case study you will be able to interact with an API from the command line, GUI tools, HTTP messages in Proxies and with Java code. Over the last few years, the Author has used the Open Source Tracks application as an example testing target to teach: Technical Web Testing, Automating GUIs and REST API Testing. This book collates the preparatory work and teaching from the REST API workshops. The code from the workshops is included: for creating users, generating random data, testing basic API calls with PUT, GET, POST and DELETE. Also the early steps of exploring and investigating the API interactively to support manual technical testing are explained in depth.

Testing Web APIs

Testing Web APIs PDF Author: Mark Winteringham
Publisher: Simon and Schuster
ISBN: 1638351538
Category : Computers
Languages : en
Pages : 262

Get Book Here

Book Description
Ensure your web APIs are consistent and bug-free by implementing an automated testing process. In Testing Web APIs you will: Design and implement a web API testing strategy Set up a test automation suite Learn contract testing with Pact Facilitate collaborative discussions to test web API designs Perform exploratory tests Experiment safely in a downloadable API sandbox environment Testing Web APIs teaches you to plan and implement the perfect testing strategy for your web APIs. In it, you’ll explore dozens of different testing activities to help you develop a custom testing regime for your projects. This practical book demystifies abstract strategic concepts by applying them to common API testing scenarios, revealing how these complex ideas work in the real world. You’ll learn to take a risk-driven approach to API testing, and build a strategy that goes beyond the basics of code and requirements coverage. Your whole team will soon be involved in ensuring quality! About the technology Web APIs are the public face of your application, and they need to be perfect. Implementing an automated testing program is the best way to ensure that your web APIs are production ready. About the book Testing Web APIs is a unique and practical guide, from the initial design of your testing suite through techniques for documentation, implementation, and delivery of consistently excellent APIs. You’ll see a wide range of testing techniques, from exploratory to live testing of production code, and how to save time with automation using industry-standard tools. This book helps take the hassle out of API testing. What's inside Design and implement a web API testing strategy Set up a test automation suite Contract testing with Pact Hands-on practice in the downloadable API sandbox About the reader For dedicated software QA and testers, or experienced developers. Examples in Java. About the author Mark Winteringham is the OpsBoss at Ministry of Testing, where he teaches many aspects of software testing. Table of Contents PART 1 THE VALUE OF WEB API TESTING 1 Why and how we test web APIs 2 Beginning our testing journey 3 Quality and risk PART 2 BEGINNING OUR TEST STRATEGY 4 Testing API designs 5 Exploratory testing APIs 6 Automating web API tests 7 Establishing and implementing a testing strategy PART 3 EXPANDING OUR TEST STRATEGY 8 Advanced web API automation 9 Contract testing 10 Performance testing 11 Security testing 12 Testing in production

Continuous Integration, Delivery, and Deployment

Continuous Integration, Delivery, and Deployment PDF Author: Sander Rossel
Publisher: Packt Publishing Ltd
ISBN: 1787284182
Category : Computers
Languages : en
Pages : 451

Get Book Here

Book Description
Getting started with the processes and the tools to continuously deliver high-quality software About This Book Incorporate popular development practices to prevent messy code Automate your build, integration, release, and deployment processes with Jenkins, Git, and Gulp?and learn how continuous integration (CI) can save you time and money Gain an end-to-end overview of Continuous Integration using different languages (JavaScript and C#) and tools (Gulp and Jenkins) Who This Book Is For This book is for developers who want to understand and implement Continuous Integration and Delivery in their daily work. A basic knowledge of at least JavaScript and HTML/CSS is required. Knowing C# and SQL will come in handy. Most programmers who have programmed in a (compiled) C-like language will be able to follow along. What You Will Learn Get to know all the aspects of Continuous Integration, Deployment, and Delivery Find out how Git can be used in a CI environment Set up browser tests using Karma and Selenium and unit tests using Jasmine Use Node.js, npm, and Gulp to automate tasks such as linting, testing, and minification Explore different Jenkins jobs to integrate with Node.js and C# projects Perform Continuous Delivery and Deployment using Jenkins Test and deliver a web API In Detail The challenge faced by many teams while implementing Continuous Deployment is that it requires the use of many tools and processes that all work together. Learning and implementing all these tools (correctly) takes a lot of time and effort, leading people to wonder whether it's really worth it. This book sets up a project to show you the different steps, processes, and tools in Continuous Deployment and the actual problems they solve. We start by introducing Continuous Integration (CI), deployment, and delivery as well as providing an overview of the tools used in CI. You'll then create a web app and see how Git can be used in a CI environment. Moving on, you'll explore unit testing using Jasmine and browser testing using Karma and Selenium for your app. You'll also find out how to automate tasks using Gulp and Jenkins. Next, you'll get acquainted with database integration for different platforms, such as MongoDB and PostgreSQL. Finally, you'll set up different Jenkins jobs to integrate with Node.js and C# projects, and Jenkins pipelines to make branching easier. By the end of the book, you'll have implemented Continuous Delivery and deployment from scratch. Style and approach This practical book takes a step-by-step approach to explaining all the concepts of Continuous Integration and delivery, and how it can help you deliver a high-quality product.

Shipping Go

Shipping Go PDF Author: Joel Holmes
Publisher: Simon and Schuster
ISBN: 1617299502
Category : Computers
Languages : en
Pages : 246

Get Book Here

Book Description
Build and upgrade an automated software delivery pipeline that supports containerization, integration testing, semantic versioning, automated deployment, and more. In Shipping Go you will learn how to: Develop better software based on feedback from customers Create a development pipeline that turns feedback into features Reduce bugs with pipeline automation that validates code before it is deployed Establish continuous testing for exceptional code quality Serverless, container-based, and server-based deployments Scale your deployment in a cost-effective way Deliver a culture of continuous improvement Shipping Go is a hands-on guide to shipping Go-based software. Author Joel Holmes shows you the easy way to set up development pipelines, fully illustrated with practical examples in the powerful Go language. You’ll put continuous delivery and continuous integration into action, and discover instantly useful guidance on automating your team’s build and reacting with agility to customer demands. Your new pipelines will ferry your projects through production and deployment, and also improve your testing, code quality, and production applications. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology An effective software delivery pipeline automates all stages, from initial design, through development, deployment, and ultimately the usage experience that feeds back into new features and releases. Go embraces the best practices of Continuous Delivery, and adds a few language-specific tools and twists of its own. About the Book Shipping Go shows you how to build Go-specific software development pipelines. You’ll have a basic CI/CD process up and running by the time you finish Chapter 3, along with an iterative process for designing, releasing, and revising your applications. Then, you’ll systematically upgrade your pipeline to support containerization, integration testing, semantic versioning, and automated deployment. A set of handy appendices help you translate these valuable practices to Kotlin, Python, and JavaScript applications. What’s Inside Create a development pipeline that turns feedback into features Automatically validate code before it is deployed Serverless, container-based, and server-based deployments Scale your deployment in a cost-effective way About the Reader For Go developers. About the Author Joel Holmes builds cloud native applications, helping to architect, design, and develop them. A Golang tech lead, Aliénor Latour was the technical editor for this book. Table of Contents PART 1 - STARTUP 1 Delivering value 2 Introducing continuous integration 3 Introducing continuous testing 4 Introducing continuous deployment PART 2 - SCALING 5 Code quality enforcement 6 Testing frameworks, mocking, and dependencies 7 Containerized deployment PART 3 - GOING PUBLIC 8 Configuration management and stable releases 9 Integration testing 10 Advanced deployment 11 The loop

API Testing and Development with Postman

API Testing and Development with Postman PDF Author: Dave Westerveld
Publisher: Packt Publishing Ltd
ISBN: 1800565739
Category : Computers
Languages : en
Pages : 341

Get Book Here

Book Description
Explore the world of APIs and learn how to integrate them with production-ready applications using Postman and the Newman CLI Key FeaturesLearn the tenets of effective API testing and API designGain an in-depth understanding of the various features Postman has to offerKnow when and how to use Postman for creating high-quality APIs for software and web appsBook Description Postman enables the exploration and testing of web APIs, helping testers and developers figure out how an API works. With Postman, you can create effective test automation for any APIs. If you want to put your knowledge of APIs to work quickly, this practical guide to using Postman will help you get started. The book provides a hands-on approach to learning the implementation and associated methodologies that will have you up and running with Postman in no time. Complete with step-by-step explanations of essential concepts, practical examples, and self-assessment questions, this book begins by taking you through the principles of effective API testing. A combination of theory coupled with real-world examples will help you learn how to use Postman to create well-designed, documented, and tested APIs. You'll then be able to try some hands-on projects that will teach you how to add test automation to an already existing API with Postman, and guide you in using Postman to create a well-designed API from scratch. By the end of this book, you'll be able to use Postman to set up and run API tests for any API that you are working with. What you will learnFind out what is involved in effective API testingUse data-driven testing in Postman to create scalable API testsUnderstand what a well-designed API looks likeBecome well-versed with API terminology, including the different types of APIsGet to grips with performing functional and non-functional testing of an APIDiscover how to use industry standards such as OpenAPI and mocking in PostmanWho this book is for The book is for software testing professionals and software developers looking to improve product and API quality through API test automation. You will find this book useful if understand APIs and want to build your skills for creating, testing, and documenting APIs. The book assumes beginner-level knowledge of JavaScript and API development.

Programming and Automating Cisco Networks

Programming and Automating Cisco Networks PDF Author: Ryan Tischer
Publisher: Cisco Press
ISBN: 0134436768
Category : Computers
Languages : en
Pages : 835

Get Book Here

Book Description
Improve operations and agility in any data center, campus, LAN, or WAN Today, the best way to stay in control of your network is to address devices programmatically and automate network interactions. In this book, Cisco experts Ryan Tischer and Jason Gooley show you how to do just that. You’ll learn how to use programmability and automation to solve business problems, reduce costs, promote agility and innovation, handle accelerating complexity, and add value in any data center, campus, LAN, or WAN. The authors show you how to create production solutions that run on or interact with Nexus NX-OS-based switches, Cisco ACI, Campus, and WAN technologies.You’ll learn how to use advanced Cisco tools together with industry-standard languages and platforms, including Python, JSON, and Linux. The authors demonstrate how to support dynamic application environments, tighten links between apps and infrastructure, and make DevOps work better. This book will be an indispensable resource for network and cloud designers, architects, DevOps engineers, security specialists, and every professional who wants to build or operate high-efficiency networks. Drive more value through programmability and automation, freeing resources for high-value innovation Move beyond error-prone, box-by-box network management Bridge management gaps arising from current operational models Write NX-OS software to run on, access, or extend your Nexus switch Master Cisco’s powerful on-box automation and operation tools Manage complex WANs with NetConf/Yang, ConfD, and Cisco SDN Controller Interact with and enhance Cisco Application Centric Infrastructure (ACI) Build self-service catalogs to accelerate application delivery Find resources for deepening your expertise in network automation

Scripting VMware Power Tools: Automating Virtual Infrastructure Administration

Scripting VMware Power Tools: Automating Virtual Infrastructure Administration PDF Author: Al Muller
Publisher: Syngress
ISBN: 9781597490597
Category : Computers
Languages : en
Pages : 422

Get Book Here

Book Description
This book contains simple and advanced scripting using both ESX and Linux commands to provide awesome virtual tools to automate administrative tasks of ESX Server. This book will cover the native tools that VMware provides with ESX Server. It will then discuss in detail the different scripting API's and how they can be leveraged to provide some very useful, practical and time saving tools to manage a virtual infrastructure. From virtual server provisioning to backups and everything in between, this book is a one stop shop for virtual tools. * An essential guide to virtualisation using both Linux and ESX commands * The companion Web site for book provides dozens for working scripts and tools presented in the book * Maximise VMware's powerful scripting language to automate time consuming administrative tasks

Site Reliability Engineering

Site Reliability Engineering PDF Author: Niall Richard Murphy
Publisher: "O'Reilly Media, Inc."
ISBN: 1491951176
Category :
Languages : en
Pages : 552

Get Book Here

Book Description
The overwhelming majority of a software system’s lifespan is spent in use, not in design or implementation. So, why does conventional wisdom insist that software engineers focus primarily on the design and development of large-scale computing systems? In this collection of essays and articles, key members of Google’s Site Reliability Team explain how and why their commitment to the entire lifecycle has enabled the company to successfully build, deploy, monitor, and maintain some of the largest software systems in the world. You’ll learn the principles and practices that enable Google engineers to make systems more scalable, reliable, and efficient—lessons directly applicable to your organization. This book is divided into four sections: Introduction—Learn what site reliability engineering is and why it differs from conventional IT industry practices Principles—Examine the patterns, behaviors, and areas of concern that influence the work of a site reliability engineer (SRE) Practices—Understand the theory and practice of an SRE’s day-to-day work: building and operating large distributed computing systems Management—Explore Google's best practices for training, communication, and meetings that your organization can use