Top Banner
Data/Applications Visualization and Mashup Presenter: Álvaro Arranz (UPM) | [email protected] | @aarranzgarcia
39
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Data/Applications Visualization and Mashup

Data/Applications Visualization and Mashup

Presenter: Álvaro Arranz (UPM) | [email protected] | @aarranzgarcia

Page 2: Data/Applications Visualization and Mashup

Agenda

1. What is WireCloud?2. What can I do with WireCloud?3. Using WireCloud4. Working with Mashups5. Developing with WireCloud

Page 3: Data/Applications Visualization and Mashup

WHAT IS WIRECLOUD?Data/Applications Visualization and Mashup

Page 4: Data/Applications Visualization and Mashup

What is WireCloud?

Widget

Mashupdat

a

Backendservice Backend

service

Backendservice

operato

r

wiring

Object StorageAPI

NGSI API

ContextBroker

piping

Page 5: Data/Applications Visualization and Mashup

WHAT CAN I DO WITH WIRECLOUD?

Data/Applications Visualization and Mashup

Page 6: Data/Applications Visualization and Mashup

Perspectives

• From the developer perspective:– Use web technologies for easily developing mashable web

components (widgets)– Integrate web mashups with backend services (e.g. support

for pub/sub, “connectors” to a number of FIWARE GEs, etc.)

• From the user perspective: – Develop application mashups: integrate heterogeneous data,

application logic, and UI web components to create value added instant applications.• Without the need of programing skills (e.g. end users,

infomediaries, etc.)• Fostering the reuse and shareability of widgets, mashups, etc.

Page 7: Data/Applications Visualization and Mashup
Page 8: Data/Applications Visualization and Mashup
Page 9: Data/Applications Visualization and Mashup
Page 10: Data/Applications Visualization and Mashup
Page 11: Data/Applications Visualization and Mashup

Configurable dashboards... and much more

• Wiring– Wiring and support for channel creation

• HTTP proxy– Cross-site HTTP requests

• APIs to some GEs– Context Broker, Object Storage

• Public App Mashups– Access without login to a mashup

• Embedded mashups– Integrate public mashups in any website

• Integration with the WStore and IdM

Page 12: Data/Applications Visualization and Mashup
Page 14: Data/Applications Visualization and Mashup

http://conwet.fi.upm.es/wirecloud

https://mashup.lab.fiware.org

http://edu.fiware.org/course/view.php?id=53

http://catalogue.fiware.org/enablers/application-mashup-wirecloud/documentation

https://github.com/Wirecloud/wirecloud https://github.com/wirecloud-fiware

https://store.lab.fiware.org/search/tag/starterKit

http://stackoverflow.com/questions/tagged/fiware-wirecloud

Page 15: Data/Applications Visualization and Mashup

USING WIRECLOUDApps/Data Delivery Chapter

Page 16: Data/Applications Visualization and Mashup

Using Wirecloud

• Create a FIWARE Lab account (if not done yet)• Open the Mashup portal• Play https://mashup.lab.fiware.org

add widgets to workspace

wiring tool my resources

store

Page 17: Data/Applications Visualization and Mashup

WORKING WITH MASHUPSApps/Data Delivery Chapter

Page 18: Data/Applications Visualization and Mashup

Managing your mashups

• Create as many workspaces as you want• Rename them, remove them…• Upload a mashup to “My Resources”

– With/without widgets/operators embedded• Create a workspace from a mashup

Page 19: Data/Applications Visualization and Mashup

Create/modify your own mashup

• Add widgets with the• Choose widgets on the left panel and click on “+”

sign to add them• Go to the wiring tool

– Add your widgets and deploy any operator– Connect input and output endpoints as you want

• There are not restrictions

Page 20: Data/Applications Visualization and Mashup

Public/embedded mashups

Page 21: Data/Applications Visualization and Mashup

Publish a mashup in the WStore

Page 22: Data/Applications Visualization and Mashup

Consume mashups

• Consume the offer with a different user

• Phases1. Acquire in the Wstore2. Create a workspace

from the mashup

Page 23: Data/Applications Visualization and Mashup

Orion: Basic/admin example

Page 24: Data/Applications Visualization and Mashup

Orion example: PoI example

Page 25: Data/Applications Visualization and Mashup

Kurento: Crowd detector

Page 26: Data/Applications Visualization and Mashup

DEVELOPING WITH WIRECLOUD

Apps/Data Delivery Chapter

Page 27: Data/Applications Visualization and Mashup

Developing a widget

• Typical web app structure

• Config.xml is the description– It references the HTML– HTML links with the rest

Page 28: Data/Applications Visualization and Mashup

Widget description – config.xml

Page 29: Data/Applications Visualization and Mashup

Using preferences

Page 30: Data/Applications Visualization and Mashup

Making HTTP requests

Page 31: Data/Applications Visualization and Mashup

Working with wiring

Page 32: Data/Applications Visualization and Mashup

Developing an operator

• Config.xml is similar– References a JavaScript file

Page 33: Data/Applications Visualization and Mashup

Using Context Broker GE

• Declaring the feature

• Opening the connection

Page 34: Data/Applications Visualization and Mashup

Using Context Broker GE

• Creating an entity

Page 35: Data/Applications Visualization and Mashup

Using Context Broker GE

• Creating a subscription

Page 36: Data/Applications Visualization and Mashup

News features in WireCloud 0.8.0 and recent work

• Behaviour oriented wiring• Dynamic dashboards• Widget skeleton using Grunt tasks and unit

testing using MashupPlatform mock:– https://github.com/Wirecloud/grunt-wirecloud– https://github.com/Wirecloud/mock-

applicationmashup• Docker image:

– https://registry.hub.docker.com/u/wirecloud/fiware-wirecloud/

Page 37: Data/Applications Visualization and Mashup

Behaviour Oriented Wiring

Page 38: Data/Applications Visualization and Mashup

http://conwet.fi.upm.es/wirecloud

https://mashup.lab.fiware.org

http://edu.fiware.org/course/view.php?id=53

http://catalogue.fiware.org/enablers/application-mashup-wirecloud/documentation

https://github.com/Wirecloud/wirecloud https://github.com/wirecloud-fiware

https://store.lab.fiware.org/search/tag/starterKit

http://stackoverflow.com/questions/tagged/fiware-wirecloud

Page 39: Data/Applications Visualization and Mashup

Thanks!Thanks!