Вы находитесь на странице: 1из 13

Agenda

1 Demo Architecture
2 DRAFT Demo Services & Use Cases

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 2


Demo Architecture – Components

OAG OSB With:


Client App (Oracle API (Oracle Service • DB
Gateway Bus) • OSB Console

With:
• DB for Analytics
• OAG Policy Studio
• OAG Manager
• OAG Explorer
• OAG Analytics OAC With:
(Oracle API • DB
Catalog) • OAC Web Interface
• OAC Harvester for OSB

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 3


Demo Architecture – Users

OAG OSB Access From:


Client App (Oracle API (Oracle Service • Admin Users
Gateway Bus)

Access From: Access From:


• End-Users: • Admin Users
• James Cooper
• UserName=jcooper (NOTE: End-Users of Client
• Password=welcome1 App are stored in local OAG
• John Stein User Store with Username OAC Access From:
• UserName=jstein and Password, that are (Oracle API • Admin Users
• Password=welcome1 verified when they access to Catalog) • Curator Users (that
Authenticated services) harvest and publish API)
• Developers Users (that
search, review, rate API)

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 4


Agenda
1 DRAFT Demo Architecture
2 Demo Services & Use Cases

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 5


DRAFT Demo Fake Services
• 3 Fake Services exposed by OSB:
– Service 1 (SOAP) Name = ‘Unicredit Stock Value’
– Service 2 (REST) Name = ‘Unicredit Fund Value’
– Service 3 (REST) Name = ‘Buy Unicredit Fund’

NOTE: Please see next slides for details.

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 6


DRAFT Demo Fake Services – Details
• 3 Fake Services exposed by OSB:
– Service 1 (SOAP) Name = ‘Unicredit Stock Value’
• Not Authenticated Access
• No Input
• Output: It returns the value of Unicredit Stock on Stock Market (static fixed value=5,64 Euro)
• Example:
– User James Cooper or John Stein clicks on ‘Unicredit Stock Value’ link;
– If throttling threshould is not reached, a text message is presented: ‘The value of Unicredit Stock is
5,64 Euro.’
– If throttling threshould is reached, a text message is presented: ‘Max number of requests has been
reached, please try later.’

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 7


DRAFT Demo Fake Services – Details
• 3 Fake Services exposed by OSB:
– Service 2 (REST) Name = ‘Unicredit Fund Value’
• Not Authenticated Access
• Input parameter: ‘Eurostoxx50’ or ‘Pioneer’
– NOTE: Fund name in Input can be inserted using radio button or similar solution.
• Output: It returns the value of the Unicredit Fund in Input (static fixed values: Eurostoxx50=3.397,35
Euro and Pioneer=11,12 Euro (2 decimal digit))
• Example:
– User James Cooper or John Stein clicks on ‘Unicredit Fund Value’ link;
– 1 input field is presented to the user, e.g. with 2 radio buttons that the user can select:
• If he selects the Eurostoxx50 radio button, the message presented is ‘The value of Unicredit Fund
Eurostoxx50 is 3.397,35 Euro.’
• If he selects the Pioneer radio button, a text message is presented: ‘The value of Unicredit Fund
Pioneer is 11,12 Euro.’

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 8


DRAFT Demo Fake Services – Details
• 3 Fake Services exposed by OSB:
– Service 3 (REST) Name = ‘Buy Unicredit Fund’
• Authenticated Access (End-User is requested to Authenticate with Username and Password)
• Input parameter: (X=‘Eurostoxx50’ or ‘Pioneer’) and Y=Amount (Euro) (for OSB also Username is an
input)
– NOTE: Fund name in Input can be inserted using radio buttons or similar solution; Euro amount in
Input can be inserted in a text or numeric field.
• Output: It returns the message ‘Dear “Username”, the request to buy fund “X” for amount “Y” has
been processed.’
• Example:
– User James Cooper clicks on ‘Buy Unicredit Fund’ link;
– He is requested to authenticate with username and password and he inserts jcooper and welcome1;
– 2 input fields are presented to the user: he selects the Pioneer radio button and inserts an amount
of 8.000,00 Euro;
– A text message is presented: ‘Dear jcooper, the request to buy fund Pioneer for amount 8.000,00
has been processed.’
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 9
DRAFT Demo Use Cases – Run-Time Use Cases (OAG and OSB)
• Run-Time Use Cases (End-Users access services with Client App and OAG
applies controls):
– RT Use Case 1: Protocol/Data Conversion for Service 1
– RT Use Case 2: User Authentication for access to Service 3
– RT Use Case 3: Throttling for Service 1
– RT Use Case 4: Caching for Service 2

NOTE: Please see next slides for details.

• Admin OAG Use Case:


• Policies review on OAG Policy Studio
• Traffic analysis on OAG Analytics
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 10
DRAFT Demo Use Cases – Run-Time Use Cases (OAG and OSB) – 1
• Run-Time Use Cases (End-Users access services with Client App and OAG
applies controls):
– RT Use Case 1: Protocol/Data Conversion for Service 1
• An OAG policy has to be defined to implement Protocol Conversion for Service 1 (OSB exposes a
SOAP/XML WebService and OAG virtualizes it as a REST/JSON service);
• [We will show to the customer that also OSB can expose a REST service, e.g. Service 2]
– RT Use Case 2: User Authentication for access to Service 3
• An OAG policy has to be defined to implement User Authentication for Service 3 with simple local
User Authentication based on Username and Password

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 11


DRAFT Demo Use Cases – Run-Time Use Cases (OAG and OSB) – 2
• Run-Time Use Cases (End-Users access services with Client App and OAG
applies controls):
– RT Use Case 3: Throttling for Service 1:
• An OAG policy has to be defined to implement Throttling for access to Service 1 (Warning Message
generated if max number of Service calls per timeframe (e.g. 5 calls per 10 sec) is reached)
• [Throttling flag enabled on OSB for access to Service 1 (only to show during the demo how to
configure throttling also on OSB: Maximum Concurrency set to ‘5’, Throttling Queue set to ‘10’,
Message Expiration set to ‘5’ Minutes)]
– RT Use Case 4: Caching for Service 2:
• An OAG policy has to be defined to implement Caching for access to Service 2 (if Unicredit Fund Value
is in cache, take it from the cache else call service on OSB)
• [Enable ‘Result Caching’ flag on OSB having Expiration Time Duration set to ‘1 Day’ for access to
Service 1 (only to show during the demo how to configure Caching also on OSB)]

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 12