WireCloud, WStore and WMarket
-
Upload
aitor-magan-garcia -
Category
Presentations & Public Speaking
-
view
262 -
download
0
Transcript of WireCloud, WStore and WMarket
![Page 1: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/1.jpg)
WireCloud, WStore & WMarket Aitor Magán (UPM)[email protected] @aitormagan
![Page 2: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/2.jpg)
Agenda
1. WireCloud1. What is WireCloud?2. What can I do with WireCloud?3. Using WireCloud4. Working with Mashups5. Developing with WireCloud
2. WStore1. What is WStore?2. Data Market3. Using WStore
3. WMarket1. What is WMarket?2. Using WMarket
2
![Page 3: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/3.jpg)
![Page 4: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/4.jpg)
WHAT IS WIRECLOUD?Data/Applications Visualization and Mashup
![Page 5: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/5.jpg)
What is WireCloud?
Widget
Mashupdat
a
Backendservice Backend
service
Backendserviceope
rator
wiring
Object StorageAPI
NGSI API
ContextBroker
piping
5
![Page 6: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/6.jpg)
WHAT CAN I DO WITH WIRECLOUD?
Data/Applications Visualization and Mashup
![Page 7: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/7.jpg)
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.
7
![Page 8: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/8.jpg)
8
![Page 9: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/9.jpg)
9
![Page 10: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/10.jpg)
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
13
![Page 11: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/11.jpg)
14
![Page 12: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/12.jpg)
Behavior Oriented Wiring
• Wiring can be a mess when we have too many widgets/operators
• Split wiring into parts: behavior– Behavior: One identified action that users can
perform with the mashups– A behavior involves a subset of all the mashable
components of the MashUp– While editing the behavior, these mashable
components are highlighted while the rest are blurred
15
![Page 13: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/13.jpg)
16
![Page 14: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/14.jpg)
Recent success stories
• Málaga CitySense
Watch it on Youtube18
![Page 15: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/15.jpg)
USING WIRECLOUDApps/Data Delivery Chapter
![Page 16: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/16.jpg)
Using Wirecloud
• Create a FIWARE Lab account (if not done yet)• Choose mashup tab• Play https://mashup.lab.fiware.org
add widgets to workspace
wiring tool my resources
store
21
![Page 17: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/17.jpg)
WORKING WITH MASHUPSApps/Data Delivery Chapter
![Page 18: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/18.jpg)
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
23
![Page 19: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/19.jpg)
Create/modify your own MashUp
• Add widgets with the button• 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
24
![Page 20: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/20.jpg)
Public/Embedded MashUps
25
![Page 21: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/21.jpg)
Publish a MashUp in the WStore
26
![Page 22: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/22.jpg)
Consume MashUps
• Consume the offer with a different user
• Phases1. Acquire in the WStore2. Install from your
resources3. Create a workspace
from the MashUp
27
![Page 23: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/23.jpg)
DEVELOPING WITH WIRECLOUD
Apps/Data Delivery Chapter
![Page 24: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/24.jpg)
Developing a widget
• Typical web app structure
• config.xml is the description– It references the HTML– HTML links with the rest
30
![Page 25: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/25.jpg)
Widget description – config.xml
31
![Page 26: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/26.jpg)
Using preferences
32
![Page 27: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/27.jpg)
Making HTTP requests
33
![Page 28: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/28.jpg)
Working with wiring
34
![Page 29: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/29.jpg)
Developing an operator
• config.xml is similar– References a JavaScript file
35
![Page 30: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/30.jpg)
Using Context Broker GE
• Declaring the feature
• Opening the connection
36
![Page 31: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/31.jpg)
Using Context Broker GE
• Creating an entity
37
![Page 32: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/32.jpg)
Using Context Broker GE
• Creating a subscription
![Page 33: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/33.jpg)
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
39
https://hub.docker.com/r/fiware/wmarket
![Page 34: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/34.jpg)
Store
![Page 35: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/35.jpg)
WHAT IS WSTORE?Apps/Data Delivery Chapter
![Page 36: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/36.jpg)
WStore
• Generic Online Store intended for Digital Assets– Publish Offering with products/services– Acquire these offerings
• Key features– Support for rich price models– Support for charging– Support for billing– Support accounting callbacks– Integration with PayPal– Support for FIWARE MarketPlace, Repository and RSSS
42
![Page 37: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/37.jpg)
WStore: Main Components (1)
• Resources– The product or the service to be sold– Default resource types: Files or APIs– Extensions to support specific resource types
• Mashable components• Datasets• …
43
![Page 38: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/38.jpg)
WStore: Main Components (2)
• Offerings:– Commercial Properties definition
• Basic description• Image• Snapshots• Legal Terms • Price Plans• Involved Resources• …
– Life Cycle1. Created2. Published3. Deleted
– Open Offerings: Not need to be acquired. Its resources can be accesses immediately
44
![Page 39: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/39.jpg)
Wstore: Main Components (3)
45
OFFERING Resource 1 Resource n…
Resources
… Price Plan 1
Price Component 1.1
Price Component 1.n…
Price Plan n
Price Component n.1
Price Component n.n…
Price Plans
![Page 40: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/40.jpg)
WStore: Main Components (4)
• One resource can be included in one or more offerings
• Offerings with more than one Price Plan– The purchaser selects the one to be applied
• Price Components– Single payment– Recurring Payment
• Subscription• Pay per use
– Combined in one Price Plan as desired
46
![Page 41: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/41.jpg)
DATA MARKET + + Extensions
![Page 42: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/42.jpg)
FIWARE Data Market: + + Extns.
• Integrated with FIWARE Lab IdM (OAuth2)– Users do not need to have different accounts– Same user than in the rest of FIWARE Portals (Store, WireCloud,…)– Users can access the portal without log in to read open data
• Ability to create private datasets– Accessible only by certain users
• Integration with WStore allows to:– Manage the users that can access private datasets– Charge users for accessing your data– Ensure that users only access your data under some legal terms– …
• https://data.lab.fiware.org
48
![Page 43: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/43.jpg)
USING WSTOREApps/Data Delivery Chapter
![Page 44: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/44.jpg)
Creating a Resource
50
1
2
3 4
![Page 45: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/45.jpg)
Creating an Offering (1)
51
1
2
3 4
![Page 46: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/46.jpg)
52
Creating an Offering (2)
5
![Page 47: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/47.jpg)
Creating an Offering (3)
53
6
![Page 48: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/48.jpg)
Creating an Offering (and 4)
54
7
8
9
![Page 49: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/49.jpg)
Acquiring Offering
1. Select the Offering to be acquired2. Choose the Price Plan to be used3. Accept the legal terms
55
![Page 50: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/50.jpg)
https://store.lab.fiware.org
http://edu.fiware.org/course/view.php?id=104
http://catalogue.fiware.org/enablers/store-wstore/documentation
https://github.com/conwetlab/wstore
56
http://wstore.readthedocs.org/en/latest/
https://hub.docker.com/r/fiware/wstore
![Page 51: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/51.jpg)
WMarket
![Page 52: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/52.jpg)
WHAT IS WMARKET?Apps/Data Delivery Chapter
![Page 53: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/53.jpg)
WMarket
• Business Component focused on aggregate the offerings coming from different Stores
• It is just an showcase: the final transaction (buying) is handled by the corresponding Store
• Allow final purchasers to view the offerings published by different providers and select those with higher benefits– Trivago– Rastreator– …
• Key features:– Offerings comparison– Store & Offerings Review– Recommendations– Full integration with WStore– Semantic Search based on the market segment (Feb. 2016)
59
![Page 54: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/54.jpg)
WMarket: Main Components
• Stores– The basic units to aggregate offerings
• Descriptions– Pointers to a Linked-USDL file that contains the descriptions of
one ore more offerings• Offerings
– The units to be sold. Includes:• Services (similar to WStore resources)• Price Plans (as the ones defined in WStore)
• Categories– “Tags” to categorize the published offerings– Automatically created based on the type of the services
included in the offerings
60
![Page 55: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/55.jpg)
USING WMARKETApps/Data Delivery Chapter
![Page 56: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/56.jpg)
Creating a Store
62
1
2
![Page 57: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/57.jpg)
Creating a Description
63
1
2
![Page 58: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/58.jpg)
64
Comparing Offerings
1
2
![Page 59: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/59.jpg)
65
Reviewing Store/Offerings
1. Access the entity (store or offering) to be reviewed
1
2
![Page 60: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/60.jpg)
https://marketplace.lab.fiware.org
http://catalogue.fiware.org/enablers/marketplace-wmarket/documentation
https://github.com/conwetlab/wmarket
66
http://wmarket.readthedocs.org/en/latest/
WMarket
https://hub.docker.com/r/fiware/wmarket
![Page 61: WireCloud, WStore and WMarket](https://reader035.fdocuments.us/reader035/viewer/2022070516/5874cd5e1a28ab8f508b8377/html5/thumbnails/61.jpg)
Thanks!Thanks!