power of one automation through web services

14
Automic World 2015 November 2015 Automation through Web Services

Upload: automic-software

Post on 12-Apr-2017

406 views

Category:

Presentations & Public Speaking


0 download

TRANSCRIPT

Page 1: Power of ONE Automation through Web Services

Automic World 2015November 2015

Automation through Web Services

Page 2: Power of ONE Automation through Web Services

2 Property of Automic Software. All rights reserved

The Challenge of Keeping up with Change..

Distributed World Mutualized World

Orchestration Strategies:Command Line Interface

APIsBinary Calls

OS Commands & Scripts

Orchestration Strategies:Web Services

Page 3: Power of ONE Automation through Web Services

3 Property of Automic Software. All rights reserved

Using Web Services will become necessary

If…

You are leveraging any SaaS based solution today or planning it

You are adopting big data solutions (Cloudera, Hortonworks)

You are using Web Services in your internal development You are using any Software as a Service solution (Salesforce, Jira)

You are using Infrastructure as a Services (ex: Amazon EC2)

You are using Platform as a Service (ex: OpenShift, Cloud Foundry)

You are pulling Data from Partners, Entities, Customers etc.

Page 4: Power of ONE Automation through Web Services

4 Property of Automic Software. All rights reserved

What makes the Web Service Agent interesting

No Scripting Necessary

Support for Rest and SOAP Ability to parse and extract values from Responses Define Custom Variables Get Request and Response as Reports

Page 5: Power of ONE Automation through Web Services

5 Property of Automic Software. All rights reserved

Demo: Request Management & Ticketing

Open JIRA Ticket upon failure in Workflow Close JIRA Ticket from Job Recovery Add Comments to JIRA Ticket

Page 6: Power of ONE Automation through Web Services

6 Property of Automic Software. All rights reserved

Demo: Provisioning Servers

Dynamically Provision New Servers via Elastic Cloud Computing (EC2) Easily Identify Instances Automatically Run Maintenance and clean ups Dynamically Deprovision Servers

Page 7: Power of ONE Automation through Web Services

7 Property of Automic Software. All rights reserved

Web Service Connection – Object Definition

Handles Proxies Handles Authentication Contains the Endpoint (URI / WSDL) Handles Headers and Query Parameters (ex: Version of authentication method)

https://ec2.us-east-1.amazonaws.com/finance/?Version=2013-02-01&Action=DescribeInstances&InstanceId=&instanceid

Page 8: Power of ONE Automation through Web Services

8 Property of Automic Software. All rights reserved

Web Service - End Point & Curl

Page 9: Power of ONE Automation through Web Services

9 Property of Automic Software. All rights reserved

Web Service Request –Variable Query Parameters

Page 10: Power of ONE Automation through Web Services

10 Property of Automic Software. All rights reserved

Web Service Request – URL Query Parameters

Page 11: Power of ONE Automation through Web Services

11 Property of Automic Software. All rights reserved

Web Service Request – Data

Page 12: Power of ONE Automation through Web Services

12 Property of Automic Software. All rights reserved

Web Service Response – Parsing XML / JSON Responses

Page 13: Power of ONE Automation through Web Services

13 Property of Automic Software. All rights reserved

Best Practices

Use a proxy for better control

Install 2 Web Services Agents for High Availability

Put all Generic / Common parameters in Connection Objects Run tests with cURL when starting your implementation

“Variabilize” as much as possible

Page 14: Power of ONE Automation through Web Services

14 Property of Automic Software. All rights reserved

Q&A

Thank You!