8
SAP HANA CLOUD PLATFORM Gamification Service: Help Desk Standalone Deployment Michael Ameling, Moya Watson / SAP SE Description In this exercise, we’ll configure an Eclipse project and import the sources for the gamified Help Desk application, deploy the app to the SAP HANA Cloud Platform, and configure it to run with your Gamification Service subscription. For more information, see HelpDesk App – Standalone Deployment (on the SAP Help Portal). In addition, you can listen to the SAP HANA Cloud Platform Episode 5 for an interview with Gamification development manager Michael Ameling. System prerequisites Installed Eclipse IDE for Java EE Developers Installed SAP HANA Cloud Platform SDK and SAP HANA Cloud Platform Tools Eclipse plugins (instructions at https://tools.hana.ondemand.com/#cloud) Free developer account on the Trial instance of SAP HANA Cloud Platform Firefox or Chrome browser recommended Gamification Exercise 01 – Onboarding – complete, including: o Service enabled o Roles assigned o Destination configured Recommended "Hello World" exercises on SAP HANA Cloud Platform complete Target group Application developers People interested in Gamification in applications People interested in the SAP HANA Cloud Platform Target group requirements Basic programming skills Basic knowledge in using the Eclipse development environment Basic knowledge about SAP HANA Cloud Platform 30 min

SAP HANA Cloud Platform Gamification Service - Exercise 02 - Help Desk Standalone Deployment

Embed Size (px)

Citation preview

Page 1: SAP HANA Cloud Platform Gamification Service - Exercise 02 - Help Desk Standalone Deployment

SAP HANA CLOUD PLATFORM Gamification Service: Help Desk Standalone Deployment

Michael Ameling, Moya Watson / SAP SE Description In this exercise, we’ll configure an Eclipse project and import the sources for the gamified Help Desk application, deploy the app to the SAP HANA Cloud Platform, and configure it to run with your Gamification Service subscription. For more information, see HelpDesk App – Standalone Deployment (on the SAP Help Portal). In addition, you can listen to the SAP HANA Cloud Platform Episode 5 for an interview with Gamification development manager Michael Ameling. System prerequisites • Installed Eclipse IDE for Java EE Developers • Installed SAP HANA Cloud Platform SDK and SAP HANA Cloud Platform Tools Eclipse plugins

(instructions at https://tools.hana.ondemand.com/#cloud) • Free developer account on the Trial instance of SAP HANA Cloud Platform • Firefox or Chrome browser recommended • Gamification Exercise 01 – Onboarding – complete, including:

o Service enabled o Roles assigned o Destination configured

• Recommended "Hello World" exercises on SAP HANA Cloud Platform complete Target group • Application developers • People interested in Gamification in

applications • People interested in the SAP HANA Cloud

Platform

Target group requirements • Basic programming skills • Basic knowledge in using the Eclipse

development environment • Basic knowledge about SAP HANA Cloud

Platform

30 min

Page 2: SAP HANA Cloud Platform Gamification Service - Exercise 02 - Help Desk Standalone Deployment

Gamification Service: Help Desk Standalone Deployment

Step 1: Configure the Eclipse project

Explanation Screenshot

The Help Desk demo application you receive when you subscribe to the Gamification Service in the SAP HANA Cloud Platform is also available on GitHub: 1. Download a ZIP file of the

sources from GitHub. The link is https://github.com/SAP/gamification-demo-app

2. Extract the archive to your local drive.

Import the sources:

3. In Eclipse, switch to the Java EE perspective.

4. Choose File → Import → Maven → Existing Maven Projects

2

Page 3: SAP HANA Cloud Platform Gamification Service - Exercise 02 - Help Desk Standalone Deployment

Gamification Service: Help Desk Standalone Deployment

5. Navigate to the folder in which

you extracted the GitHub archive, and choose Finish.

3

Page 4: SAP HANA Cloud Platform Gamification Service - Exercise 02 - Help Desk Standalone Deployment

Gamification Service: Help Desk Standalone Deployment

Step 2: Configure the runtime and deploy the demo application

Explanation Screenshot

If you have not already configured your server, set up the Java Web runtime environment now:

1. In Eclipse, choose Window → Preferences.

2. Select Server → Runtime Environments, and click Add…

3. In the New Server Runtime Environment dialog box, select SAP → Java Web, and choose Next.

4

Page 5: SAP HANA Cloud Platform Gamification Service - Exercise 02 - Help Desk Standalone Deployment

Gamification Service: Help Desk Standalone Deployment

4. Select Use Java Web SDK from the following location, confirm or browse to the location of the HANA Cloud Platform SDK, and choose Finish.

5. In the Preferences window, choose OK.

6. In the Project Explorer, right-click on the helpdesk project and from the context menu choose Run As → Run on Server

5

Page 6: SAP HANA Cloud Platform Gamification Service - Exercise 02 - Help Desk Standalone Deployment

Gamification Service: Help Desk Standalone Deployment

7. Select SAP → SAP HANA Cloud Platform as the server.

8. Verify hanatrial.ondemand.com as the Landscape host and choose Next.

12. Name your application helpdesk, select the Java Web runtime, and confirm all other values.

13. Choose Finish.

6

Page 7: SAP HANA Cloud Platform Gamification Service - Exercise 02 - Help Desk Standalone Deployment

Gamification Service: Help Desk Standalone Deployment

Step 3: Assign role and launch the application from the HANA Cloud Platform cockpit

Explanation Screenshot

1. In your browser, open your cockpit of the SAP HANA Cloud Platform. The link is https://account.hanatrial.ondemand.com/cockpit

2. From the left-hand navigation, choose Java Applications and you should see the helpdesk application listed (it may not be fully started yet).

3. Once the application is fully started, click on the name of the application.

4. Select Roles from the left-hand navigation, select the helpdesk role, and assign your user to it.

7

Page 8: SAP HANA Cloud Platform Gamification Service - Exercise 02 - Help Desk Standalone Deployment

Gamification Service: Help Desk Standalone Deployment

5. Go to the application overview page and click on the Application URL to launch the application in a new browser window.

Result: The Help Desk application opens in a new browser window. You further develop it in Eclipse and redeploy it to the HANA Cloud Platform.

What's Next? To take it to the next level, proceed to the next Gamification exercise: SAP HCP Gamification 03 – Help Desk Customization.

© 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://www.sap.com/corporate-en/legal/copyright/index.epx#trademark for additional trademark information and notices.

8