-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
264 lines (221 loc) · 14.1 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
<!doctype html>
<html lang="en" prefix="og: http://ogp.me/ns#">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="author" content="Jens Reimann">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@ctron">
<meta name="twitter:creator" content="@ctron">
<meta name="twitter:image" content="https://ctron.github.io/eclipse-iot-integration-map/images/preview.png">
<meta property="og:title" content="Eclipse IoT project integration map">
<meta property="og:description" content="An interactive map, which helps you discover how Eclipse IoT project can work together.">
<title>Eclipse IoT – Project integration map</title>
<script src="js/svg.min.js"></script>
<script src="js/svg.filter.min.js"></script>
<script src="js/jquery.min.js"></script>
<link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
<script src="bootstrap/js/bootstrap.min.js"></script>
<script src="js/svg-pan-zoom.min.js"></script>
<script src="js/lodash.min.js"></script>
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,500,600,700" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="css/custom.css">
<script src="js/map.js"></script>
</head>
<body>
<a class="sr-only" href="#content">Skip to main content</a>
<header class="header-wrapper" id="header-wrapper">
<nav class="navbar navbar-expand navbar-dark">
<div class="container">
<a class="navbar-brand" href="https://iot.eclipse.org">
<img alt="Eclipse IoT" src="https://iot.eclipse.org/assets/images/iot-logo.png" width="93" height="83">
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto"></ul>
<h1 class="navbar-text my-2 my-lg-0 text-white">Eclipse IoT integration map</h1>
<!--
<ul class="navbar-nav ml-auto">
<li class="nav-item dropdown">
<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">Getting Started</a>
<div class="dropdown-menu" role="menu">
<a class="dropdown-item" href="https://iot.eclipse.org/getting-started#resources">Resources</a>
<a class="dropdown-item" href="https://iot.eclipse.org/getting-started#sandboxes">Sandboxes</a>
</div>
</li>
<li class="nav-item dropdown">
<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">Technology</a>
<div class="dropdown-menu" role="menu">
<a class="dropdown-item" href="https://iot.eclipse.org/devices">Constrained Devices</a>
<a class="dropdown-item" href="https://iot.eclipse.org/gateways">Gateways & Smart Devices</a>
<a class="dropdown-item" href="https://iot.eclipse.org/cloud">IoT Cloud Platforms</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="https://iot.eclipse.org/standards">Open Standards</a>
<a class="dropdown-item" href="https://iot.eclipse.org/testbeds">Open Testbeds</a>
<a class="dropdown-item" href="https://iot.eclipse.org/projects">Browse the Projects</a>
</div>
</li>
<li class="nav-item dropdown">
<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">Resources</a>
<div class="dropdown-menu" role="menu">
<a class="dropdown-item" href="https://iot.eclipse.org/white-papers">White Papers</a>
<a class="dropdown-item" href="https://iot.eclipse.org/case-studies">Case Studies</a>
<a class="dropdown-item" href="https://iot.eclipse.org/resources">Articles & Videos</a>
</div>
</li>
<li class="nav-item dropdown">
<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">Community</a>
<div class="dropdown-menu" role="menu">
<a class="dropdown-item" href="https://iot.eclipse.org/news">News</a>
<a class="dropdown-item" href="https://iot.eclipse.org/events">Events</a>
<a class="dropdown-item" href="https://iot.eclipse.orghttps://iot.eclipse.org/open-iot-challenge">Open IoT Challenge</a>
<a class="dropdown-item" href="http://www.meetup.com/Virtual-IoT" target="_blank">Virtual IoT Meetup</a>
</div>
</li>
<li class="nav-item">
<a class="nav-link" href="/working-group">About us</a>
</li>
<li class="nav-item" style="margin-top: 10px; padding-left: 1em;">
<a href="https://twitter.com/eclipseiot?ref_src=twsrc%5Etfw" class="navbar-link twitter-follow-button" data-show-count="false" data-show-screen-name="false"></a>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
</li>
</ul>
-->
</div>
</div>
</nav>
</header>
<main>
<div class="container-fluid">
<div class="row">
<div class="col-2">
<div id="libraries" style="height: 100vh;"></div>
</div>
<div class="col-7" style="overflow: hidden;">
<div id="map" style="margin: auto;"></div>
</div>
<div class="col-3" style="padding-top: 1em;">
<div class="card" id="description-card">
<div class="card-body">
<h3 id="description-title"></h3>
<div id="description-content"></div>
</div>
<ul class="list-group list-group-flush" id="description-groups">
</ul>
</div>
<div class="mt-4" id="fork-me">
<div class="card">
<div class="card-body">
<h3>Contribute!</h3>
<p class="card-text">You can contribute to this map by creating a PR.</p>
<a href="https://github.com/ctron/eclipse-iot-integration-map" class="btn btn-secondary">Fork me!</a>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
<script>
var californium = new Library("Eclipse Californium", '#ffb873', ["Library"], 'https://eclipse.org/californium', {src: 'images/californium-180.png'}, '<p>Californium is a powerful CoAP framework targetting back-end services for small Internet of Things (IoT) devices using other embedded coap implementations. It may also be used on stronger (IoT) devices. It provides a convenient API for RESTful Web services that support all of CoAP\'s features.</p>');
var milo = new Library("Eclipse Milo", '#fb85f5', ["Library"], 'https://eclipse.org/milo', {src: 'images/milo_fullogo_4WEB_181020.svg'}, '<p>Milo is an open-source implementation of OPC UA. It includes a high-performance stack (channels, serialization, data structures, security) as well as client and server SDKs built on top of the stack.</p>');
var paho = new Library("Eclipse Paho", '#a59cff', ["Library"], 'https://eclipse.org/paho', {src: 'images/paho_logo.svg'}, '<p>The Eclipse Paho project provides open-source client implementations of MQTT and MQTT-SN messaging protocols aimed at new, existing, and emerging applications for the Internet of Things (IoT).</p>');
var ditto = new Application ( "Eclipse Ditto", "#2ccbca", ["Cloud"], 'https://eclipse.org/ditto', {src: "images/ditto.svg"}, [ null, null, null, null, null], '<p>Eclipse Ditto is a technology in the IoT implementing a software pattern called "Digital Twins". A Digital Twin is a virtual, cloud based, representation of his real world counterpart (real world “Things”, e.g. devices like sensors, smart heating, connected cars, smart grids, EV charging stations, …).</p>');
var hono = new Application ( "Eclipse Hono", "#e5a919", ["Cloud"], 'https://eclipse.org/hono', {src: "images/HONO-Logo_Bild-Wort_quadrat-w-200x180px.svg", "offset": -3}, [ null, null, null, null, californium, null], '<p>It provides remote service interfaces for connecting large numbers of IoT devices to a back end and interacting with them in a uniform way regardless of the device communication protocol.</p>' );
var kura = new Application ( "Eclipse Kura", "#d92626", ["Gateway"], 'https://eclipse.org/kura', {src: "images/kura_logo_400.png"}, [ null, paho, null, milo, null, null, null], '<p>Extensible open source IoT Edge Framework based on Java/OSGi. It features ready-to-use field protocols, an application container, and a web-based visual data flow programming to acquire data from the field, process it at the edge, and publish it to leading IoT Cloud Platforms.</p>');
var kapua = new Application ( "Eclipse Kapua", "#3345cc", ["Cloud"], 'https://eclipse.org/kapua', {src: "images/kapua-logo.png"}, [ null, null, null, paho, null, null, null], '<p>Modular IoT cloud platform to manage and integrate devices and their data. A solid integrated foundation of IoT services for any IoT application.</p>');
integrate(ditto,hono, [
{name: 'Blog Post: Telemetry&Events', href: 'https://www.eclipse.org/ditto/2018-05-02-connecting-ditto-hono.html'},
{name: 'Blog Post: Command&Control', href: 'https://www.eclipse.org/ditto/2018-12-05-example-command-and-control.html'},
{name: 'Example', href: 'https://github.com/eclipse/ditto-examples/tree/master/octopus-via-hono'}
]);
integrate(kura,kapua, [
{name: 'Documentation', href: 'https://eclipse.github.io/kura/cloud/kura-kapua.html'}
]);
integrate(kura,hono, [
{name: 'Example from tutorial', href: 'https://github.com/redhat-iot/iot-cloud-stack-ece2018/tree/master/steps/07-kura-part-2'}
]);
var libraries = [californium, milo, paho];
var applications = [ditto, hono, kapua, kura];
function renderMap() {
var svg = SVG('map').size(mw,mh);
var m = [
[ null, null , null, null , null , null , null, null , null ],
[ null, eb(8), null, null , kapua, null , null, null, null ],
[ null, kura , null, null , null , eb(3), null, eb(5), null ],
[ null, null , null, null , null , null , null, null , null ],
[ null, null , null, eb(3), null , hono , null, null , null ],
[ null, null , null, null , null , null , null, null , null ],
[ null, null , null, ditto, null , null , null, null , null ],
[ null, null , null, null , null , null , null, null , null ],
[ null, null , null, null , null , null , null, null , null ],
];
m2 = [
[ eb(1), null, null , null, null , null, null, null, eb(1) ],
[ null, null, null , null, null , null, null, null, null ],
[ null , eb(1), null , null , null, null, null, null, null ],
[ eb(1) , null, null , null , null , null, null, null, null ],
[ null , eb(1), null, null , null , null, null, null, null ],
[ eb(1) , null, null , null , null , null, null, null, null ],
[ null , eb(1), null, null , null , null, null, null, null ],
[ eb(1) , null, null, null , null , null, null, null, null ],
[ null , eb(1), null , null , null , null, null , null, eb(1) ],
];
var gwDesc = function(){
setDescription("Gateway", null, "The IoT gateway acts as the aggregation point for a group of sensors and actuators to coordinate the connectivity of these devices to each other and to an external network.", [buildReferences("See Also", [{name: "Whitepaper - IoT Architectures", href: "https://iot.eclipse.org/resources/white-papers/Eclipse%20IoT%20White%20Paper%20-%20The%20Three%20Software%20Stacks%20Required%20for%20IoT%20Architectures.pdf"}])]);
};
var cloudDesc = function(){
setDescription("Cloud", null, "An IoT Cloud Platform typically operates on a cloud infrastructure or inside an enterprise data center and is expected to scale both horizontally, to support the large number of devices connected, as well as vertically to address the variety of IoT solutions", [buildReferences("See Also", [{name: "Whitepaper - IoT Architectures", href: "https://iot.eclipse.org/resources/white-papers/Eclipse%20IoT%20White%20Paper%20-%20The%20Three%20Software%20Stacks%20Required%20for%20IoT%20Architectures.pdf"}])]);
};
createBackgroundFor(svg, m, function(g){
// g.add(svg.rect(m[0].length*bs,m.length*bs).fill('#00f')); // just testing
var riverColor = '#aaecfb';
var river = svg.group();
g.add(river);
river.add(createPath(svg, [
["M", 3.25, 1.25],
["A", 2.75, 1.75, 0.5, 0.5, 1],
["A", 2.25, 2.25, 0.5, 0.5, 0],
["L", 2.25, 8.5]
], 30, riverColor, '#ff0').click(easter2));
river.add(svg.circle(bs, bs).center(bs*2.25,bs*6).fill(riverColor).click(easter1))
river.add(svg.circle(bs*0.6, bs*0.6).center(bs*2.25,bs*6.6).fill(riverColor).click(easter1))
outline(river, 2, '#9ce7d8');
var roadColor = '#eee';
var roadOutlineColor = '#e9e9e9';
g.add(createPath(svg, [["M",1.5,7.55], ["L",6.5,7.55]], 20, roadColor));
g.add(svg.circle(bs,bs).center(bs*6.9, bs*7.4).fill('transparent').stroke({width: 20, color: roadColor}));
g.add(svg.line(bs*6.9, bs*7.9, bs*6.9, bs*9).stroke({width: 20, color: roadColor}));
g.add(createPath(svg, [["M",8.5, 2.75], ["A", 8, 3.25, 0.5, 0.5, 1], ["L", 7.5, 3.25], ["A", 7, 3.75, .5, .5, 0], ["L", 7, 7]], 20, roadColor));
var connectionColor = '#33cc7b';
var honoToDitto = g.add(createPath(svg, [["M", 3.5, 6.5], ["L", 5.25, 6.5], ["A", 5.5, 6.25, 0.25, 0.25, 0], ["L", 5.5, 4.5]], 20, connectionColor ));
var kuraToKapua = g.add(createPath(svg, [["M", 1.5, 2.5], ["L", 4.25, 2.5], ["A", 4.5, 2.25, 0.25, 0.25, 0], ["L", 4.5, 1.5]], 20, connectionColor ));
var kuraToHono = g.add(createPath(svg, [["M", 1.5, 2.5], ["L", 1.5, 3.25], ["A", 1.75, 3.5, 0.25, 0.25, 0], ["L", 5.25, 3.5], ["A", 5.5, 3.75, 0.25, 0.25, 1], ["L", 5.5, 4.5]], 20, connectionColor ));
var font = {family: 'Arial, Helvetica, sans-serif', size: 70, weight: 700, anchor: "middle"};
var labelColor = '#ddd';
var l1 = svg.text("Cloud Land").font(font).fill(labelColor).move(bs*8,bs*5.5).rotate(-90);
l1.attr('cursor','pointer');
l1.click(cloudDesc);
g.add(l1);
var l2 = svg.text("Gateway Land").font(font).fill(labelColor).move(bs*0.5,bs*4).rotate(-90);
g.add(l2);
l2.attr('cursor','pointer');
l2.click(gwDesc);
});
runMap(m, function(tile, x, y) { tile.draw(svg, x,y); });
/*
isometric(0,5, function(ix,iy) { createSign(svg,"Gateway\nLand", gwDesc).move(ix,iy); });
isometric(7,5, function(ix,iy) { createSign(svg,"Cloud\nLand", cloudDesc).move(ix,iy); });
*/
}
setDescription(); // to default
SVG.on(document, 'DOMContentLoaded', function() {
renderMap();
listProjects(libraries);
svgPanZoom($('#map > svg')[0]);
})
</script>
</body>
</html>