SlideShare ist ein Scribd-Unternehmen logo
1 von 24
Introduction to Oracle PBC REST API With Groovy
Scripting
Dayalan Punniyamoorthy
31st May 2018
22
WHO WE ARE
Providing exceptional quality and value, while imparting a customer-focused approach.
Vertical Edge Consulting Group is your trusted partner for business consulting and technology solutions, ensuring reliability and scalability for your growing company.
2010
Year Founded
35
Employees
3
National Practices
2
Locations
1
Inspired Vision for Success
Our Company
Exceptional values, passion for
success, and dedicated commitment
drive our success.
 Oracle Platinum Partner
 Consultants average 12-15 years of
industry and Big 4 consulting experience
 Technology focus on EPM, BI and Cloud
solutions, integrating with leading Tier 1
and 2 ERP systems
 IT Strategy & Advisory Practice with CIO
and Fortune 500 leadership experience
 In-depth understanding of Cloud
Technology & Solutions, driving today’s
strategic technology decisions
 Strong dedication to customer success
and uncompromising values
33
OUR SERVICES
Technology
Enterprise Performance
Management (EPM)
- Oracle Hyperion Financial Management
- Oracle Hyperion Planning
- Oracle Hyperion Planning & Budgeting
Cloud Service (PBCS)
- Oracle Hyperion Essbase
- Oracle Hyperion FDM/FDMEE
- Oracle Hyperion DRM
- Oracle Hyperion Reporting & Analysis
- Oracle Hyperion SmartView
Business Intelligence (BI)
- Oracle Business Intelligence Enterprise
Edition (OBIEE)
- Oracle Business Intelligence Foundation
Suite (BIFS)
- Oracle Business Intelligence Cloud Service
(BICS)
- Oracle Business Intelligence for
Applications (OBIA)
Advisory Services
- CIO Advisory
- IT Strategy
- Cloud Advisory
- Project Management Oversight (PMO)
- Enterprise Resource Planning Advisory
(ERP)
- Enterprise Architecture
Trusted Advisory
Technology Expertise
44
ORACLE EPM EXPERIENCE
 Oracle® Certified Platinum Partner
 One of the nation’s leading Oracle EPM strategy & implementation firms
 Successfully implemented Oracle EPM solutions for dozens of clients in the US, and abroad
 Oracle EPM professional average 15 years of hands-on experience
 Focused on Fortune 500 companies & large scale, enterprise-wide implementations
 Deep expertise from process design to technology implementation
 Proven functional and industry templates to leverage best practices
 Hyperion Essbase, Planning and HFM certified professionals
Enterprise Planning
& Forecasting
•Planning, Budget & Forecasting
•Workforce & Capital Expenditure
Planning
•Planning System Design &
Implementation
•Balanced Scorecard
•Hyperion Planning™, Workforce
Planning™, Capital Expense
Planning™
Financial
Consolidation
•Financial Close Process Design
•Consolidation System Design &
Implementation
•Financial Reporting & Analysis
•Financial Management™, Financial
Data Quality Management™
Reporting &
Analytics
•Management Dashboards
•Profitability Analysis
•Human Resource Analysis
•Sales & Procurement Analytics
•Essbase™ Solutions, SmartView™,
and reporting tools
Business
Intelligence
•Data Management & Integration
•Content Management
•BI Enterprise Edition™, Data
Relationship Management™ and
integration tools
Agenda for Today!
• Overview of REST API and Groovy Program
 REST API for Oracle PBC/EPC
 A Simple REST API request & response
 Authentication into Oracle PBC/EPC
 REST API Methods
 REST API Resource View
• Lifecycle Management
• Planning
• Interop
• Data Management
• Introduction to Groovy
• Managing & administering Hyperion Application using Groovy program to invoke the REST API related to
Oracle PBC/EPC
• Managing & administering Migration using Groovy program to invoke the REST API related to Oracle
PBC/EPC Migration
• Managing & administering Data Management jobs using Groovy program to invoke the REST API related to
Oracle PBC/EPC Data Management
• Demo
Overview of REST API
 REpresentational State Transfer (REST)
 An architecture for client-server web communication
 Application Programming lnterface (API)
 Lets products and services communicate with each other
 REST describes any simple interface that transmits data over a standardized interface (such as HTTP).
 REST provides a set of design rules for creating stateless services that are viewed as resources can be
identified by their unique Uniform Resource Identifier (URIs).
REST API for Oracle PBC/EPBC
 You can integrate EPM Cloud environments using:
oA set of REST APIs
oThe EPM Automate Utility, a command line tool that is implemented on top of the
REST APIs
 Audience
The REST API for Oracle PBC/EPC is intended primarily as a tool for
infrastructure consultants and administrators
 Prerequisites
o Access as a service administrator to the cloud service
o Technical and functional knowledge to understand and execute the EPM
Automate & REST APIs, and to administer the product.
o Knowledge of Java, cURL, Groovy, and REST programming.
A Simple REST API request & response
https://vecghypdemo-
test.PBCS.us2.oraclecloud.com/HyperionPlanning/rest/v3/ap
plications
Request
JSON
Response
Authentication into Oracle PBC/EPBC
 These REST APIs support basic authentication (name and password) in the
format identitydomain.username for this release.
 Every HTTP request to EPM Cloud should supply HTTP Basic Authentication
credentials through the Authorization header.
REST API Methods
 You can create, view, update, or delete Oracle Enterprise Performance Management
Cloud resources using standard HTTP method requests
• GET Retrieve information about the REST API resource (e.g.: Retrieve Job Status Details)
• POST Create a REST API resource (e.g.: Execute a Job)
• PUT Update a REST API resource (e.g.: Setting Daily maintenance Window Time)
• DELETE Delete a REST API resource or related component (e.g.: Delete Files)
REST API Resource View – Oracle PBC (Some of them not all  )
REST Resource -/interop/rest/
REST API version {api_version} for Lifecycle
Management is 11.1.2.3.600.
Request More Information
/interop/rest/ GET Get REST API Versions for Migration
/interop/rest/{api_version} GET Get Information about a Specific Version
of Migration
/interop/rest/{api_version}/applicationsnapshots/
{SnapshotName}/contents
GET Download
/interop/rest/{api_version}/Applicationsnapshots GET List Files
/interop/rest/{api_version}/applicationsnapshots/
{nSnapshotName}
DELETE Delete Files
/interop/rest/{api_version}/services GET Get Information About All Services
REST API Resource View – Oracle PBC (Some of them not all  )
REST Resource -/HyperionPlanning/rest/
Current REST API {api_version} version for Planning is
v3.
Request More Information
/HyperionPlanning/rest/ GET Getting REST API Versions for Planning
/HyperionPlanning/rest/{api_version} GET Get Information about a Specific REST
API Version for Planning
/HyperionPlanning/rest/{api_version}/applications/{app}/jobd
efinitions
GET Get Job Definitions
/HyperionPlanning/rest/{api_version}/applications/{app}/dime
nsions/{dimname}/members
POST Add Member
/HyperionPlanning/rest/{api_version}/applications/{applicatio
n}/subvar
GET Get All Substitution Variables Defined for
the
Application
/HyperionPlanning/rest/{api_version}/applications/{applicatio
n}/plantypes/{plantype}/subvar
GET Get Substitution Variables Defined at the
Plan
Type Level
REST Resource -//interop/rest/
REST API version {api_version} is v1 (interop)
REST API version {api_version} is V1 (aif)
Request More Information
/interop/rest/{api_version}/reports?
q={type:userauditreport,fileName:useraudit.csv,since=2015-
12-10,until=2016-06-10}/interop/rest/{api_version}
POST User Audit Report
/interop/rest/{api_version}/reports?q={type:provisionreport,fil
eName:ProvRep.csv} POST
User Provisioning Report
/interop/rest/{api_version}/dailymaintenance?StartTime={N}
PUT
Setting the Daily Maintenance Window
Time
/aif/rest/{api_version}
/aif/rest/{api_version}/jobs
GET
GET
Get Information about a Specific API
Version for Data Management APIs
Running Data Rules
REST API Resource View – Oracle PBC (Some of them not all  )
What is Groovy?
 Apache Groovy is a powerful, optionally typed and dynamic language, with static-typing and static
compilation capabilities, for the Java platform aimed at improving developer productivity thanks to a
concise, familiar and easy to learn syntax.
 It integrates smoothly with any Java program, and immediately delivers to your application powerful features,
including scripting capabilities, Domain-Specific Language authoring, runtime and compile-time meta-
programming and functional programming.
Install groovy from http://groovy-lang.org/download.html
Default install location "C:Program Files (x86)GroovyGroovy-2.4.7bin“
A Simple Groovy Program to access Oracle PBC/EPC
REST API//Importing JSON package for JSONObject & JsonSlurper
import org.json.JSONObject
import groovy.json.JsonSlurper
//Modify as needed before executing
apiVersion="v3"
appName="EPBCS"
//Reading the Values from the Properties File
Properties props = new Properties()
File propsFile = new File('C:/Users/DPunniamoorthy/Documents/RESTAPI-
Webinar/Groovy/PBCSDetails.properties')
props.load(propsFile.newDataInputStream())
serverUrl=props.getProperty('serverUrl')
domain=props.getProperty('domain')
username=props.getProperty('username')
password=props.getProperty('password')
// Setup User Credentials and Authorization Header
userCredentials = domain + "." + username + ":" + password
basicAuth = "Basic " + javax.xml.bind.DatatypeConverter.printBase64Binary(userCredentials.getBytes())
// Setup User Credentials and Authorization Header
userCredentials = domain + "." + username + ":" + password
basicAuth = "Basic " + javax.xml.bind.DatatypeConverter.printBase64Binary(userCredentials.getBytes())
println ('*****Starting of REST API Program******');
// Fetch Response Function
def fetchResponse(is) {
BufferedReader br = new BufferedReader(new InputStreamReader(is));
StringBuilder sb = new StringBuilder();
String line;
while ((line = br.readLine()) != null) {
sb.append(line+"n");
}
br.close();
return sb.toString();
}
// Execute Request Function for Authentication & Authorization
def executeRequest(url, requestType, payload, contentType) {
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
connection.setDoOutput(true); connection.setUseCaches(false);
connection.setDoInput(true); connection.setRequestMethod(requestType);
connection.setRequestProperty("Content-Type", contentType);
connection.setRequestProperty("Authorization", basicAuth);
if (payload != null) { OutputStreamWriter writer = new
OutputStreamWriter(connection.getOutputStream()); writer.write(payload);
writer.flush();
} int statusCode try { statusCode = connection.responseCode;
} catch (all) { println "Error connecting to the URL"
System.exit(0); } def response if (statusCode == 200 || statusCode == 201) {
if (connection.getContentType() != null &&
!connection.getContentType().startsWith("application/json")) {
println "Error occurred in server" InputStream is = connection.getInputStream();
if (is != null) response = fetchResponse(is) } else { println "Error
occurred while executing request" println "Response error code : " + statusCode
InputStream is = connection.getErrorStream(); if (is != null &&
connection.getContentType() != null && connection.getContentType().startsWith("application/json"))
println fetchJobStatusFromResponse(fetchResponse(is))
} connection.disconnect(); return response;}
//Function to get the Application Details
def getApplications() {
def url;try {url = new URL(serverUrl + "/HyperionPlanning/rest/" + apiVersion + "/applications/")
} catch (MalformedURLException e) {
println "Malformed URL. Please pass valid URL“ System.exit(0);
}response = executeRequest(url, "GET", null, "application/x-www-form-urlencoded");
def object = new JsonSlurper().parseText(response)
def status = object.status
def items = object.items
println "Application Details:"
println "******************"
items.each{
println "Application Name : " +items. name
println "Application Supports decision packages : " + items.dpEnabled
println "Is it Unicode : " + items.unicode
println "Applciation Storage : " + items.appStorage
println "Product Type : " + items.type
if (object.details != null)
println "Error details: " + object.details
} }
getApplications();
println('*********End of REST API Program******');
Demo - Groovy + REST API for Planning
Demo - Groovy + REST API for Migration
Demo - Groovy + REST API for Data Management
dayalanp@verticaledgecg.com
www.verticaledgecg.com
https://onlyhyperion.blogspot.in/
@pdayalan
https://www.linkedin.com/in/dayalanpunniyamoorthy/

Weitere ähnliche Inhalte

Was ist angesagt?

Con8442 fusion functional setup manager
Con8442 fusion functional setup managerCon8442 fusion functional setup manager
Con8442 fusion functional setup managerBerry Clemens
 
OOW09 Integration Architecture EBS R12
OOW09 Integration Architecture  EBS R12OOW09 Integration Architecture  EBS R12
OOW09 Integration Architecture EBS R12jucaab
 
Implementing cloud applications redefine your dimension
Implementing cloud applications   redefine your dimensionImplementing cloud applications   redefine your dimension
Implementing cloud applications redefine your dimensionaioughydchapter
 
Con9437 ad ffor_ebs and mobile
Con9437 ad ffor_ebs and mobileCon9437 ad ffor_ebs and mobile
Con9437 ad ffor_ebs and mobileBerry Clemens
 
Oracle OpenWorld 2011 - Oracle Application Express within the Oracle SOA Suite
Oracle OpenWorld 2011 - Oracle Application Express within the Oracle SOA SuiteOracle OpenWorld 2011 - Oracle Application Express within the Oracle SOA Suite
Oracle OpenWorld 2011 - Oracle Application Express within the Oracle SOA SuiteDouwe Pieter van den Bos
 
Con8289 r12 maintenance tips heisler heisler-con8289
Con8289 r12 maintenance tips heisler heisler-con8289Con8289 r12 maintenance tips heisler heisler-con8289
Con8289 r12 maintenance tips heisler heisler-con8289Berry Clemens
 
Rightsizing oracle-upgrade-to-ebs-r12
Rightsizing oracle-upgrade-to-ebs-r12Rightsizing oracle-upgrade-to-ebs-r12
Rightsizing oracle-upgrade-to-ebs-r12Ranjit B
 
Implementing Data Caching and Data Synching Using Oracle MAF
Implementing Data Caching and Data Synching Using Oracle MAFImplementing Data Caching and Data Synching Using Oracle MAF
Implementing Data Caching and Data Synching Using Oracle MAFSteven Davelaar
 
Demystifying Oracle Cloud ERP Financials
Demystifying Oracle Cloud ERP FinancialsDemystifying Oracle Cloud ERP Financials
Demystifying Oracle Cloud ERP FinancialsPerficient, Inc.
 
JiveWorld 2013 Developer Review - Atlassian JIRA in Jive 7 Integration - Purp...
JiveWorld 2013 Developer Review - Atlassian JIRA in Jive 7 Integration - Purp...JiveWorld 2013 Developer Review - Atlassian JIRA in Jive 7 Integration - Purp...
JiveWorld 2013 Developer Review - Atlassian JIRA in Jive 7 Integration - Purp...AppFusions
 
Oracle SOA, AIA & Fusion Apps
Oracle SOA, AIA & Fusion AppsOracle SOA, AIA & Fusion Apps
Oracle SOA, AIA & Fusion AppsPhil Wilkins
 
Role of DBAs in CLOUD ERA - AIOUG Hyd Chapter - Oracle Cloud Day
Role of DBAs in CLOUD ERA - AIOUG Hyd Chapter - Oracle Cloud DayRole of DBAs in CLOUD ERA - AIOUG Hyd Chapter - Oracle Cloud Day
Role of DBAs in CLOUD ERA - AIOUG Hyd Chapter - Oracle Cloud Dayaioughydchapter
 
Shampur_E-Business Suite Mobile Applications Deployment
Shampur_E-Business Suite Mobile Applications DeploymentShampur_E-Business Suite Mobile Applications Deployment
Shampur_E-Business Suite Mobile Applications DeploymentDivya Shampur
 
Implementing Cloud Financials
Implementing Cloud FinancialsImplementing Cloud Financials
Implementing Cloud FinancialsNERUG
 
Con11257 schifano con11257-best practices for deploying highly scalable virtu...
Con11257 schifano con11257-best practices for deploying highly scalable virtu...Con11257 schifano con11257-best practices for deploying highly scalable virtu...
Con11257 schifano con11257-best practices for deploying highly scalable virtu...Berry Clemens
 
Oracle analytics cloud overview feb 2017
Oracle analytics cloud overview   feb 2017Oracle analytics cloud overview   feb 2017
Oracle analytics cloud overview feb 2017aioughydchapter
 
OOW15 - Oracle E-Business Suite Technology: Latest Features and Roadmap
OOW15 - Oracle E-Business Suite Technology: Latest Features and RoadmapOOW15 - Oracle E-Business Suite Technology: Latest Features and Roadmap
OOW15 - Oracle E-Business Suite Technology: Latest Features and Roadmapvasuballa
 
ADF Mobile: Implementing Data Caching and Synching
ADF Mobile: Implementing Data Caching and SynchingADF Mobile: Implementing Data Caching and Synching
ADF Mobile: Implementing Data Caching and SynchingSteven Davelaar
 
Data Entitlement in an API-Centric Architecture
Data Entitlement in an API-Centric ArchitectureData Entitlement in an API-Centric Architecture
Data Entitlement in an API-Centric ArchitectureWSO2
 

Was ist angesagt? (20)

Con8442 fusion functional setup manager
Con8442 fusion functional setup managerCon8442 fusion functional setup manager
Con8442 fusion functional setup manager
 
OOW09 Integration Architecture EBS R12
OOW09 Integration Architecture  EBS R12OOW09 Integration Architecture  EBS R12
OOW09 Integration Architecture EBS R12
 
Implementing cloud applications redefine your dimension
Implementing cloud applications   redefine your dimensionImplementing cloud applications   redefine your dimension
Implementing cloud applications redefine your dimension
 
Con9437 ad ffor_ebs and mobile
Con9437 ad ffor_ebs and mobileCon9437 ad ffor_ebs and mobile
Con9437 ad ffor_ebs and mobile
 
Oracle OpenWorld 2011 - Oracle Application Express within the Oracle SOA Suite
Oracle OpenWorld 2011 - Oracle Application Express within the Oracle SOA SuiteOracle OpenWorld 2011 - Oracle Application Express within the Oracle SOA Suite
Oracle OpenWorld 2011 - Oracle Application Express within the Oracle SOA Suite
 
Con8289 r12 maintenance tips heisler heisler-con8289
Con8289 r12 maintenance tips heisler heisler-con8289Con8289 r12 maintenance tips heisler heisler-con8289
Con8289 r12 maintenance tips heisler heisler-con8289
 
Rightsizing oracle-upgrade-to-ebs-r12
Rightsizing oracle-upgrade-to-ebs-r12Rightsizing oracle-upgrade-to-ebs-r12
Rightsizing oracle-upgrade-to-ebs-r12
 
Implementing Data Caching and Data Synching Using Oracle MAF
Implementing Data Caching and Data Synching Using Oracle MAFImplementing Data Caching and Data Synching Using Oracle MAF
Implementing Data Caching and Data Synching Using Oracle MAF
 
Demystifying Oracle Cloud ERP Financials
Demystifying Oracle Cloud ERP FinancialsDemystifying Oracle Cloud ERP Financials
Demystifying Oracle Cloud ERP Financials
 
JiveWorld 2013 Developer Review - Atlassian JIRA in Jive 7 Integration - Purp...
JiveWorld 2013 Developer Review - Atlassian JIRA in Jive 7 Integration - Purp...JiveWorld 2013 Developer Review - Atlassian JIRA in Jive 7 Integration - Purp...
JiveWorld 2013 Developer Review - Atlassian JIRA in Jive 7 Integration - Purp...
 
Oracle SOA, AIA & Fusion Apps
Oracle SOA, AIA & Fusion AppsOracle SOA, AIA & Fusion Apps
Oracle SOA, AIA & Fusion Apps
 
Role of DBAs in CLOUD ERA - AIOUG Hyd Chapter - Oracle Cloud Day
Role of DBAs in CLOUD ERA - AIOUG Hyd Chapter - Oracle Cloud DayRole of DBAs in CLOUD ERA - AIOUG Hyd Chapter - Oracle Cloud Day
Role of DBAs in CLOUD ERA - AIOUG Hyd Chapter - Oracle Cloud Day
 
Shampur_E-Business Suite Mobile Applications Deployment
Shampur_E-Business Suite Mobile Applications DeploymentShampur_E-Business Suite Mobile Applications Deployment
Shampur_E-Business Suite Mobile Applications Deployment
 
Implementing Cloud Financials
Implementing Cloud FinancialsImplementing Cloud Financials
Implementing Cloud Financials
 
Oracle mobile cloud service
Oracle mobile cloud serviceOracle mobile cloud service
Oracle mobile cloud service
 
Con11257 schifano con11257-best practices for deploying highly scalable virtu...
Con11257 schifano con11257-best practices for deploying highly scalable virtu...Con11257 schifano con11257-best practices for deploying highly scalable virtu...
Con11257 schifano con11257-best practices for deploying highly scalable virtu...
 
Oracle analytics cloud overview feb 2017
Oracle analytics cloud overview   feb 2017Oracle analytics cloud overview   feb 2017
Oracle analytics cloud overview feb 2017
 
OOW15 - Oracle E-Business Suite Technology: Latest Features and Roadmap
OOW15 - Oracle E-Business Suite Technology: Latest Features and RoadmapOOW15 - Oracle E-Business Suite Technology: Latest Features and Roadmap
OOW15 - Oracle E-Business Suite Technology: Latest Features and Roadmap
 
ADF Mobile: Implementing Data Caching and Synching
ADF Mobile: Implementing Data Caching and SynchingADF Mobile: Implementing Data Caching and Synching
ADF Mobile: Implementing Data Caching and Synching
 
Data Entitlement in an API-Centric Architecture
Data Entitlement in an API-Centric ArchitectureData Entitlement in an API-Centric Architecture
Data Entitlement in an API-Centric Architecture
 

Ähnlich wie Collaborate 18 presentation by Dayalan Punniyamoorthy

Our API Evolution: From Metadata to Tooling API for Building Incredible Apps
Our API Evolution: From Metadata to Tooling API for Building Incredible AppsOur API Evolution: From Metadata to Tooling API for Building Incredible Apps
Our API Evolution: From Metadata to Tooling API for Building Incredible AppsDreamforce
 
profecia links company profile
profecia links company profileprofecia links company profile
profecia links company profilePratik Batra
 
Rapidly Deploy Budgeting and Forecasting with Oracle and Perficient
Rapidly Deploy Budgeting and Forecasting with Oracle and PerficientRapidly Deploy Budgeting and Forecasting with Oracle and Perficient
Rapidly Deploy Budgeting and Forecasting with Oracle and PerficientPerficient, Inc.
 
B7 api management_enabling_digital_transformation
B7 api management_enabling_digital_transformationB7 api management_enabling_digital_transformation
B7 api management_enabling_digital_transformationDr. Wilfred Lin (Ph.D.)
 
Reducing the Risks of Migrating Off Oracle
Reducing the Risks of Migrating Off OracleReducing the Risks of Migrating Off Oracle
Reducing the Risks of Migrating Off OracleEDB
 
Enterprise API New Features and Roadmap
Enterprise API New Features and RoadmapEnterprise API New Features and Roadmap
Enterprise API New Features and RoadmapSalesforce Developers
 
Oracle EPM BI Overview
Oracle EPM BI OverviewOracle EPM BI Overview
Oracle EPM BI Overviewcglylesu
 
API Platform Cloud Service best practice - OOW17
API Platform Cloud Service best practice - OOW17API Platform Cloud Service best practice - OOW17
API Platform Cloud Service best practice - OOW17Phil Wilkins
 
Creating Interactive Olap Applications With My Sql Enterprise And Mondrian Pr...
Creating Interactive Olap Applications With My Sql Enterprise And Mondrian Pr...Creating Interactive Olap Applications With My Sql Enterprise And Mondrian Pr...
Creating Interactive Olap Applications With My Sql Enterprise And Mondrian Pr...Indus Khaitan
 
SAUG Summit 2009 - Session 9 SAP Solution Architect
SAUG Summit 2009 - Session 9 SAP Solution ArchitectSAUG Summit 2009 - Session 9 SAP Solution Architect
SAUG Summit 2009 - Session 9 SAP Solution ArchitectPhil Gleadhill
 
IEEE-SCCPresentation.290214544
IEEE-SCCPresentation.290214544IEEE-SCCPresentation.290214544
IEEE-SCCPresentation.290214544ypai
 
SAP Cloud Platform API Management Technical Brief
SAP Cloud Platform API Management Technical BriefSAP Cloud Platform API Management Technical Brief
SAP Cloud Platform API Management Technical BriefSAP Cloud Platform
 
The Bill for IT: Providing IT Cost Transparency with HPCM and PFP
The Bill for IT: Providing IT Cost Transparency with HPCM and PFPThe Bill for IT: Providing IT Cost Transparency with HPCM and PFP
The Bill for IT: Providing IT Cost Transparency with HPCM and PFPAlithya
 
SmartERP Oracle Cloud Capabilities Presentation 2018
SmartERP Oracle Cloud Capabilities Presentation 2018SmartERP Oracle Cloud Capabilities Presentation 2018
SmartERP Oracle Cloud Capabilities Presentation 2018Dave Reik
 
SmartERP Oracle Cloud Capabilities presentation 2018
SmartERP Oracle Cloud Capabilities presentation 2018SmartERP Oracle Cloud Capabilities presentation 2018
SmartERP Oracle Cloud Capabilities presentation 2018Smart ERP Solutions, Inc.
 
Soa12c launch 3 bpm 12c cr
Soa12c launch 3 bpm 12c crSoa12c launch 3 bpm 12c cr
Soa12c launch 3 bpm 12c crVasily Demin
 
Enterprise Project Management overview
Enterprise Project Management overviewEnterprise Project Management overview
Enterprise Project Management overviewShahbaz Ahmer
 
Implementing Cloud Financials
Implementing Cloud FinancialsImplementing Cloud Financials
Implementing Cloud FinancialsOHUG
 

Ähnlich wie Collaborate 18 presentation by Dayalan Punniyamoorthy (20)

Our API Evolution: From Metadata to Tooling API for Building Incredible Apps
Our API Evolution: From Metadata to Tooling API for Building Incredible AppsOur API Evolution: From Metadata to Tooling API for Building Incredible Apps
Our API Evolution: From Metadata to Tooling API for Building Incredible Apps
 
profecia links company profile
profecia links company profileprofecia links company profile
profecia links company profile
 
Rapidly Deploy Budgeting and Forecasting with Oracle and Perficient
Rapidly Deploy Budgeting and Forecasting with Oracle and PerficientRapidly Deploy Budgeting and Forecasting with Oracle and Perficient
Rapidly Deploy Budgeting and Forecasting with Oracle and Perficient
 
B7 api management_enabling_digital_transformation
B7 api management_enabling_digital_transformationB7 api management_enabling_digital_transformation
B7 api management_enabling_digital_transformation
 
Reducing the Risks of Migrating Off Oracle
Reducing the Risks of Migrating Off OracleReducing the Risks of Migrating Off Oracle
Reducing the Risks of Migrating Off Oracle
 
Enterprise API New Features and Roadmap
Enterprise API New Features and RoadmapEnterprise API New Features and Roadmap
Enterprise API New Features and Roadmap
 
Oracle EPM BI Overview
Oracle EPM BI OverviewOracle EPM BI Overview
Oracle EPM BI Overview
 
API Platform Cloud Service best practice - OOW17
API Platform Cloud Service best practice - OOW17API Platform Cloud Service best practice - OOW17
API Platform Cloud Service best practice - OOW17
 
Open Banking & Open Insurance
Open Banking & Open InsuranceOpen Banking & Open Insurance
Open Banking & Open Insurance
 
Creating Interactive Olap Applications With My Sql Enterprise And Mondrian Pr...
Creating Interactive Olap Applications With My Sql Enterprise And Mondrian Pr...Creating Interactive Olap Applications With My Sql Enterprise And Mondrian Pr...
Creating Interactive Olap Applications With My Sql Enterprise And Mondrian Pr...
 
SAUG Summit 2009 - Session 9 SAP Solution Architect
SAUG Summit 2009 - Session 9 SAP Solution ArchitectSAUG Summit 2009 - Session 9 SAP Solution Architect
SAUG Summit 2009 - Session 9 SAP Solution Architect
 
IEEE-SCCPresentation.290214544
IEEE-SCCPresentation.290214544IEEE-SCCPresentation.290214544
IEEE-SCCPresentation.290214544
 
SAP Cloud Platform API Management Technical Brief
SAP Cloud Platform API Management Technical BriefSAP Cloud Platform API Management Technical Brief
SAP Cloud Platform API Management Technical Brief
 
The Bill for IT: Providing IT Cost Transparency with HPCM and PFP
The Bill for IT: Providing IT Cost Transparency with HPCM and PFPThe Bill for IT: Providing IT Cost Transparency with HPCM and PFP
The Bill for IT: Providing IT Cost Transparency with HPCM and PFP
 
SmartERP Oracle Cloud Capabilities Presentation 2018
SmartERP Oracle Cloud Capabilities Presentation 2018SmartERP Oracle Cloud Capabilities Presentation 2018
SmartERP Oracle Cloud Capabilities Presentation 2018
 
SmartERP Oracle Cloud Capabilities presentation 2018
SmartERP Oracle Cloud Capabilities presentation 2018SmartERP Oracle Cloud Capabilities presentation 2018
SmartERP Oracle Cloud Capabilities presentation 2018
 
Anand gupta
Anand guptaAnand gupta
Anand gupta
 
Soa12c launch 3 bpm 12c cr
Soa12c launch 3 bpm 12c crSoa12c launch 3 bpm 12c cr
Soa12c launch 3 bpm 12c cr
 
Enterprise Project Management overview
Enterprise Project Management overviewEnterprise Project Management overview
Enterprise Project Management overview
 
Implementing Cloud Financials
Implementing Cloud FinancialsImplementing Cloud Financials
Implementing Cloud Financials
 

Kürzlich hochgeladen

Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...AliaaTarek5
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Exploring ChatGPT Prompt Hacks To Maximally Optimise Your Queries
Exploring ChatGPT Prompt Hacks To Maximally Optimise Your QueriesExploring ChatGPT Prompt Hacks To Maximally Optimise Your Queries
Exploring ChatGPT Prompt Hacks To Maximally Optimise Your QueriesSanjay Willie
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 

Kürzlich hochgeladen (20)

Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Exploring ChatGPT Prompt Hacks To Maximally Optimise Your Queries
Exploring ChatGPT Prompt Hacks To Maximally Optimise Your QueriesExploring ChatGPT Prompt Hacks To Maximally Optimise Your Queries
Exploring ChatGPT Prompt Hacks To Maximally Optimise Your Queries
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 

Collaborate 18 presentation by Dayalan Punniyamoorthy

  • 1. Introduction to Oracle PBC REST API With Groovy Scripting Dayalan Punniyamoorthy 31st May 2018
  • 2. 22 WHO WE ARE Providing exceptional quality and value, while imparting a customer-focused approach. Vertical Edge Consulting Group is your trusted partner for business consulting and technology solutions, ensuring reliability and scalability for your growing company. 2010 Year Founded 35 Employees 3 National Practices 2 Locations 1 Inspired Vision for Success Our Company Exceptional values, passion for success, and dedicated commitment drive our success.  Oracle Platinum Partner  Consultants average 12-15 years of industry and Big 4 consulting experience  Technology focus on EPM, BI and Cloud solutions, integrating with leading Tier 1 and 2 ERP systems  IT Strategy & Advisory Practice with CIO and Fortune 500 leadership experience  In-depth understanding of Cloud Technology & Solutions, driving today’s strategic technology decisions  Strong dedication to customer success and uncompromising values
  • 3. 33 OUR SERVICES Technology Enterprise Performance Management (EPM) - Oracle Hyperion Financial Management - Oracle Hyperion Planning - Oracle Hyperion Planning & Budgeting Cloud Service (PBCS) - Oracle Hyperion Essbase - Oracle Hyperion FDM/FDMEE - Oracle Hyperion DRM - Oracle Hyperion Reporting & Analysis - Oracle Hyperion SmartView Business Intelligence (BI) - Oracle Business Intelligence Enterprise Edition (OBIEE) - Oracle Business Intelligence Foundation Suite (BIFS) - Oracle Business Intelligence Cloud Service (BICS) - Oracle Business Intelligence for Applications (OBIA) Advisory Services - CIO Advisory - IT Strategy - Cloud Advisory - Project Management Oversight (PMO) - Enterprise Resource Planning Advisory (ERP) - Enterprise Architecture Trusted Advisory Technology Expertise
  • 4. 44 ORACLE EPM EXPERIENCE  Oracle® Certified Platinum Partner  One of the nation’s leading Oracle EPM strategy & implementation firms  Successfully implemented Oracle EPM solutions for dozens of clients in the US, and abroad  Oracle EPM professional average 15 years of hands-on experience  Focused on Fortune 500 companies & large scale, enterprise-wide implementations  Deep expertise from process design to technology implementation  Proven functional and industry templates to leverage best practices  Hyperion Essbase, Planning and HFM certified professionals Enterprise Planning & Forecasting •Planning, Budget & Forecasting •Workforce & Capital Expenditure Planning •Planning System Design & Implementation •Balanced Scorecard •Hyperion Planning™, Workforce Planning™, Capital Expense Planning™ Financial Consolidation •Financial Close Process Design •Consolidation System Design & Implementation •Financial Reporting & Analysis •Financial Management™, Financial Data Quality Management™ Reporting & Analytics •Management Dashboards •Profitability Analysis •Human Resource Analysis •Sales & Procurement Analytics •Essbase™ Solutions, SmartView™, and reporting tools Business Intelligence •Data Management & Integration •Content Management •BI Enterprise Edition™, Data Relationship Management™ and integration tools
  • 5. Agenda for Today! • Overview of REST API and Groovy Program  REST API for Oracle PBC/EPC  A Simple REST API request & response  Authentication into Oracle PBC/EPC  REST API Methods  REST API Resource View • Lifecycle Management • Planning • Interop • Data Management • Introduction to Groovy • Managing & administering Hyperion Application using Groovy program to invoke the REST API related to Oracle PBC/EPC • Managing & administering Migration using Groovy program to invoke the REST API related to Oracle PBC/EPC Migration • Managing & administering Data Management jobs using Groovy program to invoke the REST API related to Oracle PBC/EPC Data Management • Demo
  • 6. Overview of REST API  REpresentational State Transfer (REST)  An architecture for client-server web communication  Application Programming lnterface (API)  Lets products and services communicate with each other  REST describes any simple interface that transmits data over a standardized interface (such as HTTP).  REST provides a set of design rules for creating stateless services that are viewed as resources can be identified by their unique Uniform Resource Identifier (URIs).
  • 7. REST API for Oracle PBC/EPBC  You can integrate EPM Cloud environments using: oA set of REST APIs oThe EPM Automate Utility, a command line tool that is implemented on top of the REST APIs  Audience The REST API for Oracle PBC/EPC is intended primarily as a tool for infrastructure consultants and administrators  Prerequisites o Access as a service administrator to the cloud service o Technical and functional knowledge to understand and execute the EPM Automate & REST APIs, and to administer the product. o Knowledge of Java, cURL, Groovy, and REST programming.
  • 8. A Simple REST API request & response https://vecghypdemo- test.PBCS.us2.oraclecloud.com/HyperionPlanning/rest/v3/ap plications Request JSON Response
  • 9. Authentication into Oracle PBC/EPBC  These REST APIs support basic authentication (name and password) in the format identitydomain.username for this release.  Every HTTP request to EPM Cloud should supply HTTP Basic Authentication credentials through the Authorization header.
  • 10. REST API Methods  You can create, view, update, or delete Oracle Enterprise Performance Management Cloud resources using standard HTTP method requests • GET Retrieve information about the REST API resource (e.g.: Retrieve Job Status Details) • POST Create a REST API resource (e.g.: Execute a Job) • PUT Update a REST API resource (e.g.: Setting Daily maintenance Window Time) • DELETE Delete a REST API resource or related component (e.g.: Delete Files)
  • 11. REST API Resource View – Oracle PBC (Some of them not all  ) REST Resource -/interop/rest/ REST API version {api_version} for Lifecycle Management is 11.1.2.3.600. Request More Information /interop/rest/ GET Get REST API Versions for Migration /interop/rest/{api_version} GET Get Information about a Specific Version of Migration /interop/rest/{api_version}/applicationsnapshots/ {SnapshotName}/contents GET Download /interop/rest/{api_version}/Applicationsnapshots GET List Files /interop/rest/{api_version}/applicationsnapshots/ {nSnapshotName} DELETE Delete Files /interop/rest/{api_version}/services GET Get Information About All Services
  • 12. REST API Resource View – Oracle PBC (Some of them not all  ) REST Resource -/HyperionPlanning/rest/ Current REST API {api_version} version for Planning is v3. Request More Information /HyperionPlanning/rest/ GET Getting REST API Versions for Planning /HyperionPlanning/rest/{api_version} GET Get Information about a Specific REST API Version for Planning /HyperionPlanning/rest/{api_version}/applications/{app}/jobd efinitions GET Get Job Definitions /HyperionPlanning/rest/{api_version}/applications/{app}/dime nsions/{dimname}/members POST Add Member /HyperionPlanning/rest/{api_version}/applications/{applicatio n}/subvar GET Get All Substitution Variables Defined for the Application /HyperionPlanning/rest/{api_version}/applications/{applicatio n}/plantypes/{plantype}/subvar GET Get Substitution Variables Defined at the Plan Type Level
  • 13. REST Resource -//interop/rest/ REST API version {api_version} is v1 (interop) REST API version {api_version} is V1 (aif) Request More Information /interop/rest/{api_version}/reports? q={type:userauditreport,fileName:useraudit.csv,since=2015- 12-10,until=2016-06-10}/interop/rest/{api_version} POST User Audit Report /interop/rest/{api_version}/reports?q={type:provisionreport,fil eName:ProvRep.csv} POST User Provisioning Report /interop/rest/{api_version}/dailymaintenance?StartTime={N} PUT Setting the Daily Maintenance Window Time /aif/rest/{api_version} /aif/rest/{api_version}/jobs GET GET Get Information about a Specific API Version for Data Management APIs Running Data Rules REST API Resource View – Oracle PBC (Some of them not all  )
  • 14. What is Groovy?  Apache Groovy is a powerful, optionally typed and dynamic language, with static-typing and static compilation capabilities, for the Java platform aimed at improving developer productivity thanks to a concise, familiar and easy to learn syntax.  It integrates smoothly with any Java program, and immediately delivers to your application powerful features, including scripting capabilities, Domain-Specific Language authoring, runtime and compile-time meta- programming and functional programming. Install groovy from http://groovy-lang.org/download.html Default install location "C:Program Files (x86)GroovyGroovy-2.4.7bin“
  • 15. A Simple Groovy Program to access Oracle PBC/EPC REST API//Importing JSON package for JSONObject & JsonSlurper import org.json.JSONObject import groovy.json.JsonSlurper //Modify as needed before executing apiVersion="v3" appName="EPBCS" //Reading the Values from the Properties File Properties props = new Properties() File propsFile = new File('C:/Users/DPunniamoorthy/Documents/RESTAPI- Webinar/Groovy/PBCSDetails.properties') props.load(propsFile.newDataInputStream()) serverUrl=props.getProperty('serverUrl') domain=props.getProperty('domain') username=props.getProperty('username') password=props.getProperty('password') // Setup User Credentials and Authorization Header userCredentials = domain + "." + username + ":" + password basicAuth = "Basic " + javax.xml.bind.DatatypeConverter.printBase64Binary(userCredentials.getBytes())
  • 16. // Setup User Credentials and Authorization Header userCredentials = domain + "." + username + ":" + password basicAuth = "Basic " + javax.xml.bind.DatatypeConverter.printBase64Binary(userCredentials.getBytes()) println ('*****Starting of REST API Program******'); // Fetch Response Function def fetchResponse(is) { BufferedReader br = new BufferedReader(new InputStreamReader(is)); StringBuilder sb = new StringBuilder(); String line; while ((line = br.readLine()) != null) { sb.append(line+"n"); } br.close(); return sb.toString(); }
  • 17. // Execute Request Function for Authentication & Authorization def executeRequest(url, requestType, payload, contentType) { HttpURLConnection connection = (HttpURLConnection) url.openConnection(); connection.setDoOutput(true); connection.setUseCaches(false); connection.setDoInput(true); connection.setRequestMethod(requestType); connection.setRequestProperty("Content-Type", contentType); connection.setRequestProperty("Authorization", basicAuth); if (payload != null) { OutputStreamWriter writer = new OutputStreamWriter(connection.getOutputStream()); writer.write(payload); writer.flush(); } int statusCode try { statusCode = connection.responseCode; } catch (all) { println "Error connecting to the URL" System.exit(0); } def response if (statusCode == 200 || statusCode == 201) { if (connection.getContentType() != null && !connection.getContentType().startsWith("application/json")) { println "Error occurred in server" InputStream is = connection.getInputStream(); if (is != null) response = fetchResponse(is) } else { println "Error occurred while executing request" println "Response error code : " + statusCode InputStream is = connection.getErrorStream(); if (is != null && connection.getContentType() != null && connection.getContentType().startsWith("application/json")) println fetchJobStatusFromResponse(fetchResponse(is)) } connection.disconnect(); return response;}
  • 18. //Function to get the Application Details def getApplications() { def url;try {url = new URL(serverUrl + "/HyperionPlanning/rest/" + apiVersion + "/applications/") } catch (MalformedURLException e) { println "Malformed URL. Please pass valid URL“ System.exit(0); }response = executeRequest(url, "GET", null, "application/x-www-form-urlencoded"); def object = new JsonSlurper().parseText(response) def status = object.status def items = object.items println "Application Details:" println "******************" items.each{ println "Application Name : " +items. name println "Application Supports decision packages : " + items.dpEnabled println "Is it Unicode : " + items.unicode println "Applciation Storage : " + items.appStorage println "Product Type : " + items.type if (object.details != null) println "Error details: " + object.details } } getApplications(); println('*********End of REST API Program******');
  • 19.
  • 20. Demo - Groovy + REST API for Planning
  • 21. Demo - Groovy + REST API for Migration
  • 22. Demo - Groovy + REST API for Data Management
  • 23.

Hinweis der Redaktion

  1. Our 3 National practices are EPM (all things hyperion) BI (OBIEE, BICS, OBIA) Advisory services
  2. Oracle Platinum Partner Experience and knowledge across all EPM platforms Consultants hold Oracle certifications on the products they support
  3. Flat learning curve Concise, readable and expressive syntax, easy to learn for Java developers Smooth Java integration Seamlessly and transparently integrates and interoperates with Java and any third-party libraries Vibrant and rich ecosystem Web development, reactive applications, concurrency / asynchronous / parallelism library, test frameworks, build tools, code analysis, GUI building Powerful features Closures, builders, runtime & compile-time meta-programming, functional programming, type inference, and static compilation Domain-Specific Languages Flexible & malleable syntax, advanced integration & customization mechanisms, to integrate readable business rules in your applications Scripting and testing glue Great for writing concise and maintainable tests, and for all your build and automation tasks