Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
CA API Developer Portal:
Policy Writing for the Portal Using
Context Variables and Custom Fields
Jay Bagtas
Principal Soft...
5 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
© 2016 CA. All rights reserved. All trademarks referenced herein belong...
6 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
Abstract
CA API Management Policy flexibility is what allows customers ...
7 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
Agenda
INTRODUCTION
GATEWAY POLICY
Q&A
PORTAL POLICY TEMPLATES
PORTAL C...
8 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
Introduction
9 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
Policy Entities
Encapsulated
Assertion
Policy/Policy
Fragment
Assertion...
10 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
Policy Writing
 Turing-complete
 Supports branching, looping
 Exten...
11 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
Portal and the Gateway
 Portal allows publishing of APIs managed by t...
12 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
Example Policy Template/Encapsulated Assertion
13 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
Custom Fields
 Portal supports API & API Key custom fields
 Metadata...
14 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
Example API Custom Field/Service Properties
 Sub-head
15 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
Example Application Custom Field
16 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
Typical Use Cases
 Authentication
 Authorization
 Routing
 Rate li...
17 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
Let’s Do an Exercise
 Problem: Need to variably set quotas on specifi...
18 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
Demo
19 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
What Did We Do?
 Created an Policy Template/Encapsulated Assertion
 ...
20 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
Recommended Sessions
SESSION # TITLE DATE/TIME
DO3X51E 11/14/2016 at 2...
21 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
Must See Demos
Booth:
API Management SaaS
Developer Products Area Main...
22 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
Questions?
23 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
Thank you.
Stay connected at communities.ca.com
Upcoming SlideShare
Loading in …5
×

Pre-Con Ed: CA API Developer Portal: Policy Writing for the Portal Using the New Context Variables and API Key Custom Fields

374 views

Published on

Pre-Con Ed: CA API Developer Portal: Policy Writing for the Portal Using the New Context Variables and API Key Custom Fields

Published in: Technology
  • Get Your Ex Back Today, Relationship expert Justin Sinclair, shows you how with 3 easy steps. ♥♥♥ http://ow.ly/f23I301xGAo
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Pre-Con Ed: CA API Developer Portal: Policy Writing for the Portal Using the New Context Variables and API Key Custom Fields

  1. 1. CA API Developer Portal: Policy Writing for the Portal Using Context Variables and Custom Fields Jay Bagtas Principal Software Engineer CA Technologies DO3X40E DEVOPS
  2. 2. 5 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD © 2016 CA. All rights reserved. All trademarks referenced herein belong to their respective companies. The content provided in this CA World 2016 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. 3. 6 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Abstract CA API Management Policy flexibility is what allows customers to create solutions and modify them easily over time as your business changes. In this course, we will look at how to write Policy to leverage Context Variables, Custom Fields and Policy Templates to create solutions for real-world use cases. Jay Bagtas CA Technologies Principal Software Engineer
  4. 4. 7 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Agenda INTRODUCTION GATEWAY POLICY Q&A PORTAL POLICY TEMPLATES PORTAL CUSTOM FIELDS DEMO 1 2 3 4 5 6
  5. 5. 8 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Introduction
  6. 6. 9 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Policy Entities Encapsulated Assertion Policy/Policy Fragment Assertions Context Variables
  7. 7. 10 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Policy Writing  Turing-complete  Supports branching, looping  Extensible but comes with numerous Assertions  Easy to learn, hard to master
  8. 8. 11 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Portal and the Gateway  Portal allows publishing of APIs managed by the Gateway  Policy Templates and Custom Fields are Portal features that allow additional input into these APIs – Portal users define the what – Gateway admins define how input used at API runtime
  9. 9. 12 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Example Policy Template/Encapsulated Assertion
  10. 10. 13 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Custom Fields  Portal supports API & API Key custom fields  Metadata that can be added to an API & API Key  Custom Fields can be setup as text fields or single-select dropdowns  Custom Field values are specified at API & API Key creation
  11. 11. 14 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Example API Custom Field/Service Properties  Sub-head
  12. 12. 15 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Example Application Custom Field
  13. 13. 16 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Typical Use Cases  Authentication  Authorization  Routing  Rate limiting  API Protection  Metadata extension for APIs and Applications
  14. 14. 17 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Let’s Do an Exercise  Problem: Need to variably set quotas on specific HTTP Methods for an API  Problem part 2: Partners do not get access to certain HTTP methods for an API
  15. 15. 18 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Demo
  16. 16. 19 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD What Did We Do?  Created an Policy Template/Encapsulated Assertion  Exposed it to the Portal  Created an API that used it and an Application to consume it  Added a API Custom Field for additional control  Added an Application Custom Field for differentiated control
  17. 17. 20 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Recommended Sessions SESSION # TITLE DATE/TIME DO3X51E 11/14/2016 at 2:00 PM DO3T11T Tech Talk: CA API Gateway: Deploying Docker Container Gateways 11/16/2016 at 11:30 AM DO3T12T Tech Talk: SaaS Portal: Advantages of deploying your developer portal in SaaS vs an on-premises solution 11/16/2016 at 12:15 PM Pre-Con Ed: Workshop on Policy Creation, Management and Support for OAuth and OIDC
  18. 18. 21 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Must See Demos Booth: API Management SaaS Developer Products Area Main Show Floor CA API Developer Portal Developer Products Area Main Show Floor Booth:
  19. 19. 22 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Questions?
  20. 20. 23 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Thank you. Stay connected at communities.ca.com

×