sit rome 2015
TRANSCRIPT
Rui Nogueira – Product Management SAP HANA Cloud Platform
SIT Rome 2015 Introduction SAP HANA Cloud Platform
Geek level
min max
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 2
// Pizza-as-a-Service & Cloud Basics
Table & cutlery Drinks Electricity / Gas Oven Cheese Toppings Tomato sauce Pizza dough
You
take
car
e You
V
endo
r
Ven
dor t
akes
car
e
Ven
dor t
akes
car
e Y
ou
Infrastructure as-as-Service On premise Platform
as-as-Service Software
as-as-Service
Made at home Take & bake Pizza taxi Pizzeria
Example from https://www.linkedin.com/pulse/20140730172610-9679881-pizza-as-a-service
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 3
// What is SAP HANA Cloud Platform // SAP’s Platform-as-a-Service offering
var sapHCP = new Array(); sapHCP [0] = ”For Developers"; sapHCP [1] = ”Build HANA/HTML5/Java Apps"; sapHCP [2] = ”Build Extensions";
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 4
// Features provided var featureSet = new Array(); featureSet [0] = ”Store structured data”; featureSet [1] = ”Store un-structured data”; featureSet [2] = ”Connect to on-premise and cloud systems”; featureSet [3] = ”Use federated identity management”; featureSet [4] = ”Use and build extensions”; featureSet [5] = ”Build secure, scalable & attractive sites”;
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 5
// How to start using it var steps = new Array(); steps [0] = ”Visit hcp.sap.com"; steps [1] = ”Register for an account"; steps [2] = ”Get Eclipse + plugins"; steps [3] = ”Learn with open.sap.com”;
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 6
// How to get your free account if (curious == true) { url=“https://hanatrial.ondemand.com”; getFreeAccount(url); }
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 7
// Learn more for FREE with openSAP if (wantToLearnHandsOn == true) {
url=“https://open.sap.com”; enrollToHCPcourses(url);
}
Rui Nogueira – Product Management SAP HANA Cloud Platform
SIT Rome 2015 – Deploy your 1st HTML5 app on SAP HANA Cloud Platform
Geek level
min max
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 9
// HTML5 apps on SAP HANA Cloud Platform ! Application served by shared
service (dispatcher), no VM required
! Integrated version management
! Resources stored in cloud Git repository
! No build and easy deployment
9
Dispatcher
Git
REST Service
Developer
SAP HANA Cloud Platform Account
Lifecycle management
Source code management
Static resource access
End User
REST service access
Application access
Cockpit
10 © 2015 SAP SE or an SAP affiliate company. All rights reserved.
Demo 10
! Consume publicly available REST API for weather information ! Provide results in an HTML5 app with SAPUI5 http://scn.sap.com/community/developer-center/cloud-platform/blog/2014/05/07/lightweight-html5-apps-and-git-on-sap-hana-cloud-platform
Rui Nogueira – Product Management SAP HANA Cloud Platform
SIT Rome 2015 – Sending sensor data from Raspberry Pi to the SAP HANA Cloud Platform
Geek level
min max
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 12
// Prediction of worldwide number of devices by 2020
7.3B connected PCs, smartphones,
tablets 30B connected cars, assembly machines,
smart grids, smart buildings, smart cities, health monitoring devices, clothes, home
automation systems, all kind of environmental sensors, drones,
refrigerators, dish washers, ……..
Why is the Internet-of-Things the new “big thing”? ! Costs to connect devices
to internet going down quickly
! New insights derived from data of formerly “dumb” devices
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 13
// Why doing it with SAP HANA Cloud Platform One consistent platform
Powerful services to address requirements regarding
! security
! storage
! analytics
! connectivity
! integration
14 © 2015 SAP SE or an SAP affiliate company. All rights reserved.
Demo
14
! RaspberryPi measures temperature of fish boxes in truck ! RaspberryPi sends data to Java app running in your account on
SAP HANA Cloud Platform ! Java app persists data on the SAP HANA instance of your account ! HTML5 app monitoring sensor data
http://scn.sap.com/docs/DOC-56616
Rui Nogueira – Product Management SAP HANA Cloud Platform
SIT Rome 2015 – Authorizing sensors with SAP HANA Cloud Platform
Geek level
min max
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 16
// Why authorizing sensors ! Only authorized sensors can send data to the endpoint on
SAP HANA Cloud Platform
! Your sensors => Your data
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 17
// How to do it
SAP HANA Cloud Platform
Web API
OAuth Authorization Server
App to send authz code to devide
Sensor data
Device
1 Register sensor on OAuth Authorization Server
2 Get authorization code from OAuth Authorization Server (e.g. via QR code scan) …
3 … and send it to device
4 Request access token form Oauth Authorization Server with authorization code and persist access token on device
5 Send access token in authorization header of web API call
1
2
Access token
3
Sensor data + Access token
5
4
18 © 2015 SAP SE or an SAP affiliate company. All rights reserved.
Demo 18
! Home automation system “openHAB” running on Raspberry Pi ! Temperature sensors connected to Raspberry Pi ! Authorization of sensors via OAuth server and QR-code scanner
https://open.sap.com/courses/hanacloud2-1/items/4RRedVHjx6C9iGeU15Q3lq (openSAP course Next Steps in SAP HANA Cloud Platform - week 5)
© 2015 SAP SE or an SAP affiliate company. All rights reserved.
Grazie mile e arrivederci Contact information: Rui Nogueira Product Manager SAP HANA Cloud Platform Twitter: @ruinogueira
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 20
© 2015 SAP SE or an SAP affiliate company. All rights reserved.
No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP SE or an SAP affiliate company.
SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE (or an SAP affiliate company) in Germany and other countries. Please see http://global12.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices.
Some software products marketed by SAP SE and its distributors contain proprietary software components of other software vendors.
National product specifications may vary.
These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or warranty of any kind, and SAP SE or its affiliated companies shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP SE or SAP affiliate company products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.
In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in this document or any related presentation, or to develop or release any functionality mentioned therein. This document, or any related presentation, and SAP SE’s or its affiliated companies’ strategy and possible future developments, products, and/or platform directions and functionality are all subject to change and may be changed by SAP SE or its affiliated companies at any time for any reason without notice. The information in this document is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. All forward-looking statements are subject to various risks and uncertainties that could cause actual results to differ materially from expectations. Readers are cautioned not to place undue reliance on these forward-looking statements, which speak only as of their dates, and they should not be relied upon in making purchasing decisions.
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 21
© 2015 SAP SE oder ein SAP-Konzernunternehmen. Alle Rechte vorbehalten.
Weitergabe und Vervielfältigung dieser Publikation oder von Teilen daraus sind, zu welchem Zweck und in welcher Form auch immer, ohne die ausdrückliche schriftliche Genehmigung durch SAP SE oder ein SAP-Konzernunternehmen nicht gestattet.
SAP und andere in diesem Dokument erwähnte Produkte und Dienstleistungen von SAP sowie die dazugehörigen Logos sind Marken oder eingetragene Marken der SAP SE (oder von einem SAP-Konzernunternehmen) in Deutschland und verschiedenen anderen Ländern weltweit. Weitere Hinweise und Informationen zum Markenrecht finden Sie unter http://global.sap.com/corporate-de/legal/copyright/index.epx.
Die von SAP SE oder deren Vertriebsfirmen angebotenen Softwareprodukte können Softwarekomponenten auch anderer Softwarehersteller enthalten.
Produkte können länderspezifische Unterschiede aufweisen.
Die vorliegenden Unterlagen werden von der SAP SE oder einem SAP-Konzernunternehmen bereitgestellt und dienen ausschließlich zu Informationszwecken. Die SAP SE oder ihre Konzernunternehmen übernehmen keinerlei Haftung oder Gewährleistung für Fehler oder Unvollständigkeiten in dieser Publikation. Die SAP SE oder ein SAP-Konzernunternehmen steht lediglich für Produkte und Dienstleistungen nach der Maßgabe ein, die in der Vereinbarung über die jeweiligen Produkte und Dienstleistungen ausdrücklich geregelt ist. Keine der hierin enthaltenen Informationen ist als zusätzliche Garantie zu interpretieren.
Insbesondere sind die SAP SE oder ihre Konzernunternehmen in keiner Weise verpflichtet, in dieser Publikation oder einer zugehörigen Präsentation dargestellte Geschäftsabläufe zu verfolgen oder hierin wiedergegebene Funktionen zu entwickeln oder zu veröffentlichen. Diese Publikation oder eine zugehörige Präsentation, die Strategie und etwaige künftige Entwicklungen, Produkte und/oder Plattformen der SAP SE oder ihrer Konzernunternehmen können von der SAP SE oder ihren Konzernunternehmen jederzeit und ohne Angabe von Gründen unangekündigt geändert werden. Die in dieser Publikation enthaltenen Informationen stellen keine Zusage, kein Versprechen und keine rechtliche Verpflichtung zur Lieferung von Material, Code oder Funktionen dar. Sämtliche vorausschauenden Aussagen unterliegen unterschiedlichen Risiken und Unsicherheiten, durch die die tatsächlichen Ergebnisse von den Erwartungen abweichen können. Die vorausschauenden Aussagen geben die Sicht zu dem Zeitpunkt wieder, zu dem sie getätigt wurden. Dem Leser wird empfohlen, diesen Aussagen kein übertriebenes Vertrauen zu schenken und sich bei Kaufentscheidungen nicht auf sie zu stützen.