19
WireCloud End-User Exercises Contact twitter @aarranzgarcia @miguel_jimg Contact email [email protected] [email protected]

WireCloud Exercises - FIWARE Developers Week

Embed Size (px)

Citation preview

Page 1: WireCloud Exercises - FIWARE Developers Week

WireCloud End-User Exercises

Contact twitter

@aarranzgarcia

@miguel_jimg

Contact email

[email protected]

[email protected]

Page 2: WireCloud Exercises - FIWARE Developers Week

Outline

• WC-EU-1. Complete the basic concepts tutorial

• WC-EU-2. Multimedia viewer

• WC-EU-3. Install the Orion Starter Kit

• WC-EU-4. Create a your own Dashboard using

the context broker

• WC-EU-5. Add basic video conference support

into your dashboards

2

Page 3: WireCloud Exercises - FIWARE Developers Week

WC-EU-1. Complete the basic concepts tutorial

• Prerequisites

– A FIWARE Lab account

• Steps

– Go to Mashup portal page

– Click on the user menu -> Tutorials -> Basic concepts:

– Follow the steps

Easy

Page 4: WireCloud Exercises - FIWARE Developers Week

WC-EU-2. Multimedia viewer

• Prerequisites

– WC-EU-1

• Steps

– Go to Mashup portal page

– Go to the marketplace and install the MultimediaPack offering

– Open the “Basic concepts tutorial” workspace created in the previous exercise

– Add a Multimedia Viewer widget

– Connect it so you can click on the videos provided by the YouTube browser widget

Easy

Page 5: WireCloud Exercises - FIWARE Developers Week

WC-EU-3. Install the Orion Starter Kit

• Prerequisites

– A FIWARE Lab account

• Steps

– Open the Mashup portal

– Go to the Marketplace

– Install the OrionStarterKit offering

– Create a new workspace using the provided “NGSI map visualization example” template

• Hints

– Use the template field when creating the new workspace

Easy

Page 6: WireCloud Exercises - FIWARE Developers Week

MediumWC-EU-4. Create a your own Dashboard using

the context broker

• Prerequisites– WC-EU-3

• Steps– Open the Mashup portal– Browser available context on the global Orion

instance (orion.lab.fiware.org)– Use the “NGSI source” and “NGSI Entity 2 PoI”

operators connected to a map viewer widget visualizing the selected data from the Context Broker

• Hints– Search for context broker data (format:

ngsi10) on https://data.lab.fiware.org– Use the NGSI browser widget (experimental)

Page 7: WireCloud Exercises - FIWARE Developers Week

WC-EU-5. Add basic video conference support

into your dashboards

• Prerequisites– Two FIWARE Lab accounts– KurentoStarterKit installed

• Steps– Create a new Workspace– Add the Kurento one2one widget– Make your dashboard public– Open it also with the other user– Fill the input field on the one2one widget with the

username of the other user

• Hints– http://247support.custhelp.com/app/answers/detail/a_i

d/11736/~/chrome-and-firefox%3A-blank-page-or-blocked-mixed-content

– http://stackoverflow.com/questions/11768221/firefox-websocket-security-issue

Easy

Page 8: WireCloud Exercises - FIWARE Developers Week

WC-EU-6. Testing the Crowd detector widget

• Prerequisites– Two FIWARE Lab accounts– KurentoStarterKit installed

• Steps– Create a new Workspace using the crowd

detector example mashup– Create one or several polygons and click on

the Editing button

• Hints– http://247support.custhelp.com/app/answers/

detail/a_id/11736/~/chrome-and-firefox%3A-blank-page-or-blocked-mixed-content

– http://stackoverflow.com/questions/11768221/firefox-websocket-security-issue

Easy

Page 9: WireCloud Exercises - FIWARE Developers Week

WireCloud Developer Exercises

Contact twitter

@aarranzgarcia

@miguel_jimg

Contact email

[email protected]

[email protected]

Page 10: WireCloud Exercises - FIWARE Developers Week

Outline

• WC-D-1. Complete the quick start tutorial

• WC-D-2. Read all the basic developers tutorials

available on the FIWARE’s Academy

• WC-D-3. Customised PoI metadata

• WC-D-4. Creating an offering on the Store

10

Page 11: WireCloud Exercises - FIWARE Developers Week

WC-D-1. Complete the quick start tutorial

• Prerequisites

– A FIWARE Lab account

– Zip tool

– A gravatar account/profile

• Steps

– Browse the FIWARE Academy and open the “Application Mashup (Wirecloud)” course

– Complete the “3.1.0 Quick start” tutorial

Easy

Page 12: WireCloud Exercises - FIWARE Developers Week

WC-D-2. Read all the basic developers tutorials

available on the FIWARE’s Academy

• Steps

– Browse the FIWARE Academy and open the “Application Mashup (Wirecloud)” course

–Read all the tutorials from 3.1.1 to 3.1.5

MediumEasy

Page 13: WireCloud Exercises - FIWARE Developers Week

WC-D-3. Customised PoI metadata

• Prerequisites– WC-EU-3

• Steps– Go to the Mashup portal– Open the details view of the “NGSI Entity 2 PoI”

operator– Click Download– Unzip it– Replace the vendor and the name of the operator

in the config.xml file– Replace current implementation of the operator to

provide a better HTML representation, different icons depending on the type of the entities, …

– Upload the new version of the operator and create a new dashboard using it

Medium

Page 14: WireCloud Exercises - FIWARE Developers Week

WC-D-4. Creating an offering on the Store

• Prerequisites– An previously created component (widget, operator or mashup)

• Steps– Open the FIWARE Lab’s Mashup portal– Go the My Resources view– Click on the component to upload– Click on the Publish Button– Upload it to the FIWARE Lab’s Store portal– Follow guide for creating an offering

• Hints– Currently, the store lacks some integration details (that are being worked

on):• you have to enter manually the mimetype of the resource, it should be one of the

following ones:– application/x-widget+mashable-application-component– application/x-operator+mashable-application-component– application/x-mashup+mashable-application-component

• If you want to upload the resource directly to the store, take into account that the name of the file is important: it should follow the “<vendor>_<name>_<version>.wgt” pattern.

• You have to add the widget tag to the offering for being classified as

Medium

Page 15: WireCloud Exercises - FIWARE Developers Week

WireCloud Administrator Exercises

Contact twitter

@aarranzgarcia

@miguel_jimg

Contact email

[email protected]

[email protected]

Page 16: WireCloud Exercises - FIWARE Developers Week

Outline

• WC-A-1. Install your own WireCloud instance

• WC-A-2. Connect your instance to the FIWARE

Lab’s account portal

16

Page 17: WireCloud Exercises - FIWARE Developers Week

WC-A-1. Install your own WireCloud instance

• Prerequisites– A virtual machine (probably created using the

FIWARE Lab’s Cloud portal)

• Steps– Create a basic instance of WireCloud using the --

quick-start flag

• Hints– Use virtualenv on CentOS

– We recommend you to use WireCloud 0.7.0 (using: pip install wirecloud)

– WireCloud 0.6.x Installation and Administration Guide

– WireCloud 0.7.x Installation and Administration Guide

Easy

Page 18: WireCloud Exercises - FIWARE Developers Week

MediumWC-A-2. Connect your instance to the FIWARE

Lab’s account portal

• Prerequisites– WC-A-1

– A FIWARE Lab Account

• Steps

– Follow the steps described on the “Integration with the IdM GE” section of the Installation and Administration Guide

• Hints

– WireCloud 0.6.x Installation and Administration Guide

– WireCloud 0.7.x Installation and Administration Guide

Page 19: WireCloud Exercises - FIWARE Developers Week

Thanks!Thanks!