resolving conflicts:
@ -4,7 +4,7 @@
|
||||
alt="WSO2 IoT Server" />
|
||||
</a>
|
||||
|
||||
# Welcome to WSO2 IoT Server
|
||||
# Welcome to WSO2 IoT Server
|
||||
|
||||
<a href='https://wso2.org/jenkins/job/products/job/product-iots/'><img src='https://wso2.org/jenkins/job/products/job/product-iots/badge/icon'></a>
|
||||
<a href='https://opensource.org/licenses/Apache-2.0'><img src='https://img.shields.io/badge/License-Apache%202.0-blue.svg'></a>
|
||||
|
||||
@ -1,4 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<artifact name="GadgetLocationData" version="1.0.0" type="dashboards/gadget" serverRole="GeoDashboard">
|
||||
<file>geo-dashboard</file>
|
||||
</artifact>
|
||||
@ -1,69 +0,0 @@
|
||||
<!--~ Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||
~
|
||||
~ WSO2 Inc. licenses this file to you under the Apache License,
|
||||
~ Version 2.0 (the "License"); you may not use this file except
|
||||
~ in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing,
|
||||
~ software distributed under the License is distributed on an
|
||||
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
~ KIND, either express or implied. See the License for the
|
||||
~ specific language governing permissions and limitations
|
||||
~ under the License.-->
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head lang="en">
|
||||
<meta charset="UTF-8">
|
||||
<title></title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="viewWithinAlert" >
|
||||
<form role="form" style="width: auto">
|
||||
<div class="form-group">
|
||||
<label class="text-info">Query name</label>
|
||||
<div id="viewQueryName" class="well well-sm"></div>
|
||||
|
||||
<label class="text-info">Area name</label>
|
||||
<div id="viewAreaName" class="well well-sm"></div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="btn-group btn-group-sm btn-group-justified">
|
||||
<div class="btn-group">
|
||||
<a id="exportGeoJson" download="geoJson.json" href="#" onclick="exportToGeoJSON(this,JSON.stringify(map._layers[$(this).attr('leaflet_id')].toGeoJSON(),null, '\t'))" class="btn btn-default btn-xs" data-toggle="tooltip" data-placement="left" title="Export selected area as a geoJson file">Export</a>
|
||||
</div>
|
||||
<div class="btn-group">
|
||||
<a id="hideViewFence" class="btn btn-default btn-xs" data-toggle="tooltip" data-placement="left" title="Hide this fence" onclick="map.removeLayer(map._layers[$(this).attr('leaflet_id')])" >Hide</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div id="viewStationeryAlert" >
|
||||
<form role="form" style="width: auto">
|
||||
<div class="form-group">
|
||||
<label class="text-info">Query name</label>
|
||||
<div id="viewQueryName" class="well well-sm"></div>
|
||||
|
||||
<label class="text-info">Stationery name</label>
|
||||
<div id="viewAreaName" class="well well-sm"></div>
|
||||
|
||||
<label class="text-info">Stationery time(Seconds)</label>
|
||||
<div id="viewAreaTime" class="well well-sm"></div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="btn-group btn-group-sm btn-group-justified">
|
||||
<div class="btn-group">
|
||||
<a id="exportGeoJson" download="geoJson.json" href="#" onclick="exportToGeoJSON(this,JSON.stringify(map._layers[$(this).attr('leaflet_id')].toGeoJSON(),null, '\t'))" class="btn btn-default btn-xs" data-toggle="tooltip" data-placement="left" title="Export selected area as a geoJson file">Export</a>
|
||||
</div>
|
||||
<div class="btn-group">
|
||||
<a id="hideViewFence" class="btn btn-default btn-xs" data-toggle="tooltip" data-placement="left" title="Hide this fence" onclick="map.removeLayer(map._layers[$(this).attr('leaflet_id')])" >Hide</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@ -1,140 +0,0 @@
|
||||
/* Enter a unique ExecutionPlan */
|
||||
@Plan:name('Geo-ExecutionPlan-Proximity_alert')
|
||||
|
||||
/* Enter a unique description for ExecutionPlan */
|
||||
-- @Plan:description('ExecutionPlan')
|
||||
|
||||
/* define streams/tables and write queries here ... */
|
||||
|
||||
@Import('org.wso2.geo.StandardSpatialEvents:1.0.0')
|
||||
define stream dataIn (id string, latitude double, longitude double, timeStamp long, type string, speed float, heading float, eventId string );
|
||||
|
||||
@Export('org.wso2.geo.ProcessedSpatialEvents:1.0.0')
|
||||
define stream dataOut ( id string, latitude double, longitude double, timeStamp long, type string, speed float, heading float, eventId string, state string, information string );
|
||||
|
||||
@IndexBy('id')
|
||||
define table ProximityTable(id string, timeStamp long);
|
||||
|
||||
@IndexBy('id')
|
||||
define table AlertsTable(id string , proximityWith string, eventId string);
|
||||
|
||||
from dataIn#geodashboard:subscribe()
|
||||
select id, latitude, longitude, timeStamp, type, speed, heading, eventId
|
||||
insert into initialStream;
|
||||
|
||||
from initialStream[type == 'STOP']
|
||||
select id , latitude, longitude,timeStamp, type, speed, heading ,eventId , "" as proximityInfo ,"false" as isProximity
|
||||
insert into dataOutStream;
|
||||
|
||||
from initialStream[type != 'STOP']
|
||||
select *
|
||||
insert into objectInitialStream;
|
||||
|
||||
from objectInitialStream#geo:proximity(id,longitude,latitude, $proximityDistance)
|
||||
select id, latitude, longitude, timeStamp, type, speed, heading, eventId,inCloseProximity,proximityWith
|
||||
insert into proxymityStream;
|
||||
|
||||
from proxymityStream[AlertsTable.id == proxymityStream.id in AlertsTable]
|
||||
select id, latitude, longitude, timeStamp, type, speed, heading, eventId,inCloseProximity,proximityWith,true as inAlertTable
|
||||
insert into innerStreamOne;
|
||||
|
||||
from proxymityStream[not(AlertsTable.id == proxymityStream.id in AlertsTable)]
|
||||
select id, latitude, longitude, timeStamp, type, speed, heading, eventId,inCloseProximity,proximityWith,false as inAlertTable
|
||||
insert into innerStreamOne;
|
||||
|
||||
from proxymityStream[AlertsTable.id == proxymityStream.proximityWith in AlertsTable]
|
||||
select id, latitude, longitude, timeStamp, type, speed, heading, eventId,inCloseProximity,proximityWith,true as inAlertTable
|
||||
insert into innerStreamSeven;
|
||||
|
||||
from proxymityStream[not(AlertsTable.id == proxymityStream.proximityWith in AlertsTable)]
|
||||
select id, latitude, longitude, timeStamp, type, speed, heading, eventId,inCloseProximity,proximityWith,false as inAlertTable
|
||||
insert into innerStreamSeven;
|
||||
|
||||
from innerStreamOne[inCloseProximity == true AND not(inAlertTable)]
|
||||
select id,str:concat(",",proximityWith) as proximityWith , eventId
|
||||
insert into AlertsTable;
|
||||
|
||||
from innerStreamSeven[inCloseProximity == true AND not(inAlertTable)]
|
||||
select proximityWith as id,str:concat(",",id) as proximityWith , eventId
|
||||
insert into AlertsTable;
|
||||
|
||||
from innerStreamOne[innerStreamOne.inCloseProximity == true AND inAlertTable]#window.length(0) join AlertsTable
|
||||
on innerStreamOne.id == AlertsTable.id
|
||||
select innerStreamOne.id as id, str:concat(",", innerStreamOne.proximityWith, AlertsTable.proximityWith) as proximityWith, innerStreamOne.eventId as eventId
|
||||
insert into updateStream;
|
||||
|
||||
from innerStreamSeven[innerStreamSeven.inCloseProximity == true AND inAlertTable]#window.length(0) join AlertsTable
|
||||
on innerStreamSeven.proximityWith == AlertsTable.id
|
||||
select innerStreamSeven.proximityWith as id, str:concat(",", innerStreamSeven.id, AlertsTable.proximityWith) as proximityWith, innerStreamSeven.eventId as eventId
|
||||
insert into updateStream;
|
||||
|
||||
from innerStreamOne[innerStreamOne.inCloseProximity == false AND inAlertTable]#window.length(0) join AlertsTable
|
||||
on innerStreamOne.id == AlertsTable.id
|
||||
select innerStreamOne.id as id, str:replaceAll(AlertsTable.proximityWith, str:concat(",", innerStreamOne.proximityWith), "") as proximityWith, innerStreamOne.eventId as eventId
|
||||
insert into updateStream;
|
||||
|
||||
from innerStreamSeven[innerStreamSeven.inCloseProximity == false AND inAlertTable]#window.length(0) join AlertsTable
|
||||
on innerStreamSeven.proximityWith == AlertsTable.id
|
||||
select innerStreamSeven.proximityWith as id, str:replaceAll(AlertsTable.proximityWith, str:concat(",", innerStreamSeven.id), "") as proximityWith, innerStreamSeven.eventId as eventId
|
||||
insert into updateStream;
|
||||
|
||||
from updateStream
|
||||
select *
|
||||
update AlertsTable
|
||||
on id== AlertsTable.id;
|
||||
|
||||
from updateStream[proximityWith == ""]
|
||||
delete AlertsTable
|
||||
on id== AlertsTable.id;
|
||||
|
||||
from objectInitialStream[AlertsTable.id == objectInitialStream.id in AlertsTable]
|
||||
select id, latitude, longitude, timeStamp, type, speed, heading, eventId, true as inAlertTable
|
||||
insert into publishStream;
|
||||
|
||||
from objectInitialStream[not(AlertsTable.id == objectInitialStream.id in AlertsTable)]
|
||||
select id, latitude, longitude, timeStamp, type, speed, heading, eventId, false as inAlertTable
|
||||
insert into publishStream;
|
||||
|
||||
from publishStream[inAlertTable == true]#window.length(0) join AlertsTable
|
||||
on publishStream.id== AlertsTable.id
|
||||
select publishStream.id as id, publishStream.latitude as latitude, publishStream.longitude as longitude, publishStream.timeStamp as timeStamp, publishStream.type as type, publishStream.speed as speed, publishStream.heading as heading, publishStream.eventId as eventId, AlertsTable.proximityWith as proximityInfo
|
||||
insert into innerStreamTwo;
|
||||
|
||||
from publishStream[inAlertTable == false]
|
||||
delete ProximityTable on ProximityTable.id==id;
|
||||
|
||||
from publishStream[inAlertTable == false]
|
||||
select id , latitude, longitude,timeStamp, type, speed, heading ,eventId , "" as proximityInfo ,"false" as isProximity
|
||||
insert into dataOutStream;
|
||||
|
||||
from innerStreamTwo[ProximityTable.id == innerStreamTwo.id in ProximityTable]
|
||||
insert into innerStreamThree;
|
||||
|
||||
from innerStreamThree#window.length(0) join ProximityTable
|
||||
on innerStreamThree.id == ProximityTable.id
|
||||
select innerStreamThree.id , innerStreamThree.latitude, innerStreamThree.longitude,innerStreamThree.timeStamp, innerStreamThree.type, innerStreamThree.speed, innerStreamThree.heading ,innerStreamThree.eventId, ProximityTable.timeStamp as storedTime, innerStreamThree.proximityInfo as proximityInfo
|
||||
insert into innerStreamFour;
|
||||
|
||||
from innerStreamFour[(timeStamp - storedTime) >= $proximityTime]
|
||||
select id , latitude, longitude,timeStamp, type, speed, heading ,eventId ,proximityInfo,"true" as isProximity
|
||||
insert into dataOutStream;
|
||||
|
||||
from innerStreamFour[(timeStamp - storedTime) < $proximityTime]
|
||||
select id , latitude, longitude,timeStamp, type, speed, heading ,eventId , proximityInfo ,"false" as isProximity
|
||||
insert into dataOutStream;
|
||||
|
||||
from innerStreamTwo[not(ProximityTable.id == innerStreamTwo.id in ProximityTable)]
|
||||
select innerStreamTwo.id, innerStreamTwo.timeStamp
|
||||
insert into ProximityTable;
|
||||
|
||||
from innerStreamTwo[not(ProximityTable.id == innerStreamTwo.id in ProximityTable)]
|
||||
select id , latitude, longitude,timeStamp, type, speed, heading ,eventId , "" as proximityInfo ,"false" as isProximity
|
||||
insert into dataOutStream;
|
||||
|
||||
from dataOutStream[isProximity == 'true']
|
||||
select id, latitude, longitude, timeStamp, type, speed, heading, eventId,"WARNING" as state,str:concat("Proximity with "," ",proximityInfo) as information
|
||||
insert into dataOut;
|
||||
|
||||
from dataOutStream[isProximity == 'false']
|
||||
select id , latitude, longitude,timeStamp, type, speed, heading ,eventId ,"NORMAL" as state,"" as information
|
||||
insert into dataOut;
|
||||
@ -1,20 +0,0 @@
|
||||
/* Enter a unique ExecutionPlan */
|
||||
@Plan:name('Geo-ExecutionPlan-Speed---$deviceId_alert')
|
||||
|
||||
/* Enter a unique description for ExecutionPlan */
|
||||
-- @Plan:description('ExecutionPlan')
|
||||
|
||||
/* define streams/tables and write queries here ... */
|
||||
|
||||
@Import('org.wso2.geo.StandardSpatialEvents:1.0.0')
|
||||
define stream dataIn (id string, latitude double, longitude double, timeStamp long, type string, speed float, heading float, eventId string);
|
||||
|
||||
@Export('org.wso2.geo.ProcessedSpatialEvents:1.0.0')
|
||||
define stream dataOut (id string, latitude double, longitude double, timeStamp long, type string, speed float, heading float, eventId string, state string, information string);
|
||||
|
||||
from dataIn[speed >= $speedAlertValue and id == "$deviceId"]#geodashboard:subscribe()
|
||||
select id , latitude, longitude,timeStamp, type ,speed, heading ,eventId , "ALERTED" as state, "This device movement is not normal!!" as information
|
||||
insert into dataOut;
|
||||
from dataIn[speed < $speedAlertValue and id == "$deviceId"]
|
||||
select id , latitude, longitude,timeStamp, type ,speed, heading ,eventId , "NORMAL" as state, "This device movement is normal" as information
|
||||
insert into dataOut;
|
||||
@ -1,89 +0,0 @@
|
||||
/* Enter a unique ExecutionPlan */
|
||||
@Plan:name('$executionPlanName')
|
||||
|
||||
/* Enter a unique description for ExecutionPlan */
|
||||
-- @Plan:description('ExecutionPlan')
|
||||
|
||||
/* define streams/tables and write queries here ... */
|
||||
|
||||
@Import('org.wso2.geo.StandardSpatialEvents:1.0.0')
|
||||
define stream dataIn (id string, latitude double, longitude double, timeStamp long, type string ,speed float, heading float, eventId string);
|
||||
|
||||
|
||||
@Export('org.wso2.geo.ProcessedSpatialEvents:1.0.0')
|
||||
define stream dataOut (id string, latitude double, longitude double, timeStamp long, type string ,speed float, heading float, eventId string, state string, information string);
|
||||
|
||||
@IndexBy('id')
|
||||
define table StationeryTable(id string, timeStamp long);
|
||||
|
||||
@IndexBy('id')
|
||||
define table AlertsTable(id string, stationary bool);
|
||||
|
||||
from dataIn#geodashboard:subscribe()
|
||||
select id, latitude, longitude, timeStamp, type, speed, heading, eventId,geo:within(longitude,latitude,"$geoFenceGeoJSON") as isWithin
|
||||
insert into innerStreamOne;
|
||||
|
||||
from innerStreamOne[isWithin == false]
|
||||
delete StationeryTable on StationeryTable.id==id;
|
||||
|
||||
from innerStreamOne[isWithin == false]
|
||||
select id , latitude, longitude,timeStamp, type, speed, heading ,eventId , "false" as isStationary
|
||||
insert into dataOutStream;
|
||||
|
||||
from innerStreamOne[isWithin == true]#geo:stationary(id,longitude,latitude, $fluctuationRadius)
|
||||
select id, latitude, longitude, timeStamp, type, speed, heading, eventId,stationary
|
||||
insert into innerStreamTwo;
|
||||
|
||||
from innerStreamTwo[innerStreamTwo.stationary == true]
|
||||
select innerStreamTwo.id, innerStreamTwo.stationary
|
||||
insert into AlertsTable;
|
||||
|
||||
from innerStreamTwo[innerStreamTwo.stationary == false]
|
||||
delete AlertsTable on AlertsTable.id==id;
|
||||
|
||||
from innerStreamTwo[innerStreamTwo.stationary == false]
|
||||
delete StationeryTable on StationeryTable.id==id;
|
||||
|
||||
from innerStreamOne[isWithin == true AND not(AlertsTable.id == innerStreamOne.id in AlertsTable)]
|
||||
select id , latitude, longitude,timeStamp, type, speed, heading ,eventId , "false" as isStationary
|
||||
insert into dataOutStream;
|
||||
|
||||
from innerStreamOne[isWithin == true AND AlertsTable.id == innerStreamOne.id in AlertsTable]
|
||||
insert into innerStreamThree;
|
||||
|
||||
from innerStreamThree#window.length(0) join AlertsTable
|
||||
on innerStreamThree.id == AlertsTable.id
|
||||
select innerStreamThree.id , innerStreamThree.latitude, innerStreamThree.longitude,innerStreamThree.timeStamp, innerStreamThree.type, innerStreamThree.speed, innerStreamThree.heading ,innerStreamThree.eventId
|
||||
insert into innerStreamFour;
|
||||
|
||||
from innerStreamFour[not(StationeryTable.id == innerStreamFour.id in StationeryTable)]
|
||||
select innerStreamFour.id, innerStreamFour.timeStamp
|
||||
insert into StationeryTable;
|
||||
|
||||
from innerStreamOne[isWithin == true AND not(StationeryTable.id == innerStreamOne.id in StationeryTable)]
|
||||
select id , latitude, longitude,timeStamp, type, speed, heading ,eventId , "false" as isStationary
|
||||
insert into dataOutStream;
|
||||
|
||||
from innerStreamOne[isWithin == true AND StationeryTable.id == innerStreamOne.id in StationeryTable]
|
||||
insert into innerStreamFive;
|
||||
|
||||
from innerStreamFive#window.length(0) join StationeryTable
|
||||
on innerStreamFive.id == StationeryTable.id
|
||||
select innerStreamFive.id , innerStreamFive.latitude, innerStreamFive.longitude,innerStreamFive.timeStamp, innerStreamFive.type, innerStreamFive.speed, innerStreamFive.heading ,innerStreamFive.eventId, StationeryTable.timeStamp as storedTime
|
||||
insert into innerStreamSix;
|
||||
|
||||
from innerStreamSix[(timeStamp - storedTime) >= $stationeryTime]
|
||||
select id , latitude, longitude,timeStamp, type, speed, heading ,eventId ,"true" as isStationary
|
||||
insert into dataOutStream;
|
||||
|
||||
from innerStreamSix[(timeStamp - storedTime) < $stationeryTime]
|
||||
select id , latitude, longitude,timeStamp, type, speed, heading ,eventId ,"false" as isStationary
|
||||
insert into dataOutStream;
|
||||
|
||||
from dataOutStream[isStationary == 'true']
|
||||
select id ,latitude, longitude,timeStamp, type, speed, heading ,eventId ,"ALERTED" as state, "This device is in $stationeryName area!!!" as information
|
||||
insert into dataOut;
|
||||
|
||||
from dataOutStream[isStationary == 'false']
|
||||
select id , latitude, longitude,timeStamp, type, speed, heading ,eventId ,"NORMAL" as state,"" as information
|
||||
insert into dataOut;
|
||||
@ -1,17 +0,0 @@
|
||||
/* Enter a unique ExecutionPlan */
|
||||
@Plan:name('$executionPlanName')
|
||||
|
||||
/* Enter a unique description for ExecutionPlan */
|
||||
-- @Plan:description('ExecutionPlan')
|
||||
|
||||
/* define streams/tables and write queries here ... */
|
||||
|
||||
@Import('rawGeoStream:1.0.0')
|
||||
define stream dataIn (id string, timeStamp long, geometry string, state string, information string);
|
||||
|
||||
@Export('AlertsNotifications:1.0.0')
|
||||
define stream dataOut (id string, state string, information string, timeStamp long, latitude double, longitude double);
|
||||
|
||||
from dataIn[geo:intersects(geometry, "$geoFenceGeoJSON")==true and geodashboard:needToNotify(id, str:concat(information, state), "sendFirst") == true and id == $deviceId]
|
||||
select id, state, str:concat("Traffic alert in $areaName. State: ", state, " ", information) as information, timeStamp, 0.0 as latitude, 0.0 as longitude
|
||||
insert into dataOut
|
||||
@ -1,20 +0,0 @@
|
||||
/* Enter a unique ExecutionPlan */
|
||||
@Plan:name('$executionPlanName')
|
||||
|
||||
/* Enter a unique description for ExecutionPlan */
|
||||
-- @Plan:description('ExecutionPlan')
|
||||
|
||||
/* define streams/tables and write queries here ... */
|
||||
|
||||
@Import('org.wso2.geo.StandardSpatialEvents:1.0.0')
|
||||
define stream dataIn (id string, latitude double, longitude double, timeStamp long, type string ,speed float, heading float, eventId string);
|
||||
|
||||
@Export('org.wso2.geo.ProcessedSpatialEvents:1.0.0')
|
||||
define stream dataOut (id string, latitude double, longitude double, timeStamp long, type string ,speed float, heading float, eventId string, state string, information string);
|
||||
|
||||
from dataIn[geo:within(longitude,latitude,"$geoFenceGeoJSON")==true and id == "$deviceId"]#geodashboard:subscribe()
|
||||
select id , latitude, longitude,timeStamp, type, speed, heading ,eventId , "ALERTED" as state, "This device is in $areaName restricted area!!!" as information
|
||||
insert into dataOut;
|
||||
from dataIn[geo:within(longitude,latitude,"$geoFenceGeoJSON")!=true and id == "$deviceId"]
|
||||
select id , latitude, longitude,timeStamp, type, speed, heading ,eventId , "NORMAL" as state, "" as information
|
||||
insert into dataOut;
|
||||
@ -1,97 +0,0 @@
|
||||
body {
|
||||
font: 10px sans-serif;
|
||||
}
|
||||
.axis path,
|
||||
.axis line {
|
||||
fill: none;
|
||||
stroke: #000;
|
||||
shape-rendering: crispEdges;
|
||||
}
|
||||
.point {
|
||||
stroke: #000;
|
||||
}
|
||||
|
||||
form {
|
||||
margin-top: 25px;
|
||||
text-align: center;
|
||||
}
|
||||
.slider {
|
||||
width: 80%;
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
}
|
||||
output {
|
||||
display: block;
|
||||
margin: 25px auto;
|
||||
font-size:2em;
|
||||
}
|
||||
div.tooltip {
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
width: 60px;
|
||||
height: 28px;
|
||||
padding: 2px;
|
||||
font: 12px sans-serif;
|
||||
background: lightsteelblue;
|
||||
border: 0px;
|
||||
border-radius: 8px;
|
||||
pointer-events: none;
|
||||
}
|
||||
.axis path,
|
||||
.axis line {
|
||||
fill: none;
|
||||
stroke: #000;
|
||||
shape-rendering: crispEdges;
|
||||
}
|
||||
|
||||
.bar {
|
||||
fill: orange;
|
||||
}
|
||||
|
||||
.bar:hover {
|
||||
fill: orangered ;
|
||||
}
|
||||
|
||||
.x.axis path {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.d3-tip {
|
||||
line-height: 1;
|
||||
font-weight: bold;
|
||||
padding: 12px;
|
||||
background: rgba(0, 0, 0, 0.8);
|
||||
color: #fff;
|
||||
border-radius: 2px;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
/* Creates a small triangle extender for the tooltip */
|
||||
.d3-tip:after {
|
||||
box-sizing: border-box;
|
||||
display: inline;
|
||||
font-size: 10px;
|
||||
width: 100%;
|
||||
line-height: 1;
|
||||
color: rgba(0, 0, 0, 0.8);
|
||||
content: "\25BC";
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* Style northward tooltips differently */
|
||||
.d3-tip.n:after {
|
||||
margin: -1px 0 0 0;
|
||||
top: 100%;
|
||||
left: 0;
|
||||
}
|
||||
.btn-space {
|
||||
margin-right: 30px;
|
||||
margin-bottom: 10px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
.element-space{
|
||||
margin-right: 30px;
|
||||
margin-bottom: 10px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
@ -1,26 +0,0 @@
|
||||
{
|
||||
"id": "geo-dashboard",
|
||||
"title": "Geo Dashboard",
|
||||
"type": "widget",
|
||||
"thumbnail": "gadget/geo-dashboard/img/thumbnail.png",
|
||||
"settings": {
|
||||
"personalize": true
|
||||
},
|
||||
"data": {
|
||||
"url": "gadget/geo-dashboard/index.xml"
|
||||
},
|
||||
"styles": {
|
||||
"borders": false,
|
||||
"title": false
|
||||
},
|
||||
"notify": {
|
||||
"select": {
|
||||
"type": "address",
|
||||
"description": "This notifies selected state"
|
||||
},
|
||||
"cancel": {
|
||||
"type": "boolean",
|
||||
"description": "This notifies cancellation of state selection"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 204 KiB |
@ -1,31 +0,0 @@
|
||||
<%
|
||||
/*
|
||||
~ Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||
~
|
||||
~ WSO2 Inc. licenses this file to you under the Apache License,
|
||||
~ Version 2.0 (the "License"); you may not use this file except
|
||||
~ in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing,
|
||||
~ software distributed under the License is distributed on an
|
||||
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
~ KIND, either express or implied. See the License for the
|
||||
~ specific language governing permissions and limitations
|
||||
~ under the License.
|
||||
*/
|
||||
var escapeSiddhiql = function (s) {
|
||||
XML_CHAR_MAP = {
|
||||
'<': '<',
|
||||
'>': '>',
|
||||
'&': '&',
|
||||
'"': '"',
|
||||
"'": '''
|
||||
};
|
||||
return s.replace(/[<>&"']/g, function (ch) {
|
||||
return XML_CHAR_MAP[ch];
|
||||
});
|
||||
};
|
||||
%>
|
||||
@ -1,165 +0,0 @@
|
||||
<%
|
||||
/*
|
||||
~ Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||
~
|
||||
~ WSO2 Inc. licenses this file to you under the Apache License,
|
||||
~ Version 2.0 (the "License"); you may not use this file except
|
||||
~ in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing,
|
||||
~ software distributed under the License is distributed on an
|
||||
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
~ KIND, either express or implied. See the License for the
|
||||
~ specific language governing permissions and limitations
|
||||
~ under the License.
|
||||
*/
|
||||
|
||||
// TODO: change the name of this jaggery file even thoe it says 'store_alerts' it is actually removing the alerts from the data store as well o.O wired
|
||||
var log = new Log();
|
||||
var constants = require("../controllers/constants.jag");
|
||||
|
||||
var getRegistry = function() {
|
||||
var carbon = require("carbon");
|
||||
var server = new carbon.server.Server();
|
||||
return new carbon.registry.Registry(server, {
|
||||
system: true
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* Get the registry path to save the alert
|
||||
* @param {String} alert_type Type of the alert
|
||||
* @param {String} id Id of the device
|
||||
* @param {String} optional /optional identity
|
||||
* @return {String} Registry Path to save teh alert
|
||||
* */
|
||||
var registryPath = function (alert_type, id, optional) {
|
||||
if (alert_type && id ) {
|
||||
if (alert_type === constants.EXECUTION_PLAN_TYPE_SPEED || alert_type === constants
|
||||
.EXECUTION_PLAN_TYPE_PROXIMITY) {
|
||||
return constants.REGISTRY_PATH_FOR_ALERTS + alert_type + "/" + id;
|
||||
} else {
|
||||
return constants.REGISTRY_PATH_FOR_ALERTS + alert_type + "/" + id + "/" + optional;
|
||||
}
|
||||
} else {
|
||||
throw "Alert type and ID are mandatory field to generate the relevant registry path";
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* To store the alerts for visualizing purposes
|
||||
* @param resourceContents Value that need to saved
|
||||
* @param executionPlan Type of the execution plan
|
||||
* @param optional Optional parameters that are only specific to particular device types
|
||||
* @param deviceId Id of the device
|
||||
*/
|
||||
function store(resourceContents, executionPlan, optional, deviceId) {
|
||||
var registry = getRegistry();
|
||||
var pathToAddAlert = "";
|
||||
if (log.isDebugEnabled()) {
|
||||
log.debug("DEBUG:*** resourceContents:" + resourceContents);
|
||||
}
|
||||
if (executionPlan === constants.EXECUTION_PLAN_TYPE_SPEED) {
|
||||
pathToAddAlert = registryPath(constants.EXECUTION_PLAN_TYPE_SPEED, deviceId);
|
||||
registry.put(pathToAddAlert, {
|
||||
content: '{"speedLimit": ' + resourceContents + '}',
|
||||
mediaType: 'application/json'
|
||||
});
|
||||
if (log.isDebugEnabled()) {
|
||||
log.debug("DEBUG:*** Current speed limit set to:" + currentLimit.content);
|
||||
}
|
||||
}
|
||||
else if (executionPlan === constants.EXECUTION_PLAN_TYPE_WITHIN) {
|
||||
pathToAddAlert = registryPath(constants.EXECUTION_PLAN_TYPE_WITHIN, deviceId, optional.queryName);
|
||||
if (log.isDebugEnabled()) {
|
||||
log.debug("DEBUG:****** resourceContents = " + String('{"geoJson": ' + resourceContents + '}'));
|
||||
}
|
||||
registry.put(pathToAddAlert, {
|
||||
content: JSON.stringify(resourceContents),
|
||||
mediaType: 'application/json',
|
||||
properties : {
|
||||
"queryName" : optional.queryName,
|
||||
"areaName" : optional.customName
|
||||
}
|
||||
});
|
||||
} else if (executionPlan === constants.EXECUTION_PLAN_TYPE_PROXIMITY) {
|
||||
pathToAddAlert = registryPath(constants.EXECUTION_PLAN_TYPE_PROXIMITY, deviceId);
|
||||
if (log.isDebugEnabled()) {
|
||||
log.debug("DEBUG:****** resourceContents = " + resourceContents);
|
||||
}
|
||||
registry.put(pathToAddAlert, {
|
||||
content: "",
|
||||
mediaType: 'application/json'
|
||||
});
|
||||
registry.addProperty(pathToAddAlert, "proximityDistance", resourceContents.proximityDistance);
|
||||
registry.addProperty(pathToAddAlert, "proximityTime", resourceContents.proximityTime);
|
||||
} else if (executionPlan === constants.EXECUTION_PLAN_TYPE_STATIONARY) {
|
||||
pathToAddAlert = registryPath(constants.EXECUTION_PLAN_TYPE_STATIONARY, deviceId, optional.queryName);
|
||||
if (log.isDebugEnabled()) {
|
||||
log.debug("DEBUG:****** resourceContents = " + resourceContents);
|
||||
}
|
||||
var registryResource = {
|
||||
content: JSON.stringify(resourceContents.geoFenceGeoJSON),
|
||||
mediaType: 'application/json',
|
||||
properties: {
|
||||
"queryName" : optional.queryName,
|
||||
"stationeryName" : optional.customName,
|
||||
"stationeryTime" : resourceContents.stationeryTime,
|
||||
"fluctuationRadius" : resourceContents.fluctuationRadius
|
||||
}
|
||||
};
|
||||
registry.put(pathToAddAlert, registryResource);
|
||||
} else if (executionPlan === constants.EXECUTION_PLAN_TYPE_TRAFFIC) {
|
||||
pathToAddAlert = registryPath(constants.EXECUTION_PLAN_TYPE_TRAFFIC, deviceId, optional.queryName);
|
||||
if (log.isDebugEnabled()) {
|
||||
log.debug("DEBUG:****** resourceContents = " + resourceContents.geoFenceGeoJSON);
|
||||
}
|
||||
var registryResource = {
|
||||
content: JSON.stringify(resourceContents),
|
||||
mediaType: 'application/json',
|
||||
properties: {
|
||||
"queryName" : optional.queryName,
|
||||
"stationeryName" : optional.customName,
|
||||
"stationeryTime" : resourceContents.stationeryTime,
|
||||
"fluctuationRadius" : resourceContents.fluctuationRadius
|
||||
}
|
||||
};
|
||||
registry.put(pathToAddAlert, {
|
||||
content: JSON.stringify(resourceContents),
|
||||
mediaType: 'application/json',
|
||||
properties: {
|
||||
"queryName" : optional.queryName,
|
||||
"areaName" : optional.customName
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* To remove the registry resource
|
||||
* @param queryName Name of the query that need to be removed
|
||||
* @param executionPlanType type of the execution plan that need to be removed
|
||||
* @param deviceId Id of the device
|
||||
*/
|
||||
function remove(queryName, executionPlanType, deviceId) {
|
||||
var path = "";
|
||||
try {
|
||||
if (executionPlanType === constants.EXECUTION_PLAN_TYPE_SPEED || executionPlanType === constants.EXECUTION_PLAN_TYPE_PROXIMITY) {
|
||||
path = registryPath(executionPlanType, deviceId);
|
||||
} else {
|
||||
path = registryPath(executionPlanType, deviceId, queryName);
|
||||
}
|
||||
getRegistry().remove(path);
|
||||
if (log.isDebugEnabled()) {
|
||||
log.debug("Resource is removed from the path" + path);
|
||||
}
|
||||
}
|
||||
catch (e) {
|
||||
log.error("The requested resource " + path + " was not found on this server.");
|
||||
}
|
||||
}
|
||||
%>
|
||||
@ -1,196 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!--
|
||||
~ Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||
~
|
||||
~ WSO2 Inc. licenses this file to you under the Apache License,
|
||||
~ Version 2.0 (the "License"); you may not use this file except
|
||||
~ in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing,
|
||||
~ software distributed under the License is distributed on an
|
||||
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
~ KIND, either express or implied. See the License for the
|
||||
~ specific language governing permissions and limitations
|
||||
~ under the License.
|
||||
-->
|
||||
|
||||
<Module>
|
||||
<ModulePrefs title="Location Data" description="Location Data">
|
||||
<Require feature="dynamic-height" />
|
||||
<Require feature="dynamic-width" />
|
||||
<Require feature="wso2-gadgets-identity" />
|
||||
<Require feature="wso2-gadgets-state" />
|
||||
</ModulePrefs>
|
||||
<Content type="html">
|
||||
<![CDATA[
|
||||
<html>
|
||||
<meta charset="utf-8">
|
||||
<head>
|
||||
|
||||
<link rel="stylesheet" href="css/style.css">
|
||||
</head>
|
||||
<link rel="stylesheet" type="text/css" href="css/style.css">
|
||||
<script src="lib/js/jquery.js"></script>
|
||||
<body>
|
||||
<link rel="stylesheet" href="lib/css/bootstrap.css">
|
||||
<script src="lib/js/bootstrap.js"></script>
|
||||
<script src="lib/js/d3.js"></script>
|
||||
<script src="js/RestCaller.js"></script>
|
||||
<script src="js/graph.js"></script>
|
||||
<script src="js/traffic.js"></script>
|
||||
<script src="lib/js/d3tip.js"></script>
|
||||
|
||||
<script>
|
||||
var imageX=-30;
|
||||
var imageY=-5
|
||||
var margin = {top: 20, right: 20, bottom: 30, left: 40},
|
||||
width = 1400 - margin.left - margin.right,
|
||||
height = 744 - margin.top - margin.bottom;
|
||||
|
||||
var x = d3.scale.linear()
|
||||
.range([0, width]);
|
||||
|
||||
var y = d3.scale.linear()
|
||||
.range([0,height]);
|
||||
loadImage(imageX,imageY);
|
||||
|
||||
var svg = d3.select("body").append("svg")
|
||||
.attr("width", width + margin.left + margin.right)
|
||||
.attr("height", height + margin.top + margin.bottom)
|
||||
.append("g")
|
||||
.attr("transform", "translate(" + margin.left + "," + margin.top + ")");
|
||||
loadImage(imageX,imageY);
|
||||
getDimension();
|
||||
GetInitStartTime();
|
||||
|
||||
GetEndTime();
|
||||
</script>
|
||||
<div class="well">
|
||||
<div class="container">
|
||||
<div class="col-sm-4">
|
||||
<h3 class="text-primary">Select Time</h3>
|
||||
<input class="slider form-control input-sm" type="range" id="valueSlider" value="" step="1000" min="01170000853070" max="01172715042247" oninput="outputUpdate(value)">
|
||||
<output for=value id="output" hidden="true"></output>
|
||||
<output id="calenderDate"></output>
|
||||
<div hidden="true">
|
||||
<label for="stt">Starting Time</label>
|
||||
<input id="stt" name="stt" onchange="show()">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-sm-5">
|
||||
<h3 class="text-primary">Select Duration</h3>
|
||||
<select class="form-control input-sm-4" id="gap" name="gap" onclick="changeStep()">
|
||||
<option value=1000>1s</option>
|
||||
<option value=5000>5s</option>
|
||||
<option value=15000>15s</option>
|
||||
<option value=30000>30s</option>
|
||||
<option value=60000>1min</option>
|
||||
<option value=300000>5min</option>
|
||||
<option value=600000>10min</option>
|
||||
<option value=3600000>1hour</option>
|
||||
<option value=7200000>2hour</option>
|
||||
<option value=86400000>1day</option>
|
||||
</select>
|
||||
|
||||
</br>
|
||||
|
||||
<button class="btn btn-default btn-space" onclick="show() "style="align-content: center;width: 110px;height: 40px" >Show</button>
|
||||
<button class="btn btn-default btn-space" onclick="showPrevious()"style="align-content: center;width: 110px;height: 40px">Previous</button>
|
||||
<button class="btn btn-default btn-space" onclick="showNext()"style="align-content: center;width: 110px;height: 40px">Next</button>
|
||||
<button class="btn btn-primary btn-space" onclick="play()"style="align-content: center;width: 110px;height: 40px">Play</button>
|
||||
<button class="btn btn-default btn-space" onclick="showDensity()"style="align-content: center;width: 110px;height: 40px">Show Density</button>
|
||||
<button class="btn btn-default btn-space" onclick="display()"style="align-content: center;width: 110px;height: 40px">Reset</button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="well">
|
||||
<div class="container">
|
||||
<div class="col-sm-4">
|
||||
<div class="container">
|
||||
<h3 class="text-primary">Typical Scenario</h3>
|
||||
<select class="form-control input-sm-4 element-space" id="time" name="time" style="width: 200px" >
|
||||
<option value=00>0AM</option>
|
||||
<option value=01>1AM</option>
|
||||
<option value=02>2AM</option>
|
||||
<option value=03>3AM</option>
|
||||
<option value=04>4AM</option>
|
||||
<option value=05>5AM</option>
|
||||
<option value=06>6AM</option>
|
||||
<option value=07>7AM</option>
|
||||
<option value=08>8AM</option>
|
||||
<option value=09>9AM</option>
|
||||
<option value=10>10AM</option>
|
||||
<option value=11>11AM</option>
|
||||
<option value=12>12AM</option>
|
||||
<option value=13>1PM</option>
|
||||
<option value=14>2PM</option>
|
||||
<option value=15>3PM</option>
|
||||
<option value=16>4PM</option>
|
||||
<option value=17>5PM</option>
|
||||
<option value=18>6PM</option>
|
||||
<option value=19>7PM</option>
|
||||
<option value=20>8PM</option>
|
||||
<option value=21>9PM</option>
|
||||
<option value=22>10PM</option>
|
||||
<option value=23>11PM</option>
|
||||
</select>
|
||||
<select class="form-control input-sm-4 element-space" id="day" name="day" style="width: 200px" >
|
||||
<option value=mon>Monday</option>
|
||||
<option value=tue>Tuesday</option>
|
||||
<option value=wed>Wednesday</option>
|
||||
<option value=thu>Thursday</option>
|
||||
<option value=fri>Friday</option>
|
||||
<option value=sat>Saturday</option>
|
||||
<option value=sun>Sunday</option>
|
||||
</select>
|
||||
<button class="btn btn-primary element-space" onclick="showScene()"style="align-content: center;width: 110px;height: 40px" >View Scenario</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-4 " >
|
||||
<h3 class="text-primary">Upload Data file</h3>
|
||||
<input class="form-control input-sm-4 element-space" id="fileupload" type="file" />
|
||||
<Button class="btn btn-primary element-space" onclick="sendFile()" id="submit" style="align-content: center;width: 110px;height: 40px">Submit</Button>
|
||||
</div>
|
||||
<div class="col-sm-4 " >
|
||||
<h3 class="text-primary">Change Image</h3>
|
||||
<button class="btn btn-default btn-space" onclick="changeImage(0,1)"style="align-content: center;width: 110px;height: 40px" >Up</button>
|
||||
<button class="btn btn-default btn-space" onclick="changeImage(0,-1)"style="align-content: center;width: 110px;height: 40px">Down</button>
|
||||
<button class="btn btn-default btn-space" onclick="changeImage(1,0)"style="align-content: center;width: 110px;height: 40px">Left</button>
|
||||
<button class="btn btn-default btn-space" onclick="changeImage(-1,0)"style="align-content: center;width: 110px;height: 40px">Right</button>
|
||||
<button class="btn btn-default btn-space" onclick="showDensity()"style="align-content: center;width: 110px;height: 40px">Show Density</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Modal -->
|
||||
<div class="modal fade row-fluid" id="frequency_view" role="dialog" >
|
||||
<div class="modal-dialog">
|
||||
|
||||
<!-- Modal content-->
|
||||
<div class="modal-content" style="width: 1000px">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal">×</button>
|
||||
<h4 class="modal-title">Sensor Triggered Frequencies</h4>
|
||||
</div>
|
||||
<div id="modal_body" name="modal_body" class="modal-body">
|
||||
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
]]>
|
||||
</Content>
|
||||
</Module>
|
||||
@ -1,478 +0,0 @@
|
||||
require("lib/js/d3.js");
|
||||
require("js/graph.js");
|
||||
require("js/traffic.js");
|
||||
require("lib/js/d3tip.js");
|
||||
var GetInitStartTime = function () {
|
||||
$.ajax({
|
||||
url: 'http://localhost:8080/service/time/start',
|
||||
type: 'GET',
|
||||
dataType:'json',
|
||||
success: function(data) {
|
||||
var start =JSON.parse(JSON.stringify(data.stt));
|
||||
document.getElementById("stt").value=start;
|
||||
var valueSlider =document.getElementById("valueSlider");
|
||||
valueSlider.innerHTML=start;
|
||||
valueSlider.value=start;
|
||||
valueSlider.min=parseInt(start);
|
||||
setCalendarDate(start);
|
||||
//alert(JSON.stringify(data));
|
||||
},
|
||||
error:function (jqXHR, textStatus, errorThrown) {
|
||||
alert(errorThrown);
|
||||
}
|
||||
});
|
||||
};
|
||||
var GetEndTime = function () {
|
||||
$.ajax({
|
||||
url: 'http://localhost:8080/service/time/end',
|
||||
type: 'GET',
|
||||
dataType:'json',
|
||||
success: function(data) {
|
||||
var end =JSON.parse(JSON.stringify(data.stt));
|
||||
document.getElementById("valueSlider").max =end;
|
||||
show();
|
||||
//alert(JSON.stringify(data));
|
||||
},
|
||||
error:function (jqXHR, textStatus, errorThrown) {
|
||||
alert(errorThrown);
|
||||
}
|
||||
|
||||
});
|
||||
};
|
||||
var show = function () {
|
||||
var start = parseInt(document.getElementById('stt').value);
|
||||
document.getElementById('valueSlider').value = start;
|
||||
var end = start + parseInt(document.getElementById('gap').value);
|
||||
var data2 = [];
|
||||
$.ajax({
|
||||
url: 'http://localhost:8080/service/data',
|
||||
type: 'GET',
|
||||
data: 'start=' + start + '&end=' + end, // or $('#myform').serializeArray()
|
||||
dataType: 'json',
|
||||
success: function (data) {
|
||||
var X = JSON.parse(JSON.stringify(data.map.X.myArrayList));
|
||||
|
||||
var Y = JSON.parse(JSON.stringify(data.map.Y.myArrayList));
|
||||
|
||||
for (i = 0; i < X.length; i++) {
|
||||
|
||||
data2.push({x: X[i], y: Y[i]});
|
||||
}
|
||||
draw(data2);
|
||||
//alert(JSON.stringify(data));
|
||||
},
|
||||
error: function (jqXHR, textStatus, errorThrown) {
|
||||
alert(errorThrown);
|
||||
}
|
||||
});
|
||||
};
|
||||
function sendFile() {
|
||||
var file = document.getElementById('fileupload').files[0];
|
||||
var fd = new FormData();
|
||||
fd.append( 'file', file);
|
||||
|
||||
$.ajax({
|
||||
url: 'http://localhost:8080/service/file/upload',
|
||||
data: fd,
|
||||
processData: false,
|
||||
contentType: false,
|
||||
type: 'POST',
|
||||
|
||||
|
||||
|
||||
success: function(data) {
|
||||
alert("file upload sucessfull");
|
||||
GetInitStartTime();
|
||||
GetEndTime();
|
||||
show();
|
||||
//alert(JSON.stringify(data));
|
||||
},
|
||||
error:function (jqXHR, textStatus, errorThrown) {
|
||||
alert(errorThrown);
|
||||
}
|
||||
});
|
||||
}
|
||||
function getDimension() {
|
||||
var url;
|
||||
var value;
|
||||
|
||||
|
||||
|
||||
$.ajax({
|
||||
url: 'http://localhost:8080/service/get/dimension',
|
||||
type: 'GET',
|
||||
dataType: 'json',
|
||||
success: function (data) {
|
||||
Xmax = JSON.parse(JSON.stringify(data.maxX));
|
||||
Ymax = JSON.parse(JSON.stringify(data.maxY));
|
||||
Xmin = JSON.parse(JSON.stringify(data.minX));
|
||||
Ymin = JSON.parse(JSON.stringify(data.minY));
|
||||
|
||||
x.domain(d3.extent([Xmin,Xmax])).nice();
|
||||
y.domain(d3.extent([Ymin,Ymax])).nice();
|
||||
|
||||
return value;
|
||||
|
||||
|
||||
},
|
||||
error: function (jqXHR, textStatus, errorThrown) {
|
||||
alert(errorThrown);
|
||||
}
|
||||
})
|
||||
|
||||
x.domain(d3.extent([-50,50])).nice();
|
||||
y.domain(d3.extent([-100,100])).nice();
|
||||
|
||||
}
|
||||
function play(start,chunk) {
|
||||
var start=parseInt(document.getElementById('stt').value);
|
||||
var chunk =parseInt(document.getElementById('gap').value)
|
||||
var end = parseInt(start) + (500*parseInt(chunk));
|
||||
|
||||
// var data2 =[];
|
||||
var xList,yList,tList,cList;
|
||||
$.ajax({
|
||||
|
||||
url: 'http://localhost:8080/service/data/chunk',
|
||||
type: 'GET',
|
||||
data: 'start='+start+'&end='+end, // or $('#myform').serializeArray()
|
||||
dataType:'json',
|
||||
|
||||
success: function(data) {
|
||||
alert("data loaded");
|
||||
xList=JSON.parse(JSON.stringify(data.X));
|
||||
yList=JSON.parse(JSON.stringify(data.Y));
|
||||
tList=JSON.parse(JSON.stringify(data.T));
|
||||
cList=JSON.parse(JSON.stringify(data.C));
|
||||
var i=0;
|
||||
while(i<500){
|
||||
var s=parseInt(start)+(i*1000);
|
||||
doScaledTimeout(i,s,tList,chunk,xList,yList,cList);
|
||||
i+=1;
|
||||
}
|
||||
|
||||
|
||||
},
|
||||
error:function (jqXHR, textStatus, errorThrown) {
|
||||
alert(errorThrown);
|
||||
}
|
||||
});
|
||||
}
|
||||
var draw=function (data) {
|
||||
|
||||
svg.selectAll(".series").remove();
|
||||
svg.selectAll(".g").remove();
|
||||
var seriesNames = d3.keys(data[0])
|
||||
.filter(function(d) { return d !== "x"; })
|
||||
.sort();
|
||||
var series = seriesNames.map(function(series) {
|
||||
return data.map(function(d) {
|
||||
return {x: +parseFloat(d.x), y: +parseFloat(d.y),c:+parseFloat(d.c)};
|
||||
});
|
||||
});
|
||||
// Compute the scales’ domains.
|
||||
|
||||
|
||||
// Add the x-axis.
|
||||
svg.append("g")
|
||||
.attr("class", "x axis")
|
||||
.attr("transform", "translate(0," + height + ")")
|
||||
.call(d3.svg.axis().scale(x).orient("bottom"))
|
||||
|
||||
|
||||
// Add the y-axis.
|
||||
svg.append("g")
|
||||
.attr("class", "y axis")
|
||||
.call(d3.svg.axis().scale(y).orient("left"));
|
||||
|
||||
var div = d3.select("body").append("div")
|
||||
.attr("class", "tooltip")
|
||||
.style("opacity", 0);
|
||||
|
||||
// Add the points!
|
||||
svg.selectAll(".series")
|
||||
.data(series)
|
||||
.enter().append("g")
|
||||
.attr("class", "series")
|
||||
|
||||
|
||||
.selectAll(".point")
|
||||
.data(function(d) {
|
||||
|
||||
return d; })
|
||||
.enter().append("circle")
|
||||
.attr("class", "point")
|
||||
.style("fill", function (d) {
|
||||
if(isNaN(d.c)){
|
||||
return colorRed(50);
|
||||
}
|
||||
return d3.rgb(255,d.c*255/100,d.c*255/100);
|
||||
|
||||
})
|
||||
.attr("r", 4.5)
|
||||
.attr("cx", function(d) {
|
||||
return x(parseFloat(d.x));})
|
||||
.attr("cy", function(d) {
|
||||
return y(parseFloat(d.y));})
|
||||
|
||||
};
|
||||
function require(script) {
|
||||
$.ajax({
|
||||
url: script,
|
||||
dataType: "script",
|
||||
async: false,
|
||||
success: function () {
|
||||
|
||||
},
|
||||
error: function () {
|
||||
throw new Error("Could not load script " + script);
|
||||
}
|
||||
});
|
||||
}
|
||||
function showDensity() {
|
||||
var start = parseInt(document.getElementById('stt').value);
|
||||
document.getElementById('valueSlider').value = start;
|
||||
var end = start + parseInt(document.getElementById('gap').value);
|
||||
var data2 = [];
|
||||
$.ajax({
|
||||
url: 'http://localhost:8080/service/data/density',
|
||||
type: 'GET',
|
||||
data: 'start=' + parseInt(document.getElementById('stt').value) + '&end=' +(parseInt(document.getElementById('stt').value)+ parseInt(document.getElementById('gap').value)), // or $('#myform').serializeArray()
|
||||
dataType: 'json',
|
||||
success: function (data) {
|
||||
var X = JSON.parse(JSON.stringify(data.map.X.myArrayList));
|
||||
|
||||
var Y = JSON.parse(JSON.stringify(data.map.Y.myArrayList));
|
||||
|
||||
var D = JSON.parse(JSON.stringify(data.map.D.myArrayList));
|
||||
|
||||
var ID = JSON.parse(JSON.stringify(data.map.ID.myArrayList));
|
||||
for (i = 0; i < X.length; i++) {
|
||||
|
||||
|
||||
data2.push({x: X[i], y: Y[i], c:parseInt(D[i]), id:ID[i]});
|
||||
}
|
||||
var max=D[0];
|
||||
var min=D[0];
|
||||
for (j=1;j<X.length;j++){
|
||||
if(D[j]>max){
|
||||
max=D[j];
|
||||
}
|
||||
if(D[j]<min){
|
||||
min=D[j];
|
||||
}
|
||||
}
|
||||
drawDensity(data2,max,min);
|
||||
//alert(JSON.stringify(data));
|
||||
},
|
||||
error: function (jqXHR, textStatus, errorThrown) {
|
||||
alert(errorThrown);
|
||||
}
|
||||
});
|
||||
|
||||
};
|
||||
var drawDensity=function (data,max,min) {
|
||||
|
||||
svg.selectAll(".series").remove();
|
||||
svg.selectAll(".g").remove();
|
||||
var seriesNames = d3.keys(data[0])
|
||||
.filter(function(d) { return d !== "x" && d!=="c" && d!="id"; })
|
||||
.sort();
|
||||
var series = seriesNames.map(function(series) {
|
||||
return data.map(function(d) {
|
||||
return {x: +parseFloat(d.x), y: +parseFloat(d.y),c:+(parseFloat(d.c)-min)*100/(max-min), id:parseInt(d.id)};
|
||||
});
|
||||
});
|
||||
// Compute the scales’ domains.
|
||||
x.domain(d3.extent([-71,40])).nice();
|
||||
y.domain(d3.extent([4,65])).nice();
|
||||
|
||||
// Add the x-axis.
|
||||
svg.append("g")
|
||||
.attr("class", "x axis")
|
||||
.attr("transform", "translate(0," + height + ")")
|
||||
.call(d3.svg.axis().scale(x).orient("bottom"));
|
||||
// Add the y-axis.
|
||||
svg.append("g")
|
||||
.attr("class", "y axis")
|
||||
.call(d3.svg.axis().scale(y).orient("left"));
|
||||
// Add the points!
|
||||
svg.selectAll(".series")
|
||||
.data(series)
|
||||
.enter().append("g")
|
||||
.attr("class", "series")
|
||||
|
||||
|
||||
.selectAll(".point")
|
||||
.data(function(d) {
|
||||
return d; })
|
||||
.enter().append("circle")
|
||||
.attr("class", "point")
|
||||
.style("fill", function (d) {
|
||||
if(d.c==0){
|
||||
return d3.rgb(255,255,255);
|
||||
}
|
||||
else if(d.c>20){
|
||||
return colorRed(d.c);
|
||||
}
|
||||
else if(d.c>10){
|
||||
return colorBlue(d.c);
|
||||
}
|
||||
else if(d.c>=0){
|
||||
return colorGreen(d.c);
|
||||
}
|
||||
else{
|
||||
return d3.rgb(255,255,255);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
})
|
||||
.on("mouseover", function(d) {
|
||||
tooltip.transition()
|
||||
.duration(200)
|
||||
.style("opacity", .9);
|
||||
tooltip.html((d.c).toFixed(2) )
|
||||
.style("left", (x(parseInt(d.x)) + "px"))
|
||||
.style("top", (y(parseInt(d.y)) + "px"));
|
||||
})
|
||||
.on("mouseout", function(d) {
|
||||
tooltip.transition()
|
||||
.duration(500)
|
||||
.style("opacity", 0);
|
||||
})
|
||||
.attr("r", 4.5)
|
||||
.attr("cx", function(d) {
|
||||
return x(parseFloat(d.x));})
|
||||
.attr("cy", function(d) {
|
||||
return y(parseFloat(d.y));})
|
||||
.on("click",function (d){
|
||||
var id=d.id;
|
||||
getFrequency(id);
|
||||
});
|
||||
|
||||
};
|
||||
|
||||
function getFrequency(id) {
|
||||
|
||||
var start = parseInt(document.getElementById('stt').value);
|
||||
document.getElementById('valueSlider').value = start;
|
||||
var gap = parseInt(document.getElementById('gap').value);
|
||||
var data1 = [];
|
||||
$.ajax({
|
||||
url:'http://localhost:8080/service/data/count',
|
||||
type: 'GET',
|
||||
data: 'start=' + start + '&gap=' + gap + '&sensor=' + id, // or $('#myform').serializeArray()
|
||||
dataType: 'json',
|
||||
success: function (data) {
|
||||
var count = JSON.parse(JSON.stringify(data.map.Count.myArrayList));
|
||||
for (i = 0; i < count.length; i++) {
|
||||
var gap = parseInt(document.getElementById('gap').value);
|
||||
|
||||
|
||||
data1.push({x: tsToCal(gap,(gap*i)+start+(gap/2.0)), y: count[i]});
|
||||
}
|
||||
var seriesNames = d3.keys(data[0])
|
||||
.filter(function(d) { return d !== "x" && d!=="c" && d!="id"; })
|
||||
.sort();
|
||||
var series = seriesNames.map(function(series) {
|
||||
return data.map(function(d) {
|
||||
return {x: +i, y: d.y};
|
||||
});
|
||||
});
|
||||
var stt = parseInt(document.getElementById("stt").value);
|
||||
var gap = parseInt(document.getElementById("gap").value);
|
||||
|
||||
d3.select("#barChart").remove();
|
||||
var margin = {top: 40, right: 20, bottom: 30, left: 40},
|
||||
width = 960 - margin.left - margin.right,
|
||||
height = 500 - margin.top - margin.bottom;
|
||||
|
||||
|
||||
|
||||
var x = d3.scale.ordinal()
|
||||
.rangeRoundBands([0, width], .1);
|
||||
|
||||
var y = d3.scale.linear()
|
||||
.range([height, 0]);
|
||||
|
||||
var xAxis = d3.svg.axis()
|
||||
.scale(x)
|
||||
.orient("bottom");
|
||||
|
||||
|
||||
var yAxis = d3.svg.axis()
|
||||
.scale(y)
|
||||
.orient("left");
|
||||
var svg2 = d3.select("#modal_body").append("svg")
|
||||
.attr("id","barChart")
|
||||
.attr("width", width + margin.left + margin.right)
|
||||
.attr("height", height + margin.top + margin.bottom)
|
||||
.append("g")
|
||||
.attr("transform", "translate(" + margin.left + "," + margin.top + ")");
|
||||
var tip = d3.tip()
|
||||
.attr('class', 'd3-tip')
|
||||
.offset([-10, 0])
|
||||
.html(function (d) {
|
||||
return d.y;
|
||||
|
||||
});
|
||||
svg2.call(tip);
|
||||
|
||||
|
||||
x.domain(data1.map(function(d) {
|
||||
|
||||
return d.x; }));
|
||||
|
||||
y.domain([0, d3.max(data1, function(d) {
|
||||
|
||||
return d.y; })]);
|
||||
svg2.append("g")
|
||||
.attr("class", "x axis")
|
||||
.attr("transform", "translate(0," + height + ")")
|
||||
.call(xAxis);
|
||||
|
||||
svg2.append("g")
|
||||
.attr("class", "y axis")
|
||||
.call(yAxis)
|
||||
.append("text")
|
||||
.attr("transform", "rotate(-90)")
|
||||
.attr("y", 6)
|
||||
.attr("dy", ".71em")
|
||||
.style("text-anchor", "end")
|
||||
.text("Frequency");
|
||||
|
||||
svg2.selectAll(".bar")
|
||||
.data(data1)
|
||||
.enter().append("rect")
|
||||
.attr("class", "bar")
|
||||
.attr("x", function(d) {return x(d.x); })
|
||||
.attr("width", x.rangeBand())
|
||||
.attr("y", function(d) {return y(d.y); })
|
||||
.attr("height", function(d) { return height - y(d.y); })
|
||||
.on('mouseover', tip.show)
|
||||
.on('mouseout', tip.hide);
|
||||
|
||||
|
||||
|
||||
function type(d) {
|
||||
d.y = +d.y;
|
||||
return d;
|
||||
}
|
||||
|
||||
|
||||
},
|
||||
error: function (jqXHR, textStatus, errorThrown) {
|
||||
alert(errorThrown);
|
||||
}
|
||||
|
||||
|
||||
|
||||
});
|
||||
$("#frequency_view").modal("show");
|
||||
}
|
||||
|
||||
|
||||
@ -1,111 +0,0 @@
|
||||
/**
|
||||
* Created by dimuth on 10/25/16.
|
||||
*/
|
||||
function setCalendarDate(start){
|
||||
var calendarTime=timeStampToCalendarDate(start);
|
||||
document.getElementById("calenderDate").innerHTML=calendarTime;
|
||||
}
|
||||
var showNext =function () {
|
||||
var currentStart = parseInt(document.getElementById('stt').value);
|
||||
var duration = parseInt(document.getElementById('gap').value);
|
||||
document.getElementById("stt").value =currentStart+duration;
|
||||
|
||||
show();
|
||||
};
|
||||
var showPrevious =function () {
|
||||
var currentStart = parseInt(document.getElementById('stt').value);
|
||||
var duration = parseInt(document.getElementById('gap').value);
|
||||
document.getElementById("stt").value =currentStart-duration;
|
||||
show();
|
||||
};
|
||||
function outputUpdate(num) {
|
||||
document.querySelector('#output').value = num;
|
||||
document.getElementById('stt').value =num;
|
||||
setCalendarDate(num);
|
||||
show();
|
||||
}
|
||||
function changeStep() {
|
||||
document.getElementById("valueSlider").step =document.getElementById("gap").value;
|
||||
}
|
||||
function timeStampToCalendarDate(time) {
|
||||
|
||||
var date = new Date(parseInt(time));
|
||||
var Months =["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];
|
||||
return date.getFullYear()+" "+Months[date.getMonth()]+" "+date.getDate()+" "+date.getHours()+":"+date.getMinutes()+":"+date.getSeconds();
|
||||
}
|
||||
function showChunk(start,chunk,tList,xList,yList) {
|
||||
var data2=[];
|
||||
var gap=document.getElementById("gap").value;
|
||||
var e=parseInt(start)+parseInt(chunk);
|
||||
for(i=0;i<tList.length;i++ ){
|
||||
if(parseInt(tList[i])<e && parseInt(tList[i])>parseInt(start)){
|
||||
data2.push({x:xList[i] ,y:yList[i], c:((e-parseInt(tList[i]))*100/parseInt(gap))});
|
||||
}
|
||||
}
|
||||
return data2;
|
||||
}
|
||||
function doScaledTimeout(j,start,tList,chunk,xList,yList,cList) {
|
||||
setTimeout(function() {
|
||||
document.getElementById('stt').value=start;
|
||||
document.getElementById('output').value=start;
|
||||
setCalendarDate(start);
|
||||
|
||||
var data2=showChunk(start,chunk,tList,xList,yList,cList);
|
||||
|
||||
draw(data2);
|
||||
}, j * 300);
|
||||
}
|
||||
colorRed = d3.scale.linear().domain([20,100])
|
||||
.interpolate(d3.interpolateHcl)
|
||||
.range([d3.rgb('#F99FA2'),d3.rgb("#F72128"),]);
|
||||
|
||||
colorBlue = d3.scale.linear().domain([10,20])
|
||||
.interpolate(d3.interpolateHcl)
|
||||
.range([d3.rgb("#00C1FF"),d3.rgb('#6670AC')]);
|
||||
|
||||
colorGreen = d3.scale.linear().domain([10,0])
|
||||
.interpolate(d3.interpolateHcl)
|
||||
.range([d3.rgb("#0A7E03"),d3.rgb('#0FF300')]);
|
||||
|
||||
var tooltip = d3.select("body").append("div")
|
||||
.attr("class", "tooltip")
|
||||
.style("opacity", 0);
|
||||
|
||||
|
||||
function tsToCal(gap,time) {
|
||||
var date = new Date(parseInt(time));
|
||||
var Months =["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];
|
||||
if(gap < 60000){
|
||||
return date.getMinutes()+":"+date.getSeconds();
|
||||
|
||||
}
|
||||
else if(gap <=7200000) {
|
||||
return Months[date.getMonth()]+" "+date.getDate() + " " + date.getHours() + ":" + date.getMinutes();
|
||||
}
|
||||
else{
|
||||
return date.getFullYear()+" "+Months[date.getMonth()]+" "+date.getDate();
|
||||
}
|
||||
|
||||
}
|
||||
function display() {
|
||||
window.location.reload();
|
||||
|
||||
};
|
||||
function loadImage(x,y) {
|
||||
var image = d3.select("g").append("svg:image")
|
||||
.attr("xlink:href", "img/floor.jpg")
|
||||
.attr("width", 1500)
|
||||
.attr("height", 699)
|
||||
.attr("x",x)
|
||||
.attr("y",y);
|
||||
|
||||
}
|
||||
function changeImage(x,y) {
|
||||
imageX=imageX+x;
|
||||
imageY=imageY+y;
|
||||
loadImage(imageX,imageY);
|
||||
|
||||
}
|
||||
colorData = d3.scale.linear().domain([10,0])
|
||||
.interpolate(d3.interpolateHcl)
|
||||
.range([d3.rgb(125,0,0),d3.rgb(255,0,0)]);
|
||||
@ -1,130 +0,0 @@
|
||||
/**
|
||||
* Created by dimuth on 11/2/16.
|
||||
*/
|
||||
|
||||
var drawScene=function (data) {
|
||||
|
||||
svg.selectAll(".series").remove();
|
||||
svg.selectAll(".g").remove();
|
||||
var seriesNames = d3.keys(data[0])
|
||||
.filter(function(d) { return d !== "x" && d!=="c" && d!="id"; })
|
||||
.sort();
|
||||
var series = seriesNames.map(function(series) {
|
||||
return data.map(function(d) {
|
||||
return {x: +parseFloat(d.x), y: +parseFloat(d.y),c:+(parseFloat(d.c)), id:parseInt(d.id)};
|
||||
});
|
||||
});
|
||||
// Compute the scales’ domains.
|
||||
x.domain(d3.extent([-71,40])).nice();
|
||||
y.domain(d3.extent([4,65])).nice();
|
||||
|
||||
// Add the x-axis.
|
||||
svg.append("g")
|
||||
.attr("class", "x axis")
|
||||
.attr("transform", "translate(0," + height + ")")
|
||||
.call(d3.svg.axis().scale(x).orient("bottom"));
|
||||
// Add the y-axis.
|
||||
svg.append("g")
|
||||
.attr("class", "y axis")
|
||||
.call(d3.svg.axis().scale(y).orient("left"));
|
||||
// Add the points!
|
||||
svg.selectAll(".series")
|
||||
.data(series)
|
||||
.enter().append("g")
|
||||
.attr("class", "series")
|
||||
|
||||
|
||||
.selectAll(".point")
|
||||
.data(function(d) {
|
||||
return d; })
|
||||
.enter().append("circle")
|
||||
.attr("class", "point")
|
||||
.style("fill", function (d) {
|
||||
if(d.c==0){
|
||||
return d3.rgb(255,255,255);
|
||||
}
|
||||
else if(d.c>10){
|
||||
return colorRed(d.c);
|
||||
}
|
||||
else if(d.c>3){
|
||||
return colorBlue(d.c);
|
||||
}
|
||||
else if(d.c>=0){
|
||||
return colorGreen(d.c);
|
||||
}
|
||||
else{
|
||||
return d3.rgb(255,255,255);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
})
|
||||
.on("mouseover", function(d) {
|
||||
tooltip.transition()
|
||||
.duration(200)
|
||||
.style("opacity", .9);
|
||||
tooltip.html((d.c).toFixed(2) )
|
||||
.style("left", (x(parseInt(d.x)) + "px"))
|
||||
.style("top", (y(parseInt(d.y)) + "px"));
|
||||
})
|
||||
.on("mouseout", function(d) {
|
||||
tooltip.transition()
|
||||
.duration(500)
|
||||
.style("opacity", 0);
|
||||
})
|
||||
.attr("r", 4.5)
|
||||
.attr("cx", function(d) {
|
||||
return x(parseFloat(d.x));})
|
||||
.attr("cy", function(d) {
|
||||
return y(parseFloat(d.y));});
|
||||
|
||||
|
||||
};
|
||||
function showScene() {
|
||||
var data2 = [];
|
||||
$.ajax({
|
||||
url: 'http://localhost:8080/service/typical/scene',
|
||||
type: 'GET',
|
||||
data: 'hour=' + document.getElementById('time').value + '&day=' +document.getElementById('day').value, // or $('#myform').serializeArray()
|
||||
dataType: 'json',
|
||||
success: function (data) {
|
||||
var X = JSON.parse(JSON.stringify(data.X));
|
||||
|
||||
var Y = JSON.parse(JSON.stringify(data.Y));
|
||||
|
||||
var C = JSON.parse(JSON.stringify(data.C));
|
||||
|
||||
var ID = JSON.parse(JSON.stringify(data.ID));
|
||||
for (i = 0; i < X.length; i++) {
|
||||
|
||||
|
||||
data2.push({x: X[i], y: Y[i], c:C[i], id:ID[i]});
|
||||
}
|
||||
|
||||
drawScene(data2);
|
||||
//alert(JSON.stringify(data));
|
||||
},
|
||||
error: function (jqXHR, textStatus, errorThrown) {
|
||||
alert(errorThrown);
|
||||
}
|
||||
});
|
||||
|
||||
};
|
||||
colorRed2 = d3.scale.linear().domain([10,100])
|
||||
.interpolate(d3.interpolateHcl)
|
||||
.range([d3.rgb('#F99FA2'),d3.rgb("#F72128"),]);
|
||||
|
||||
colorBlue2 = d3.scale.linear().domain([3,10])
|
||||
.interpolate(d3.interpolateHcl)
|
||||
.range([d3.rgb("#00C1FF"),d3.rgb('#6670AC')]);
|
||||
|
||||
colorGreen2 = d3.scale.linear().domain([3,0])
|
||||
.interpolate(d3.interpolateHcl)
|
||||
.range([d3.rgb("#0A7E03"),d3.rgb('#0FF300')]);
|
||||
|
||||
|
||||
|
||||
|
||||
@ -1,352 +0,0 @@
|
||||
/**
|
||||
* d3.tip
|
||||
* Copyright (c) 2013 Justin Palmer
|
||||
*
|
||||
* Tooltips for d3.js SVG visualizations
|
||||
*/
|
||||
// eslint-disable-next-line no-extra-semi
|
||||
;(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module with d3 as a dependency.
|
||||
define([
|
||||
'd3-collection',
|
||||
'd3-selection'
|
||||
], factory)
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
/* eslint-disable global-require */
|
||||
// CommonJS
|
||||
var d3Collection = require('d3-collection'),
|
||||
d3Selection = require('d3-selection')
|
||||
module.exports = factory(d3Collection, d3Selection)
|
||||
/* eslint-enable global-require */
|
||||
} else {
|
||||
// Browser global.
|
||||
var d3 = root.d3
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
root.d3.tip = factory(d3, d3)
|
||||
}
|
||||
}(this, function(d3Collection, d3Selection) {
|
||||
// Public - contructs a new tooltip
|
||||
//
|
||||
// Returns a tip
|
||||
return function() {
|
||||
var direction = d3TipDirection,
|
||||
offset = d3TipOffset,
|
||||
html = d3TipHTML,
|
||||
rootElement = document.body,
|
||||
node = initNode(),
|
||||
svg = null,
|
||||
point = null,
|
||||
target = null
|
||||
|
||||
function tip(vis) {
|
||||
svg = getSVGNode(vis)
|
||||
if (!svg) return
|
||||
point = svg.createSVGPoint()
|
||||
rootElement.appendChild(node)
|
||||
}
|
||||
|
||||
// Public - show the tooltip on the screen
|
||||
//
|
||||
// Returns a tip
|
||||
tip.show = function() {
|
||||
var args = Array.prototype.slice.call(arguments)
|
||||
if (args[args.length - 1] instanceof SVGElement) target = args.pop()
|
||||
|
||||
var content = html.apply(this, args),
|
||||
poffset = offset.apply(this, args),
|
||||
dir = direction.apply(this, args),
|
||||
nodel = getNodeEl(),
|
||||
i = directions.length,
|
||||
coords,
|
||||
scrollTop = document.documentElement.scrollTop ||
|
||||
rootElement.scrollTop,
|
||||
scrollLeft = document.documentElement.scrollLeft ||
|
||||
rootElement.scrollLeft
|
||||
|
||||
nodel.html(content)
|
||||
.style('opacity', 1).style('pointer-events', 'all')
|
||||
|
||||
while (i--) nodel.classed(directions[i], false)
|
||||
coords = directionCallbacks.get(dir).apply(this)
|
||||
nodel.classed(dir, true)
|
||||
.style('top', (coords.top + poffset[0]) + scrollTop + 'px')
|
||||
.style('left', (coords.left + poffset[1]) + scrollLeft + 'px')
|
||||
|
||||
return tip
|
||||
}
|
||||
|
||||
// Public - hide the tooltip
|
||||
//
|
||||
// Returns a tip
|
||||
tip.hide = function() {
|
||||
var nodel = getNodeEl()
|
||||
nodel.style('opacity', 0).style('pointer-events', 'none')
|
||||
return tip
|
||||
}
|
||||
|
||||
// Public: Proxy attr calls to the d3 tip container.
|
||||
// Sets or gets attribute value.
|
||||
//
|
||||
// n - name of the attribute
|
||||
// v - value of the attribute
|
||||
//
|
||||
// Returns tip or attribute value
|
||||
// eslint-disable-next-line no-unused-vars
|
||||
tip.attr = function(n, v) {
|
||||
if (arguments.length < 2 && typeof n === 'string') {
|
||||
return getNodeEl().attr(n)
|
||||
}
|
||||
|
||||
var args = Array.prototype.slice.call(arguments)
|
||||
d3Selection.selection.prototype.attr.apply(getNodeEl(), args)
|
||||
return tip
|
||||
}
|
||||
|
||||
// Public: Proxy style calls to the d3 tip container.
|
||||
// Sets or gets a style value.
|
||||
//
|
||||
// n - name of the property
|
||||
// v - value of the property
|
||||
//
|
||||
// Returns tip or style property value
|
||||
// eslint-disable-next-line no-unused-vars
|
||||
tip.style = function(n, v) {
|
||||
if (arguments.length < 2 && typeof n === 'string') {
|
||||
return getNodeEl().style(n)
|
||||
}
|
||||
|
||||
var args = Array.prototype.slice.call(arguments)
|
||||
d3Selection.selection.prototype.style.apply(getNodeEl(), args)
|
||||
return tip
|
||||
}
|
||||
|
||||
// Public: Set or get the direction of the tooltip
|
||||
//
|
||||
// v - One of n(north), s(south), e(east), or w(west), nw(northwest),
|
||||
// sw(southwest), ne(northeast) or se(southeast)
|
||||
//
|
||||
// Returns tip or direction
|
||||
tip.direction = function(v) {
|
||||
if (!arguments.length) return direction
|
||||
direction = v == null ? v : functor(v)
|
||||
|
||||
return tip
|
||||
}
|
||||
|
||||
// Public: Sets or gets the offset of the tip
|
||||
//
|
||||
// v - Array of [x, y] offset
|
||||
//
|
||||
// Returns offset or
|
||||
tip.offset = function(v) {
|
||||
if (!arguments.length) return offset
|
||||
offset = v == null ? v : functor(v)
|
||||
|
||||
return tip
|
||||
}
|
||||
|
||||
// Public: sets or gets the html value of the tooltip
|
||||
//
|
||||
// v - String value of the tip
|
||||
//
|
||||
// Returns html value or tip
|
||||
tip.html = function(v) {
|
||||
if (!arguments.length) return html
|
||||
html = v == null ? v : functor(v)
|
||||
|
||||
return tip
|
||||
}
|
||||
|
||||
// Public: sets or gets the root element anchor of the tooltip
|
||||
//
|
||||
// v - root element of the tooltip
|
||||
//
|
||||
// Returns root node of tip
|
||||
tip.rootElement = function(v) {
|
||||
if (!arguments.length) return rootElement
|
||||
rootElement = v == null ? v : functor(v)
|
||||
|
||||
return tip
|
||||
}
|
||||
|
||||
// Public: destroys the tooltip and removes it from the DOM
|
||||
//
|
||||
// Returns a tip
|
||||
tip.destroy = function() {
|
||||
if (node) {
|
||||
getNodeEl().remove()
|
||||
node = null
|
||||
}
|
||||
return tip
|
||||
}
|
||||
|
||||
function d3TipDirection() { return 'n' }
|
||||
function d3TipOffset() { return [0, 0] }
|
||||
function d3TipHTML() { return ' ' }
|
||||
|
||||
var directionCallbacks = d3Collection.map({
|
||||
n: directionNorth,
|
||||
s: directionSouth,
|
||||
e: directionEast,
|
||||
w: directionWest,
|
||||
nw: directionNorthWest,
|
||||
ne: directionNorthEast,
|
||||
sw: directionSouthWest,
|
||||
se: directionSouthEast
|
||||
}),
|
||||
directions = directionCallbacks.keys()
|
||||
|
||||
function directionNorth() {
|
||||
var bbox = getScreenBBox()
|
||||
return {
|
||||
top: bbox.n.y - node.offsetHeight,
|
||||
left: bbox.n.x - node.offsetWidth / 2
|
||||
}
|
||||
}
|
||||
|
||||
function directionSouth() {
|
||||
var bbox = getScreenBBox()
|
||||
return {
|
||||
top: bbox.s.y,
|
||||
left: bbox.s.x - node.offsetWidth / 2
|
||||
}
|
||||
}
|
||||
|
||||
function directionEast() {
|
||||
var bbox = getScreenBBox()
|
||||
return {
|
||||
top: bbox.e.y - node.offsetHeight / 2,
|
||||
left: bbox.e.x
|
||||
}
|
||||
}
|
||||
|
||||
function directionWest() {
|
||||
var bbox = getScreenBBox()
|
||||
return {
|
||||
top: bbox.w.y - node.offsetHeight / 2,
|
||||
left: bbox.w.x - node.offsetWidth
|
||||
}
|
||||
}
|
||||
|
||||
function directionNorthWest() {
|
||||
var bbox = getScreenBBox()
|
||||
return {
|
||||
top: bbox.nw.y - node.offsetHeight,
|
||||
left: bbox.nw.x - node.offsetWidth
|
||||
}
|
||||
}
|
||||
|
||||
function directionNorthEast() {
|
||||
var bbox = getScreenBBox()
|
||||
return {
|
||||
top: bbox.ne.y - node.offsetHeight,
|
||||
left: bbox.ne.x
|
||||
}
|
||||
}
|
||||
|
||||
function directionSouthWest() {
|
||||
var bbox = getScreenBBox()
|
||||
return {
|
||||
top: bbox.sw.y,
|
||||
left: bbox.sw.x - node.offsetWidth
|
||||
}
|
||||
}
|
||||
|
||||
function directionSouthEast() {
|
||||
var bbox = getScreenBBox()
|
||||
return {
|
||||
top: bbox.se.y,
|
||||
left: bbox.se.x
|
||||
}
|
||||
}
|
||||
|
||||
function initNode() {
|
||||
var div = d3Selection.select(document.createElement('div'))
|
||||
div
|
||||
.style('position', 'absolute')
|
||||
.style('top', 0)
|
||||
.style('opacity', 0)
|
||||
.style('pointer-events', 'none')
|
||||
.style('box-sizing', 'border-box')
|
||||
|
||||
return div.node()
|
||||
}
|
||||
|
||||
function getSVGNode(element) {
|
||||
var svgNode = element.node()
|
||||
if (!svgNode) return null
|
||||
if (svgNode.tagName.toLowerCase() === 'svg') return svgNode
|
||||
return svgNode.ownerSVGElement
|
||||
}
|
||||
|
||||
function getNodeEl() {
|
||||
if (node == null) {
|
||||
node = initNode()
|
||||
// re-add node to DOM
|
||||
rootElement.appendChild(node)
|
||||
}
|
||||
return d3Selection.select(node)
|
||||
}
|
||||
|
||||
// Private - gets the screen coordinates of a shape
|
||||
//
|
||||
// Given a shape on the screen, will return an SVGPoint for the directions
|
||||
// n(north), s(south), e(east), w(west), ne(northeast), se(southeast),
|
||||
// nw(northwest), sw(southwest).
|
||||
//
|
||||
// +-+-+
|
||||
// | |
|
||||
// + +
|
||||
// | |
|
||||
// +-+-+
|
||||
//
|
||||
// Returns an Object {n, s, e, w, nw, sw, ne, se}
|
||||
function getScreenBBox() {
|
||||
var targetel = target || d3Selection.event.target
|
||||
|
||||
while (targetel.getScreenCTM == null && targetel.parentNode == null) {
|
||||
targetel = targetel.parentNode
|
||||
}
|
||||
|
||||
var bbox = {},
|
||||
matrix = targetel.getScreenCTM(),
|
||||
tbbox = targetel.getBBox(),
|
||||
width = tbbox.width,
|
||||
height = tbbox.height,
|
||||
x = tbbox.x,
|
||||
y = tbbox.y
|
||||
|
||||
point.x = x
|
||||
point.y = y
|
||||
bbox.nw = point.matrixTransform(matrix)
|
||||
point.x += width
|
||||
bbox.ne = point.matrixTransform(matrix)
|
||||
point.y += height
|
||||
bbox.se = point.matrixTransform(matrix)
|
||||
point.x -= width
|
||||
bbox.sw = point.matrixTransform(matrix)
|
||||
point.y -= height / 2
|
||||
bbox.w = point.matrixTransform(matrix)
|
||||
point.x += width
|
||||
bbox.e = point.matrixTransform(matrix)
|
||||
point.x -= width / 2
|
||||
point.y -= height / 2
|
||||
bbox.n = point.matrixTransform(matrix)
|
||||
point.y += height
|
||||
bbox.s = point.matrixTransform(matrix)
|
||||
|
||||
return bbox
|
||||
}
|
||||
|
||||
// Private - replace D3JS 3.X d3.functor() function
|
||||
function functor(v) {
|
||||
return typeof v === 'function' ? v : function() {
|
||||
return v
|
||||
}
|
||||
}
|
||||
|
||||
return tip
|
||||
}
|
||||
// eslint-disable-next-line semi
|
||||
}));
|
||||
@ -1,25 +0,0 @@
|
||||
<config>
|
||||
<datasources>
|
||||
<datasource>
|
||||
<name>WSO2_CARBON_DB</name>
|
||||
<description>The datasource used for registry and user manager</description>
|
||||
<jndiConfig>
|
||||
<name>jdbc/WSO2CarbonDB</name>
|
||||
</jndiConfig>
|
||||
<definition type="RDBMS">
|
||||
<configuration>
|
||||
<url>jdbc:h2:../core/repository/database/WSO2CARBON_DB;DB_CLOSE_ON_EXIT=FALSE;AUTO_SERVER=TRUE;AUTO_SERVER_PORT=9095</url>
|
||||
<username>wso2carbon</username>
|
||||
<password>wso2carbon</password>
|
||||
<driverClassName>org.h2.Driver</driverClassName>
|
||||
<maxActive>50</maxActive>
|
||||
<maxWait>60000</maxWait>
|
||||
<testOnBorrow>true</testOnBorrow>
|
||||
<validationQuery>SELECT 1</validationQuery>
|
||||
<validationInterval>30000</validationInterval>
|
||||
<defaultAutoCommit>false</defaultAutoCommit>
|
||||
</configuration>
|
||||
</definition>
|
||||
</datasource>
|
||||
</datasources>
|
||||
</config>
|
||||
@ -1,277 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
~ Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||
~
|
||||
~ WSO2 Inc. licenses this file to you under the Apache License,
|
||||
~ Version 2.0 (the "License"); you may not use this file except
|
||||
~ in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing,
|
||||
~ software distributed under the License is distributed on an
|
||||
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
~ KIND, either express or implied. See the License for the
|
||||
~ specific language governing permissions and limitations
|
||||
~ under the License.
|
||||
-->
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
|
||||
<parent>
|
||||
<groupId>org.wso2.iot</groupId>
|
||||
<artifactId>wso2iot-analytics-parent</artifactId>
|
||||
<version>3.1.0-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>wso2iot-analytics</artifactId>
|
||||
<name>WSO2 IoT - Analytics - Product Distribution</name>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>maven-buildnumber-plugin</artifactId>
|
||||
<version>0.9.4</version>
|
||||
<configuration>
|
||||
<format>{0,date,dd MMM yyyy}</format>
|
||||
<items>
|
||||
<item>timestamp</item>
|
||||
</items>
|
||||
<doCheck>false</doCheck>
|
||||
<doUpdate>false</doUpdate>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>validate</phase>
|
||||
<goals>
|
||||
<goal>create</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<inherited>false</inherited>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>2-unpack-wso2carbon</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>unpack</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<artifactItems>
|
||||
<artifactItem>
|
||||
<groupId>org.wso2.carbon</groupId>
|
||||
<artifactId>wso2carbon-core</artifactId>
|
||||
<version>${carbon.kernel.version}</version>
|
||||
<type>zip</type>
|
||||
<overWrite>true</overWrite>
|
||||
<outputDirectory>target</outputDirectory>
|
||||
</artifactItem>
|
||||
</artifactItems>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>com.google.code.maven-config-processor-plugin</groupId>
|
||||
<artifactId>config-processor-maven-plugin</artifactId>
|
||||
<version>2.6</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>change_datasource_config</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>process</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<failOnMissingXpath>true</failOnMissingXpath>
|
||||
<transformations>
|
||||
<transformation>
|
||||
<input>${basedir}/../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/datasources/master-datasources.xml</input>
|
||||
<output>../../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/datasources/master-datasources.xml</output>
|
||||
<config>datasource_config_change.xml</config>
|
||||
</transformation>
|
||||
</transformations>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>init-input-adapter-config</id>
|
||||
<phase>prepare-package</phase>
|
||||
<goals>
|
||||
<goal>process</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<failOnMissingXpath>true</failOnMissingXpath>
|
||||
<transformations>
|
||||
<transformation>
|
||||
<input>${basedir}/../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/input-event-adapters.xml</input>
|
||||
<output>../../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/input-event-adapters.xml</output>
|
||||
<config>input-adapter-change.xml</config>
|
||||
</transformation>
|
||||
</transformations>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>init-output-adapter-config</id>
|
||||
<phase>prepare-package</phase>
|
||||
<goals>
|
||||
<goal>process</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<failOnMissingXpath>true</failOnMissingXpath>
|
||||
<transformations>
|
||||
<transformation>
|
||||
<input>${basedir}/../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/output-event-adapters.xml</input>
|
||||
<output>../../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/output-event-adapters.xml</output>
|
||||
<config>output-adapter-change.xml</config>
|
||||
</transformation>
|
||||
</transformations>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>3-extract-docs-from-components</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<tasks>
|
||||
<property name="tempdir" value="target/docs-temp" />
|
||||
<mkdir dir="${tempdir}" />
|
||||
<unzip dest="${tempdir}">
|
||||
<fileset dir="target">
|
||||
<include name="${project.artifactId}-${project.version}.zip" />
|
||||
</fileset>
|
||||
</unzip>
|
||||
<copy todir="target/wso2carbon-core-${carbon.kernel.version}/repository/components" overwrite="true">
|
||||
<fileset dir="${tempdir}/${project.artifactId}-${project.version}/repository/components">
|
||||
</fileset>
|
||||
</copy>
|
||||
<delete file="target/${project.artifactId}-${project.version}.zip" />
|
||||
<delete dir="${tempdir}" />
|
||||
</tasks>
|
||||
</configuration>
|
||||
</execution>
|
||||
|
||||
<execution>
|
||||
<id>fix-config-issues</id>
|
||||
<phase>package</phase>
|
||||
<configuration>
|
||||
<tasks>
|
||||
<!-- commenting "GetAllRolesOfUserEnabled" property to fix
|
||||
https://wso2.org/jira/browse/IDENTITY-3489 -->
|
||||
<replace file="target/wso2carbon-core-${carbon.kernel.version}/repository/conf/user-mgt.xml" token="<Property name="GetAllRolesOfUserEnabled">true</Property>" value="<!--Property name="GetAllRolesOfUserEnabled">true</Property-->" />
|
||||
<!-- Move IS UI to configure menu -->
|
||||
<property name="tempdir2" value="target/identity-ui" />
|
||||
<mkdir dir="${tempdir2}" />
|
||||
<unzip src="target/wso2carbon-core-${carbon.kernel.version}/repository/components/plugins/org.wso2.carbon.user.mgt.ui_${identity.jar.version}.jar" dest="${tempdir2}" />
|
||||
<replace file="${tempdir2}/META-INF/component.xml" token="<parent-menu>identity_menu</parent-menu>" value="<parent-menu>configure_menu</parent-menu>" />
|
||||
<zip destfile="target/wso2carbon-core-${carbon.kernel.version}/repository/components/plugins/org.wso2.carbon.user.mgt.ui_${identity.jar.version}.jar" basedir="${tempdir2}" />
|
||||
<unzip src="target/wso2carbon-core-${carbon.kernel.version}/repository/components/plugins/org.wso2.carbon.identity.user.store.configuration.ui_${identity.jar.version}.jar" dest="${tempdir3}" />
|
||||
<replace file="${tempdir3}/META-INF/component.xml" token="<parent-menu>identity_menu</parent-menu>" value="<parent-menu>configure_menu</parent-menu>" />
|
||||
<zip destfile="target/wso2carbon-core-${carbon.kernel.version}/repository/components/plugins/org.wso2.carbon.identity.user.store.configuration.ui_${identity.jar.version}.jar" basedir="${tempdir3}" />
|
||||
<unzip src="target/wso2carbon-core-${carbon.kernel.version}/repository/components/plugins/org.wso2.carbon.security.mgt.ui_${identity.jar.version}.jar" dest="${tempdir4}" />
|
||||
<replace file="${tempdir4}/META-INF/component.xml" token="<parent-menu>manage_menu</parent-menu>" value="<parent-menu>configure_menu</parent-menu>" />
|
||||
<zip destfile="target/wso2carbon-core-${carbon.kernel.version}/repository/components/plugins/org.wso2.carbon.security.mgt.ui_${identity.jar.version}.jar" basedir="${tempdir4}" />
|
||||
<concat destfile="target/wso2carbon-core-${carbon.kernel.version}/repository/conf/etc/logging-bridge.properties" append="true" fixlastline="true">org.restlet.level=SEVERE
|
||||
</concat>
|
||||
<delete dir="${tempdir4}" />
|
||||
<delete dir="${tempdir3}" />
|
||||
<delete dir="${tempdir2}" />
|
||||
</tasks>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
|
||||
<execution>
|
||||
<id>clean_target</id>
|
||||
<phase>install</phase>
|
||||
<configuration>
|
||||
<tasks>
|
||||
<delete dir="target/archive-tmp" />
|
||||
<delete dir="target/dependency-maven-plugin-markers" />
|
||||
<delete dir="target/maven-archiver" />
|
||||
<delete dir="target/wso2carbon-core-${carbon.kernel.version}" />
|
||||
<delete file="target/${project.artifactId}-${project.version}.jar" />
|
||||
<delete dir="target/sources" />
|
||||
<delete dir="target/site" />
|
||||
<delete dir="src/site" />
|
||||
<delete dir="target/identity-ui" />
|
||||
</tasks>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>1-pre-dist</id>
|
||||
<phase>test</phase>
|
||||
<!--we are creating a temporary carbon distribution for document extracting purposes during the test phase-->
|
||||
<goals>
|
||||
<goal>attached</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<appendAssemblyId>false</appendAssemblyId>
|
||||
<filters>
|
||||
<filter>${basedir}/src/assembly/filter.properties</filter>
|
||||
</filters>
|
||||
<descriptors>
|
||||
<descriptor>${basedir}/src/assembly/dist.xml</descriptor>
|
||||
</descriptors>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>2-dist</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>attached</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<appendAssemblyId>false</appendAssemblyId>
|
||||
<filters>
|
||||
<filter>${basedir}/src/assembly/filter.properties</filter>
|
||||
</filters>
|
||||
<descriptors>
|
||||
<descriptor>${basedir}/src/assembly/bin.xml</descriptor>
|
||||
</descriptors>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-deploy-plugin</artifactId>
|
||||
<configuration>
|
||||
<skip>true</skip>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<properties>
|
||||
<identity.jar.version>${carbon.identity.framework.version}</identity.jar.version>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
</properties>
|
||||
</project>
|
||||
@ -1,878 +0,0 @@
|
||||
<!--
|
||||
~ Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||
~
|
||||
~ WSO2 Inc. licenses this file to you under the Apache License,
|
||||
~ Version 2.0 (the "License"); you may not use this file except
|
||||
~ in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing,
|
||||
~ software distributed under the License is distributed on an
|
||||
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
~ KIND, either express or implied. See the License for the
|
||||
~ specific language governing permissions and limitations
|
||||
~ under the License.
|
||||
-->
|
||||
<assembly>
|
||||
<id>wso2iot-analytics-bin</id>
|
||||
<formats>
|
||||
<format>zip</format>
|
||||
</formats>
|
||||
<includeBaseDirectory>false</includeBaseDirectory>
|
||||
|
||||
<fileSets>
|
||||
<fileSet>
|
||||
<directory>target/wso2carbon-core-${carbon.kernel.version}</directory>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}</outputDirectory>
|
||||
<excludes>
|
||||
<exclude>**/repository/deployment/server/axis2services/*</exclude>
|
||||
<exclude>**/*.sh</exclude>
|
||||
<exclude>**/wso2server.bat</exclude>
|
||||
<exclude>**/axis2services/sample01.aar</exclude>
|
||||
<exclude>**/axis2services/echo/**</exclude>
|
||||
<exclude>**/axis2services/version/**</exclude>
|
||||
<exclude>**/pom.xml</exclude>
|
||||
<exclude>**/version.txt</exclude>
|
||||
<exclude>**/LICENSE.txt</exclude>
|
||||
<exclude>**/INSTALL.txt</exclude>
|
||||
<exclude>**/release-notes.html</exclude>
|
||||
<exclude>**/carbon.xml</exclude>
|
||||
<exclude>**/axis2/axis2.xml</exclude>
|
||||
<exclude>**/master-datasources.xml</exclude>
|
||||
<exclude>**/log4j.properties</exclude>
|
||||
<exclude>**/wso2server.sh</exclude> <!--adding a custom DAS server.sh file-->
|
||||
<exclude>**/registry.xml</exclude>
|
||||
<exclude>**/repository/conf/security/cipher-text.properties</exclude>
|
||||
<exclude>**/repository/conf/security/Owasp.CsrfGuard.Carbon.properties</exclude>
|
||||
<exclude>**/repository/conf/security/cipher-tool.properties</exclude>
|
||||
<exclude>**/repository/deployment/server/jaggeryapps/portal/modules/oauth/plugins/token-handler-utils.js</exclude>
|
||||
<exclude>**/repository/deployment/server/jaggeryapps/portal/modules/oauth/plugins/token-handlers.js</exclude>
|
||||
<exclude>**/repository/conf/security/authenticators.xml</exclude>
|
||||
</excludes>
|
||||
</fileSet>
|
||||
<fileSet>
|
||||
<directory>target/wso2carbon-core-${carbon.kernel.version}</directory>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}</outputDirectory>
|
||||
<excludes>
|
||||
<exclude>**/wso2server.bat</exclude>
|
||||
<exclude>**/wso2server.sh</exclude>
|
||||
</excludes>
|
||||
<includes>
|
||||
<include>**/*.sh</include>
|
||||
</includes>
|
||||
<fileMode>755</fileMode>
|
||||
</fileSet>
|
||||
<!-- copying runtime-->
|
||||
<fileSet>
|
||||
<directory>../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/lib/runtimes</directory>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/lib/runtimes/</outputDirectory>
|
||||
<includes>
|
||||
<include>*/**</include>
|
||||
</includes>
|
||||
</fileSet>
|
||||
|
||||
<!-- Multitenancy related files -->
|
||||
<fileSet>
|
||||
<directory>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/multitenancy/
|
||||
</directory>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/multitenancy</outputDirectory>
|
||||
<includes>
|
||||
<include>**/cloud-services-desc.xml</include>
|
||||
<include>**/multitenancy-packages.xml</include>
|
||||
<include>**/stratos.xml</include>
|
||||
<include>**/usage-throttling-agent-config.xml</include>
|
||||
</includes>
|
||||
</fileSet>
|
||||
<fileSet>
|
||||
<directory>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/multitenancy/
|
||||
</directory>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf</outputDirectory>
|
||||
<includes>
|
||||
<include>**/tenant-mgt.xml</include>
|
||||
</includes>
|
||||
</fileSet>
|
||||
<fileSet>
|
||||
<directory>../styles/product/src/main/resources/web/styles/css</directory>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/resources/allthemes/Default/admin</outputDirectory>
|
||||
<includes>
|
||||
<include>**/**.css</include>
|
||||
</includes>
|
||||
</fileSet>
|
||||
<fileSet>
|
||||
<directory>../styles/product/src/main/resources/web/styles/images</directory>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/resources/allthemes/Default/images</outputDirectory>
|
||||
<includes>
|
||||
<include>**/**.gif</include>
|
||||
<include>**/**.png</include>
|
||||
</includes>
|
||||
</fileSet>
|
||||
<fileSet>
|
||||
<directory>lib/home</directory>
|
||||
<outputDirectory>
|
||||
${pom.artifactId}-${pom.version}/repository/deployment/server/webapps/STRATOS_ROOT
|
||||
</outputDirectory>
|
||||
</fileSet>
|
||||
<!-- END - Multitenancy related files -->
|
||||
|
||||
<!-- Analytics related config -->
|
||||
<fileSet>
|
||||
<directory>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/analytics/
|
||||
</directory>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/analytics</outputDirectory>
|
||||
<includes>
|
||||
<include>**/analytics-config.xml</include>
|
||||
<include>**/rdbms-config.xml</include>
|
||||
<include>**/hbase-analytics-config.xml</include>
|
||||
<include>**/analytics-data-config.xml</include>
|
||||
<include>**/analytics-eventsink-config.xml</include>
|
||||
</includes>
|
||||
</fileSet>
|
||||
<!-- CEP -->
|
||||
|
||||
<!--creating an empty input event adaptors directory-->
|
||||
<fileSet>
|
||||
<directory>.</directory>
|
||||
<outputDirectory>
|
||||
${pom.artifactId}-${pom.version}/repository/deployment/server/eventreceivers
|
||||
</outputDirectory>
|
||||
<excludes>
|
||||
<exclude>**/*</exclude>
|
||||
</excludes>
|
||||
</fileSet>
|
||||
|
||||
<!--creating an empty output event adaptors directory-->
|
||||
<fileSet>
|
||||
<directory>.</directory>
|
||||
<outputDirectory>
|
||||
${pom.artifactId}-${pom.version}/repository/deployment/server/eventpublishers
|
||||
</outputDirectory>
|
||||
<excludes>
|
||||
<exclude>**/*</exclude>
|
||||
</excludes>
|
||||
</fileSet>
|
||||
|
||||
<!--creating an empty event builders directory-->
|
||||
<fileSet>
|
||||
<directory>.</directory>
|
||||
<outputDirectory>
|
||||
${pom.artifactId}-${pom.version}/repository/deployment/server/eventstreams
|
||||
</outputDirectory>
|
||||
<excludes>
|
||||
<exclude>**/*</exclude>
|
||||
</excludes>
|
||||
</fileSet>
|
||||
<!--creating an empty execution plans directory-->
|
||||
<fileSet>
|
||||
<directory>.</directory>
|
||||
<outputDirectory>
|
||||
${pom.artifactId}-${pom.version}/repository/deployment/server/executionplans
|
||||
</outputDirectory>
|
||||
<excludes>
|
||||
<exclude>**/*</exclude>
|
||||
</excludes>
|
||||
</fileSet>
|
||||
|
||||
<!-- Some war files related to CEP websockets -->
|
||||
<fileSet>
|
||||
<directory>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/deployment/server/webapps
|
||||
</directory>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/webapps
|
||||
</outputDirectory>
|
||||
<includes>
|
||||
<include>inputwebsocket.war</include>
|
||||
<include>outputwebsocket.war</include>
|
||||
<include>outputui.war</include>
|
||||
<include>secured-websocket.war</include>
|
||||
</includes>
|
||||
</fileSet>
|
||||
<!-- END CEP -->
|
||||
|
||||
<!-- Start UES related artifacts -->
|
||||
<!-- Jaggery modules, carbon and process. Should be copied to <DAS_HOME> -->
|
||||
<fileSet>
|
||||
<directory>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/modules
|
||||
</directory>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/modules</outputDirectory>
|
||||
<includes>
|
||||
<include>**/*</include>
|
||||
</includes>
|
||||
</fileSet>
|
||||
|
||||
<!-- Shindig webapp. Should be copied to <DAS_HOME> -->
|
||||
<fileSet>
|
||||
<directory>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/deployment/server/webapps
|
||||
</directory>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/webapps</outputDirectory>
|
||||
<includes>
|
||||
<include>shindig.war</include>
|
||||
</includes>
|
||||
</fileSet>
|
||||
|
||||
<!-- Dashboard portal Jaggery app. Should be copied to <DAS_HOME>/repository/deployment/server/jaggeryapps -->
|
||||
<fileSet>
|
||||
<directory>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/deployment/server/jaggeryapps/portal
|
||||
</directory>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/jaggeryapps/portal
|
||||
</outputDirectory>
|
||||
<excludes>
|
||||
<exclude>**/configs/designer.json</exclude>
|
||||
</excludes>
|
||||
</fileSet>
|
||||
<!-- END UES related dashboard artifacts -->
|
||||
|
||||
<!--creating an empty event sink directory-->
|
||||
<fileSet>
|
||||
<directory>.</directory>
|
||||
<outputDirectory>
|
||||
${pom.artifactId}-${pom.version}/repository/deployment/server/eventsink
|
||||
</outputDirectory>
|
||||
<excludes>
|
||||
<exclude>**/*</exclude>
|
||||
</excludes>
|
||||
</fileSet>
|
||||
|
||||
<!-- Copying dbscripts related to metrics feature -->
|
||||
<fileSet>
|
||||
<directory>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/dbscripts/metrics/
|
||||
</directory>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/dbscripts/metrics</outputDirectory>
|
||||
<includes>
|
||||
<include>**/*.sql</include>
|
||||
</includes>
|
||||
</fileSet>
|
||||
|
||||
<fileSet>
|
||||
<directory>
|
||||
src/repository/resources/portal/libs/
|
||||
</directory>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/jaggeryapps/portal/libs/analytics-wso2-2.0.0</outputDirectory>
|
||||
<includes>
|
||||
<include>**/*</include>
|
||||
</includes>
|
||||
</fileSet>
|
||||
|
||||
</fileSets>
|
||||
<files>
|
||||
|
||||
<!-- *********** Default files copy that comes with Carbon ************* -->
|
||||
<file>
|
||||
<source>target/wso2carbon-core-${carbon.kernel.version}/bin/README.txt</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/bin/</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<source>target/wso2carbon-core-${carbon.kernel.version}/bin/version.txt</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/bin/</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<source>src/repository/conf/carbon.xml</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
</file>
|
||||
<file>
|
||||
<source>target/wso2carbon-core-${carbon.kernel.version}/repository/conf/axis2/axis2.xml</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/axis2/</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<source>target/wso2carbon-core-${carbon.kernel.version}/repository/conf/README</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<source>target/wso2carbon-core-${carbon.kernel.version}/repository/README.txt</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<source>target/wso2carbon-core-${carbon.kernel.version}/lib/README.txt</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/lib/</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<source>target/wso2carbon-core-${carbon.kernel.version}/repository/components/README.txt</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/components/</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<source>target/wso2carbon-core-${carbon.kernel.version}/repository/database/README.txt</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/database/</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<source>target/wso2carbon-core-${carbon.kernel.version}/repository/deployment/README.txt</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<source>target/wso2carbon-core-${carbon.kernel.version}/repository/logs/README.txt</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/logs/</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<source>target/wso2carbon-core-${carbon.kernel.version}/repository/resources/README.txt</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/resources/</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
<!-- *********** Default files copy end ************* -->
|
||||
|
||||
<!-- *********** Log4j file copy **************** -->
|
||||
<file>
|
||||
<source>src/repository/conf/log4j.properties</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/</outputDirectory>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
<!-- *********** Log4j file copy end **************** -->
|
||||
|
||||
<!-- Copying jndi.properties -->
|
||||
<file>
|
||||
<source>src/repository/conf/jndi.properties</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/</outputDirectory>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
|
||||
<!-- Copying registry.xml -->
|
||||
<file>
|
||||
<source>src/repository/conf/registry.xml</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/</outputDirectory>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
|
||||
<!-- ************* Data bridge related files ********** -->
|
||||
<file>
|
||||
<source>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/data-bridge/data-bridge-config.xml
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/data-bridge</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<source>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/data-bridge/data-agent-config.xml
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/data-bridge
|
||||
</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
<!-- ************* Data bridge related files end ********** -->
|
||||
|
||||
<!-- ************* tomcat webapp hosting related files start ********** -->
|
||||
<file>
|
||||
<source>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/tomcat/webapp-classloading.xml
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/tomcat</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<source>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/tomcat/webapp-classloading-environments.xml
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/tomcat</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<source>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/tomcat/context.xml
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/tomcat</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<source>
|
||||
src/repository/conf/security/authenticators.xml
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/security/
|
||||
</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
<!-- ************* tomcat webapp hosting related files end ********** -->
|
||||
|
||||
<!-- Event broker configuration for deployment sync -->
|
||||
<file>
|
||||
<source>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/event-broker.xml
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
|
||||
<file>
|
||||
<source>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/output-event-adapters.xml
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf
|
||||
</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
|
||||
<file>
|
||||
<source>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/input-event-adapters.xml
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf
|
||||
</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
|
||||
<file>
|
||||
<source>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/cep/storm/storm.yaml
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/cep/storm/
|
||||
</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
</file>
|
||||
|
||||
<file>
|
||||
<source>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/event-processor.xml
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/
|
||||
</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
</file>
|
||||
<!-- END - default input/output adaptor configurations -->
|
||||
|
||||
<!-- Analytics datasources -->
|
||||
<file>
|
||||
<source>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/datasources/analytics-datasources.xml
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/datasources</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
|
||||
<!-- Analytics REST APIs WebApp -->
|
||||
<file>
|
||||
<source>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/deployment/server/webapps/analytics.war
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/webapps</outputDirectory>
|
||||
<!--commented since this tag causes issues in maven assembly plugin when copying zip formats-->
|
||||
<!--filtered>true</filtered-->
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<source>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/etc/logging-config.xml
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/etc/
|
||||
</outputDirectory>
|
||||
</file>
|
||||
|
||||
<!--loads spark environment variables-->
|
||||
<file>
|
||||
<!--../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/bin/load-spark-env-vars.sh-->
|
||||
<!-- this file is moved to product-das from carbon-analytics DAS-110 -->
|
||||
<source>
|
||||
src/bin/load-spark-env-vars.sh
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/bin/
|
||||
</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
<fileMode>755</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<!--../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/bin/load-spark-env-vars.bat-->
|
||||
<!-- this file is moved to product-das from carbon-analytics DAS-110 -->
|
||||
<source>
|
||||
src/bin/load-spark-env-vars.bat
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/bin/
|
||||
</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
|
||||
<!-- custom wso2server.sh file for DAS-->
|
||||
|
||||
<!-- Akka config files start -->
|
||||
<file>
|
||||
<source>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/etc/bundle-config/com.typesafe.config/reference.conf
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/etc/bundle-config/com.typesafe.config/
|
||||
</outputDirectory>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
|
||||
<!--YARN conf files-->
|
||||
<file>
|
||||
<source>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/etc/bundle-config/hadoop-client/core-site.xml
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/etc/bundle-config/hadoop-client/
|
||||
</outputDirectory>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
|
||||
<file>
|
||||
<source>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/etc/bundle-config/hadoop-client/hdfs-site.xml
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/etc/bundle-config/hadoop-client/
|
||||
</outputDirectory>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
|
||||
<file>
|
||||
<source>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/etc/bundle-config/hadoop-client/yarn-site.xml
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/etc/bundle-config/hadoop-client/
|
||||
</outputDirectory>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
|
||||
<file>
|
||||
<source>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/etc/bundle-config/hadoop-client/mapred-site.xml
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/etc/bundle-config/hadoop-client/
|
||||
</outputDirectory>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
|
||||
<!--- End of Akka configurations -->
|
||||
|
||||
<file>
|
||||
<!-- this file is moved to product-das from carbon-analytics DAS-110 -->
|
||||
<source>
|
||||
src/bin/wso2server.sh
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/bin/
|
||||
</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
<fileMode>755</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<!--../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/bin/wso2server.bat-->
|
||||
<!-- this file is moved to product-das from carbon-analytics DAS-110 -->
|
||||
<source>
|
||||
src/bin/wso2server.bat
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/bin/
|
||||
</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
|
||||
<file>
|
||||
<!-- copying LICENSE.txt -->
|
||||
<source>
|
||||
src/main/resources/LICENSE.txt
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/
|
||||
</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
|
||||
<!--spark defaults file-->
|
||||
<file>
|
||||
<source>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/analytics/spark/spark-defaults.conf
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/analytics/spark/
|
||||
</outputDirectory>
|
||||
<fileMode>755</fileMode>
|
||||
</file>
|
||||
|
||||
<!--spark fair scheduler xml file-->
|
||||
<file>
|
||||
<source>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/analytics/spark/fairscheduler.xml
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/analytics/spark/
|
||||
</outputDirectory>
|
||||
<fileMode>755</fileMode>
|
||||
</file>
|
||||
|
||||
<!--spark classpath config file-->
|
||||
<file>
|
||||
<source>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/analytics/spark/external-spark-classpath.conf
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/analytics/spark/
|
||||
</outputDirectory>
|
||||
<fileMode>755</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<source>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/analytics/spark/carbon-spark-classpath.conf
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/analytics/spark/
|
||||
</outputDirectory>
|
||||
<fileMode>755</fileMode>
|
||||
</file>
|
||||
|
||||
<!--spark udf conf file-->
|
||||
<file>
|
||||
<source>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/analytics/spark/spark-udf-config.xml
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/analytics/spark/
|
||||
</outputDirectory>
|
||||
<fileMode>755</fileMode>
|
||||
</file>
|
||||
|
||||
<!-- analytics backup tool script file-->
|
||||
<file>
|
||||
<source>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/bin/analytics-backup.sh
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/bin/
|
||||
</outputDirectory>
|
||||
<fileMode>755</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<source>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/bin/analytics-backup.bat
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/bin/</outputDirectory>
|
||||
</file>
|
||||
|
||||
<!-- analytics cassandra migration tool script file-->
|
||||
<file>
|
||||
<source>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/bin/analytics-migrate.sh
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/bin/
|
||||
</outputDirectory>
|
||||
<fileMode>755</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<source>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/bin/analytics-migrate.bat
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/bin/</outputDirectory>
|
||||
</file>
|
||||
|
||||
|
||||
<!-- CEP -->
|
||||
<file>
|
||||
<source>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/cep/storm/storm.yaml
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/cep/storm/
|
||||
</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
</file>
|
||||
|
||||
<!-- Including rdbms configuration file for event simulator -->
|
||||
<file>
|
||||
<source>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/cep/rdbms-configuration.xml
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/cep
|
||||
</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
</file>
|
||||
|
||||
<!-- Cipher Tool Files -->
|
||||
<file>
|
||||
<source>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/bin/ciphertool.sh
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/bin</outputDirectory>
|
||||
<fileMode>755</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<source>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/bin/ciphertool.bat
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/bin</outputDirectory>
|
||||
</file>
|
||||
<file>
|
||||
<source>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/lib/org.wso2.ciphertool-${cipher.tool.version}.jar
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/lib</outputDirectory>
|
||||
</file>
|
||||
|
||||
<file>
|
||||
<source>src/repository/conf/security/cipher-text.properties</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/security</outputDirectory>
|
||||
</file>
|
||||
<file>
|
||||
<source>src/repository/conf/security/cipher-tool.properties</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/security</outputDirectory>
|
||||
</file>
|
||||
<file>
|
||||
<source>src/repository/conf/security/Owasp.CsrfGuard.Carbon.properties</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/security</outputDirectory>
|
||||
</file>
|
||||
<file>
|
||||
<source>src/repository/conf/analytics/spark/spark-udf-config.xml</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/analytics/spark</outputDirectory>
|
||||
</file>
|
||||
|
||||
<!-- Copying metrics feature related files -->
|
||||
<file>
|
||||
<source>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/metrics.xml
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/</outputDirectory>
|
||||
<filtered>false</filtered>
|
||||
</file>
|
||||
<file>
|
||||
<source>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/metrics.properties
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/</outputDirectory>
|
||||
<filtered>false</filtered>
|
||||
</file>
|
||||
<file>
|
||||
<source>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/datasources/metrics-datasources.xml
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/datasources/
|
||||
</outputDirectory>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<source>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/database/WSO2METRICS_DB.h2.db
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/database/</outputDirectory>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
|
||||
<!-- Copying the identity file -->
|
||||
<file>
|
||||
<source>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/identity/identity.xml
|
||||
</source>
|
||||
<outputDirectory>wso2iot-analytics-${pom.version}/repository/conf/identity</outputDirectory>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<source>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/etc/jwt.properties
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/etc</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<source>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/etc/websocket-validation.xml
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/etc</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
|
||||
<!-- portal-->
|
||||
<file>
|
||||
<source>
|
||||
src/ues/designer.json
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/jaggeryapps/portal/configs/
|
||||
</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<source>src/repository/jaggeryapps/portal/modules/oauth/token-handler-utils.js</source>
|
||||
<outputDirectory>
|
||||
${pom.artifactId}-${pom.version}/repository/deployment/server/jaggeryapps/portal/modules/oauth
|
||||
</outputDirectory>
|
||||
<fileMode>755</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<source>src/repository/jaggeryapps/portal/modules/oauth/token-handlers.js</source>
|
||||
<outputDirectory>
|
||||
${pom.artifactId}-${pom.version}/repository/deployment/server/jaggeryapps/portal/modules/oauth
|
||||
</outputDirectory>
|
||||
<fileMode>755</fileMode>
|
||||
</file>
|
||||
|
||||
<!-- Adding IoT Analytics Dashboard and gadget CApps -->
|
||||
<file>
|
||||
<source>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/resources/devicetypes/device_management/org_wso2_carbon_analytics_cdmf-1.0.0.car
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/carbonapps/</outputDirectory>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
<!-- Adding Geo Dashboard configuration files and Capp -->
|
||||
<file>
|
||||
<source>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/deployment/server/carbonapps/org_wso2_carbon_iot_geo_dashboard-1.0.0.car
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/carbonapps/</outputDirectory>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<source>src/repository/resources/geodashboard/events.csv</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/eventsimulatorfiles/
|
||||
</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<source>src/repository/resources/geodashboard/events_streamConfiguration.xml</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/eventsimulatorfiles/
|
||||
</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<source>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/datasources/geodashboard-datasources.xml
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/datasources</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<source>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/datasources/master-datasources.xml
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/datasources</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<source>src/repository/jaggeryapps/portal/jaggery.conf</source>
|
||||
<outputDirectory>
|
||||
${pom.artifactId}-${pom.version}/repository/deployment/server/jaggeryapps/portal/
|
||||
</outputDirectory>
|
||||
<fileMode>755</fileMode>
|
||||
</file>
|
||||
</files>
|
||||
</assembly>
|
||||
@ -1,39 +0,0 @@
|
||||
<!--
|
||||
~ Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||
~
|
||||
~ WSO2 Inc. licenses this file to you under the Apache License,
|
||||
~ Version 2.0 (the "License"); you may not use this file except
|
||||
~ in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing,
|
||||
~ software distributed under the License is distributed on an
|
||||
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
~ KIND, either express or implied. See the License for the
|
||||
~ specific language governing permissions and limitations
|
||||
~ under the License.
|
||||
-->
|
||||
<assembly>
|
||||
<id>wso2iot-analytics-dist</id>
|
||||
<formats>
|
||||
<format>zip</format>
|
||||
</formats>
|
||||
|
||||
<includeBaseDirectory>false</includeBaseDirectory>
|
||||
<fileSets>
|
||||
<!-- Copying p2 profile and osgi bundles-->
|
||||
<fileSet>
|
||||
<directory>../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/components</directory>
|
||||
<outputDirectory>wso2iot-analytics-${pom.version}/repository/components</outputDirectory>
|
||||
<excludes>
|
||||
<exclude>**/eclipse.ini</exclude>
|
||||
<exclude>**/*.lock</exclude>
|
||||
<exclude>**/.data</exclude>
|
||||
<exclude>**/.settings</exclude>
|
||||
<exclude>features/**</exclude>
|
||||
</excludes>
|
||||
</fileSet>
|
||||
</fileSets>
|
||||
</assembly>
|
||||
@ -1,11 +0,0 @@
|
||||
product.name=WSO2 IoT - Analytics
|
||||
product.version=3.0.0
|
||||
product.key=wso2iot-analytics
|
||||
carbon.product.version=4.4.11
|
||||
default.server.role=IoTServer
|
||||
cep.server.role=ComplexEventProcessor
|
||||
das.server.role=DataAnalyticsServer
|
||||
cdmf.platform.role=CDMFPlatform
|
||||
geodashboard.role=GeoDashboard
|
||||
hotdeployment=true
|
||||
hotupdate=true
|
||||
@ -1,641 +0,0 @@
|
||||
|
||||
This product is licensed by WSO2 Inc. under Apache License 2.0. The license
|
||||
can be downloaded from the following locations:
|
||||
http://www.apache.org/licenses/LICENSE-2.0.html
|
||||
http://www.apache.org/licenses/LICENSE-2.0.txt
|
||||
|
||||
This product also contains software under different licenses. This table below
|
||||
all the contained libraries (jar files) and the license under which they are
|
||||
provided to you.
|
||||
|
||||
At the bottom of this file is a table that shows what each license indicated
|
||||
below is and where the actual text of the license can be found.
|
||||
|
||||
Name Type License
|
||||
---------------------------------------------------------------------------------------------------------
|
||||
abdera_1.0.0.wso2v3.jar bundle apache2 907
|
||||
activation-1.1.1.jar jarinbundle cddl1 552
|
||||
addressing-1.6.1-wso2v20.mar bundle apache2 9597
|
||||
ajaxtags_1.3.0.beta-rc7-wso2v1.jar bundle apache2 905
|
||||
annogen_0.1.0.wso2v1.jar bundle apache2 942
|
||||
ant-contrib-1.0b3.jar jar apache2 549
|
||||
antlr-runtime_3.2.0.wso2v1.jar bundle bsd 817
|
||||
antlr_3.2.0.wso2v1.jar bundle bsd 838
|
||||
ant_1.7.0.wso2v1.jar bundle apache2 1012
|
||||
aopalliance-1.0.jar jar apache2 512
|
||||
apache-zookeeper_3.3.4.wso2v1.jar bundle apache2 4219
|
||||
asm-3.3.1.jar jar bsd 1268
|
||||
asm-all_4.1.0.wso2v1.jar bundle bsd 4702
|
||||
avro-tools_1.7.7.wos2v1.jar bundle apache2 2013
|
||||
axiom_1.2.11.wso2v11.jar bundle apache2 8489
|
||||
axis2-json_1.6.1.wso2v20.jar bundle apache2 9596
|
||||
axis2_1.6.1.wso2v20.jar bundle apache2 9595
|
||||
backport-util-concurrent_3.1.0.wso2v1.jar bundle apache2 1007
|
||||
bcprov-jdk15on-1.52.jar jarinbundle bouncy 1819
|
||||
bcprov-jdk15on_1.52.0.wso2v1.jar bundle bouncy 8485
|
||||
bcprov-jdk15-132.jar jar bouncy 285
|
||||
bigqueue_0.7.0.wso2v1.jar bundle apache2 7036
|
||||
cassandra-driver-core_2.1.10.2_wso2v2.jar bundle apache2 8865
|
||||
cassandra-thrift_1.2.13.wso2v4.jar bundle apache2 4379
|
||||
chill_2.10_0.5.0.wso2v1.jar bundle apache2 4700
|
||||
com.fasterxml.jackson.core.jackson-annotations_2.4.4.jar bundle apache2 1313
|
||||
com.fasterxml.jackson.core.jackson-core_2.4.4.jar bundle apache2 1312
|
||||
com.fasterxml.jackson.core.jackson-databind_2.4.4.jar bundle apache2 1311
|
||||
com.google.gson_2.3.1.jar bundle apache2 1143
|
||||
com.google.gson_2.7.0.jar bundle apache2 1853
|
||||
com.google.guava_19.0.0.jar bundle apache2 1627
|
||||
com.google.protobuf_2.5.0.jar bundle bsd 1309
|
||||
com.jayway.jsonpath.json-path_0.9.1.jar bundle apache2 798
|
||||
com.ning.compress-lzf_1.0.3.jar bundle cddl+gpl 1308
|
||||
com.sun.jersey.jersey-core_1.9.0.jar bundle cddl+gpl 1307
|
||||
com.sun.jersey.jersey-server_1.9.0.jar bundle cddl+gpl 1306
|
||||
com.typesafe.akka.actor_2.3.11.jar bundle apache2 2012
|
||||
com.typesafe.akka.remote_2.3.11.jar bundle apache2 2011
|
||||
com.typesafe.akka.slf4j_2.3.11.jar bundle apache2 2010
|
||||
com.typesafe.config_1.2.1.jar bundle apache2 2009
|
||||
commons-beanutils-1.7.0.jar jarinbundle apache2 383
|
||||
commons-cli_1.2.0.wso2v1.jar bundle apache2 922
|
||||
commons-codec_1.4.0.wso2v1.jar bundle apache2 980
|
||||
commons-collections-3.2.2.jar bundle apache2 2042
|
||||
commons-collections_3.2.2.wso2v1.jar bundle apache2 6268
|
||||
commons-compiler_2.7.8.wso2v1.jar bundle bsd 9786
|
||||
commons-configuration_1.6.0.wso2v1.jar bundle apache2 933
|
||||
commons-dbcp_1.4.0.wso2v1.jar bundle apache2 962
|
||||
commons-digester-1.8.jar jarinbundle apache2 384
|
||||
commons-fileupload_1.3.2.wso2v1.jar bundle apache2 9594
|
||||
commons-httpclient_3.1.0.wso2v3.jar bundle apache2 8483
|
||||
commons-io_2.4.0.wso2v1.jar bundle apache2 4217
|
||||
commons-lang-2.6.0.wso2v1.jar bundle apache2 664
|
||||
commons-lang-2.6.jar bundle apache2 506
|
||||
commons-lang_2.6.0.wso2v1.jar bundle apache2 940
|
||||
commons-logging-1.1.1.jar jar apache2 274
|
||||
commons-pool_1.5.6.wso2v1.jar bundle apache2 1009
|
||||
compass_2.0.1.wso2v2.jar bundle apache2 897
|
||||
csrfguard_3.1.0.wso2v2.jar bundle bsd 8482
|
||||
cxf-bundle-2.7.16.jar bundle apache2 1154
|
||||
cxf-xjc-boolean-3.0.2.jar jar apache2 1153
|
||||
cxf-xjc-bug671-3.0.2.jar jar apache2 1152
|
||||
cxf-xjc-dv-3.0.2.jar jar apache2 1151
|
||||
cxf-xjc-runtime-3.0.2.jar bundle apache2 1150
|
||||
cxf-xjc-ts-3.0.2.jar jar apache2 1149
|
||||
disruptor_3.3.2.wso2v2.jar bundle apache2 4377
|
||||
dom4j-1.6.1.jar jarinbundle bsd 1177
|
||||
ehcache-core-2.5.1.jar jar apache2 267
|
||||
encoder_1.2.0.wso2v1.jar bundle apache2 4030
|
||||
feign-jaxrs-9.3.1.jar jarinbundle apache2 2058
|
||||
geronimo-jaxws_2.2_spec-1.0.jar bundle apache2 395
|
||||
geronimo-jms_1.1_spec-1.1.0.wso2v1.jar bundle apache2 661
|
||||
geronimo-jta_1.1_spec-1.1.jar jar apache2 1066
|
||||
geronimo-saaj_1.3_spec_1.0.0.wso2v3.jar bundle apache2 893
|
||||
h2-1.3.175.jar jarinbundle epl1 1999
|
||||
h2_1.3.175.wso2v1.jar bundle apache2 9731
|
||||
hadoop-client_2.7.2.wso2v1.jar bundle apache2 8738
|
||||
hazelcast_3.5.4.wso2v2.jar bundle apache2 8481
|
||||
hbase-shaded-client_1.2.1.wso2v2.jar bundle apache2 10700
|
||||
hector-core_1.1.4.wso2v1.jar bundle apache2 2878
|
||||
high-scale-lib_1.0.0.wso2v1.jar bundle apache2 4216
|
||||
htrace-core-apache_3.1.0.incubating_wso2v1.jar bundle apache2 4696
|
||||
htrace-core_3.0.4.wso2v1.jar bundle apache2 4695
|
||||
httpasyncclient-4.0-beta3.jar jar apache2 280
|
||||
httpclient-4.2.5.jar jar apache2 548
|
||||
httpclient_4.3.1.wso2v2.jar bundle apache2 4214
|
||||
httpcore-4.2.4.jar jar apache2 533
|
||||
httpcore-nio-4.2.4.jar jar apache2 534
|
||||
httpcore_4.3.3.wso2v1.jar bundle apache2 3638
|
||||
httpmime_4.3.1.wso2v2.jar bundle apache2 4375
|
||||
io.dropwizard.metrics.core_3.1.2.jar bundle apache2 1305
|
||||
io.dropwizard.metrics.graphite_3.1.2.jar bundle apache2 1304
|
||||
io.dropwizard.metrics.json_3.1.2.jar bundle apache2 1303
|
||||
io.dropwizard.metrics.jvm_3.1.2.jar bundle apache2 1302
|
||||
io.github.openfeign.feign-core_9.3.1.jar bundle apache2 2060
|
||||
io.github.openfeign.feign-gson_9.3.1.jar bundle apache2 2059
|
||||
jackson-module-scala_2.10_2.4.4.wso2v1.jar bundle apache2 8863
|
||||
janino_2.7.8.wso2v1.jar bundle bsd 9785
|
||||
javasysmon_0.3.3.wso2v1.jar bundle bsd 721
|
||||
javax.cache.wso2_4.4.11.jar bundle apache2 2045
|
||||
javax.servlet.jsp-api_2.2.1.jar bundle cddl+gpl 1301
|
||||
javax.ws.rs-api-2.0-m10.jar bundle cddl+gpl 263
|
||||
jaxb-impl-2.2.6.jar jar cddl1 1148
|
||||
jaxb-xjc-2.2.6.jar jar cddl1 1147
|
||||
jaxb_2.2.5.wso2v1.jar bundle cddl1 883
|
||||
jdbc-pool_7.0.34.wso2v2.jar bundle apache2 3637
|
||||
jdom_1.0.0.wso2v1.jar bundle apache2 693
|
||||
jericho-html-2.4.jar jarinbundle epl1 363
|
||||
jettison-1.3.4.jar bundle apache2 542
|
||||
jettison_1.3.4.wso2v1.jar bundle apache2 2162
|
||||
joda-time_2.8.2.wso2v1.jar bundle apache2 6879
|
||||
json-simple_1.1.0.wso2v1.jar bundle apache2 828
|
||||
json4s-jackson_2.10_3.2.10.wso2v1.jar bundle apache2 4693
|
||||
json_1.0.0.wso2v1.jar bundle apache2 2361
|
||||
json_2.0.0.wso2v1.jar bundle apache2 971
|
||||
jsr311-api-1.1.1.jar jarinbundle cddl1 553
|
||||
jstl_1.2.1.wso2v2.jar bundle cddl1 2204
|
||||
js_1.7.0.R4wso2v1.jar bundle mpl10 2199
|
||||
kaptcha_2.3.0.wso2v1.jar bundle apache2 854
|
||||
kryo_2.24.0.wso2v1.jar bundle bsd 4692
|
||||
leveldb-api_0.6.0.wso2v1.jar bundle apache2 9783
|
||||
libthrift_0.7.0.wso2v2.jar bundle apache2 912
|
||||
libthrift_0.9.2.wso2v1.jar bundle apache2 5912
|
||||
localizer-1.0.jar jarinbundle apache2 551
|
||||
lucene_5.2.1.wso2v1.jar bundle apache2 4502
|
||||
lz4-java_1.3.0.jar bundle apache2 2008
|
||||
mesos_0.21.1.wso2v1.jar bundle apache2 9782
|
||||
metrics-json-3.1.2.wso2v1.jar bundle apache2 10598
|
||||
minlog_1.2.0.wso2v1.jar bundle bsd 4690
|
||||
neethi-3.0.3.jar bundle apache2 1146
|
||||
neethi_2.0.4.wso2v5.jar bundle apache2 6267
|
||||
net.minidev.json-smart_1.2.0.jar bundle apache2 797
|
||||
net.minidev.json-smart_1.3.0.jar bundle apache2 1337
|
||||
netty-all_4.0.29.wso2v1.jar bundle apache2 9781
|
||||
nimbus-jose-jwt_2.26.1.wso2v3.jar bundle apache2 4885
|
||||
noggit_0.6.0.wso2v1.jar bundle apache2 4211
|
||||
objenesis_2.1.0.wso2v1.jar bundle mit 4688
|
||||
opencsv-1.8.jar jarinbundle apache2 368
|
||||
opencsv_1.8.0.wso2v1.jar bundle apache2 928
|
||||
opensaml_2.6.4.wso2v3.jar bundle apache2 8480
|
||||
org.antlr.antlr4-runtime-osgi_4.5.0.jar bundle bsd3 1228
|
||||
org.apache.commons.lang3_3.3.2.jar bundle apache2 1201
|
||||
org.apache.commons.math3_3.2.0.jar bundle apache2 1227
|
||||
org.apache.felix.gogo.command_0.10.0.v201209301215.jar bundle apache2 1134
|
||||
org.apache.felix.gogo.runtime_0.10.0.v201209301036.jar bundle apache2 1133
|
||||
org.apache.felix.gogo.shell_0.10.0.v201212101605.jar bundle apache2 1132
|
||||
org.apache.servicemix.bundles.geocoder-java_0.16.0.1.jar bundle apache2 1361
|
||||
org.apache.servicemix.bundles.jaxb-api-2.0_4.0.0.m1.jar bundle apache2 1226
|
||||
org.apache.xbean.asm5-shaded_4.4.0.jar bundle apache2 2007
|
||||
org.eclipse.core.contenttype_3.4.200.v20130326-1255.jar bundle epl1 1131
|
||||
org.eclipse.core.expressions_3.4.500.v20130515-1343.jar bundle epl1 1130
|
||||
org.eclipse.core.jobs_3.5.300.v20130429-1813.jar bundle epl1 1129
|
||||
org.eclipse.core.runtime_3.9.0.v20130326-1255.jar bundle epl1 1128
|
||||
org.eclipse.ecf.filetransfer_5.0.0.v20130604-1622.jar bundle epl1 1127
|
||||
org.eclipse.ecf.identity_3.2.0.v20130604-1622.jar bundle epl1 1126
|
||||
org.eclipse.ecf.provider.filetransfer.httpclient_4.0.200.v20120319-0616.jar bundle epl1 289
|
||||
org.eclipse.ecf.provider.filetransfer_3.2.0.v20130604-1622.jar bundle epl1 1125
|
||||
org.eclipse.ecf_3.2.0.v20130604-1622.jar bundle epl1 1124
|
||||
org.eclipse.equinox.app_1.3.100.v20130327-1442.jar bundle epl1 1123
|
||||
org.eclipse.equinox.common_3.6.200.v20130402-1505.jar bundle epl1 1122
|
||||
org.eclipse.equinox.concurrent_1.1.0.v20130327-1442.jar bundle epl1 1121
|
||||
org.eclipse.equinox.console_1.0.100.v20130429-0953.jar bundle epl1 1120
|
||||
org.eclipse.equinox.ds_1.4.101.v20130813-1853.jar bundle epl1 1119
|
||||
org.eclipse.equinox.frameworkadmin.equinox_1.0.500.v20130327-2119.jar bundle epl1 1118
|
||||
org.eclipse.equinox.frameworkadmin_2.0.100.v20130327-2119.jar bundle epl1 1117
|
||||
org.eclipse.equinox.http.helper_1.1.0.wso2v1.jar bundle epl1 839
|
||||
org.eclipse.equinox.http.servlet_1.1.400.v20130418-1354.jar bundle epl1 1116
|
||||
org.eclipse.equinox.jsp.jasper_1.0.400.v20120522-2049.jar bundle epl1 388
|
||||
org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar bundle epl1 1115
|
||||
org.eclipse.equinox.p2.artifact.repository_1.1.100.v20110519.jar bundle epl1 337
|
||||
org.eclipse.equinox.p2.console_1.0.300.v20130327-2119.jar bundle epl1 1114
|
||||
org.eclipse.equinox.p2.core_2.3.0.v20130327-2119.jar bundle epl1 1113
|
||||
org.eclipse.equinox.p2.director.app_1.0.300.v20130819-1621.jar bundle epl1 1112
|
||||
org.eclipse.equinox.p2.directorywatcher_1.0.300.v20130327-2119.jar bundle epl1 1110
|
||||
org.eclipse.equinox.p2.director_2.3.0.v20130526-0335.jar bundle epl1 1111
|
||||
org.eclipse.equinox.p2.engine_2.3.0.v20130526-2122-wso2v1.jar bundle epl1 3873
|
||||
org.eclipse.equinox.p2.extensionlocation_1.2.100.v20130327-2119.jar bundle epl1 1109
|
||||
org.eclipse.equinox.p2.garbagecollector_1.0.200.v20130327-2119.jar bundle epl1 1108
|
||||
org.eclipse.equinox.p2.jarprocessor_1.0.300.v20130327-2119.jar bundle epl1 1107
|
||||
org.eclipse.equinox.p2.metadata.repository_1.2.100.v20130327-2119.jar bundle epl1 1106
|
||||
org.eclipse.equinox.p2.metadata_2.2.0.v20130523-1557.jar bundle epl1 1105
|
||||
org.eclipse.equinox.p2.publisher_1.2.0.v20110511.jar bundle epl1 306
|
||||
org.eclipse.equinox.p2.repository.tools_2.1.0.v20130327-2119.jar bundle epl1 1104
|
||||
org.eclipse.equinox.p2.repository_2.3.0.v20130412-2032.jar bundle epl1 1103
|
||||
org.eclipse.equinox.p2.touchpoint.eclipse_2.1.0.v20110511-wso2v1.jar bundle epl1 703
|
||||
org.eclipse.equinox.p2.touchpoint.natives_1.1.100.v20130327-2119.jar bundle epl1 1102
|
||||
org.eclipse.equinox.p2.transport.ecf_1.0.100.v20110902-0807.jar bundle epl1 369
|
||||
org.eclipse.equinox.p2.updatechecker_1.1.200.v20130327-2119.jar bundle epl1 1101
|
||||
org.eclipse.equinox.p2.updatesite_1.0.400.v20130515-2028.jar bundle epl1 1100
|
||||
org.eclipse.equinox.preferences_3.5.100.v20130422-1538.jar bundle epl1 1099
|
||||
org.eclipse.equinox.registry_3.5.301.v20130717-1549.jar bundle epl1 1098
|
||||
org.eclipse.equinox.security_1.2.0.v20130424-1801.jar bundle epl1 1097
|
||||
org.eclipse.equinox.simpleconfigurator.manipulator_2.0.0.v20130327-2119.jar bundle epl1 1096
|
||||
org.eclipse.equinox.simpleconfigurator_1.0.400.v20130327-2119.jar bundle epl1 1095
|
||||
org.eclipse.equinox.util_1.0.500.v20130404-1337.jar bundle epl1 1094
|
||||
org.eclipse.jdt.core.compiler.batch_3.10.2.v20150120-1634.jar bundle epl1 1141
|
||||
org.eclipse.osgi.services_3.3.100.v20130513-1956.jar bundle epl1 1093
|
||||
org.eclipse.osgi_3.9.1.v20130814-1242.jar bundle epl1 1092
|
||||
org.eclipse.paho.client.mqttv3_1.0.2.jar bundle epl1 1769
|
||||
org.eclipse.wst.jsdt.debug.rhino.debugger_1.0.300.v201109150503.jar bundle epl1 558
|
||||
org.eclipse.wst.jsdt.debug.transport_1.0.100.v201109150330.jar bundle epl1 557
|
||||
org.fusesource.leveldbjni_1.8.0.jar bundle bsd3 2006
|
||||
org.jaggeryjs.hostobjects.db_0.12.8.jar bundle apache2 1998
|
||||
org.jaggeryjs.hostobjects.feed_0.12.8.jar bundle apache2 1997
|
||||
org.jaggeryjs.hostobjects.file_0.12.8.jar bundle apache2 1996
|
||||
org.jaggeryjs.hostobjects.jaggeryparser_0.12.8.jar bundle apache2 1995
|
||||
org.jaggeryjs.hostobjects.log_0.12.8.jar bundle apache2 1994
|
||||
org.jaggeryjs.hostobjects.registry_0.12.8.jar bundle apache2 1993
|
||||
org.jaggeryjs.hostobjects.stream_0.12.8.jar bundle apache2 1992
|
||||
org.jaggeryjs.hostobjects.uri_0.12.8.jar bundle apache2 1991
|
||||
org.jaggeryjs.hostobjects.web_0.12.8.jar bundle apache2 1990
|
||||
org.jaggeryjs.hostobjects.xhr_0.12.8.jar bundle apache2 1989
|
||||
org.jaggeryjs.hostobjects.xslt_0.12.8.jar bundle apache2 1988
|
||||
org.jaggeryjs.jaggery.app.mgt.stub_0.12.8.jar bundle apache2 1987
|
||||
org.jaggeryjs.jaggery.app.mgt.ui_0.12.8.jar bundle apache2 1986
|
||||
org.jaggeryjs.jaggery.app.mgt_0.12.8.jar bundle apache2 1985
|
||||
org.jaggeryjs.jaggery.core_0.12.8.jar bundle apache2 1984
|
||||
org.jaggeryjs.jaggery.deployer_0.12.8.jar bundle apache2 1983
|
||||
org.jaggeryjs.jaggery.tools_0.12.8.jar bundle apache2 1982
|
||||
org.jaggeryjs.modules.process_1.5.5.jar bundle apache2 1953
|
||||
org.jaggeryjs.modules.sso_1.5.5.jar bundle apache2 1952
|
||||
org.jaggeryjs.modules.ws_1.5.5.jar bundle apache2 1981
|
||||
org.jaggeryjs.scriptengine_0.12.8.jar bundle apache2 1980
|
||||
org.jboss.netty_3.9.0.Final.jar bundle apache2 1298
|
||||
org.restlet_2.3.0.wso2v1.jar bundle apache2 4501
|
||||
org.roaringbitmap.RoaringBitmap_0.5.11.jar bundle apache2 2005
|
||||
org.sat4j.core_2.3.5.v201308161310.jar bundle epl1+lgpl21091
|
||||
org.sat4j.pb_2.3.5.v201308161310.jar bundle epl1+lgpl21090
|
||||
org.scala-lang.scala-library_2.10.5.v20150226-164155-VFINAL-88c5407613.jar bundle bsd 2004
|
||||
org.scala-lang.scala-reflect_2.10.5.v20150226-164155-VFINAL-88c5407613.jar bundle bsd 2003
|
||||
org.wso2.carbon.addressing_4.4.11.jar bundle apache2 10386
|
||||
org.wso2.carbon.analytics.activitydashboard.admin_1.3.3.jar bundle apache2 10834
|
||||
org.wso2.carbon.analytics.activitydashboard.commons_1.3.3.jar bundle apache2 10833
|
||||
org.wso2.carbon.analytics.activitydashboard.stub_1.3.3.jar bundle apache2 10832
|
||||
org.wso2.carbon.analytics.activitydashboard.ui_1.3.3.jar bundle apache2 10831
|
||||
org.wso2.carbon.analytics.api_1.3.3.jar bundle apache2 10830
|
||||
org.wso2.carbon.analytics.common.jmx.agent.stub_5.1.5.jar bundle apache2 11128
|
||||
org.wso2.carbon.analytics.common.jmx.agent.ui_5.1.5.jar bundle apache2 11127
|
||||
org.wso2.carbon.analytics.common.jmx.agent_5.1.5.jar bundle apache2 11126
|
||||
org.wso2.carbon.analytics.dashboard.ui_1.3.3.jar bundle apache2 10829
|
||||
org.wso2.carbon.analytics.dataservice.commons_1.3.3.jar bundle apache2 10828
|
||||
org.wso2.carbon.analytics.dataservice.core_1.3.3.jar bundle apache2 10827
|
||||
org.wso2.carbon.analytics.datasource.cassandra_1.3.3.jar bundle apache2 10826
|
||||
org.wso2.carbon.analytics.datasource.commons_1.3.3.jar bundle apache2 10825
|
||||
org.wso2.carbon.analytics.datasource.core_1.3.3.jar bundle apache2 10824
|
||||
org.wso2.carbon.analytics.datasource.hbase_1.3.3.jar bundle apache2 10823
|
||||
org.wso2.carbon.analytics.datasource.rdbms_1.3.3.jar bundle apache2 10822
|
||||
org.wso2.carbon.analytics.eventsink.template.deployer_1.3.3.jar bundle apache2 11125
|
||||
org.wso2.carbon.analytics.eventsink_1.3.3.jar bundle apache2 10821
|
||||
org.wso2.carbon.analytics.eventtable_1.3.3.jar bundle apache2 10820
|
||||
org.wso2.carbon.analytics.io.commons_1.3.3.jar bundle apache2 10819
|
||||
org.wso2.carbon.analytics.jsservice_1.3.3.jar bundle apache2 10818
|
||||
org.wso2.carbon.analytics.messageconsole.stub_1.3.3.jar bundle apache2 10817
|
||||
org.wso2.carbon.analytics.messageconsole.ui_1.3.3.jar bundle apache2 10816
|
||||
org.wso2.carbon.analytics.messageconsole_1.3.3.jar bundle apache2 10815
|
||||
org.wso2.carbon.analytics.servlet_1.3.3.jar bundle apache2 10814
|
||||
org.wso2.carbon.analytics.shared.spark.common.udf_1.0.3.jar bundle apache2 10812
|
||||
org.wso2.carbon.analytics.spark.admin_1.3.3.jar bundle apache2 10810
|
||||
org.wso2.carbon.analytics.spark.core_1.3.3.jar bundle apache2 10809
|
||||
org.wso2.carbon.analytics.spark.event_1.3.3.jar bundle apache2 10808
|
||||
org.wso2.carbon.analytics.spark.stub_1.3.3.jar bundle apache2 10807
|
||||
org.wso2.carbon.analytics.spark.template.deployer_1.3.3.jar bundle apache2 10806
|
||||
org.wso2.carbon.analytics.spark.ui_1.3.3.jar bundle apache2 10805
|
||||
org.wso2.carbon.analytics.spark.utils_1.3.3.jar bundle apache2 10804
|
||||
org.wso2.carbon.analytics.stream.persistence_1.3.3.jar bundle apache2 10803
|
||||
org.wso2.carbon.analytics.tools.backup_1.3.3.jar bundle apache2 10802
|
||||
org.wso2.carbon.analytics.tools.migration_1.3.3.jar bundle apache2 10801
|
||||
org.wso2.carbon.analytics.webservice.stub_1.3.3.jar bundle apache2 10800
|
||||
org.wso2.carbon.analytics.webservice_1.3.3.jar bundle apache2 10799
|
||||
org.wso2.carbon.application.deployer_4.4.11.jar bundle apache2 10385
|
||||
org.wso2.carbon.application.mgt.stub_4.5.4.jar bundle apache2 8688
|
||||
org.wso2.carbon.application.mgt.ui_4.5.4.jar bundle apache2 8686
|
||||
org.wso2.carbon.application.mgt_4.5.4.jar bundle apache2 8685
|
||||
org.wso2.carbon.application.upload_4.5.4.jar bundle apache2 8684
|
||||
org.wso2.carbon.authenticator.proxy_4.4.11.jar bundle apache2 10384
|
||||
org.wso2.carbon.authenticator.stub_4.4.11.jar bundle apache2 10383
|
||||
org.wso2.carbon.base_4.4.11.jar bundle apache2 10382
|
||||
org.wso2.carbon.bootstrap-4.4.11.jar bundle apache2 10337
|
||||
org.wso2.carbon.captcha.mgt_4.2.0.jar bundle apache2 2154
|
||||
org.wso2.carbon.cluster.mgt.core_4.4.11.jar bundle apache2 10381
|
||||
org.wso2.carbon.core.bootup.validator_4.4.11.jar bundle apache2 10380
|
||||
org.wso2.carbon.core.commons.stub_4.4.11.jar bundle apache2 10378
|
||||
org.wso2.carbon.core.common_4.4.11.jar bundle apache2 10379
|
||||
org.wso2.carbon.core.services_4.4.11.jar bundle apache2 10377
|
||||
org.wso2.carbon.core_4.4.11.jar bundle apache2 10376
|
||||
org.wso2.carbon.cxf.ext-4.7.2.jar bundle apache2 10222
|
||||
org.wso2.carbon.dashboard.deployment_2.0.5.jar bundle apache2 11019
|
||||
org.wso2.carbon.dashboard.store.filter_2.0.5.jar bundle apache2 11018
|
||||
org.wso2.carbon.dashboard.template.deployer_5.1.5.jar bundle apache2 11124
|
||||
org.wso2.carbon.databridge.agent_5.1.5.jar bundle apache2 11017
|
||||
org.wso2.carbon.databridge.commons.binary_5.1.5.jar bundle apache2 11016
|
||||
org.wso2.carbon.databridge.commons.thrift_5.1.5.jar bundle apache2 11015
|
||||
org.wso2.carbon.databridge.commons_5.1.5.jar bundle apache2 11014
|
||||
org.wso2.carbon.databridge.core_5.1.5.jar bundle apache2 11013
|
||||
org.wso2.carbon.databridge.receiver.binary_5.1.5.jar bundle apache2 11123
|
||||
org.wso2.carbon.databridge.receiver.thrift_5.1.5.jar bundle apache2 11122
|
||||
org.wso2.carbon.databridge.streamdefn.filesystem_5.1.5.jar bundle apache2 11012
|
||||
org.wso2.carbon.datasource.reader.cassandra_4.3.6.jar bundle apache2 10667
|
||||
org.wso2.carbon.datasource.reader.hadoop_4.3.6.jar bundle apache2 10666
|
||||
org.wso2.carbon.deployment.synchronizer.subversion_4.5.4.jar bundle apache2 8451
|
||||
org.wso2.carbon.deployment.synchronizer_4.5.4.jar bundle apache2 8450
|
||||
org.wso2.carbon.device.mgt.input.adapter.extension_3.0.8.jar bundle apache2 11003
|
||||
org.wso2.carbon.device.mgt.input.adapter.http_3.0.8.jar bundle apache2 11002
|
||||
org.wso2.carbon.device.mgt.input.adapter.mqtt_3.0.8.jar bundle apache2 11001
|
||||
org.wso2.carbon.device.mgt.input.adapter.xmpp_3.0.8.jar bundle apache2 11000
|
||||
org.wso2.carbon.device.mgt.output.adapter.mqtt_3.0.8.jar bundle apache2 10998
|
||||
org.wso2.carbon.device.mgt.output.adapter.websocket_3.0.8.jar bundle apache2 10997
|
||||
org.wso2.carbon.device.mgt.output.adapter.xmpp_3.0.8.jar bundle apache2 10996
|
||||
org.wso2.carbon.discovery.cxf_4.7.2.jar bundle apache2 10308
|
||||
org.wso2.carbon.event.admin_4.5.4.jar bundle apache2 8444
|
||||
org.wso2.carbon.event.application.deployer_5.1.5.jar bundle apache2 10990
|
||||
org.wso2.carbon.event.client.stub_4.5.4.jar bundle apache2 8442
|
||||
org.wso2.carbon.event.client_4.5.4.jar bundle apache2 8441
|
||||
org.wso2.carbon.event.common_4.5.4.jar bundle apache2 8440
|
||||
org.wso2.carbon.event.core_4.5.4.jar bundle apache2 8439
|
||||
org.wso2.carbon.event.flow.stub_2.1.4.jar bundle apache2 9713
|
||||
org.wso2.carbon.event.flow.ui_2.1.4.jar bundle apache2 9712
|
||||
org.wso2.carbon.event.flow_2.1.4.jar bundle apache2 9711
|
||||
org.wso2.carbon.event.input.adapter.core_5.1.5.jar bundle apache2 10989
|
||||
org.wso2.carbon.event.input.adapter.email_5.1.5.jar bundle apache2 11121
|
||||
org.wso2.carbon.event.input.adapter.filetail_5.1.5.jar bundle apache2 11120
|
||||
org.wso2.carbon.event.input.adapter.http_5.1.5.jar bundle apache2 11119
|
||||
org.wso2.carbon.event.input.adapter.jms_5.1.5.jar bundle apache2 11118
|
||||
org.wso2.carbon.event.input.adapter.kafka_5.1.5.jar bundle apache2 11117
|
||||
org.wso2.carbon.event.input.adapter.mqtt_5.1.5.jar bundle apache2 11116
|
||||
org.wso2.carbon.event.input.adapter.soap_5.1.5.jar bundle apache2 11115
|
||||
org.wso2.carbon.event.input.adapter.websocket.local_5.1.5.jar bundle apache2 11114
|
||||
org.wso2.carbon.event.input.adapter.websocket_5.1.5.jar bundle apache2 11113
|
||||
org.wso2.carbon.event.input.adapter.wso2event_5.1.5.jar bundle apache2 11112
|
||||
org.wso2.carbon.event.output.adapter.cassandra_5.1.5.jar bundle apache2 11111
|
||||
org.wso2.carbon.event.output.adapter.core_5.1.5.jar bundle apache2 10988
|
||||
org.wso2.carbon.event.output.adapter.email_5.1.5.jar bundle apache2 11110
|
||||
org.wso2.carbon.event.output.adapter.http_5.1.5.jar bundle apache2 11109
|
||||
org.wso2.carbon.event.output.adapter.jms_5.1.5.jar bundle apache2 11108
|
||||
org.wso2.carbon.event.output.adapter.kafka_5.1.5.jar bundle apache2 11107
|
||||
org.wso2.carbon.event.output.adapter.logger_5.1.5.jar bundle apache2 11106
|
||||
org.wso2.carbon.event.output.adapter.mqtt_5.1.5.jar bundle apache2 11105
|
||||
org.wso2.carbon.event.output.adapter.rdbms_5.1.5.jar bundle apache2 11104
|
||||
org.wso2.carbon.event.output.adapter.sms_5.1.5.jar bundle apache2 11103
|
||||
org.wso2.carbon.event.output.adapter.soap_5.1.5.jar bundle apache2 11102
|
||||
org.wso2.carbon.event.output.adapter.ui_5.1.5.jar bundle apache2 11101
|
||||
org.wso2.carbon.event.output.adapter.websocket.local_5.1.5.jar bundle apache2 11100
|
||||
org.wso2.carbon.event.output.adapter.websocket_5.1.5.jar bundle apache2 11099
|
||||
org.wso2.carbon.event.output.adapter.wso2event_5.1.5.jar bundle apache2 11098
|
||||
org.wso2.carbon.event.processor.admin_2.1.4.jar bundle apache2 9684
|
||||
org.wso2.carbon.event.processor.common_2.1.4.jar bundle apache2 9683
|
||||
org.wso2.carbon.event.processor.core_2.1.4.jar bundle apache2 9682
|
||||
org.wso2.carbon.event.processor.manager.commons_5.1.5.jar bundle apache2 11097
|
||||
org.wso2.carbon.event.processor.manager.core_5.1.5.jar bundle apache2 11096
|
||||
org.wso2.carbon.event.processor.stub_2.1.4.jar bundle apache2 9679
|
||||
org.wso2.carbon.event.processor.template.deployer_2.1.4.jar bundle apache2 9678
|
||||
org.wso2.carbon.event.processor.ui_2.1.4.jar bundle apache2 9677
|
||||
org.wso2.carbon.event.publisher.admin_5.1.5.jar bundle apache2 11095
|
||||
org.wso2.carbon.event.publisher.core_5.1.5.jar bundle apache2 11094
|
||||
org.wso2.carbon.event.publisher.stub_5.1.5.jar bundle apache2 11093
|
||||
org.wso2.carbon.event.publisher.ui_5.1.5.jar bundle apache2 11092
|
||||
org.wso2.carbon.event.receiver.admin_5.1.5.jar bundle apache2 11091
|
||||
org.wso2.carbon.event.receiver.core_5.1.5.jar bundle apache2 11090
|
||||
org.wso2.carbon.event.receiver.stub_5.1.5.jar bundle apache2 11089
|
||||
org.wso2.carbon.event.receiver.ui_5.1.5.jar bundle apache2 11088
|
||||
org.wso2.carbon.event.simulator.admin_2.1.4.jar bundle apache2 9666
|
||||
org.wso2.carbon.event.simulator.core_2.1.4.jar bundle apache2 9665
|
||||
org.wso2.carbon.event.simulator.stub_2.1.4.jar bundle apache2 9664
|
||||
org.wso2.carbon.event.simulator.ui_2.1.4.jar bundle apache2 9663
|
||||
org.wso2.carbon.event.statistics.stub_5.1.5.jar bundle apache2 11087
|
||||
org.wso2.carbon.event.statistics.ui_5.1.5.jar bundle apache2 11086
|
||||
org.wso2.carbon.event.statistics_5.1.5.jar bundle apache2 11085
|
||||
org.wso2.carbon.event.stream.admin_5.1.5.jar bundle apache2 10987
|
||||
org.wso2.carbon.event.stream.core_5.1.5.jar bundle apache2 10986
|
||||
org.wso2.carbon.event.stream.persistence.stub_5.1.5.jar bundle apache2 10985
|
||||
org.wso2.carbon.event.stream.stub_5.1.5.jar bundle apache2 10984
|
||||
org.wso2.carbon.event.stream.template.deployer_5.1.5.jar bundle apache2 11084
|
||||
org.wso2.carbon.event.stream.ui_5.1.5.jar bundle apache2 10983
|
||||
org.wso2.carbon.event.template.manager.admin_5.1.5.jar bundle apache2 11083
|
||||
org.wso2.carbon.event.template.manager.core_5.1.5.jar bundle apache2 11082
|
||||
org.wso2.carbon.event.template.manager.stub_5.1.5.jar bundle apache2 11081
|
||||
org.wso2.carbon.event.template.manager.ui_5.1.5.jar bundle apache2 11080
|
||||
org.wso2.carbon.event.tracer.stub_5.1.5.jar bundle apache2 11079
|
||||
org.wso2.carbon.event.tracer.ui_5.1.5.jar bundle apache2 11078
|
||||
org.wso2.carbon.event.tracer_5.1.5.jar bundle apache2 11077
|
||||
org.wso2.carbon.event.ws_4.5.4.jar bundle apache2 8417
|
||||
org.wso2.carbon.feature.mgt.core_4.4.11.jar bundle apache2 10375
|
||||
org.wso2.carbon.feature.mgt.services_4.4.11.jar bundle apache2 10374
|
||||
org.wso2.carbon.feature.mgt.stub_4.4.11.jar bundle apache2 10373
|
||||
org.wso2.carbon.feature.mgt.ui_4.4.11.jar bundle apache2 10372
|
||||
org.wso2.carbon.framework.exporter_4.4.11.jar bundle apache2 10371
|
||||
org.wso2.carbon.gadget.template.deployer_5.1.5.jar bundle apache2 11076
|
||||
org.wso2.carbon.i18n_4.4.11.jar bundle apache2 10370
|
||||
org.wso2.carbon.identity.application.common_5.2.0.jar bundle apache2 8391
|
||||
org.wso2.carbon.identity.authentication_4.5.4.jar bundle apache2 8609
|
||||
org.wso2.carbon.identity.authenticator.saml2.sso.common_5.1.3.jar bundle apache2 9428
|
||||
org.wso2.carbon.identity.authenticator.saml2.sso.stub_5.1.1.jar bundle apache2 8382
|
||||
org.wso2.carbon.identity.authenticator.saml2.sso.ui_5.1.3.jar bundle apache2 9427
|
||||
org.wso2.carbon.identity.authenticator.saml2.sso_5.1.3.jar bundle apache2 9426
|
||||
org.wso2.carbon.identity.base_5.2.0.jar bundle apache2 8378
|
||||
org.wso2.carbon.identity.core.ui_5.2.0.jar bundle apache2 8377
|
||||
org.wso2.carbon.identity.core_5.2.0.jar bundle apache2 8376
|
||||
org.wso2.carbon.identity.jwt.client.extension_2.0.10.jar bundle apache2 10969
|
||||
org.wso2.carbon.identity.oauth.stub_5.3.1.jar bundle apache2 10505
|
||||
org.wso2.carbon.identity.sso.agent_5.1.0.jar bundle apache2 8353
|
||||
org.wso2.carbon.identity.sso.saml.stub_5.1.1.jar bundle apache2 8352
|
||||
org.wso2.carbon.identity.user.store.configuration.deployer_5.2.0.jar bundle apache2 8332
|
||||
org.wso2.carbon.identity.user.store.configuration.stub_5.2.0.jar bundle apache2 8331
|
||||
org.wso2.carbon.identity.user.store.configuration.ui_5.2.0.jar bundle apache2 8330
|
||||
org.wso2.carbon.identity.user.store.configuration_5.2.0.jar bundle apache2 8329
|
||||
org.wso2.carbon.identity.user.store.count.stub_5.2.0.jar bundle apache2 8328
|
||||
org.wso2.carbon.identity.user.store.count_5.2.0.jar bundle apache2 8327
|
||||
org.wso2.carbon.logging-4.4.11.jar bundle apache2 10339
|
||||
org.wso2.carbon.logging.admin.stub_4.5.4.jar bundle apache2 8313
|
||||
org.wso2.carbon.logging.admin.ui_4.5.4.jar bundle apache2 8312
|
||||
org.wso2.carbon.logging.service_4.5.4.jar bundle apache2 8311
|
||||
org.wso2.carbon.logging.view.stub_4.5.4.jar bundle apache2 8310
|
||||
org.wso2.carbon.logging.view.ui_4.5.4.jar bundle apache2 8309
|
||||
org.wso2.carbon.logging_4.4.11.jar bundle apache2 10369
|
||||
org.wso2.carbon.metrics.common_1.2.2.jar bundle apache2 8818
|
||||
org.wso2.carbon.metrics.das.reporter_1.2.2.jar bundle apache2 8817
|
||||
org.wso2.carbon.metrics.data.common_1.2.2.jar bundle apache2 8816
|
||||
org.wso2.carbon.metrics.data.service.stub_1.2.2.jar bundle apache2 8815
|
||||
org.wso2.carbon.metrics.data.service_1.2.2.jar bundle apache2 8814
|
||||
org.wso2.carbon.metrics.impl_1.2.2.jar bundle apache2 8813
|
||||
org.wso2.carbon.metrics.jdbc.reporter_1.2.2.jar bundle apache2 8812
|
||||
org.wso2.carbon.metrics.manager_1.2.2.jar bundle apache2 8811
|
||||
org.wso2.carbon.metrics.view.ui_1.2.2.jar bundle apache2 8810
|
||||
org.wso2.carbon.ndatasource.common_4.4.11.jar bundle apache2 10368
|
||||
org.wso2.carbon.ndatasource.core_4.4.11.jar bundle apache2 10367
|
||||
org.wso2.carbon.ndatasource.datasources_4.5.4.jar bundle apache2 8571
|
||||
org.wso2.carbon.ndatasource.rdbms_4.4.11.jar bundle apache2 10366
|
||||
org.wso2.carbon.ndatasource.stub_4.5.4.jar bundle apache2 8570
|
||||
org.wso2.carbon.ndatasource.ui_4.5.4.jar bundle apache2 8569
|
||||
org.wso2.carbon.ntask.common_4.5.4.jar bundle apache2 8568
|
||||
org.wso2.carbon.ntask.core_4.5.4.jar bundle apache2 8567
|
||||
org.wso2.carbon.ntask.solutions_4.5.4.jar bundle apache2 8566
|
||||
org.wso2.carbon.osgi.security_4.4.11.jar bundle apache2 10365
|
||||
org.wso2.carbon.qpid.stub_4.5.4.jar bundle apache2 8298
|
||||
org.wso2.carbon.queuing_4.4.11.jar bundle apache2 10364
|
||||
org.wso2.carbon.registry.admin.api_4.5.8.jar bundle apache2 10275
|
||||
org.wso2.carbon.registry.api_4.4.11.jar bundle apache2 10363
|
||||
org.wso2.carbon.registry.common.ui_4.5.8.jar bundle apache2 10274
|
||||
org.wso2.carbon.registry.common_4.5.8.jar bundle apache2 10273
|
||||
org.wso2.carbon.registry.core_4.4.11.jar bundle apache2 10362
|
||||
org.wso2.carbon.registry.indexing_4.5.8.jar bundle apache2 10266
|
||||
org.wso2.carbon.registry.properties.stub_4.5.8.jar bundle apache2 10262
|
||||
org.wso2.carbon.registry.properties.ui_4.5.8.jar bundle apache2 10261
|
||||
org.wso2.carbon.registry.properties_4.5.8.jar bundle apache2 10260
|
||||
org.wso2.carbon.registry.resource.stub_4.5.8.jar bundle apache2 10256
|
||||
org.wso2.carbon.registry.resource.ui_4.5.8.jar bundle apache2 10255
|
||||
org.wso2.carbon.registry.resource_4.5.8.jar bundle apache2 10254
|
||||
org.wso2.carbon.registry.search.stub_4.5.8.jar bundle apache2 10253
|
||||
org.wso2.carbon.registry.search.ui_4.5.8.jar bundle apache2 10252
|
||||
org.wso2.carbon.registry.search_4.5.8.jar bundle apache2 10251
|
||||
org.wso2.carbon.registry.server_4.4.11.jar bundle apache2 10361
|
||||
org.wso2.carbon.registry.servlet_4.5.8.jar bundle apache2 10250
|
||||
org.wso2.carbon.remote-tasks.stub_4.5.4.jar bundle apache2 8529
|
||||
org.wso2.carbon.roles.mgt.stub_4.4.11.jar bundle apache2 10360
|
||||
org.wso2.carbon.roles.mgt.ui_4.4.11.jar bundle apache2 10359
|
||||
org.wso2.carbon.roles.mgt_4.4.11.jar bundle apache2 10358
|
||||
org.wso2.carbon.securevault_4.4.11.jar bundle apache2 10357
|
||||
org.wso2.carbon.security.mgt.stub_5.2.0.jar bundle apache2 8272
|
||||
org.wso2.carbon.security.mgt.ui_5.2.0.jar bundle apache2 8271
|
||||
org.wso2.carbon.security.mgt_5.2.0.jar bundle apache2 8270
|
||||
org.wso2.carbon.server-4.4.11.jar bundle apache2 10338
|
||||
org.wso2.carbon.server.admin.common_4.4.11.jar bundle apache2 10356
|
||||
org.wso2.carbon.server.admin.stub_4.4.11.jar bundle apache2 10355
|
||||
org.wso2.carbon.server.admin.ui_4.4.11.jar bundle apache2 10354
|
||||
org.wso2.carbon.server.admin_4.4.11.jar bundle apache2 10353
|
||||
org.wso2.carbon.siddhi.geo.event.fuser_2.1.4.jar bundle apache2 9644
|
||||
org.wso2.carbon.siddhi.geo.event.notifier_2.1.4.jar bundle apache2 9643
|
||||
org.wso2.carbon.siddhi.metrics.core_2.1.4.jar bundle apache2 9642
|
||||
org.wso2.carbon.siddhi.tryit.ui_2.1.4.jar bundle apache2 9641
|
||||
org.wso2.carbon.tenant.common.stub_4.5.4.jar bundle apache2 8258
|
||||
org.wso2.carbon.tenant.common_4.5.4.jar bundle apache2 8257
|
||||
org.wso2.carbon.tenant.dispatcher_4.6.1.jar bundle apache2 10242
|
||||
org.wso2.carbon.tenant.keystore.mgt_4.6.1.jar bundle apache2 10241
|
||||
org.wso2.carbon.tenant.mgt.core_4.6.1.jar bundle apache2 10240
|
||||
org.wso2.carbon.tenant.mgt.stub_4.6.1.jar bundle apache2 10239
|
||||
org.wso2.carbon.tenant.mgt.ui_4.6.1.jar bundle apache2 10238
|
||||
org.wso2.carbon.tenant.mgt_4.6.1.jar bundle apache2 10237
|
||||
org.wso2.carbon.tenant.redirector.servlet.stub_4.6.1.jar bundle apache2 10236
|
||||
org.wso2.carbon.tenant.redirector.servlet.ui_4.6.1.jar bundle apache2 10235
|
||||
org.wso2.carbon.tenant.redirector.servlet_4.6.1.jar bundle apache2 10234
|
||||
org.wso2.carbon.tenant.sso.redirector.ui_4.6.1.jar bundle apache2 10233
|
||||
org.wso2.carbon.tenant.theme.mgt_4.6.1.jar bundle apache2 10232
|
||||
org.wso2.carbon.tomcat.ext_4.4.11.jar bundle apache2 10351
|
||||
org.wso2.carbon.tomcat.patch_4.7.2.jar bundle apache2 10229
|
||||
org.wso2.carbon.tomcat_4.4.11.jar bundle apache2 10350
|
||||
org.wso2.carbon.tryit.ui_4.5.4.jar bundle apache2 8750
|
||||
org.wso2.carbon.tryit_4.5.4.jar bundle apache2 8748
|
||||
org.wso2.carbon.ui.menu.general_4.4.11.jar bundle apache2 10349
|
||||
org.wso2.carbon.ui.menu.registry_4.4.7.jar bundle apache2 8503
|
||||
org.wso2.carbon.ui.menu.stratos_2.2.0.jar bundle apache2 2202
|
||||
org.wso2.carbon.ui.menu.tools_4.4.7.jar bundle apache2 8238
|
||||
org.wso2.carbon.ui_4.4.11.jar bundle apache2 10348
|
||||
org.wso2.carbon.user.api_4.4.11.jar bundle apache2 10347
|
||||
org.wso2.carbon.user.core_4.4.11.jar bundle apache2 10346
|
||||
org.wso2.carbon.user.mgt.common_5.2.0.jar bundle apache2 8230
|
||||
org.wso2.carbon.user.mgt.stub_5.2.0.jar bundle apache2 8229
|
||||
org.wso2.carbon.user.mgt.ui_5.2.0.jar bundle apache2 8228
|
||||
org.wso2.carbon.user.mgt.workflow.stub_5.2.0.jar bundle apache2 8227
|
||||
org.wso2.carbon.user.mgt_5.2.0.jar bundle apache2 8224
|
||||
org.wso2.carbon.utils_4.4.11.jar bundle apache2 10345
|
||||
org.wso2.carbon.webapp.deployer_4.7.2.jar bundle apache2 10227
|
||||
org.wso2.carbon.webapp.mgt_4.7.2.jar bundle apache2 10223
|
||||
org.wso2.carbon.wsdl2form-4.5.4.jar bundle apache2 8749
|
||||
org.wso2.ciphertool-1.0.0-wso2v3.jar bundle apache2 4038
|
||||
org.wso2.das.multitenancy.dashboard.ui_3.1.0.jar bundle apache2 9741
|
||||
org.wso2.das.styles_3.1.0.jar bundle apache2 9740
|
||||
org.wso2.extension.siddhi.execution.json_3.0.6.jar bundle apache2 11075
|
||||
org.wso2.securevault_1.0.0.wso2v2.jar bundle apache2 768
|
||||
org.xerial.snappy.snappy-java_1.1.2.1.jar bundle apache2 2002
|
||||
org.yaml.snakeyaml_1.11.0.jar bundle apache2 1222
|
||||
oro_2.0.8.wso2v1.jar bundle apache2 9739
|
||||
paranamer_2.6.0.wso2v1.jar bundle bsd 4644
|
||||
parquet-hadoop_1.7.0.wso2v1.jar bundle apache2 9738
|
||||
patch.jar jarinbundle epl1 1137
|
||||
pdepublishing-ant.jar jar epl1 524
|
||||
pdepublishing.jar jar epl1 525
|
||||
perf4j_0.9.12.wso2v1.jar bundle apache2 832
|
||||
poi-ooxml_3.14.0.wso2v1.jar bundle apache2 8218
|
||||
poi-scratchpad_3.14.0.wso2v1.jar bundle apache2 8217
|
||||
poi_3.14.0.wso2v1.jar bundle apache2 8216
|
||||
quartz_2.1.1.wso2v1.jar bundle apache2 975
|
||||
rampart-core_1.6.1.wso2v21.jar bundle apache2 8215
|
||||
rampart-policy_1.6.1.wso2v21.jar bundle apache2 8214
|
||||
rampart-trust_1.6.1.wso2v21.jar bundle apache2 8213
|
||||
rome_0.9.0.wso2v1.jar bundle apache2 930
|
||||
saxon.bps_9.0.0.x-wso2v1.jar bundle mpl11 985
|
||||
siddhi-core_3.1.2.jar bundle apache2 1979
|
||||
siddhi-extension-eval-script_3.1.2.jar bundle apache2 1978
|
||||
siddhi-extension-event-table_3.1.2.jar bundle apache2 1977
|
||||
siddhi-extension-geo_3.1.2.jar bundle apache2 1976
|
||||
siddhi-extension-kalman-filter_3.1.2.jar bundle apache2 1975
|
||||
siddhi-extension-map_3.1.2.jar bundle apache2 1974
|
||||
siddhi-extension-markov-models_3.1.2.jar bundle apache2 1973
|
||||
siddhi-extension-math_3.1.2.jar bundle apache2 1972
|
||||
siddhi-extension-regex_3.1.2.jar bundle apache2 1971
|
||||
siddhi-extension-reorder_3.1.2.jar bundle apache2 1970
|
||||
siddhi-extension-string_3.1.2.jar bundle apache2 1969
|
||||
siddhi-extension-timeseries_3.1.2.jar bundle apache2 1967
|
||||
siddhi-extension-time_3.1.2.jar bundle apache2 1968
|
||||
siddhi-query-api_3.1.2.jar bundle apache2 1966
|
||||
siddhi-query-compiler_3.1.2.jar bundle apache2 1965
|
||||
slf4j.api_1.6.1.jar bundle mit 354
|
||||
slf4j.api_1.7.13.jar bundle mit 1606
|
||||
slf4j.api_1.7.21.jar bundle mit 1852
|
||||
slf4j.log4j12_1.6.1.jar bundle mit 346
|
||||
slf4j.log4j12_1.7.13.jar bundle mit 1605
|
||||
slf4j.log4j12_1.7.21.jar bundle mit 1851
|
||||
slf4j_1.5.10.wso2v1.jar bundle mit 1429
|
||||
smackx_3.0.4.wso2v1.jar bundle apache2 1871
|
||||
smack_3.0.4.wso2v1.jar bundle apache2 1493
|
||||
solr_5.2.1.wso2v1.jar bundle apache2 4384
|
||||
spark-core_2.10_1.6.2.wso2v2.jar bundle apache2 10597
|
||||
spark-sql_2.10_1.6.2.wso2v1.jar bundle apache2 9735
|
||||
spark-streaming_2.10_1.6.2.wso2v1.jar bundle apache2 9734
|
||||
spatial4j_0.4.1.wso2v1.jar bundle apache2 4045
|
||||
spring-aop-3.0.7.RELEASE.jar bundle apache2 279
|
||||
spring-asm-3.0.7.RELEASE.jar bundle apache2 261
|
||||
spring-beans-3.0.7.RELEASE.jar bundle apache2 275
|
||||
spring-context-3.0.7.RELEASE.jar bundle apache2 273
|
||||
spring-core-3.0.7.RELEASE.jar bundle apache2 270
|
||||
spring-expression-3.0.7.RELEASE.jar bundle apache2 272
|
||||
spring-web-3.0.7.RELEASE.jar bundle apache2 268
|
||||
spring.framework_3.2.9.wso2v1.jar bundle apache2 4044
|
||||
stax2-api-3.1.4.jar bundle bsd 1089
|
||||
storm-core_0.10.1.wso2v1.jar bundle apache2 9638
|
||||
stream_2.9.5.wso2v1.jar bundle apache2 9733
|
||||
svn-client-adapter_1.10.9.wso2v1.jar bundle apache2 4043
|
||||
tachyon-client_0.8.2.wso2v1.jar bundle apache2 9732
|
||||
tcpmon-1.0.jar jar bsd 255
|
||||
tiles-jsp_2.0.5.wso2v1.jar bundle apache2 989
|
||||
tomcat-annotations-api-7.0.73.jar jar apache2 2044
|
||||
tomcat-catalina-ha_7.0.73.wso2v1.jar bundle apache2 10344
|
||||
tomcat-el-api_7.0.73.wso2v1.jar bundle apache2 10343
|
||||
tomcat-jsp-api_7.0.73.wso2v1.jar bundle apache2 10342
|
||||
tomcat-juli-7.0.73.jar jar apache2 2043
|
||||
tomcat-servlet-api_7.0.73.wso2v1.jar bundle apache2 10341
|
||||
tomcat_7.0.73.wso2v1.jar bundle apache2 10340
|
||||
tyrus-standalone-client_1.7.0.wso2v1.jar bundle cddl+gpl 4226
|
||||
uncommons-maths_1.2.2.wso2v1.jar bundle apache2 4636
|
||||
velocity-1.7.jar bundle apache2 509
|
||||
wadl-core-1.1.3.wso2v2.jar bundle apache2 4069
|
||||
woden_1.0.0.M9-wso2v1.jar bundle apache2 3755
|
||||
woodstox-core-asl-4.4.1.jar bundle apache2 1087
|
||||
wsdl4j-1.6.3.jar jar cpl1 276
|
||||
wsdl4j_1.6.2.wso2v4.jar bundle apache2 745
|
||||
wso2-uri-templates_1.6.2.jar bundle apache2 364
|
||||
wss4j_1.5.11.wso2v14.jar bundle apache2 8206
|
||||
xalan-2.7.1.wso2v1.jar bundle apache2 659
|
||||
xalan-2.7.2.wso2v2.jar bundle apache2 8202
|
||||
xercesImpl-2.8.1.wso2v2.jar bundle apache2 663
|
||||
xml-apis-1.4.01.jar jar apache2 1793
|
||||
xml-resolver-1.2.jar jar apache2 278
|
||||
xmlbeans-2.3.0.jar jarinbundle apache2 344
|
||||
xmlbeans_2.3.0.wso2v1.jar bundle apache2 749
|
||||
xmlschema-core-2.1.0.jar bundle apache2 1145
|
||||
XmlSchema_1.4.7.wso2v3.jar bundle apache2 3585
|
||||
xmlsec-1.5.8.jar bundle apache2 1144
|
||||
|
||||
|
||||
|
||||
The license types used by the above libraries and their information is given below:
|
||||
|
||||
bouncy Bouncy Castle License
|
||||
http://www.bouncycastle.org/licence.html
|
||||
bsd Berkeley License
|
||||
http://www.opensource.org/licenses/bsd-license.php
|
||||
apache2 Apache License Version 2.0
|
||||
http://www.apache.org/licenses/LICENSE-2.0.html
|
||||
mit MIT License
|
||||
http://www.opensource.org/licenses/mit-license.php
|
||||
cddl1 Common Development and Distribution License
|
||||
http://www.opensource.org/licenses/cddl1.php
|
||||
mpl10 Mozilla Public License 1.0
|
||||
http://www.mozilla.org/MPL/
|
||||
cpl1 Common Public License
|
||||
http://opensource.org/licenses/cpl1.0.php
|
||||
epl1+lgpl2 EPL1 + LGPL2
|
||||
http://www.eclipse.org/legal/epl-v10.html + http://www.gnu.org/licenses/licenses.html
|
||||
mpl11 Mozilla Public License 1.0
|
||||
http://www.mozilla.org/MPL/MPL-1.1.html
|
||||
cddl+gpl CDDL + GPLv2
|
||||
https://glassfish.dev.java.net/public/CDDL+GPL.html
|
||||
bsd3 BSD-3
|
||||
http://opensource.org/licenses/BSD-3-Clause
|
||||
epl1 Eclipse Public License
|
||||
http://www.eclipse.org/legal/epl-v10.html
|
||||
@ -1,293 +0,0 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!--
|
||||
~ Copyright (c) 2009, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||
~
|
||||
~ WSO2 Inc. licenses this file to you under the Apache License,
|
||||
~ Version 2.0 (the "License"); you may not use this file except
|
||||
~ in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing,
|
||||
~ software distributed under the License is distributed on an
|
||||
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
~ KIND, either express or implied. See the License for the
|
||||
~ specific language governing permissions and limitations
|
||||
~ under the License.
|
||||
-->
|
||||
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
|
||||
<parent>
|
||||
<groupId>org.wso2.iot</groupId>
|
||||
<artifactId>wso2iot-broker-parent</artifactId>
|
||||
<version>3.1.0-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>wso2iot-broker</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<name>WSO2 IoT - Broker - Product Distribution</name>
|
||||
<url>http://wso2.com/products/message-broker</url>
|
||||
<description>WSO2 IoT Broker Distribution</description>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.apache.rampart</groupId>
|
||||
<artifactId>rampart</artifactId>
|
||||
<type>mar</type>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>slf4j.wso2</groupId>
|
||||
<artifactId>slf4j</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>log4j</groupId>
|
||||
<artifactId>log4j</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.wso2.andes.wso2</groupId>
|
||||
<artifactId>andes-client</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.geronimo.specs.wso2</groupId>
|
||||
<artifactId>geronimo-jms_1.1_spec</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.wso2.carbon.commons</groupId>
|
||||
<artifactId>org.wso2.carbon.event.client</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.wso2.carbon.commons</groupId>
|
||||
<artifactId>org.wso2.carbon.event.client.stub</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>jline</groupId>
|
||||
<artifactId>jline</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<version>2.0-alpha-4</version>
|
||||
<inherited>false</inherited>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>unpack-wso2carbon</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>unpack</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<artifactItems>
|
||||
<artifactItem>
|
||||
<groupId>org.wso2.carbon</groupId>
|
||||
<artifactId>wso2carbon-core</artifactId>
|
||||
<version>${carbon.kernel.version}</version>
|
||||
<type>zip</type>
|
||||
<overWrite>true</overWrite>
|
||||
<outputDirectory>target</outputDirectory>
|
||||
</artifactItem>
|
||||
</artifactItems>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<version>1.1</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>extract-docs-from-components</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<tasks>
|
||||
<property name="tempdir" value="target/docs-temp" />
|
||||
<mkdir dir="${tempdir}" />
|
||||
<unzip dest="${tempdir}">
|
||||
<fileset dir="target">
|
||||
<include name="wso2iot-broker-${product.iot.broker.version}.zip" />
|
||||
</fileset>
|
||||
</unzip>
|
||||
<!-- Disabling default way of checking authorizations due to https://wso2.org/jira/browse/IDENTITY-3489-->
|
||||
<replace file="target/wso2carbon-core-${carbon.kernel.version}/repository/conf/user-mgt.xml" token="<Property name="GetAllRolesOfUserEnabled">true</Property>" value="<!--Property name="GetAllRolesOfUserEnabled">true</Property-->" />
|
||||
<copy todir="target/wso2carbon-core-${carbon.kernel.version}/repository/components/" overwrite="false">
|
||||
<fileset dir="${tempdir}/wso2iot-broker-${product.iot.broker.version}/repository/components/">
|
||||
</fileset>
|
||||
</copy>
|
||||
<unzip dest="${tempdir}">
|
||||
<fileset dir="target/wso2carbon-core-${carbon.kernel.version}/repository/components/plugins/">
|
||||
<include name="*.ui*.jar" />
|
||||
</fileset>
|
||||
</unzip>
|
||||
<move todir="${tempdir}/web/" includeemptydirs="false">
|
||||
<fileset dir="${tempdir}/web/">
|
||||
<exclude name="**/yui/**" />
|
||||
<!--<exclude name="**/tenant-login/**" />-->
|
||||
<exclude name="**/codepress/**" />
|
||||
<exclude name="**/editarea/**" />
|
||||
<exclude name="**/ajax/**" />
|
||||
<exclude name="**/WEB-INF/**" />
|
||||
<include name="**/*.html" />
|
||||
</fileset>
|
||||
<mapper type="glob" from="*.html" to="*.xml" />
|
||||
</move>
|
||||
<mkdir dir="src/site/xdoc" />
|
||||
<copy todir="src/site/xdoc" overwrite="false" includeemptydirs="false">
|
||||
<fileset dir="${tempdir}/web">
|
||||
<exclude name="**/yui/**" />
|
||||
<exclude name="**/codepress/**" />
|
||||
<exclude name="**/editarea/**" />
|
||||
<exclude name="**/ajax/**" />
|
||||
<exclude name="**/WEB-INF/**" />
|
||||
<exclude name="**/*.html" />
|
||||
<exclude name="**/*.js" />
|
||||
<exclude name="**/*.jsp" />
|
||||
<exclude name="**/*.xsl" />
|
||||
<exclude name="*.*" />
|
||||
</fileset>
|
||||
</copy>
|
||||
<copy todir="target/site/" overwrite="false" includeemptydirs="false">
|
||||
<fileset dir="src/site/xdoc/">
|
||||
<include name="**/images/*.*" />
|
||||
</fileset>
|
||||
</copy>
|
||||
<!--<delete dir="${tempdir}" />-->
|
||||
<property name="tempdir2" value="target/identity-ui" />
|
||||
<mkdir dir="${tempdir2}" />
|
||||
<!--Moving "Users and Roles" to Configure Tab-->
|
||||
<unzip src="target/wso2carbon-core-${carbon.kernel.version}/repository/components/plugins/org.wso2.carbon.user.mgt.ui_${carbon.identity.framework.version}.jar" dest="${tempdir2}" />
|
||||
|
||||
<replace file="${tempdir2}/META-INF/component.xml" token="<parent-menu>identity_menu</parent-menu>" value="<parent-menu>configure_menu</parent-menu>" />
|
||||
<zip destfile="target/wso2carbon-core-${carbon.kernel.version}/repository/components/plugins/org.wso2.carbon.user.mgt.ui_${carbon.identity.framework.version}.jar" basedir="${tempdir2}" />
|
||||
|
||||
<!--Moving "User Stores" menu to Configure Tab-->
|
||||
<delete dir="${tempdir2}" />
|
||||
<mkdir dir="${tempdir2}" />
|
||||
<unzip src="target/wso2carbon-core-${carbon.kernel.version}/repository/components/plugins/org.wso2.carbon.identity.user.store.configuration.ui_${carbon.identity.framework.version}.jar" dest="${tempdir2}" />
|
||||
|
||||
<replace file="${tempdir2}/META-INF/component.xml" token="<parent-menu>identity_menu</parent-menu>" value="<parent-menu>configure_menu</parent-menu>" />
|
||||
<zip destfile="target/wso2carbon-core-${carbon.kernel.version}/repository/components/plugins/org.wso2.carbon.identity.user.store.configuration.ui_${carbon.identity.framework.version}.jar" basedir="${tempdir2}" />
|
||||
|
||||
<!--Moving "Keystores" menu to Configure Tab-->
|
||||
<delete dir="${tempdir2}" />
|
||||
<mkdir dir="${tempdir2}" />
|
||||
<unzip src="target/wso2carbon-core-${carbon.kernel.version}/repository/components/plugins/org.wso2.carbon.security.mgt.ui_${carbon.identity.framework.version}.jar" dest="${tempdir2}" />
|
||||
|
||||
<replace file="${tempdir2}/META-INF/component.xml" token="<parent-menu>manage_menu</parent-menu>" value="<parent-menu>configure_menu</parent-menu>" />
|
||||
<zip destfile="target/wso2carbon-core-${carbon.kernel.version}/repository/components/plugins/org.wso2.carbon.security.mgt.ui_${carbon.identity.framework.version}.jar" basedir="${tempdir2}" />
|
||||
</tasks>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>clean_target</id>
|
||||
<phase>install</phase>
|
||||
<configuration>
|
||||
<tasks>
|
||||
<delete dir="target/archive-tmp" />
|
||||
<delete dir="target/dependency-maven-plugin-markers" />
|
||||
<delete dir="target/maven-archiver" />
|
||||
<delete dir="target/wso2carbon-core-${carbon.kernel.version}" />
|
||||
<delete dir="target/sources" />
|
||||
<delete dir="target/site" />
|
||||
<delete dir="src/site" />
|
||||
</tasks>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-site-plugin</artifactId>
|
||||
<version>3.3</version>
|
||||
<configuration>
|
||||
<reportPlugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-project-info-reports-plugin</artifactId>
|
||||
<version>2.4</version>
|
||||
<reportSets>
|
||||
<reportSet>
|
||||
<reports>
|
||||
<report>index</report>
|
||||
</reports>
|
||||
</reportSet>
|
||||
</reportSets>
|
||||
</plugin>
|
||||
</reportPlugins>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>site</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<version>2.2-beta-2</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>pre_dist</id>
|
||||
<phase>test</phase>
|
||||
<goals>
|
||||
<goal>attached</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<filters>
|
||||
<filter>${basedir}/src/main/assembly/filter.properties</filter>
|
||||
</filters>
|
||||
<descriptors>
|
||||
<descriptor>src/main/assembly/dist.xml</descriptor>
|
||||
</descriptors>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>dist</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>attached</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<filters>
|
||||
<filter>${basedir}/src/main/assembly/filter.properties</filter>
|
||||
</filters>
|
||||
<descriptors>
|
||||
<descriptor>src/main/assembly/bin.xml</descriptor>
|
||||
</descriptors>
|
||||
<archiverConfig>
|
||||
<defaultDirectoryMode>0775</defaultDirectoryMode>
|
||||
<directoryMode>0775</directoryMode>
|
||||
<defaultFileMode>0644</defaultFileMode>
|
||||
<fileMode>0644</fileMode>
|
||||
</archiverConfig>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-deploy-plugin</artifactId>
|
||||
<configuration>
|
||||
<skip>true</skip>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
@ -1,518 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
~ Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||
~
|
||||
~ WSO2 Inc. licenses this file to you under the Apache License,
|
||||
~ Version 2.0 (the "License"); you may not use this file except
|
||||
~ in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing,
|
||||
~ software distributed under the License is distributed on an
|
||||
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
~ KIND, either express or implied. See the License for the
|
||||
~ specific language governing permissions and limitations
|
||||
~ under the License.
|
||||
-->
|
||||
<assembly>
|
||||
<formats>
|
||||
<format>zip</format>
|
||||
</formats>
|
||||
<includeBaseDirectory>false</includeBaseDirectory>
|
||||
<fileSets>
|
||||
<fileSet>
|
||||
<directory>target/wso2carbon-core-${carbon.kernel.version}</directory>
|
||||
<outputDirectory>wso2iot-broker-${pom.version}</outputDirectory>
|
||||
<excludes>
|
||||
<exclude>**/*.sh</exclude>
|
||||
<exclude>**/*.bat</exclude>
|
||||
<exclude>**/log4j.properties</exclude>
|
||||
<exclude>**/services/sample01.aar</exclude>
|
||||
<exclude>**/repository/services/version/**</exclude>
|
||||
<exclude>**/version.txt</exclude>
|
||||
<exclude>**/LICENSE.txt</exclude>
|
||||
<exclude>**/launch.ini</exclude>
|
||||
<exclude>**/README.txt</exclude>
|
||||
<exclude>**/carbon.xml</exclude>
|
||||
<exclude>**/master-datasources.xml</exclude>
|
||||
<exclude>**/release-notes.html</exclude>
|
||||
<exclude>**/repository/conf/**</exclude>
|
||||
</excludes>
|
||||
</fileSet>
|
||||
<fileSet>
|
||||
<directory>target/wso2carbon-core-${carbon.kernel.version}</directory>
|
||||
<outputDirectory>wso2iot-broker-${pom.version}</outputDirectory>
|
||||
<excludes>
|
||||
<exclude>**/wso2server.sh</exclude>
|
||||
<exclude>**/wso2server.bat</exclude>
|
||||
<exclude>**/broker.xml</exclude>
|
||||
<exclude>**/axis2.xml</exclude>
|
||||
<exclude>**/carbon.xml</exclude>
|
||||
<exclude>**/cipher-text.properties</exclude>
|
||||
<exclude>**/cipher-tool.properties</exclude>
|
||||
<exclude>**/hazelcast.properties</exclude>
|
||||
<exclude>**/master-datasources.xml</exclude>
|
||||
<exclude>**/messaging-event-broker.xml</exclude>
|
||||
<exclude>**/metrics.xml</exclude>
|
||||
<exclude>**/launch.ini</exclude>
|
||||
<exclude>**/log4j.properties</exclude>
|
||||
</excludes>
|
||||
<includes>
|
||||
<include>**/*.sh</include>
|
||||
<include>**/native/*</include>
|
||||
</includes>
|
||||
<fileMode>755</fileMode>
|
||||
</fileSet>
|
||||
<!--copying db scripts-->
|
||||
<fileSet>
|
||||
<directory>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/dbscripts/service-provider/
|
||||
</directory>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/dbscripts/service-provider
|
||||
</outputDirectory>
|
||||
<includes>
|
||||
<include>**/**.sql</include>
|
||||
</includes>
|
||||
<fileMode>644</fileMode>
|
||||
<directoryMode>775</directoryMode>
|
||||
</fileSet>
|
||||
<!--copying tenant-mgt.xml-->
|
||||
<fileSet>
|
||||
<directory>
|
||||
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/multitenancy/
|
||||
</directory>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf</outputDirectory>
|
||||
<includes>
|
||||
<include>**/tenant-mgt.xml</include>
|
||||
</includes>
|
||||
<fileMode>644</fileMode>
|
||||
</fileSet>
|
||||
<!-- MB SQL scripts -->
|
||||
<fileSet>
|
||||
<directory>../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/dbscripts/mb-store
|
||||
</directory>
|
||||
<outputDirectory>wso2iot-broker-${pom.version}/dbscripts/mb-store</outputDirectory>
|
||||
<includes>
|
||||
<include>**/*.*</include>
|
||||
</includes>
|
||||
<fileMode>644</fileMode>
|
||||
<directoryMode>775</directoryMode>
|
||||
</fileSet>
|
||||
<!-- End - MB SQL scripts -->
|
||||
|
||||
<!--samples set of product-->
|
||||
<fileSet>
|
||||
<directory>../../modules/samples/product/JmsQueueClient</directory>
|
||||
<outputDirectory>wso2iot-broker-${pom.version}/samples/JmsQueueClient</outputDirectory>
|
||||
<fileMode>644</fileMode>
|
||||
<directoryMode>775</directoryMode>
|
||||
</fileSet>
|
||||
<fileSet>
|
||||
<directory>../../modules/samples/product/JmsTopicClient</directory>
|
||||
<outputDirectory>wso2iot-broker-${pom.version}/samples/JmsTopicClient</outputDirectory>
|
||||
<fileMode>644</fileMode>
|
||||
<directoryMode>775</directoryMode>
|
||||
</fileSet>
|
||||
<fileSet>
|
||||
<directory>../../modules/samples/product/JmsMessageListenerClient</directory>
|
||||
<outputDirectory>wso2iot-broker-${pom.version}/samples/JmsMessageListenerClient
|
||||
</outputDirectory>
|
||||
<fileMode>644</fileMode>
|
||||
<directoryMode>775</directoryMode>
|
||||
</fileSet>
|
||||
<fileSet>
|
||||
<directory>../../modules/samples/product/HierarchicalTopicsSubscriber</directory>
|
||||
<outputDirectory>wso2iot-broker-${pom.version}/samples/HierarchicalTopicsSubscriber
|
||||
</outputDirectory>
|
||||
<fileMode>644</fileMode>
|
||||
<directoryMode>775</directoryMode>
|
||||
</fileSet>
|
||||
<fileSet>
|
||||
<directory>../../modules/samples/product/DurableTopicSubscriber</directory>
|
||||
<outputDirectory>wso2iot-broker-${pom.version}/samples/DurableTopicSubscriber
|
||||
</outputDirectory>
|
||||
<fileMode>644</fileMode>
|
||||
<directoryMode>775</directoryMode>
|
||||
</fileSet>
|
||||
<fileSet>
|
||||
<directory>../../modules/samples/product/OldJmsClientSample</directory>
|
||||
<outputDirectory>wso2iot-broker-${pom.version}/samples/OldJmsClientSample</outputDirectory>
|
||||
<fileMode>644</fileMode>
|
||||
<directoryMode>775</directoryMode>
|
||||
</fileSet>
|
||||
<fileSet>
|
||||
<directory>../../modules/samples/product/services</directory>
|
||||
<outputDirectory>wso2iot-broker-${pom.version}/samples/services</outputDirectory>
|
||||
<fileMode>644</fileMode>
|
||||
<directoryMode>775</directoryMode>
|
||||
</fileSet>
|
||||
<fileSet>
|
||||
<directory>../../modules/samples/product/JmsSelectors</directory>
|
||||
<outputDirectory>wso2iot-broker-${pom.version}/samples/JmsSelectors</outputDirectory>
|
||||
<fileMode>644</fileMode>
|
||||
<directoryMode>775</directoryMode>
|
||||
</fileSet>
|
||||
<!-- MQTT Samples -->
|
||||
<fileSet>
|
||||
<directory>../../modules/samples/product/SimpleMqttClient</directory>
|
||||
<outputDirectory>wso2iot-broker-${pom.version}/samples/SimpleMqttClient</outputDirectory>
|
||||
<fileMode>644</fileMode>
|
||||
<directoryMode>775</directoryMode>
|
||||
</fileSet>
|
||||
<fileSet>
|
||||
<directory>../../modules/samples/product/MqttChatClient</directory>
|
||||
<outputDirectory>wso2iot-broker-${pom.version}/samples/MqttChatClient</outputDirectory>
|
||||
<fileMode>644</fileMode>
|
||||
<directoryMode>775</directoryMode>
|
||||
</fileSet>
|
||||
<fileSet>
|
||||
<directory>../../modules/samples/product/MqttIoTSample</directory>
|
||||
<outputDirectory>wso2iot-broker-${pom.version}/samples/MqttIoTSample</outputDirectory>
|
||||
</fileSet>
|
||||
<fileSet>
|
||||
<directory>../../modules/samples/product/MqttRetainSample</directory>
|
||||
<outputDirectory>wso2iot-broker-${pom.version}/samples/MqttRetainSample</outputDirectory>
|
||||
<fileMode>644</fileMode>
|
||||
<directoryMode>775</directoryMode>
|
||||
</fileSet>
|
||||
<fileSet>
|
||||
<directory>../../modules/samples/product/TransactionalPublisher</directory>
|
||||
<outputDirectory>wso2iot-broker-${pom.version}/samples/TransactionalPublisher</outputDirectory>
|
||||
<fileMode>644</fileMode>
|
||||
<directoryMode>775</directoryMode>
|
||||
</fileSet>
|
||||
<fileSet>
|
||||
<directory>../../modules/samples/product/PerMessageAcknowledgeSample</directory>
|
||||
<outputDirectory>wso2iot-broker-${pom.version}/samples/PerMessageAcknowledgeSample</outputDirectory>
|
||||
<fileMode>644</fileMode>
|
||||
<directoryMode>775</directoryMode>
|
||||
</fileSet>
|
||||
<fileSet>
|
||||
<directory>../../modules/samples/product/RedeliveryDelaySample</directory>
|
||||
<outputDirectory>wso2iot-broker-${pom.version}/samples/RedeliveryDelaySample</outputDirectory>
|
||||
<fileMode>644</fileMode>
|
||||
<directoryMode>775</directoryMode>
|
||||
</fileSet>
|
||||
<fileSet>
|
||||
<directory>../../modules/samples/product/JmsExpirationSample</directory>
|
||||
<outputDirectory>wso2iot-broker-${pom.version}/samples/JmsExpirationSample</outputDirectory>
|
||||
<fileMode>644</fileMode>
|
||||
<directoryMode>775</directoryMode>
|
||||
</fileSet>
|
||||
<!-- messaging related configurations -->
|
||||
<fileSet>
|
||||
<directory>
|
||||
../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/
|
||||
</directory>
|
||||
<outputDirectory>wso2iot-broker-${pom.version}/repository/conf
|
||||
</outputDirectory>
|
||||
<excludes>
|
||||
<exclude>**/broker.xml</exclude>
|
||||
<exclude>tomcat/carbon/WEB-INF/web.xml</exclude>
|
||||
<exclude>**/axis2.xml</exclude>
|
||||
<exclude>**/carbon.xml</exclude>
|
||||
<exclude>**/cipher-text.properties</exclude>
|
||||
<exclude>**/cipher-tool.properties</exclude>
|
||||
<exclude>**/hazelcast.properties</exclude>
|
||||
<exclude>**/master-datasources.xml</exclude>
|
||||
<exclude>**/messaging-event-broker.xml</exclude>
|
||||
<exclude>**/metrics.xml</exclude>
|
||||
<exclude>**/launch.ini</exclude>
|
||||
<exclude>**/log4j.properties</exclude>
|
||||
</excludes>
|
||||
<fileMode>644</fileMode>
|
||||
</fileSet>
|
||||
<!--QPID related configurations-->
|
||||
<fileSet>
|
||||
<directory>
|
||||
../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/advanced/
|
||||
</directory>
|
||||
<outputDirectory>wso2iot-broker-${pom.version}/repository/conf/advanced</outputDirectory>
|
||||
<includes>
|
||||
<include>**/qpid-config.xml</include>
|
||||
<include>**/qpid-virtualhosts.xml</include>
|
||||
<include>**/qpid-jmxremote.access</include>
|
||||
</includes>
|
||||
<fileMode>644</fileMode>
|
||||
</fileSet>
|
||||
<!--Multitenancy related file -->
|
||||
<fileSet>
|
||||
<directory>
|
||||
../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/multitenancy/
|
||||
</directory>
|
||||
<outputDirectory>wso2iot-broker-${pom.version}/repository/conf/multitenancy</outputDirectory>
|
||||
<includes>
|
||||
<include>**/stratos.xml</include>
|
||||
<include>**/multitenancy-packages.xml</include>
|
||||
<include>**/usage-throttling-agent-config.xml</include>
|
||||
<include>**/cloud-services-desc.xml</include>
|
||||
</includes>
|
||||
<fileMode>644</fileMode>
|
||||
</fileSet>
|
||||
<!-- copy the landing page webapp -->
|
||||
<fileSet>
|
||||
<directory>lib/home</directory>
|
||||
<outputDirectory>
|
||||
wso2iot-broker-${pom.version}/repository/deployment/server/webapps/STRATOS_ROOT
|
||||
</outputDirectory>
|
||||
<fileMode>644</fileMode>
|
||||
<directoryMode>775</directoryMode>
|
||||
</fileSet>
|
||||
<fileSet>
|
||||
<directory>
|
||||
../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/dbscripts/identity/
|
||||
</directory>
|
||||
<outputDirectory>wso2iot-broker-${pom.version}/dbscripts/identity</outputDirectory>
|
||||
<includes>
|
||||
<include>**/*.sql</include>
|
||||
</includes>
|
||||
<fileMode>644</fileMode>
|
||||
<directoryMode>775</directoryMode>
|
||||
</fileSet>
|
||||
<fileSet>
|
||||
<directory>../styles/service/src/main/resources/web/styles/css</directory>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/resources/allthemes/Default/admin
|
||||
</outputDirectory>
|
||||
<includes>
|
||||
<include>**/**.css</include>
|
||||
</includes>
|
||||
<fileMode>644</fileMode>
|
||||
<directoryMode>775</directoryMode>
|
||||
</fileSet>
|
||||
<fileSet>
|
||||
<directory>../styles/service/src/main/resources/web/styles/images</directory>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/resources/allthemes/Default/images
|
||||
</outputDirectory>
|
||||
<includes>
|
||||
<include>**/**.gif</include>
|
||||
<include>**/**.png</include>
|
||||
</includes>
|
||||
<fileMode>644</fileMode>
|
||||
<directoryMode>775</directoryMode>
|
||||
</fileSet>
|
||||
<fileSet>
|
||||
<directory>
|
||||
../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/dbscripts/metrics/
|
||||
</directory>
|
||||
<outputDirectory>wso2iot-broker-${pom.version}/dbscripts/metrics</outputDirectory>
|
||||
<includes>
|
||||
<include>**/*.sql</include>
|
||||
</includes>
|
||||
<fileMode>644</fileMode>
|
||||
<directoryMode>775</directoryMode>
|
||||
</fileSet>
|
||||
</fileSets>
|
||||
|
||||
<dependencySets>
|
||||
<dependencySet>
|
||||
<outputDirectory>wso2iot-broker-${pom.version}/repository/deployment/client/modules
|
||||
</outputDirectory>
|
||||
<includes>
|
||||
<include>org.apache.rampart:rampart:mar</include>
|
||||
</includes>
|
||||
</dependencySet>
|
||||
<dependencySet>
|
||||
<outputDirectory>wso2iot-broker-${pom.version}/client-lib</outputDirectory>
|
||||
<includes>
|
||||
<include>org.wso2.andes.wso2:andes-client:jar</include>
|
||||
<include>org.apache.geronimo.specs.wso2:geronimo-jms_1.1_spec:jar</include>
|
||||
<include>org.wso2.carbon:org.wso2.carbon.event.client.stub:jar</include>
|
||||
<include>org.wso2.carbon:org.wso2.carbon.event.client:jar</include>
|
||||
<include>slf4j.wso2:slf4j:jar</include>
|
||||
<include>log4j:log4j:jar</include>
|
||||
<include>org.wso2.securevault:org.wso2.securevault:jar</include>
|
||||
<include>org.wso2.carbon:org.wso2.carbon.logging:jar</include>
|
||||
</includes>
|
||||
</dependencySet>
|
||||
<dependencySet>
|
||||
<outputDirectory>wso2iot-broker-${pom.version}/repository/lib</outputDirectory>
|
||||
<includes>
|
||||
<include>jline:jline:jar</include>
|
||||
</includes>
|
||||
</dependencySet>
|
||||
</dependencySets>
|
||||
|
||||
<files>
|
||||
<file>
|
||||
<source>src/main/conf/axis2.xml</source>
|
||||
<outputDirectory>wso2iot-broker-${pom.version}/repository/conf/axis2</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<source>src/main/conf/hazelcast.properties</source>
|
||||
<outputDirectory>wso2iot-broker-${pom.version}/repository/conf/</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<source>src/main/conf/carbon.xml
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
</file>
|
||||
<file>
|
||||
<source>src/main/conf/web.xml
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/tomcat/carbon/WEB-INF/</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
</file>
|
||||
<file>
|
||||
<source>src/main/conf/metrics.xml
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
</file>
|
||||
<file>
|
||||
<source>src/main/conf/broker.xml
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
</file>
|
||||
<file>
|
||||
<source>src/main/conf/messaging-event-broker.xml</source>
|
||||
<outputDirectory>wso2iot-broker-${pom.version}/repository/conf</outputDirectory>
|
||||
</file>
|
||||
<file>
|
||||
<source>src/main/resources/wso2server.sh</source>
|
||||
<outputDirectory>wso2iot-broker-${pom.version}/bin/</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
<fileMode>755</fileMode>
|
||||
</file>
|
||||
<!--copying master-datasources.xml -->
|
||||
<file>
|
||||
<source>src/main/conf/master-datasources.xml</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/datasources/</outputDirectory>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<source>
|
||||
../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/repository/database/WSO2MB_DB.h2.db
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/database/</outputDirectory>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<source>src/main/resources/log4j.properties</source>
|
||||
<outputDirectory>wso2iot-broker-${pom.version}/repository/conf</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
<fileMode>755</fileMode>
|
||||
</file>
|
||||
<!-- Setting jamm javaagent in bam -->
|
||||
<file>
|
||||
<source>src/main/resources/launch.ini</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/etc</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<source>src/main/resources/wso2server.bat</source>
|
||||
<outputDirectory>wso2iot-broker-${pom.version}/bin/</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
<fileMode>755</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<source>src/main/resources/LICENSE.txt</source>
|
||||
<outputDirectory>wso2iot-broker-${pom.version}</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<source>src/main/resources/README.txt</source>
|
||||
<outputDirectory>wso2iot-broker-${pom.version}</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<source>src/main/resources/release-notes.xml</source>
|
||||
<outputDirectory>wso2iot-broker-${pom.version}</outputDirectory>
|
||||
<destName>release-notes.html</destName>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<source>target/wso2carbon-core-${carbon.kernel.version}/bin/README.txt</source>
|
||||
<outputDirectory>wso2iot-broker-${pom.version}/bin/</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<source>target/wso2carbon-core-${carbon.kernel.version}/bin/version.txt</source>
|
||||
<outputDirectory>wso2iot-broker-${pom.version}/bin/</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<source>
|
||||
../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/etc/logging-config.xml
|
||||
</source>
|
||||
<outputDirectory>wso2iot-broker-${pom.version}/repository/conf/etc/</outputDirectory>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<source>../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/metrics.properties</source>
|
||||
<outputDirectory>wso2iot-broker-${pom.version}/repository/conf/</outputDirectory>
|
||||
<filtered>false</filtered>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<source>src/main/conf/metrics.xml</source>
|
||||
<outputDirectory>wso2iot-broker-${pom.version}/repository/conf/</outputDirectory>
|
||||
<filtered>false</filtered>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<source>../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/datasources/metrics-datasources.xml</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/datasources/</outputDirectory>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<source>../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/repository/database/WSO2METRICS_DB.h2.db</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/database/</outputDirectory>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
<!-- Cipher Tool Files -->
|
||||
<file>
|
||||
<source>src/main/conf/cipher-text.properties</source>
|
||||
<outputDirectory>wso2iot-broker-${pom.version}/repository/conf/security</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<source>src/main/conf/cipher-tool.properties</source>
|
||||
<outputDirectory>wso2iot-broker-${pom.version}/repository/conf/security</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<source>../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/bin/ciphertool.sh</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/bin</outputDirectory>
|
||||
<fileMode>755</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<source>../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/bin/ciphertool.bat</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/bin</outputDirectory>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<source>../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/lib/org.wso2.ciphertool-${cipher.tool.version}.jar</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/lib</outputDirectory>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
<!--End of Cipher Tool Files-->
|
||||
<file>
|
||||
<source>../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/identity/identity.xml</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/identity</outputDirectory>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
<file>
|
||||
<source>
|
||||
../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/data-bridge/data-agent-config.xml
|
||||
</source>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/data-bridge</outputDirectory>
|
||||
<filtered>true</filtered>
|
||||
<fileMode>644</fileMode>
|
||||
</file>
|
||||
</files>
|
||||
</assembly>
|
||||
@ -1,37 +0,0 @@
|
||||
<!--
|
||||
~ Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||
~
|
||||
~ WSO2 Inc. licenses this file to you under the Apache License,
|
||||
~ Version 2.0 (the "License"); you may not use this file except
|
||||
~ in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing,
|
||||
~ software distributed under the License is distributed on an
|
||||
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
~ KIND, either express or implied. See the License for the
|
||||
~ specific language governing permissions and limitations
|
||||
~ under the License.
|
||||
-->
|
||||
<assembly>
|
||||
<formats>
|
||||
<format>zip</format>
|
||||
</formats>
|
||||
<includeBaseDirectory>false</includeBaseDirectory>
|
||||
<fileSets>
|
||||
<!-- Copying p2 profile and osgi bundles-->
|
||||
<fileSet>
|
||||
<directory>../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/repository/components</directory>
|
||||
<outputDirectory>wso2iot-broker-${pom.version}/repository/components</outputDirectory>
|
||||
<excludes>
|
||||
<exclude>**/eclipse.ini</exclude>
|
||||
<exclude>**/*.lock</exclude>
|
||||
<exclude>**/.data</exclude>
|
||||
<exclude>**/.settings</exclude>
|
||||
<exclude>features/**</exclude>
|
||||
</excludes>
|
||||
</fileSet>
|
||||
</fileSets>
|
||||
</assembly>
|
||||
@ -1,6 +0,0 @@
|
||||
product.name=WSO2 Message Broker
|
||||
product.key=MB
|
||||
product.version=3.1.0
|
||||
carbon.version=4.4.11
|
||||
mb.version=3.1.0
|
||||
default.server.role=MessageBroker
|
||||
@ -1,21 +0,0 @@
|
||||
# Important: This properties file contains all the aliases to be used in carbon components. If any property need to be secured, you need to add alias name, file name and the xpath as follows:.
|
||||
# The value goes as, the <file_name>//<xpath>,<true/false>
|
||||
# where <file_name> - is the file (along with the file path) to be secured,
|
||||
# <xpath> - is the xpath to the property value to be secured
|
||||
# <true / false> - This is true if the last parameter in the xpath is parameter (starts with [ and ends with ]) and you want its value to be replaced with "password"
|
||||
|
||||
Carbon.Security.KeyStore.Password=repository/conf/carbon.xml//Server/Security/KeyStore/Password,false
|
||||
Carbon.Security.KeyStore.KeyPassword=repository/conf/carbon.xml//Server/Security/KeyStore/KeyPassword,false
|
||||
Carbon.Security.TrustStore.Password=repository/conf/carbon.xml//Server/Security/TrustStore/Password,false
|
||||
UserManager.AdminUser.Password=repository/conf/user-mgt.xml//UserManager/Realm/Configuration/AdminUser/Password,false
|
||||
Datasources.WSO2_CARBON_DB.Configuration.Password=repository/conf/datasources/master-datasources.xml//datasources-configuration/datasources/datasource[name='WSO2_CARBON_DB']/definition[@type='RDBMS']/configuration/password,false
|
||||
Server.Service.Connector.keystorePass=repository/conf/tomcat/catalina-server.xml//Server/Service/Connector[@keystorePass],true
|
||||
|
||||
# MB-Specific
|
||||
Datasources.WSO2_MB_STORE_DB.Configuration.Password=repository/conf/datasources/master-datasources.xml//datasources-configuration/datasources/datasource[name='WSO2_MB_STORE_DB']/definition/configuration/password,false
|
||||
|
||||
#AMQP / MQTT JKS store passwords
|
||||
transports.amqp.sslConnection.keyStore.password=repository/conf/broker.xml//broker/transports/amqp/sslConnection/keyStore/password,true
|
||||
transports.amqp.sslConnection.trustStore.password=repository/conf/broker.xml//broker/transports/amqp/sslConnection/trustStore/password,true
|
||||
transports.mqtt.sslConnection.keyStore.password=repository/conf/broker.xml//broker/transports/mqtt/sslConnection/keyStore/password,true
|
||||
transports.mqtt.sslConnection.trustStore.password=repository/conf/broker.xml//broker/transports/mqtt/sslConnection/trustStore/password,true
|
||||
@ -1,384 +0,0 @@
|
||||
|
||||
This product is licensed by WSO2 Inc. under Apache License 2.0. The license
|
||||
can be downloaded from the following locations:
|
||||
http://www.apache.org/licenses/LICENSE-2.0.html
|
||||
http://www.apache.org/licenses/LICENSE-2.0.txt
|
||||
|
||||
This product also contains software under different licenses. This table below
|
||||
all the contained libraries (jar files) and the license under which they are
|
||||
provided to you.
|
||||
|
||||
At the bottom of this file is a table that shows what each license indicated
|
||||
below is and where the actual text of the license can be found.
|
||||
|
||||
Name Type License
|
||||
---------------------------------------------------------------------------------------------------------
|
||||
abdera_1.0.0.wso2v3.jar bundle apache2 907
|
||||
activation-1.1.1.jar jarinbundle cddl1 552
|
||||
addressing-1.6.1-wso2v20.mar bundle apache2 9597
|
||||
ajaxtags_1.3.0.beta-rc7-wso2v1.jar bundle apache2 905
|
||||
andes-client-3.1.3.jar bundle apache2 2061
|
||||
andes_3.1.3.jar bundle apache2 2062
|
||||
annogen_0.1.0.wso2v1.jar bundle apache2 942
|
||||
ant-contrib-1.0b3.jar jar apache2 549
|
||||
antlr-runtime_3.2.0.wso2v1.jar bundle bsd 817
|
||||
antlr_3.2.0.wso2v1.jar bundle bsd 838
|
||||
ant_1.7.0.wso2v1.jar bundle apache2 1012
|
||||
apache-zookeeper_3.3.4.wso2v1.jar bundle apache2 4219
|
||||
axiom_1.2.11.wso2v11.jar bundle apache2 8489
|
||||
axis2-json_1.6.1.wso2v20.jar bundle apache2 9596
|
||||
axis2-transport-jms_1.1.0.wso2v14.jar bundle apache2 5915
|
||||
axis2-transport-rabbitmq-amqp_1.1.0.wso2v14.jar bundle apache2 5914
|
||||
axis2_1.6.1.wso2v20.jar bundle apache2 9595
|
||||
backport-util-concurrent_3.1.0.wso2v1.jar bundle apache2 1007
|
||||
bcprov-jdk15on-1.52.jar jarinbundle bouncy 1819
|
||||
bcprov-jdk15on_1.52.0.wso2v1.jar bundle bouncy 8485
|
||||
bcprov-jdk15-132.jar jar bouncy 285
|
||||
com.google.gson_2.3.1.jar bundle apache2 1143
|
||||
com.google.gson_2.7.0.jar bundle apache2 1853
|
||||
com.google.guava_19.0.0.jar bundle apache2 1627
|
||||
commons-beanutils-1.7.0.jar jarinbundle apache2 383
|
||||
commons-beanutils-1.8.0.jar jarinbundle apache2 292
|
||||
commons-beanutils_1.8.0.wso2v1.jar bundle apache2 688
|
||||
commons-cli_1.2.0.wso2v1.jar bundle apache2 922
|
||||
commons-codec_1.4.0.wso2v1.jar bundle apache2 980
|
||||
commons-collections_3.2.2.wso2v1.jar bundle apache2 6268
|
||||
commons-collections-3.2.2.wso2v1.jar bundle apache2 6268
|
||||
commons-configuration_1.6.0.wso2v1.jar bundle apache2 933
|
||||
commons-dbcp_1.4.0.wso2v1.jar bundle apache2 962
|
||||
commons-digester-1.8.1.jar jarinbundle apache2 347
|
||||
commons-digester-1.8.jar jarinbundle apache2 384
|
||||
commons-digester_1.8.1.wso2v1.jar bundle apache2 857
|
||||
commons-fileupload_1.3.2.wso2v1.jar bundle apache2 9594
|
||||
commons-httpclient_3.1.0.wso2v3.jar bundle apache2 8483
|
||||
commons-io_2.4.0.wso2v1.jar bundle apache2 4217
|
||||
commons-lang-2.6.0.wso2v1.jar bundle apache2 664
|
||||
commons-lang_2.6.0.wso2v1.jar bundle apache2 940
|
||||
commons-pool_1.5.6.wso2v1.jar bundle apache2 1009
|
||||
compass_2.0.1.wso2v2.jar bundle apache2 897
|
||||
csrfguard_3.1.0.wso2v2.jar bundle bsd 8482
|
||||
disruptor_3.3.2.wso2v2.jar bundle apache2 4377
|
||||
dom4j-1.6.1.jar jarinbundle bsd 1177
|
||||
encoder_1.2.0.wso2v1.jar bundle apache2 4030
|
||||
feign-jaxrs-9.3.1.jar jarinbundle apache2 2058
|
||||
geronimo-jaxws_2.2_spec-1.0.jar bundle apache2 395
|
||||
geronimo-jms_1.1_spec-1.1.0.wso2v1.jar bundle apache2 661
|
||||
geronimo-jta_1.1_spec-1.1.jar jar apache2 1066
|
||||
geronimo-saaj_1.3_spec_1.0.0.wso2v3.jar bundle apache2 893
|
||||
h2-1.3.175.jar jarinbundle epl1 1999
|
||||
h2_1.3.175.wso2v1.jar bundle apache2 9731
|
||||
hazelcast_3.5.4.wso2v2.jar bundle apache2 8481
|
||||
hector-core_1.1.4.wso2v1.jar bundle apache2 2878
|
||||
high-scale-lib_1.0.0.wso2v1.jar bundle apache2 4216
|
||||
httpclient_4.3.1.wso2v2.jar bundle apache2 4214
|
||||
httpcore_4.3.3.wso2v1.jar bundle apache2 3638
|
||||
httpmime_4.3.1.wso2v2.jar bundle apache2 4375
|
||||
icu4j-3.8.jar jarinbundle icu 321
|
||||
io.dropwizard.metrics.core_3.1.2.jar bundle apache2 1305
|
||||
io.dropwizard.metrics.jvm_3.1.2.jar bundle apache2 1302
|
||||
io.github.openfeign.feign-core_9.3.1.jar bundle apache2 2060
|
||||
io.github.openfeign.feign-gson_9.3.1.jar bundle apache2 2059
|
||||
javasysmon_0.3.3.wso2v1.jar bundle bsd 721
|
||||
javax.cache.wso2_4.4.11.jar bundle apache2 2045
|
||||
jaxb_2.2.5.wso2v1.jar bundle cddl1 883
|
||||
jdbc-pool_7.0.34.wso2v2.jar bundle apache2 3637
|
||||
jericho-html-2.4.jar jarinbundle epl1 363
|
||||
jettison_1.3.4.wso2v1.jar bundle apache2 2162
|
||||
jline-1.0.jar bundle bsd 805
|
||||
joda-time_2.8.2.wso2v1.jar bundle apache2 6879
|
||||
json_1.0.0.wso2v1.jar bundle apache2 2361
|
||||
json_2.0.0.wso2v1.jar bundle apache2 971
|
||||
jsr311-api-1.1.1.jar jarinbundle cddl1 553
|
||||
jstl_1.2.1.wso2v2.jar bundle cddl1 2204
|
||||
kaptcha_2.3.0.wso2v1.jar bundle apache2 854
|
||||
libthrift_0.7.0.wso2v2.jar bundle apache2 912
|
||||
libthrift_0.9.2.wso2v1.jar bundle apache2 5912
|
||||
localizer-1.0.jar jarinbundle apache2 551
|
||||
log4j-1.2.17.jar bundle apache2 802
|
||||
lucene_5.2.1.wso2v1.jar bundle apache2 4502
|
||||
neethi_2.0.4.wso2v5.jar bundle apache2 6267
|
||||
netty-all_4.0.23.wso2v1.jar bundle apache2 4689
|
||||
noggit_0.6.0.wso2v1.jar bundle apache2 4211
|
||||
opencsv-1.8.jar jarinbundle apache2 368
|
||||
opencsv_1.8.0.wso2v1.jar bundle apache2 928
|
||||
opensaml_2.6.4.wso2v3.jar bundle apache2 8480
|
||||
org.apache.commons.configuration_1.10.0.jar bundle apache2 1510
|
||||
org.apache.felix.gogo.command_0.10.0.v201209301215.jar bundle apache2 1134
|
||||
org.apache.felix.gogo.runtime_0.10.0.v201209301036.jar bundle apache2 1133
|
||||
org.apache.felix.gogo.shell_0.10.0.v201212101605.jar bundle apache2 1132
|
||||
org.eclipse.core.contenttype_3.4.200.v20130326-1255.jar bundle epl1 1131
|
||||
org.eclipse.core.expressions_3.4.500.v20130515-1343.jar bundle epl1 1130
|
||||
org.eclipse.core.jobs_3.5.300.v20130429-1813.jar bundle epl1 1129
|
||||
org.eclipse.core.runtime_3.9.0.v20130326-1255.jar bundle epl1 1128
|
||||
org.eclipse.ecf.filetransfer_5.0.0.v20130604-1622.jar bundle epl1 1127
|
||||
org.eclipse.ecf.identity_3.2.0.v20130604-1622.jar bundle epl1 1126
|
||||
org.eclipse.ecf.provider.filetransfer.httpclient_4.0.200.v20120319-0616.jar bundle epl1 289
|
||||
org.eclipse.ecf.provider.filetransfer_3.2.0.v20130604-1622.jar bundle epl1 1125
|
||||
org.eclipse.ecf_3.2.0.v20130604-1622.jar bundle epl1 1124
|
||||
org.eclipse.equinox.app_1.3.100.v20130327-1442.jar bundle epl1 1123
|
||||
org.eclipse.equinox.common_3.6.200.v20130402-1505.jar bundle epl1 1122
|
||||
org.eclipse.equinox.concurrent_1.1.0.v20130327-1442.jar bundle epl1 1121
|
||||
org.eclipse.equinox.console_1.0.100.v20130429-0953.jar bundle epl1 1120
|
||||
org.eclipse.equinox.ds_1.4.101.v20130813-1853.jar bundle epl1 1119
|
||||
org.eclipse.equinox.frameworkadmin.equinox_1.0.500.v20130327-2119.jar bundle epl1 1118
|
||||
org.eclipse.equinox.frameworkadmin_2.0.100.v20130327-2119.jar bundle epl1 1117
|
||||
org.eclipse.equinox.http.helper_1.1.0.wso2v1.jar bundle epl1 839
|
||||
org.eclipse.equinox.http.servlet_1.1.400.v20130418-1354.jar bundle epl1 1116
|
||||
org.eclipse.equinox.jsp.jasper_1.0.400.v20120522-2049.jar bundle epl1 388
|
||||
org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar bundle epl1 1115
|
||||
org.eclipse.equinox.p2.artifact.repository_1.1.100.v20110519.jar bundle epl1 337
|
||||
org.eclipse.equinox.p2.console_1.0.300.v20130327-2119.jar bundle epl1 1114
|
||||
org.eclipse.equinox.p2.core_2.3.0.v20130327-2119.jar bundle epl1 1113
|
||||
org.eclipse.equinox.p2.director.app_1.0.300.v20130819-1621.jar bundle epl1 1112
|
||||
org.eclipse.equinox.p2.directorywatcher_1.0.300.v20130327-2119.jar bundle epl1 1110
|
||||
org.eclipse.equinox.p2.director_2.3.0.v20130526-0335.jar bundle epl1 1111
|
||||
org.eclipse.equinox.p2.engine_2.3.0.v20130526-2122-wso2v1.jar bundle epl1 3873
|
||||
org.eclipse.equinox.p2.extensionlocation_1.2.100.v20130327-2119.jar bundle epl1 1109
|
||||
org.eclipse.equinox.p2.garbagecollector_1.0.200.v20130327-2119.jar bundle epl1 1108
|
||||
org.eclipse.equinox.p2.jarprocessor_1.0.300.v20130327-2119.jar bundle epl1 1107
|
||||
org.eclipse.equinox.p2.metadata.repository_1.2.100.v20130327-2119.jar bundle epl1 1106
|
||||
org.eclipse.equinox.p2.metadata_2.2.0.v20130523-1557.jar bundle epl1 1105
|
||||
org.eclipse.equinox.p2.publisher_1.2.0.v20110511.jar bundle epl1 306
|
||||
org.eclipse.equinox.p2.repository.tools_2.1.0.v20130327-2119.jar bundle epl1 1104
|
||||
org.eclipse.equinox.p2.repository_2.3.0.v20130412-2032.jar bundle epl1 1103
|
||||
org.eclipse.equinox.p2.touchpoint.eclipse_2.1.0.v20110511-wso2v1.jar bundle epl1 703
|
||||
org.eclipse.equinox.p2.touchpoint.natives_1.1.100.v20130327-2119.jar bundle epl1 1102
|
||||
org.eclipse.equinox.p2.transport.ecf_1.0.100.v20110902-0807.jar bundle epl1 369
|
||||
org.eclipse.equinox.p2.updatechecker_1.1.200.v20130327-2119.jar bundle epl1 1101
|
||||
org.eclipse.equinox.p2.updatesite_1.0.400.v20130515-2028.jar bundle epl1 1100
|
||||
org.eclipse.equinox.preferences_3.5.100.v20130422-1538.jar bundle epl1 1099
|
||||
org.eclipse.equinox.registry_3.5.301.v20130717-1549.jar bundle epl1 1098
|
||||
org.eclipse.equinox.security_1.2.0.v20130424-1801.jar bundle epl1 1097
|
||||
org.eclipse.equinox.simpleconfigurator.manipulator_2.0.0.v20130327-2119.jar bundle epl1 1096
|
||||
org.eclipse.equinox.simpleconfigurator_1.0.400.v20130327-2119.jar bundle epl1 1095
|
||||
org.eclipse.equinox.util_1.0.500.v20130404-1337.jar bundle epl1 1094
|
||||
org.eclipse.jdt.core.compiler.batch_3.10.2.v20150120-1634.jar bundle epl1 1141
|
||||
org.eclipse.osgi.services_3.3.100.v20130513-1956.jar bundle epl1 1093
|
||||
org.eclipse.osgi_3.9.1.v20130814-1242.jar bundle epl1 1092
|
||||
org.restlet_2.3.0.wso2v1.jar bundle apache2 4501
|
||||
org.sat4j.core_2.3.5.v201308161310.jar bundle epl1+lgpl21091
|
||||
org.sat4j.pb_2.3.5.v201308161310.jar bundle epl1+lgpl21090
|
||||
org.wso2.carbon.addressing_4.4.11.jar bundle apache2 10386
|
||||
org.wso2.carbon.analytics.shared.data.agents.log4j_1.0.3.jar bundle apache2 11074
|
||||
org.wso2.carbon.andes.admin_3.1.3.jar bundle apache2 11073
|
||||
org.wso2.carbon.andes.authentication_3.1.3.jar bundle apache2 11072
|
||||
org.wso2.carbon.andes.authorization_3.1.3.jar bundle apache2 11071
|
||||
org.wso2.carbon.andes.cluster.mgt.ui_3.1.3.jar bundle apache2 11070
|
||||
org.wso2.carbon.andes.cluster.mgt_3.1.3.jar bundle apache2 11069
|
||||
org.wso2.carbon.andes.commons_3.1.3.jar bundle apache2 11068
|
||||
org.wso2.carbon.andes.core_3.1.3.jar bundle apache2 11067
|
||||
org.wso2.carbon.andes.event.admin_3.1.3.jar bundle apache2 11066
|
||||
org.wso2.carbon.andes.event.core_3.1.3.jar bundle apache2 11065
|
||||
org.wso2.carbon.andes.event.stub_3.1.3.jar bundle apache2 11064
|
||||
org.wso2.carbon.andes.event.ui_3.1.3.jar bundle apache2 11063
|
||||
org.wso2.carbon.andes.extensions.device.mgt.mqtt.authorization_3.0.8.jar bundle apache2 11062
|
||||
org.wso2.carbon.andes.mgt.stub_3.1.3.jar bundle apache2 11061
|
||||
org.wso2.carbon.andes.stub_3.1.3.jar bundle apache2 11060
|
||||
org.wso2.carbon.andes.ui_3.1.3.jar bundle apache2 11059
|
||||
org.wso2.carbon.andes_3.1.3.jar bundle apache2 11058
|
||||
org.wso2.carbon.application.deployer_4.4.11.jar bundle apache2 10385
|
||||
org.wso2.carbon.application.upload_4.5.4.jar bundle apache2 8684
|
||||
org.wso2.carbon.authenticator.proxy_4.4.11.jar bundle apache2 10384
|
||||
org.wso2.carbon.authenticator.stub_4.4.11.jar bundle apache2 10383
|
||||
org.wso2.carbon.base_4.4.11.jar bundle apache2 10382
|
||||
org.wso2.carbon.bootstrap-4.4.11.jar bundle apache2 10337
|
||||
org.wso2.carbon.captcha.mgt_4.2.0.jar bundle apache2 2154
|
||||
org.wso2.carbon.cluster.mgt.core_4.4.11.jar bundle apache2 10381
|
||||
org.wso2.carbon.core.bootup.validator_4.4.11.jar bundle apache2 10380
|
||||
org.wso2.carbon.core.commons.stub_4.4.11.jar bundle apache2 10378
|
||||
org.wso2.carbon.core.common_4.4.11.jar bundle apache2 10379
|
||||
org.wso2.carbon.core.services_4.4.11.jar bundle apache2 10377
|
||||
org.wso2.carbon.core_4.4.11.jar bundle apache2 10376
|
||||
org.wso2.carbon.databridge.agent_5.1.5.jar bundle apache2 11017
|
||||
org.wso2.carbon.databridge.commons.binary_5.1.5.jar bundle apache2 11016
|
||||
org.wso2.carbon.databridge.commons.thrift_5.1.5.jar bundle apache2 11015
|
||||
org.wso2.carbon.databridge.commons_5.1.5.jar bundle apache2 11014
|
||||
org.wso2.carbon.event.client_4.5.4.jar bundle apache2 8441
|
||||
org.wso2.carbon.feature.mgt.core_4.4.11.jar bundle apache2 10375
|
||||
org.wso2.carbon.feature.mgt.services_4.4.11.jar bundle apache2 10374
|
||||
org.wso2.carbon.feature.mgt.stub_4.4.11.jar bundle apache2 10373
|
||||
org.wso2.carbon.feature.mgt.ui_4.4.11.jar bundle apache2 10372
|
||||
org.wso2.carbon.framework.exporter_4.4.11.jar bundle apache2 10371
|
||||
org.wso2.carbon.i18n_4.4.11.jar bundle apache2 10370
|
||||
org.wso2.carbon.identity.application.common_5.2.0.jar bundle apache2 8391
|
||||
org.wso2.carbon.identity.authenticator.saml2.sso.common_5.1.3.jar bundle apache2 9428
|
||||
org.wso2.carbon.identity.authenticator.saml2.sso_5.1.3.jar bundle apache2 9426
|
||||
org.wso2.carbon.identity.base_5.2.0.jar bundle apache2 8378
|
||||
org.wso2.carbon.identity.core.ui_5.2.0.jar bundle apache2 8377
|
||||
org.wso2.carbon.identity.core_5.2.0.jar bundle apache2 8376
|
||||
org.wso2.carbon.identity.oauth.stub_5.0.8.jar bundle apache2 8608
|
||||
org.wso2.carbon.identity.user.store.configuration.deployer_5.2.0.jar bundle apache2 8332
|
||||
org.wso2.carbon.identity.user.store.configuration.stub_5.2.0.jar bundle apache2 8331
|
||||
org.wso2.carbon.identity.user.store.configuration.ui_5.2.0.jar bundle apache2 8330
|
||||
org.wso2.carbon.identity.user.store.configuration_5.2.0.jar bundle apache2 8329
|
||||
org.wso2.carbon.identity.user.store.count.stub_5.2.0.jar bundle apache2 8328
|
||||
org.wso2.carbon.identity.user.store.count_5.2.0.jar bundle apache2 8327
|
||||
org.wso2.carbon.identity.user.store.remote_5.0.8.jar bundle apache2 7742
|
||||
org.wso2.carbon.java2wsdl.ui_4.5.4.jar bundle apache2 8776
|
||||
org.wso2.carbon.java2wsdl_4.5.4.jar bundle apache2 8775
|
||||
org.wso2.carbon.logging-4.4.11.jar bundle apache2 10339
|
||||
org.wso2.carbon.logging.admin.stub_4.5.4.jar bundle apache2 8313
|
||||
org.wso2.carbon.logging.admin.ui_4.5.4.jar bundle apache2 8312
|
||||
org.wso2.carbon.logging.service_4.5.4.jar bundle apache2 8311
|
||||
org.wso2.carbon.logging.view.stub_4.5.4.jar bundle apache2 8310
|
||||
org.wso2.carbon.logging.view.ui_4.5.4.jar bundle apache2 8309
|
||||
org.wso2.carbon.logging_4.4.11.jar bundle apache2 10369
|
||||
org.wso2.carbon.messageflows.stub_4.5.4.jar bundle apache2 8574
|
||||
org.wso2.carbon.messageflows.ui_4.5.4.jar bundle apache2 8573
|
||||
org.wso2.carbon.messageflows_4.5.4.jar bundle apache2 8572
|
||||
org.wso2.carbon.messaging.metrics.ui_3.1.3.jar bundle apache2 11057
|
||||
org.wso2.carbon.metrics.common_1.2.2.jar bundle apache2 8818
|
||||
org.wso2.carbon.metrics.das.reporter_1.2.2.jar bundle apache2 8817
|
||||
org.wso2.carbon.metrics.data.common_1.2.2.jar bundle apache2 8816
|
||||
org.wso2.carbon.metrics.data.service.stub_1.2.2.jar bundle apache2 8815
|
||||
org.wso2.carbon.metrics.data.service_1.2.2.jar bundle apache2 8814
|
||||
org.wso2.carbon.metrics.impl_1.2.2.jar bundle apache2 8813
|
||||
org.wso2.carbon.metrics.jdbc.reporter_1.2.2.jar bundle apache2 8812
|
||||
org.wso2.carbon.metrics.manager_1.2.2.jar bundle apache2 8811
|
||||
org.wso2.carbon.metrics.view.ui_1.2.2.jar bundle apache2 8810
|
||||
org.wso2.carbon.ndatasource.common_4.4.11.jar bundle apache2 10368
|
||||
org.wso2.carbon.ndatasource.core_4.4.11.jar bundle apache2 10367
|
||||
org.wso2.carbon.ndatasource.rdbms_4.4.11.jar bundle apache2 10366
|
||||
org.wso2.carbon.osgi.security_4.4.11.jar bundle apache2 10365
|
||||
org.wso2.carbon.queuing_4.4.11.jar bundle apache2 10364
|
||||
org.wso2.carbon.registry.admin.api_4.5.8.jar bundle apache2 10275
|
||||
org.wso2.carbon.registry.api_4.4.11.jar bundle apache2 10363
|
||||
org.wso2.carbon.registry.common.ui_4.5.8.jar bundle apache2 10274
|
||||
org.wso2.carbon.registry.common_4.5.8.jar bundle apache2 10273
|
||||
org.wso2.carbon.registry.core_4.4.11.jar bundle apache2 10362
|
||||
org.wso2.carbon.registry.indexing_4.5.8.jar bundle apache2 10266
|
||||
org.wso2.carbon.registry.properties.stub_4.5.8.jar bundle apache2 10262
|
||||
org.wso2.carbon.registry.properties.ui_4.5.8.jar bundle apache2 10261
|
||||
org.wso2.carbon.registry.properties_4.5.8.jar bundle apache2 10260
|
||||
org.wso2.carbon.registry.resource.stub_4.5.8.jar bundle apache2 10256
|
||||
org.wso2.carbon.registry.resource.ui_4.5.8.jar bundle apache2 10255
|
||||
org.wso2.carbon.registry.resource_4.5.8.jar bundle apache2 10254
|
||||
org.wso2.carbon.registry.search.stub_4.5.8.jar bundle apache2 10253
|
||||
org.wso2.carbon.registry.search.ui_4.5.8.jar bundle apache2 10252
|
||||
org.wso2.carbon.registry.search_4.5.8.jar bundle apache2 10251
|
||||
org.wso2.carbon.registry.server_4.4.11.jar bundle apache2 10361
|
||||
org.wso2.carbon.registry.servlet_4.5.8.jar bundle apache2 10250
|
||||
org.wso2.carbon.roles.mgt.stub_4.4.11.jar bundle apache2 10360
|
||||
org.wso2.carbon.roles.mgt.ui_4.4.11.jar bundle apache2 10359
|
||||
org.wso2.carbon.roles.mgt_4.4.11.jar bundle apache2 10358
|
||||
org.wso2.carbon.securevault_4.4.11.jar bundle apache2 10357
|
||||
org.wso2.carbon.security.mgt.stub_5.2.0.jar bundle apache2 8272
|
||||
org.wso2.carbon.security.mgt.ui_5.2.0.jar bundle apache2 8271
|
||||
org.wso2.carbon.security.mgt_5.2.0.jar bundle apache2 8270
|
||||
org.wso2.carbon.server-4.4.11.jar bundle apache2 10338
|
||||
org.wso2.carbon.server.admin.common_4.4.11.jar bundle apache2 10356
|
||||
org.wso2.carbon.server.admin.stub_4.4.11.jar bundle apache2 10355
|
||||
org.wso2.carbon.server.admin.ui_4.4.11.jar bundle apache2 10354
|
||||
org.wso2.carbon.server.admin_4.4.11.jar bundle apache2 10353
|
||||
org.wso2.carbon.statistics.stub_4.5.4.jar bundle apache2 8264
|
||||
org.wso2.carbon.statistics.ui_4.5.4.jar bundle apache2 8263
|
||||
org.wso2.carbon.statistics_4.5.4.jar bundle apache2 8262
|
||||
org.wso2.carbon.tenant.common_4.5.4.jar bundle apache2 8257
|
||||
org.wso2.carbon.tenant.deployment_4.6.1.jar bundle apache2 10243
|
||||
org.wso2.carbon.tenant.dispatcher_4.6.1.jar bundle apache2 10242
|
||||
org.wso2.carbon.tenant.keystore.mgt_4.6.1.jar bundle apache2 10241
|
||||
org.wso2.carbon.tenant.mgt.core_4.6.1.jar bundle apache2 10240
|
||||
org.wso2.carbon.tenant.mgt_4.6.1.jar bundle apache2 10237
|
||||
org.wso2.carbon.tenant.redirector.servlet_4.6.1.jar bundle apache2 10234
|
||||
org.wso2.carbon.tenant.theme.mgt_4.6.1.jar bundle apache2 10232
|
||||
org.wso2.carbon.tenant.throttling.agent_4.6.1.jar bundle apache2 10231
|
||||
org.wso2.carbon.tenant.usage.agent_4.6.1.jar bundle apache2 10230
|
||||
org.wso2.carbon.throttling.agent.stub_4.5.4.jar bundle apache2 8505
|
||||
org.wso2.carbon.tomcat.ext_4.4.11.jar bundle apache2 10351
|
||||
org.wso2.carbon.tomcat_4.4.11.jar bundle apache2 10350
|
||||
org.wso2.carbon.tools.wsdlvalidator.ui_4.5.4.jar bundle apache2 8753
|
||||
org.wso2.carbon.tools.wsdlvalidator_4.5.4.jar bundle apache2 8752
|
||||
org.wso2.carbon.tracer.stub_4.5.4.jar bundle apache2 8242
|
||||
org.wso2.carbon.tracer.ui_4.5.4.jar bundle apache2 8241
|
||||
org.wso2.carbon.tracer_4.5.4.jar bundle apache2 8240
|
||||
org.wso2.carbon.tryit.ui_4.5.4.jar bundle apache2 8750
|
||||
org.wso2.carbon.tryit_4.5.4.jar bundle apache2 8748
|
||||
org.wso2.carbon.ui.menu.general_4.4.11.jar bundle apache2 10349
|
||||
org.wso2.carbon.ui.menu.tools_4.4.3.jar bundle apache2 6716
|
||||
org.wso2.carbon.ui_4.4.11.jar bundle apache2 10348
|
||||
org.wso2.carbon.um.ws.api.stub_5.0.8.jar bundle apache2 7711
|
||||
org.wso2.carbon.um.ws.api_5.0.8.jar bundle apache2 7710
|
||||
org.wso2.carbon.um.ws.service_5.0.8.jar bundle apache2 7709
|
||||
org.wso2.carbon.user.api_4.4.11.jar bundle apache2 10347
|
||||
org.wso2.carbon.user.core_4.4.11.jar bundle apache2 10346
|
||||
org.wso2.carbon.user.mgt.common_5.2.0.jar bundle apache2 8230
|
||||
org.wso2.carbon.user.mgt.stub_5.2.0.jar bundle apache2 8229
|
||||
org.wso2.carbon.user.mgt.ui_5.2.0.jar bundle apache2 8228
|
||||
org.wso2.carbon.user.mgt.workflow.stub_5.2.0.jar bundle apache2 8227
|
||||
org.wso2.carbon.user.mgt_5.2.0.jar bundle apache2 8224
|
||||
org.wso2.carbon.utils_4.4.11.jar bundle apache2 10345
|
||||
org.wso2.carbon.wsdl2code.stub_4.5.4.jar bundle apache2 8746
|
||||
org.wso2.carbon.wsdl2code.ui_4.5.4.jar bundle apache2 8745
|
||||
org.wso2.carbon.wsdl2code_4.5.4.jar bundle apache2 8744
|
||||
org.wso2.carbon.wsdl2form-4.5.4.jar bundle apache2 8749
|
||||
org.wso2.ciphertool-1.0.0-wso2v3.jar bundle apache2 4038
|
||||
org.wso2.securevault-1.0.0-wso2v2.jar bundle apache2 3537
|
||||
org.wso2.securevault_1.0.0.wso2v2.jar bundle apache2 768
|
||||
pdepublishing-ant.jar jar epl1 524
|
||||
pdepublishing.jar jar epl1 525
|
||||
perf4j_0.9.12.wso2v1.jar bundle apache2 832
|
||||
poi-ooxml_3.14.0.wso2v1.jar bundle apache2 8218
|
||||
poi-scratchpad_3.14.0.wso2v1.jar bundle apache2 8217
|
||||
poi_3.14.0.wso2v1.jar bundle apache2 8216
|
||||
rampart-1.6.1-wso2v10.mar bundle apache2 2375
|
||||
rampart-core_1.6.1.wso2v21.jar bundle apache2 8215
|
||||
rampart-policy_1.6.1.wso2v21.jar bundle apache2 8214
|
||||
rampart-trust_1.6.1.wso2v21.jar bundle apache2 8213
|
||||
slf4j-1.5.10.wso2v1.jar bundle mit 3209
|
||||
slf4j.api_1.6.1.jar bundle mit 354
|
||||
slf4j.api_1.7.13.jar bundle mit 1606
|
||||
slf4j.api_1.7.21.jar bundle mit 1852
|
||||
slf4j.log4j12_1.6.1.jar bundle mit 346
|
||||
slf4j.log4j12_1.7.13.jar bundle mit 1605
|
||||
slf4j.log4j12_1.7.21.jar bundle mit 1851
|
||||
solr_5.2.1.wso2v1.jar bundle apache2 4384
|
||||
spatial4j_0.4.1.wso2v1.jar bundle apache2 4045
|
||||
spring.framework_3.2.9.wso2v1.jar bundle apache2 4044
|
||||
stax2-api-3.1.4.jar bundle bsd 1089
|
||||
tcpmon-1.0.jar jar bsd 255
|
||||
tiles-jsp_2.0.5.wso2v1.jar bundle apache2 989
|
||||
tomcat-annotations-api-7.0.73.jar jar apache2 2044
|
||||
tomcat-catalina-ha_7.0.73.wso2v1.jar bundle apache2 10344
|
||||
tomcat-el-api_7.0.73.wso2v1.jar bundle apache2 10343
|
||||
tomcat-jsp-api_7.0.73.wso2v1.jar bundle apache2 10342
|
||||
tomcat-juli-7.0.73.jar jar apache2 2043
|
||||
tomcat-servlet-api_7.0.73.wso2v1.jar bundle apache2 10341
|
||||
tomcat_7.0.73.wso2v1.jar bundle apache2 10340
|
||||
uddi4j-1.0.1.jar jarinbundle ibmpl 406
|
||||
wadl-core-1.1.3.wso2v2.jar bundle apache2 4069
|
||||
woden_1.0.0.M9-wso2v1.jar bundle apache2 3755
|
||||
woodstox-core-asl-4.4.1.jar bundle apache2 1087
|
||||
wsdl-validator_1.2.0.wso2v1.jar bundle epl1 1175
|
||||
wsdl4j_1.6.2.wso2v4.jar bundle apache2 745
|
||||
wss4j_1.5.11.wso2v14.jar bundle apache2 8206
|
||||
xalan-2.7.1.wso2v1.jar bundle apache2 659
|
||||
xalan-2.7.2.wso2v2.jar bundle apache2 8202
|
||||
xercesImpl-2.8.1.wso2v2.jar bundle apache2 663
|
||||
xml-apis-1.4.01.jar jar apache2 1793
|
||||
xml-resolver-1.2.jar jar apache2 278
|
||||
xmlbeans-2.3.0.jar jarinbundle apache2 344
|
||||
xmlbeans_2.3.0.wso2v1.jar bundle apache2 749
|
||||
XmlSchema_1.4.7.wso2v3.jar bundle apache2 3585
|
||||
|
||||
|
||||
|
||||
The license types used by the above libraries and their information is given below:
|
||||
|
||||
bouncy Bouncy Castle License
|
||||
http://www.bouncycastle.org/licence.html
|
||||
bsd Berkeley License
|
||||
http://www.opensource.org/licenses/bsd-license.php
|
||||
apache2 Apache License Version 2.0
|
||||
http://www.apache.org/licenses/LICENSE-2.0.html
|
||||
ibmpl IBM Public License 1.0
|
||||
http://www.ibm.com/developerworks/library/os-ipl.html
|
||||
mit MIT License
|
||||
http://www.opensource.org/licenses/mit-license.php
|
||||
cddl1 Common Development and Distribution License
|
||||
http://www.opensource.org/licenses/cddl1.php
|
||||
icu ICU License
|
||||
http://source.icu-project.org/repos/icu/icu/trunk/license.html
|
||||
epl1+lgpl2 EPL1 + LGPL2
|
||||
http://www.eclipse.org/legal/epl-v10.html + http://www.gnu.org/licenses/licenses.html
|
||||
epl1 Eclipse Public License
|
||||
http://www.eclipse.org/legal/epl-v10.html
|
||||
@ -1,177 +0,0 @@
|
||||
#WSO2 Message Broker
|
||||
|
||||
Welcome to the WSO2 Message broker.
|
||||
|
||||
WSO2 MB is a lightweight and easy-to-use Open Source Distributed Message Brokering
|
||||
Server (MB) which is available under the Apache Software License v2.0.
|
||||
|
||||
This is based on the revolutionary WSO2 Carbon [Middleware a' la carte]
|
||||
framework. All the major features have been developed as pluggable Carbon
|
||||
components.
|
||||
|
||||
<h2>Key Features of WSO2 MB</h2>
|
||||
WSO2 Message Broker brings messaging and eventing capabilities into your SOA framework.
|
||||
The latest version of this product possesses following key features. All these features
|
||||
can be used as standalone message broker or as a distributed message brokering system.
|
||||
|
||||
WSO2 Message Broker compatible with Advanced Message Queuing Protocol (AMQP)(0-91))
|
||||
and Message Queuing Telemetry Transport Protocol (MQTT) v 3.1.1.
|
||||
<ul>
|
||||
<li> JMS Queuing support </li>
|
||||
<li> JMS Pub/Sub mechanism for topics </li>
|
||||
<li> Hierarchical Topics Subscriptions </li>
|
||||
<li> Queue Message browsing with added UI support </li>
|
||||
<li> Message Re-Delivery Tries Configuration </li>
|
||||
<li> Message Re delivery Header Field support </li>
|
||||
<li> Sample text message sender tool in UI </li>
|
||||
<li> Queue purging support </li>
|
||||
<li> Simple clustering machanism based on carbon clustering </li>
|
||||
<li> Ability to view details of the cluster using Management Console </li>
|
||||
<li> Message delivery fine tuning capabilities </li>
|
||||
<li> Relational databases as a storage machanism </li>
|
||||
</ul>
|
||||
|
||||
<h2>System Requirements</h2>
|
||||
<ol>
|
||||
<li> Minimum memory - 2GB </li>
|
||||
<li> Processor - Pentium 800MHz or equivalent at minimum </li>
|
||||
<li> Java SE Development Kit 1.7 or higher </li>
|
||||
<li> The Management Console requires you to enable Javascript of the Web browser,
|
||||
with MS IE 7. In addition to JavaScript, ActiveX should also be enabled
|
||||
with IE. This can be achieved by setting your security level to
|
||||
medium or lower. </li>
|
||||
<li> To compile and run the sample clients, an Ant version is required. Ant 1.7.0
|
||||
version is recommended. </li>
|
||||
<li> To build WSO2 MB from the Source distribution, it is necessary that you have
|
||||
JDK 7 and Maven 3.0.4 or later </li>
|
||||
</ol>
|
||||
|
||||
For more details see
|
||||
https://docs.wso2.com/display/MB320/Installation+Prerequisites
|
||||
|
||||
<h2>Installation & Running</h2>
|
||||
|
||||
<ol>
|
||||
<li> Extract the wso2mb-3.2.0.zip and go to the extracted directory </li>
|
||||
<li> Run the wso2server.sh or wso2server.bat as appropriate </li>
|
||||
<li> Point your favourite browser to
|
||||
|
||||
https://localhost:9443/carbon
|
||||
</li>
|
||||
<li> Use the following username and password to login
|
||||
|
||||
username : admin
|
||||
password : admin
|
||||
</li>
|
||||
</ol>
|
||||
|
||||
<h2>WSO2 MB 3.2.0 distribution directory structure</h2>
|
||||
|
||||
CARBON_HOME
|
||||
|-- bin <folder>
|
||||
|-- dbscripts <folder>
|
||||
|-- client-lib <folder>
|
||||
|-- lib <folder>
|
||||
|-- repository <folder>
|
||||
| |-- components <folder>
|
||||
| |-- conf <folder>
|
||||
| |-- Advanced <folder>
|
||||
|-- datasources <folder>
|
||||
| |-- database <folder>
|
||||
| |-- deployment <folder>
|
||||
| |-- logs <folder>
|
||||
| |-- tenants <folder>
|
||||
| |-- resources <folder>
|
||||
| |-- security <folder>
|
||||
|-- tmp <folder>
|
||||
|-- LICENSE.txt <file>
|
||||
|-- README.txt <file>
|
||||
`-- release-notes.html <file>
|
||||
|
||||
- bin
|
||||
Contains various scripts .sh & .bat scripts
|
||||
|
||||
- dbscripts
|
||||
Contains the SQL scripts for setting up the database on a variety of
|
||||
Database Management Systems, including H2, Derby, MSSQL, MySQL abd
|
||||
Oracle.
|
||||
|
||||
- client-lib
|
||||
Contains required libraries for JMS,Event Clients
|
||||
|
||||
- lib
|
||||
Contains the basic set of libraries required to start-up WSO2 MB
|
||||
in standalone mode
|
||||
|
||||
- repository
|
||||
The repository where services and modules deployed in WSO2 MB
|
||||
are stored.
|
||||
|
||||
- components
|
||||
Contains OSGi bundles and configurations
|
||||
|
||||
- conf
|
||||
Contains configuration files
|
||||
- datasources
|
||||
contains configuration for setting up databases.
|
||||
|
||||
- database
|
||||
Contains the database
|
||||
|
||||
- deployment
|
||||
Contains Axis2 deployment details
|
||||
|
||||
- logs
|
||||
Contains all log files created during execution
|
||||
|
||||
- tenants
|
||||
Contains tenant details
|
||||
|
||||
- resources
|
||||
Contains additional resources that may be required
|
||||
|
||||
- security
|
||||
Contains security resources
|
||||
|
||||
- tmp
|
||||
Used for storing temporary files, and is pointed to by the
|
||||
java.io.tmpdir System property
|
||||
|
||||
- LICENSE.txt
|
||||
Apache License 2.0 under which WSO2 MB is distributed.
|
||||
|
||||
- README.txt
|
||||
This document.
|
||||
|
||||
|
||||
|
||||
<h2>Support</h2>
|
||||
WSO2 Inc. offers a variety of development and production support
|
||||
programs, ranging from Web-based support up through normal business
|
||||
hours, to premium 24x7 phone support.
|
||||
|
||||
For additional support information please refer to http://wso2.com/support/
|
||||
|
||||
For more information on WSO2 MB, visit the WSO2 Oxygen Tank (http://wso2.org)
|
||||
|
||||
For more details and to take advantage of this unique opportunity please visit
|
||||
http://wso2.com/support/
|
||||
|
||||
Thank you for your interest in WSO2 Message Broker.
|
||||
|
||||
<h2>Known Issues</h2>
|
||||
|
||||
https://wso2.org/jira/issues/?filter=12509
|
||||
|
||||
WSO2 Message Broker is compatible with AMQP 0-91 version only.
|
||||
|
||||
<h2> Build Status </h2>
|
||||
|
||||
| Branch | Build Status |
|
||||
| :------------ |:-------------
|
||||
| Java 7 | [](https://wso2.org/jenkins/job/product-mb) |
|
||||
| Java 8 | [](https://wso2.org/jenkins/job/product-mb__java8/) |
|
||||
|
||||
|
||||
(c) 2015, WSO2 Inc.
|
||||
|
||||
@ -1,205 +0,0 @@
|
||||
================================================================================
|
||||
WSO2 Message Broker Server 3.2.0
|
||||
================================================================================
|
||||
|
||||
Welcome to the WSO2 MB 3.1.0 release
|
||||
|
||||
WSO2 MB is a lightweight and easy-to-use Open Source Distributed Message Brokering
|
||||
Server (MB) which is available under the Apache Software License v2.0.
|
||||
|
||||
This is based on the revolutionary WSO2 Carbon [Middleware a' la carte]
|
||||
framework. All the major features have been developed as pluggable Carbon
|
||||
components.
|
||||
|
||||
Key Features of WSO2 MB
|
||||
==================================
|
||||
WSO2 Message Broker brings messaging and eventing capabilities into your SOA framework.
|
||||
The latest version of this product possesses following key features. All these features
|
||||
can be used as standalone message broker or as a distributed message brokering system.
|
||||
|
||||
WSO2 Message Broker compatible with Advanced Message Queuing Protocol (AMQP)(0-91))
|
||||
and Message Queuing Telemetry Transport Protocol (MQTT) v 3.1.1.
|
||||
|
||||
• JMS Queuing support
|
||||
• JMS Pub/Sub mechanism for topics
|
||||
• Hierarchical Topics Subscriptions
|
||||
• Queue Message browsing with added UI support
|
||||
• Message Re-Delivery Tries Configuration
|
||||
• Message Re delivery Header Field support
|
||||
• Sample text message sender tool in UI
|
||||
• Queue purging support
|
||||
• Simple clustering machanism based on carbon clustering
|
||||
• Ability to view details of the cluster using Management Console
|
||||
• Message delivery fine tuning capabilities
|
||||
• Relational databases as a storage machanism
|
||||
|
||||
System Requirements
|
||||
=======================
|
||||
1. Minimum memory - 2GB
|
||||
2. Processor - Pentium 800MHz or equivalent at minimum
|
||||
3. Java SE Development Kit 1.7 or higher
|
||||
4. The Management Console requires you to enable Javascript of the Web browser,
|
||||
with MS IE 7. In addition to JavaScript, ActiveX should also be enabled
|
||||
with IE. This can be achieved by setting your security level to
|
||||
medium or lower.
|
||||
5. To compile and run the sample clients, an Ant version is required. Ant 1.7.0
|
||||
version is recommended
|
||||
6. To build WSO2 MB from the Source distribution, it is necessary that you have
|
||||
JDK 7 and Maven 3.0.4 or later
|
||||
|
||||
|
||||
For more details see
|
||||
https://docs.wso2.com/display/MB310/Installation+Prerequisites
|
||||
|
||||
Installation & Running
|
||||
==================================
|
||||
|
||||
1. Extract the wso2mb-3.1.0.zip and go to the extracted directory
|
||||
2. Run the wso2server.sh or wso2server.bat as appropriate
|
||||
3. Point your favourite browser to
|
||||
|
||||
https://localhost:9443/carbon
|
||||
|
||||
4. Use the following username and password to login
|
||||
|
||||
username : admin
|
||||
password : admin
|
||||
|
||||
|
||||
|
||||
WSO2 MB 3.1.0 distribution directory structure
|
||||
=============================================
|
||||
|
||||
CARBON_HOME
|
||||
|-- bin <folder>
|
||||
|-- dbscripts <folder>
|
||||
|-- client-lib <folder>
|
||||
|-- lib <folder>
|
||||
|-- repository <folder>
|
||||
| |-- components <folder>
|
||||
| |-- conf <folder>
|
||||
| |-- Advanced <folder>
|
||||
|-- datasources <folder>
|
||||
| |-- database <folder>
|
||||
| |-- deployment <folder>
|
||||
| |-- logs <folder>
|
||||
| |-- tenants <folder>
|
||||
| |-- resources <folder>
|
||||
| |-- security <folder>
|
||||
|-- tmp <folder>
|
||||
|-- LICENSE.txt <file>
|
||||
|-- README.txt <file>
|
||||
`-- release-notes.html <file>
|
||||
|
||||
- bin
|
||||
Contains various scripts .sh & .bat scripts
|
||||
|
||||
- dbscripts
|
||||
Contains the SQL scripts for setting up the database on a variety of
|
||||
Database Management Systems, including H2, Derby, MSSQL, MySQL abd
|
||||
Oracle.
|
||||
|
||||
- client-lib
|
||||
Contains required libraries for JMS,Event Clients
|
||||
|
||||
- lib
|
||||
Contains the basic set of libraries required to start-up WSO2 MB
|
||||
in standalone mode
|
||||
|
||||
- repository
|
||||
The repository where services and modules deployed in WSO2 MB
|
||||
are stored.
|
||||
|
||||
- components
|
||||
Contains OSGi bundles and configurations
|
||||
|
||||
- conf
|
||||
Contains configuration files
|
||||
- datasources
|
||||
contains configuration for setting up databases.
|
||||
|
||||
- database
|
||||
Contains the database
|
||||
|
||||
- deployment
|
||||
Contains Axis2 deployment details
|
||||
|
||||
- logs
|
||||
Contains all log files created during execution
|
||||
|
||||
- tenants
|
||||
Contains tenant details
|
||||
|
||||
- resources
|
||||
Contains additional resources that may be required
|
||||
|
||||
- security
|
||||
Contains security resources
|
||||
|
||||
- tmp
|
||||
Used for storing temporary files, and is pointed to by the
|
||||
java.io.tmpdir System property
|
||||
|
||||
- LICENSE.txt
|
||||
Apache License 2.0 under which WSO2 MB is distributed.
|
||||
|
||||
- README.txt
|
||||
This document.
|
||||
|
||||
|
||||
|
||||
Support
|
||||
==================================
|
||||
WSO2 Inc. offers a variety of development and production support
|
||||
programs, ranging from Web-based support up through normal business
|
||||
hours, to premium 24x7 phone support.
|
||||
|
||||
For additional support information please refer to http://wso2.com/support/
|
||||
|
||||
For more information on WSO2 MB, visit the WSO2 Oxygen Tank (http://wso2.org)
|
||||
|
||||
For more details and to take advantage of this unique opportunity please visit
|
||||
http://wso2.com/support/
|
||||
|
||||
Thank you for your interest in WSO2 Message Broker.
|
||||
|
||||
Known Issues
|
||||
==================================
|
||||
|
||||
https://wso2.org/jira/issues/?filter=12509
|
||||
|
||||
WSO2 Message Broker is compatible with AMQP 0-91 version only.
|
||||
|
||||
Crypto Notice
|
||||
==================================
|
||||
|
||||
This distribution includes cryptographic software. The country in
|
||||
which you currently reside may have restrictions on the import,
|
||||
possession, use, and/or re-export to another country, of
|
||||
encryption software. BEFORE using any encryption software, please
|
||||
check your country's laws, regulations and policies concerning the
|
||||
import, possession, or use, and re-export of encryption software, to
|
||||
see if this is permitted. See <http://www.wassenaar.org/> for more
|
||||
information.
|
||||
|
||||
The U.S. Government Department of Commerce, Bureau of Industry and
|
||||
Security (BIS), has classified this software as Export Commodity
|
||||
Control Number (ECCN) 5D002.C.1, which includes information security
|
||||
software using or performing cryptographic functions with asymmetric
|
||||
algorithms. The form and manner of this Apache Software Foundation
|
||||
distribution makes it eligible for export under the License Exception
|
||||
ENC Technology Software Unrestricted (TSU) exception (see the BIS
|
||||
Export Administration Regulations, Section 740.13) for both object
|
||||
code and source code.
|
||||
|
||||
The following provides more details on the included cryptographic
|
||||
software:
|
||||
|
||||
Apache Rampart : http://ws.apache.org/rampart/
|
||||
Apache WSS4J : http://ws.apache.org/wss4j/
|
||||
Apache Santuario : http://santuario.apache.org/
|
||||
Bouncycastle : http://www.bouncycastle.org/
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
(c) Copyright 2015 WSO2 Inc.
|
||||
|
||||
@ -1,223 +0,0 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!--
|
||||
~ Copyright (c) 2009, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||
~
|
||||
~ WSO2 Inc. licenses this file to you under the Apache License,
|
||||
~ Version 2.0 (the "License"); you may not use this file except
|
||||
~ in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing,
|
||||
~ software distributed under the License is distributed on an
|
||||
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
~ KIND, either express or implied. See the License for the
|
||||
~ specific language governing permissions and limitations
|
||||
~ under the License.
|
||||
-->
|
||||
|
||||
<!DOCTYPE html
|
||||
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<meta content="text/html; charset=iso-8859-1" http-equiv="content-type"/>
|
||||
<title>WSO2 Message Broker 3.1.0 Released!</title>
|
||||
<link href="css/mb-docs.css" rel="stylesheet"/>
|
||||
<link href="styles/dist-docs.css" rel="stylesheet" type="text/css"
|
||||
media="all"/>
|
||||
</head>
|
||||
<body>
|
||||
<div id="header">
|
||||
</div>
|
||||
|
||||
<div id="main-content">
|
||||
<h1>WSO2 Message Broker (MB) 3.1.0 Released!</h1>
|
||||
|
||||
<p>
|
||||
The WSO2 Message Broker team is pleased to announce the 3.1.0 release of WSO2 Message Broker (MB).
|
||||
</p>
|
||||
<p>WSO2 MB is a lightweight and easy-to-use Open Source Distributed Message Brokering
|
||||
Server (MB) which is available under the Apache Software License v2.0.
|
||||
|
||||
This is based on the revolutionary WSO2 Carbon [Middleware a' la carte]
|
||||
framework. All the major features have been developed as pluggable Carbon
|
||||
components.
|
||||
</p>
|
||||
<p>
|
||||
WSO2 MB v 3.1.0 is developed on top of the revolutionary
|
||||
<a href="http://wso2.org/projects/carbon">WSO2 Carbon platform</a> (Middleware a' la carte),
|
||||
an OSGi based framework that provides seamless modularity to your SOA via
|
||||
componentization. This release also contains many new features and a range of optional
|
||||
components (add-ons) that can be installed to customize the behavior of the MB. Further, any
|
||||
existing features of the MB which are not required to your environment can be easily
|
||||
removed using the underlying provisioning framework of Carbon. In brief, WSO2 MB can
|
||||
be fully customized and tailored to meet your exact SOA needs.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
You can download this distribution from
|
||||
<a href="http://wso2.org/downloads/message-broker">
|
||||
http://wso2.org/downloads/message-broker
|
||||
</a>
|
||||
|
||||
</p>
|
||||
|
||||
<h2>How to Run </h2>
|
||||
<ol>
|
||||
<li>Extract the downloaded zip</li>
|
||||
<li>Go to the bin directory in the extracted folder</li>
|
||||
<li>Run the wso2server.sh or wso2server.bat as appropriate</li>
|
||||
<li>Point your browser to the URL https://localhost:9443/carbon</li>
|
||||
<li>Use "admin", "admin" as the username and password to login as an admin</li>
|
||||
<li>If you need to start the OSGi console with the server use the property
|
||||
-DosgiConsole when starting the server. </li>
|
||||
|
||||
</ol>
|
||||
|
||||
|
||||
<h2>New Features of WSO2 MB 3.1.0</h2>
|
||||
|
||||
<p>This release of Message Broker comes with a horde of new features and bug fixes. </p>
|
||||
|
||||
<h2>New Features</h2>
|
||||
|
||||
<p><a href="https://wso2.org/jira/browse/MB-1592">MB-1592</a> Support for PostgreSQL as the Message Store </p>
|
||||
<p><a href="https://wso2.org/jira/browse/MB-1588">MB-615</a> Forcefully Delete and Subscriptions </p>
|
||||
|
||||
<h2>Key Features of WSO2 Message Broker</h2>
|
||||
|
||||
<p>WSO2 Message Broker brings messaging and eventing capabilities into your SOA
|
||||
framework. Message Broker contains all the previously available features except
|
||||
SQS support. Those are :
|
||||
</p>
|
||||
<ul>
|
||||
<li>JMS Queuing support</li>
|
||||
<li>JMS Pub/Sub mechanism for topics</li>
|
||||
<li>Hierarchical Topics Subscriptions</li>
|
||||
<li>Queue Message browsing with added UI support</li>
|
||||
<li>Message Re-Delivery Tries Configuration</li>
|
||||
<li>Message Re delivery Header Field support</li>
|
||||
<li>Sample text message sender tool in UI</li>
|
||||
<li>Queue purging support</li>
|
||||
<li>Simple clustering machanism based on carbon clustering</li>
|
||||
<li>Ability to view details of the cluster using Management Console</li>
|
||||
<li>Message delivery fine tuning capabilities</li>
|
||||
<li>Relational databases as a storage machanism</li>
|
||||
</ul>
|
||||
|
||||
|
||||
<p>The underlying JMS engine handles WS-Eventing/JMS synchronisation that enables
|
||||
exposing and consuming your events using two different standard API's.
|
||||
</p>
|
||||
|
||||
<h2>Project Resources</h2>
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
<strong>Home page:</strong>
|
||||
<a href="http://wso2.com/products/message-broker/">
|
||||
http://wso2.com/products/message-broker/
|
||||
</a>
|
||||
|
||||
</li>
|
||||
<li>
|
||||
<strong>Wiki:</strong>
|
||||
<a href="https://docs.wso2.com/display/MB310/WSO2+Message+Broker+Documentation">
|
||||
https://docs.wso2.com/display/MB310/WSO2+Message+Broker+Documentation
|
||||
</a>
|
||||
|
||||
</li>
|
||||
<li>
|
||||
<strong>JIRA-Issue Tracker:</strong>
|
||||
<a href="https://wso2.org/jira/browse/MB">https://wso2.org/jira/browse/MB</a>
|
||||
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<h2>Bugs Fixed in This Release</h2>
|
||||
<p>
|
||||
This release of WSO2 MB comes with a number of bug fixes, both in the base
|
||||
framework and the MB specific components. All the issues which have been
|
||||
fixed in MB v 3.1.0 are recorded at following locations:
|
||||
</p>
|
||||
<ul>
|
||||
|
||||
<li><a href="https://wso2.org/jira/issues/?filter=12639">
|
||||
Fixed MB specific issues</a></li>
|
||||
|
||||
</ul>
|
||||
<h2>Known Issues</h2>
|
||||
<p>
|
||||
All the open issues pertaining to WSO2 MB v 3.1.0 are reported at following
|
||||
locations:
|
||||
</p>
|
||||
<ul>
|
||||
<li><a href="https://wso2.org/jira/issues/?filter=12509">
|
||||
WSO2 MB 3.1.0 component issues</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
<h2>How You Can Contribute</h2>
|
||||
<h3>
|
||||
Mailing Lists
|
||||
</h3>
|
||||
<p>
|
||||
Join our mailing list and correspond with the developers directly.
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
Developer List :
|
||||
<a href="mailto:dev@wso2.org">dev@wso2.org</a>
|
||||
|
|
||||
<a href="mailto:dev-request@wso2.org?subject=subscribe">Subscribe</a>
|
||||
|
|
||||
<a href="http://wso2.org/mailarchive/carbon-dev/">Mail Archive</a>
|
||||
</li>
|
||||
<li>
|
||||
User List :
|
||||
<a href="http://stackoverflow.com/questions/tagged/wso2">StackOverflow.com</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<h3>
|
||||
Reporting Issues
|
||||
</h3>
|
||||
<p>
|
||||
WSO2 encourages you to report issues and your enhancement requests for the
|
||||
WSO2 MB using the public<a
|
||||
href="https://wso2.org/jira/browse/MB"> JIRA</a>.
|
||||
</p>
|
||||
<p>
|
||||
You can also watch how they are resolved, and comment on the progress..
|
||||
</p>
|
||||
|
||||
<h2>Support</h2>
|
||||
<p>We are committed to ensuring that your enterprise middleware deployment is completely
|
||||
supported from evaluation to production. Our unique approach ensures that all
|
||||
support leverages our open development methodology and is provided by the very same
|
||||
engineers who build the technology.
|
||||
</p>
|
||||
|
||||
<p>For more details and to take advantage of this unique opportunity please visit
|
||||
<a href="http://wso2.com/support/">http://wso2.com/support/</a>
|
||||
</p>
|
||||
|
||||
<p>For more information on WSO2 MB Please see<a
|
||||
href="http://wso2.com/products/message-broker/">
|
||||
http://wso2.com/products/message-broker/</a>, visit the WSO2 Oxygen Tank developer
|
||||
portal for additional
|
||||
resources.
|
||||
</p>
|
||||
|
||||
<p>Thank you for your interest in WSO2 Message Broker.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<i>-- The WSO2 MB Team --</i>
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@ -20,7 +20,7 @@
|
||||
|
||||
<parent>
|
||||
<groupId>org.wso2.iot</groupId>
|
||||
<artifactId>wso2iot-core-parent</artifactId>
|
||||
<artifactId>wso2iot-components</artifactId>
|
||||
<version>3.1.0-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
@ -28,7 +28,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>org.wso2.iot.core.admin.styles</artifactId>
|
||||
<packaging>bundle</packaging>
|
||||
<name>WSO2 IoT - Core - UI Styles</name>
|
||||
<name>WSO2 IoT - UI Styles</name>
|
||||
<url>http://wso2.org</url>
|
||||
|
||||
<build>
|
||||
|
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.0 KiB |
|
Before Width: | Height: | Size: 57 KiB After Width: | Height: | Size: 57 KiB |
|
Before Width: | Height: | Size: 137 B After Width: | Height: | Size: 137 B |
|
Before Width: | Height: | Size: 7.5 KiB After Width: | Height: | Size: 7.5 KiB |
|
Before Width: | Height: | Size: 5.9 KiB After Width: | Height: | Size: 5.9 KiB |
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 7.0 KiB After Width: | Height: | Size: 7.0 KiB |
|
Before Width: | Height: | Size: 9.2 KiB After Width: | Height: | Size: 9.2 KiB |
|
Before Width: | Height: | Size: 189 B After Width: | Height: | Size: 189 B |
|
Before Width: | Height: | Size: 463 B After Width: | Height: | Size: 463 B |
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.8 KiB |
|
Before Width: | Height: | Size: 8.6 KiB After Width: | Height: | Size: 8.6 KiB |
|
Before Width: | Height: | Size: 7.7 KiB After Width: | Height: | Size: 7.7 KiB |
@ -1,4 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
~ Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||
~
|
||||
@ -21,19 +22,19 @@
|
||||
|
||||
<parent>
|
||||
<groupId>org.wso2.iot</groupId>
|
||||
<artifactId>wso2iot-core-parent</artifactId>
|
||||
<artifactId>wso2iot-parent</artifactId>
|
||||
<version>3.1.0-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>wso2iot-core-features</artifactId>
|
||||
<artifactId>wso2iot-components</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<name>WSO2 IoT - Core - Server UI Features</name>
|
||||
<name>WSO2 IoT - Components Module</name>
|
||||
<url>http://wso2.org</url>
|
||||
|
||||
<modules>
|
||||
<module>org.wso2.iot.core.styles.feature</module>
|
||||
<module>org.wso2.iot.core.admin.styles</module>
|
||||
</modules>
|
||||
|
||||
</project>
|
||||
@ -1,44 +0,0 @@
|
||||
Installing WSO2 IoT Server 3.0.0
|
||||
|
||||
Running the server
|
||||
-----------------
|
||||
1. The directory containing this INSTALL file will be the root and it is treated as the IoTS home directory, and is referred to as <IoT_HOME>.
|
||||
|
||||
2. WSO2 IoT Server comes as a composition of three components namely broker, core, and analytics.
|
||||
|
||||
3. The starting order of the WSO2 IoTS components should be broker, core, analytics.
|
||||
|
||||
4. To start/stop/restart the IoTS components, run wso2server.sh for *nix systems and wso2server.bat for Windows systems, which can be found in following locations.
|
||||
<IoT_HOME>/broker/bin
|
||||
<IoT_HOME>/core/bin
|
||||
<IoT_HOME>/analytics/bin
|
||||
|
||||
5. The wso2server.sh and wso2server.bat startup scripts have the following commands:
|
||||
|
||||
i) ./wso2server.sh {console|start|stop|restart|status|dump|version}
|
||||
ii) wso2server.bat {start|stop|version}
|
||||
|
||||
Usage: wso2server.sh [command]
|
||||
command:
|
||||
--debug <port> Start the server in remote debugging mode
|
||||
<port> The remote debugging port
|
||||
--run Run the server
|
||||
--start Start the server as a Unix daemon in the background
|
||||
--console Start the server as a Unix daemon in the foreground
|
||||
--stop Stop the server Unix daemon
|
||||
--status Get the status of the Carbon Unix daemon
|
||||
--dump Print a thread dump of the Carbon Unix daemon
|
||||
--restart Restart the Carbon Unix daemon
|
||||
--version The version of the Carbon server are you running
|
||||
--n Start multiple instances of the same server after you
|
||||
have successfully installed the Multiple-instances feature
|
||||
from a feature repository
|
||||
|
||||
System Requirements
|
||||
-------------------
|
||||
1. Minimum memory - 4GB
|
||||
2. The WSO2 IOTS Management Console requires full Javascript enablement in the Web browser
|
||||
NOTE:
|
||||
On Windows Server 2003, it is not allowed to go below the medium security
|
||||
level when using Internet Explorer 6.x.
|
||||
|
||||
@ -1,167 +0,0 @@
|
||||
WSO2 IoT Server
|
||||
----------------------
|
||||
Welcome to the WSO2 IoT Server (IoTS) 3.0.0 release.
|
||||
=======
|
||||
|
||||
Key Features
|
||||
------------
|
||||
Self-service device enrollment and management with an end-user IoTS console.
|
||||
|
||||
|
||||
Installation & Running
|
||||
----------------------
|
||||
1. Extract the downloaded ZIP file.
|
||||
2. Follow the INSTALL.txt file for install instructions.
|
||||
3. After the server starts, point your Web browser to https://localhost:9443/devicemgt in order to see the available device types and operations
|
||||
4. Navigate to https://localhost:9443/api-store to see the available device APIs. You can subscribe to these APIs with the default application (or by creating a new application).
|
||||
In the API Store, go to my subscriptions and locate the client ID and secret, which can be used to invoke these APIs.
|
||||
|
||||
System Requirements
|
||||
-------------------
|
||||
|
||||
1. Minimum memory - 4GB
|
||||
2. The portal app requires full Javascript enablement on the Web browser
|
||||
|
||||
|
||||
WSO2 IoT Server (IoTS) Binary Distribution Directory Structure
|
||||
-----------------------------------------------------
|
||||
IoT_HOME
|
||||
.
|
||||
├── core //core component
|
||||
├── analytics //Analytics component
|
||||
├── broker //Message Broker component
|
||||
├── samples //sample device types e.g., connectedcup
|
||||
├── plugins //pre-built device types
|
||||
|
||||
The IoTS Core, Analytics, and Broker have similar directory structures. For example Core has the following structure:
|
||||
IoT_HOME/core
|
||||
.
|
||||
├── bin //executables
|
||||
├── dbscripts //DBScripts
|
||||
├── INSTALL.txt
|
||||
├── lib
|
||||
├── LICENSE.txt
|
||||
├── modules //Jaggery Modules
|
||||
├── README.txt
|
||||
├── release-notes.html
|
||||
├── repository // repository
|
||||
├── tmp
|
||||
├── webapp-mode
|
||||
|
||||
|
||||
- bin
|
||||
Contains various scripts (i.e., .sh & .bat scripts).
|
||||
|
||||
- dbscripts
|
||||
Contains the database creation & seed data population SQL scripts for
|
||||
various supported databases.
|
||||
|
||||
- lib
|
||||
Contains the basic set of libraries required to startup WSO2 IoT Server
|
||||
in standalone mode
|
||||
|
||||
- repository
|
||||
The repository where Carbon artifacts & Axis2 services and
|
||||
modules deployed in WSO2 Carbon, and other custom deployers such as
|
||||
dataservices and axis1services are stored.
|
||||
|
||||
- carbonapps
|
||||
Carbon Application hot deployment directory.
|
||||
|
||||
- components
|
||||
Contains all OSGi related libraries and configurations.
|
||||
|
||||
- conf
|
||||
Contains server configuration files. e.g., axis2.xml, carbon.xml
|
||||
|
||||
- data
|
||||
Contains internal LDAP related data.
|
||||
|
||||
- database
|
||||
Contains the WSO2 Registry & User Manager database.
|
||||
|
||||
- deployment
|
||||
Contains server side and client side Axis2 repositories.
|
||||
All deployment artifacts should go into this directory.
|
||||
|
||||
- logs
|
||||
Contains all log files created during execution.
|
||||
|
||||
- resources
|
||||
Contains additional resources that may be required.
|
||||
|
||||
- tenants
|
||||
This directory will contain relevant tenant artifacts
|
||||
in the case of a multi-tenant deployment.
|
||||
|
||||
- tmp
|
||||
Used for storing temporary files, and is pointed to by the
|
||||
java.io.tmpdir system property.
|
||||
|
||||
- webapp-mode
|
||||
You have the option of running WSO2 Carbon in the webapp mode (hosted as a web-app in an application server). This directory contains files required to run Carbon in the webapp mode.
|
||||
|
||||
- LICENSE.txt
|
||||
Apache License 2.0 under which WSO2 Carbon is distributed.
|
||||
|
||||
- README.txt
|
||||
This document.
|
||||
|
||||
- INSTALL.txt
|
||||
This document contains information on installing WSO2 IoT Server.
|
||||
|
||||
- release-notes.html
|
||||
Release information for WSO2 IoT Server 3.0.0
|
||||
|
||||
Secure sensitive information in Carbon configuration files
|
||||
----------------------------------------------------------
|
||||
|
||||
There is sensitive information such as passwords in the Carbon configuration.
|
||||
You can secure them by using secure vault. Please go through the following steps to
|
||||
secure them with the default mode.
|
||||
|
||||
1. Configure secure vault with the default configurations by running the ciphertool
|
||||
script from the bin directory.
|
||||
|
||||
> ciphertool.sh -Dconfigure (in UNIX)
|
||||
|
||||
This script automates the following configurations that you would normally need to do manually.
|
||||
|
||||
(i) Replaces sensitive elements in configuration files that have been defined in
|
||||
cipher-tool.properties, with alias token values.
|
||||
(ii) Encrypts the plain text password which is defined in the cipher-text.properties file.
|
||||
(iii) Updates the secret-conf.properties file with the default keystore and callback class.
|
||||
|
||||
cipher-tool.properties, cipher-text.properties and secret-conf.properties files
|
||||
can be found in the <IoT_HOME>/repository/conf/security directory.
|
||||
|
||||
2. Start the server by running the wso2server script, which is in the <IoT_HOME>/bin directory.
|
||||
|
||||
> wso2server.sh (in UNIX)
|
||||
|
||||
When running the default mode, it asks you to enter the master password
|
||||
(By default, the master password is the password of the Carbon keystore and private key)
|
||||
|
||||
3. Change any password by running the ciphertool script, which is in the <IoT_HOME>/bin directory.
|
||||
|
||||
> ciphertool -Dchange (in UNIX)
|
||||
|
||||
For more information, see
|
||||
https://docs.wso2.com/display/ADMIN44x/Carbon+Secure+Vault+Implementation
|
||||
|
||||
Training
|
||||
--------
|
||||
|
||||
WSO2 Inc. offers a variety of professional Training Programs for WSO2 products.
|
||||
For additional support on training information please goto http://wso2.com/training/
|
||||
|
||||
|
||||
Support
|
||||
-------
|
||||
|
||||
We are committed to ensuring that your enterprise middleware deployment is completely supported from evaluation to production. Our unique approach ensures that all support leverages our open development methodology and is provided by the very same engineers who build the technology.
|
||||
|
||||
For additional support information please refer to http://wso2.com/support/
|
||||
|
||||
---------------------------------------------------------------------------
|
||||
(c) Copyright 2017 WSO2 Inc.
|
||||
@ -1,65 +0,0 @@
|
||||
<!--
|
||||
~ Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||
~
|
||||
~ WSO2 Inc. licenses this file to you under the Apache License,
|
||||
~ Version 2.0 (the "License"); you may not use this file except
|
||||
~ in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing,
|
||||
~ software distributed under the License is distributed on an
|
||||
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
~ KIND, either express or implied. See the License for the
|
||||
~ specific language governing permissions and limitations
|
||||
~ under the License.
|
||||
-->
|
||||
|
||||
<!--
|
||||
Contains the body of the mail that to be sent upon the tenant configuration request by the
|
||||
admin of the tenant. This includes the password reset link, for the forgotten passwords.
|
||||
-->
|
||||
|
||||
<configuration>
|
||||
<targetEpr>https://localhost:9443/carbon/admin-mgt/validator_ajaxprocessor.jsp</targetEpr>
|
||||
<subject>WSO2 Carbon - Password Reset</subject>
|
||||
<body>
|
||||
Hi {first-name},
|
||||
|
||||
A password reset request has recently been sent by you (or someone else).
|
||||
|
||||
User Name: {user-name}
|
||||
|
||||
Please click the following link to reset your password.
|
||||
</body>
|
||||
<footer>
|
||||
Best Regards,
|
||||
WSO2 Carbon Team
|
||||
http://www.wso2.com
|
||||
</footer>
|
||||
<redirectPath>../admin-mgt/update_verifier_redirector_ajaxprocessor.jsp</redirectPath>
|
||||
</configuration>
|
||||
<configuration type="askPassword">
|
||||
<targetEpr></targetEpr>
|
||||
<subject>WSO2 MDM - Change password of the new user account</subject>
|
||||
<body>
|
||||
Hi {first-name},
|
||||
|
||||
|
||||
Please change your password for the newly created account: {user-name}. Please click the link
|
||||
below to create the password.
|
||||
http://localhost:9443/InfoRecoverySample/infoRecover/verify?confirmation={confirmation-code}&
|
||||
username={user-name}
|
||||
|
||||
|
||||
If clicking the link doesn't seem to work, you can copy and paste the link into your browser's
|
||||
address window.
|
||||
</body>
|
||||
<footer>
|
||||
Best Regards,
|
||||
WSO2 MDM Team
|
||||
http://www.wso2.com
|
||||
</footer>
|
||||
<redirectPath>../admin-mgt/update_verifier_redirector_ajaxprocessor.jsp</redirectPath>
|
||||
</configuration>
|
||||
@ -1,90 +0,0 @@
|
||||
#
|
||||
# Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||
#
|
||||
# WSO2 Inc. licenses this file to you under the Apache License,
|
||||
# Version 2.0 (the "License"); you may not use this file except
|
||||
# in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing,
|
||||
# software distributed under the License is distributed on an
|
||||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
# KIND, either express or implied. See the License for the
|
||||
# specific language governing permissions and limitations
|
||||
# under the License.
|
||||
#
|
||||
|
||||
# Identity listener is enable
|
||||
|
||||
Identity.Listener.Enable=true
|
||||
|
||||
# Enable email sending function when recovering the account and verifying the user creation
|
||||
|
||||
Notification.Sending.Enable=true
|
||||
Notification.Expire.Time=7200
|
||||
|
||||
# Enable internal email sending module. If "false", email sending data would be available to application via webservice. Then application can send the email using its own email sender
|
||||
|
||||
Notification.Sending.Internally.Managed=true
|
||||
|
||||
# Enable verification of account creation. When self registration is done, user would be verified by sending email (confirmation link) to user's email account
|
||||
|
||||
UserAccount.Verification.Enable=true
|
||||
|
||||
UserAccount.Recovery.Enable=false
|
||||
|
||||
|
||||
# Whether user can do the verification or not. If value is defined for role, Then the email is sent to users that have been assigned to this role. Not for the user who is registered.
|
||||
|
||||
UserAccount.Verification.Role=
|
||||
|
||||
# Whether captcha verification is done by identity server or application level
|
||||
|
||||
Captcha.Verification.Internally.Managed=true
|
||||
|
||||
# Whether temporary password are used when creating users or recoverying accounts
|
||||
|
||||
Temporary.Password.Enable=true
|
||||
Temporary.Password.Default.Value=password
|
||||
Temporary.Password.OneTime=false
|
||||
Temporary.Password.Expire.Time=0
|
||||
|
||||
# Enable authentication rules other than password check
|
||||
|
||||
Authentication.Policy.Enable=false
|
||||
|
||||
# Enable following checking on authenication. By default account lock check is enable
|
||||
|
||||
Authentication.Policy.Check.Account.Exist=false
|
||||
Authentication.Policy.Check.Account.Lock=false
|
||||
Authentication.Policy.Check.OneTime.Password=false
|
||||
Authentication.Policy.Check.Password.Expire=false
|
||||
|
||||
# Configuration to build an authentication policy
|
||||
|
||||
Authentication.Policy.Password.Expire.Time=0
|
||||
# If account verification is not enabled, following property will decide where user must be lock or not after user is created
|
||||
Authentication.Policy.Account.Lock.On.Creation=false
|
||||
Authentication.Policy.Account.Lock.Time=0
|
||||
Authentication.Policy.Account.Lock.On.Failure=false
|
||||
Authentication.Policy.Account.Lock.On.Failure.Max.Attempts=0
|
||||
|
||||
# Define pluggable extension points
|
||||
|
||||
Identity.Mgt.Random.Password.Grenerator=org.wso2.carbon.identity.mgt.password.DefaultPasswordGenerator
|
||||
Identity.Mgt.User.Data.Store=org.wso2.carbon.identity.mgt.store.UserStoreBasedIdentityDataStore
|
||||
Identity.Mgt.Notification.Sending.Module.1=org.wso2.carbon.identity.mgt.mail.DefaultEmailSendingModule
|
||||
Identity.Mgt.User.Recovery.Data.Store=org.wso2.carbon.identity.mgt.store.RegistryRecoveryDataStore
|
||||
|
||||
|
||||
# Define password policy enforce extensions
|
||||
|
||||
Password.policy.extensions.1=org.wso2.carbon.identity.mgt.policy.password.DefaultPasswordLengthPolicy
|
||||
Password.policy.extensions.1.min.length=6
|
||||
Password.policy.extensions.1.max.length=12
|
||||
Password.policy.extensions.2=org.wso2.carbon.identity.mgt.policy.password.DefaultPasswordNamePolicy
|
||||
Password.policy.extensions.3=org.wso2.carbon.identity.mgt.policy.password.DefaultPasswordPatternPolicy
|
||||
Password.policy.extensions.3.pattern=^((?=.*\\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%&*])).{0,100}$
|
||||
|
||||
@ -1,737 +0,0 @@
|
||||
<?org.wso2.uesxml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
~ Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||
~
|
||||
~ WSO2 Inc. licenses this file to you under the Apache License,
|
||||
~ Version 2.0 (the "License"); you may not use this file except
|
||||
~ in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing,
|
||||
~ software distributed under the License is distributed on an
|
||||
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
~ KIND, either express or implied. See the License for the
|
||||
~ specific language governing permissions and limitations
|
||||
~ under the License.
|
||||
-->
|
||||
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
|
||||
<parent>
|
||||
<groupId>org.wso2.iot</groupId>
|
||||
<artifactId>wso2iot-core-parent</artifactId>
|
||||
<version>3.1.0-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>wso2iot-core</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<name>WSO2 IoT - Core - Distribution</name>
|
||||
<description>WSO2 IoT Core Distribution</description>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.h2database.wso2</groupId>
|
||||
<artifactId>h2-database-engine</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>buildnumber-maven-plugin</artifactId>
|
||||
<version>${maven-buildnumber-plugin.version}</version>
|
||||
<configuration>
|
||||
<format>{0,date,dd MMM yyyy}</format>
|
||||
<items>
|
||||
<item>timestamp</item>
|
||||
</items>
|
||||
<doCheck>false</doCheck>
|
||||
<doUpdate>false</doUpdate>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>validate</phase>
|
||||
<goals>
|
||||
<goal>create</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<inherited>false</inherited>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>2-unpack-wso2carbon</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>unpack</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<artifactItems>
|
||||
<artifactItem>
|
||||
<groupId>org.wso2.carbon</groupId>
|
||||
<artifactId>wso2carbon-core</artifactId>
|
||||
<version>${carbon.kernel.version}</version>
|
||||
<type>zip</type>
|
||||
<overWrite>true</overWrite>
|
||||
<outputDirectory>target</outputDirectory>
|
||||
</artifactItem>
|
||||
</artifactItems>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>com.google.code.maven-replacer-plugin</groupId>
|
||||
<artifactId>replacer</artifactId>
|
||||
<version>1.5.2</version>
|
||||
<executions>
|
||||
<!-- Replace Datasource, Scope mpl classes and OAuth callback class in identity.xml -->
|
||||
<execution>
|
||||
<id>replace-for-identity</id>
|
||||
<phase>prepare-package</phase>
|
||||
<goals>
|
||||
<goal>replace</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<file>${basedir}/../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/identity/identity.xml</file>
|
||||
<replacements>
|
||||
<replacement>
|
||||
<xpath>/Server/JDBCPersistenceManager/DataSource/Name</xpath>
|
||||
<token>(jdbc/WSO2CarbonDB)</token>
|
||||
<value>jdbc/WSO2AM_DB</value>
|
||||
</replacement>
|
||||
<replacement>
|
||||
<xpath>/Server/OAuth/SupportedGrantTypes/SupportedGrantType</xpath>
|
||||
<token>(org.wso2.carbon.identity.oauth2.token.handlers.grant.AuthorizationCodeGrantHandler)</token>
|
||||
<value>org.wso2.carbon.apimgt.keymgt.handlers.ExtendedAuthorizationCodeGrantHandler</value>
|
||||
</replacement>
|
||||
<replacement>
|
||||
<xpath>/Server/OAuth/SupportedGrantTypes/SupportedGrantType</xpath>
|
||||
<token>(org.wso2.carbon.identity.oauth2.token.handlers.grant.PasswordGrantHandler)</token>
|
||||
<value>org.wso2.carbon.apimgt.keymgt.handlers.ExtendedPasswordGrantHandler</value>
|
||||
</replacement>
|
||||
<replacement>
|
||||
<xpath>/Server/OAuth/SupportedGrantTypes/SupportedGrantType</xpath>
|
||||
<token>(org.wso2.carbon.identity.oauth2.token.handlers.grant.ClientCredentialsGrantHandler)</token>
|
||||
<value>org.wso2.carbon.apimgt.keymgt.handlers.ExtendedClientCredentialsGrantHandler</value>
|
||||
</replacement>
|
||||
<replacement>
|
||||
<xpath>/Server/OAuth/SupportedGrantTypes/SupportedGrantType</xpath>
|
||||
<token>(org.wso2.carbon.identity.oauth2.token.handlers.grant.saml.SAML2BearerGrantHandler)</token>
|
||||
<value>org.wso2.carbon.apimgt.keymgt.handlers.ExtendedSAML2BearerGrantHandler</value>
|
||||
</replacement>
|
||||
<replacement>
|
||||
<xpath>/Server/OAuth/SupportedGrantTypes/SupportedGrantType</xpath>
|
||||
<token>(org.wso2.carbon.identity.oauth2.token.handlers.grant.iwa.ntlm.NTLMAuthenticationGrantHandler)</token>
|
||||
<value>org.wso2.carbon.identity.oauth2.token.handlers.grant.iwa.ntlm.NTLMAuthenticationGrantHandlerWithHandshake</value>
|
||||
</replacement>
|
||||
<replacement>
|
||||
<xpath>/Server/OAuth/OAuthCallbackHandlers</xpath>
|
||||
<token>(org.wso2.carbon.identity.oauth.callback.DefaultCallbackHandler)</token>
|
||||
<value>org.wso2.carbon.apimgt.keymgt.util.APIManagerOAuthCallbackHandler</value>
|
||||
</replacement>
|
||||
<replacement>
|
||||
<xpath>/Server/SSOService/UseAuthenticatedUserDomainCrypto</xpath>
|
||||
<token>(false)</token>
|
||||
<value>true</value>
|
||||
</replacement>
|
||||
</replacements>
|
||||
</configuration>
|
||||
</execution>
|
||||
<!-- Replace Datasource, Scope mpl classes and OAuth callback class in identity.xml -->
|
||||
|
||||
<!-- Replace the Datasource in the thrift-authentication.xml file -->
|
||||
<execution>
|
||||
<id>replace-for-thrift</id>
|
||||
<phase>prepare-package</phase>
|
||||
<goals>
|
||||
<goal>replace</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<file>${basedir}/../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/identity/thrift-authentication.xml</file>
|
||||
<replacements>
|
||||
<replacement>
|
||||
<xpath>/Server/JDBCPersistenceManager/DataSource/Name</xpath>
|
||||
<token>(jdbc/WSO2CarbonDB)</token>
|
||||
<value>jdbc/WSO2AM_DB</value>
|
||||
</replacement>
|
||||
</replacements>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<!-- Add the input and output adapter configs to the file -->
|
||||
<plugin>
|
||||
<groupId>com.google.code.maven-config-processor-plugin</groupId>
|
||||
<artifactId>config-processor-maven-plugin</artifactId>
|
||||
<version>2.6</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>init-input-adapter-config</id>
|
||||
<phase>prepare-package</phase>
|
||||
<goals>
|
||||
<goal>process</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<failOnMissingXpath>false</failOnMissingXpath>
|
||||
<transformations>
|
||||
<transformation>
|
||||
<input>${basedir}/../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/input-event-adapters.xml</input>
|
||||
<output>../../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/input-event-adapters.xml</output>
|
||||
<config>input-adapter-change.xml</config>
|
||||
</transformation>
|
||||
</transformations>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>init-output-adapter-config</id>
|
||||
<phase>prepare-package</phase>
|
||||
<goals>
|
||||
<goal>process</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<failOnMissingXpath>false</failOnMissingXpath>
|
||||
<transformations>
|
||||
<transformation>
|
||||
<input>${basedir}/../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/output-event-adapters.xml</input>
|
||||
<output>../../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/output-event-adapters.xml</output>
|
||||
<config>output-adapter-change.xml</config>
|
||||
</transformation>
|
||||
</transformations>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>add-scope-validator</id>
|
||||
<phase>prepare-package</phase>
|
||||
<goals>
|
||||
<goal>process</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<failOnMissingXpath>false</failOnMissingXpath>
|
||||
<transformations>
|
||||
<transformation>
|
||||
<input>${basedir}/../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/identity/identity.xml</input>
|
||||
<output>../../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/identity/identity.xml</output>
|
||||
<config>identity_config_change.xml</config>
|
||||
</transformation>
|
||||
</transformations>
|
||||
<namespaceContexts>
|
||||
<s>http://wso2.org/projects/carbon/carbon.xml</s>
|
||||
</namespaceContexts>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>init-claim-manager</id>
|
||||
<phase>prepare-package</phase>
|
||||
<goals>
|
||||
<goal>process</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<failOnMissingXpath>false</failOnMissingXpath>
|
||||
<transformations>
|
||||
<transformation>
|
||||
<input>${basedir}/../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/user-mgt.xml</input>
|
||||
<output>../../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/user-mgt.xml</output>
|
||||
<config>user_mgt_config_change.xml</config>
|
||||
</transformation>
|
||||
</transformations>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<!-- Creating Device Management schema -->
|
||||
<id>create-device-mgt-schema</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<tasks>
|
||||
<echo message="########### Create Device Management H2 Schema ###########" />
|
||||
|
||||
<property name="db.dir" value="target/wso2carbon-core-${carbon.kernel.version}/repository/database" />
|
||||
<property name="userid" value="wso2carbon" />
|
||||
<property name="password" value="wso2carbon" />
|
||||
<property name="dbURL" value="jdbc:h2:file:${basedir}/${db.dir}/WSO2DM_DB;DB_CLOSE_ON_EXIT=FALSE" />
|
||||
|
||||
<sql driver="org.h2.Driver" url="${dbURL}" userid="${userid}" password="${password}" autocommit="true" onerror="continue">
|
||||
<classpath refid="maven.dependency.classpath" />
|
||||
<classpath refid="maven.compile.classpath" />
|
||||
<classpath refid="maven.runtime.classpath" />
|
||||
|
||||
<fileset file="${basedir}/../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/dbscripts/cdm/h2.sql" />
|
||||
</sql>
|
||||
<echo message="##################### END ####################" />
|
||||
</tasks>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<!-- Creating Certificate Management schema -->
|
||||
<id>create-certificate-mgt-schema</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<tasks>
|
||||
<echo message="########### Create Certificate Management H2 Schema ###########" />
|
||||
|
||||
<property name="db.dir" value="target/wso2carbon-core-${carbon.kernel.version}/repository/database" />
|
||||
<property name="userid" value="wso2carbon" />
|
||||
<property name="password" value="wso2carbon" />
|
||||
<property name="dbURL" value="jdbc:h2:file:${basedir}/${db.dir}/WSO2DM_DB;DB_CLOSE_ON_EXIT=FALSE" />
|
||||
|
||||
<sql driver="org.h2.Driver" url="${dbURL}" userid="${userid}" password="${password}" autocommit="true" onerror="continue">
|
||||
<classpath refid="maven.dependency.classpath" />
|
||||
<classpath refid="maven.compile.classpath" />
|
||||
<classpath refid="maven.runtime.classpath" />
|
||||
<fileset file="${basedir}/../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/dbscripts/certMgt/h2.sql" />
|
||||
</sql>
|
||||
<echo message="##################### END ####################" />
|
||||
</tasks>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<!-- Creating API Management schema -->
|
||||
<id>create-api-mgt-schema</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<tasks>
|
||||
<echo message="########### Create API Management H2 Schema ###########" />
|
||||
|
||||
<property name="db.dir" value="target/wso2carbon-core-${carbon.kernel.version}/repository/database" />
|
||||
<property name="userid" value="wso2carbon" />
|
||||
<property name="password" value="wso2carbon" />
|
||||
<property name="dbURL" value="jdbc:h2:file:${basedir}/${db.dir}/WSO2AM_DB;DB_CLOSE_ON_EXIT=FALSE" />
|
||||
|
||||
<sql driver="org.h2.Driver" url="${dbURL}" userid="${userid}" password="${password}" autocommit="true" onerror="continue">
|
||||
<classpath refid="maven.dependency.classpath" />
|
||||
<classpath refid="maven.compile.classpath" />
|
||||
<classpath refid="maven.runtime.classpath" />
|
||||
|
||||
<fileset file="${basedir}/../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/dbscripts/apimgt/h2.sql" />
|
||||
</sql>
|
||||
<echo message="##################### END ####################" />
|
||||
</tasks>
|
||||
</configuration>
|
||||
</execution>
|
||||
|
||||
<execution>
|
||||
<!-- Creating App Management schema -->
|
||||
<id>create-app-mgt-schema</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<tasks>
|
||||
<echo message="########### Create App Management H2 Schema ###########" />
|
||||
|
||||
<property name="db.dir" value="target/wso2carbon-core-${carbon.kernel.version}/repository/database" />
|
||||
<property name="userid" value="wso2carbon" />
|
||||
<property name="password" value="wso2carbon" />
|
||||
<property name="dbURL" value="jdbc:h2:file:${basedir}/${db.dir}/WSO2APPM_DB;DB_CLOSE_ON_EXIT=FALSE" />
|
||||
|
||||
<sql driver="org.h2.Driver" url="${dbURL}" userid="${userid}" password="${password}" autocommit="true" onerror="continue">
|
||||
<classpath refid="maven.dependency.classpath" />
|
||||
<classpath refid="maven.compile.classpath" />
|
||||
<classpath refid="maven.runtime.classpath" />
|
||||
|
||||
<fileset file="${basedir}/../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/dbscripts/appmgt/h2.sql" />
|
||||
</sql>
|
||||
<echo message="##################### END ####################" />
|
||||
</tasks>
|
||||
</configuration>
|
||||
</execution>
|
||||
|
||||
<execution>
|
||||
<!-- Creating JAGH2 schema -->
|
||||
<id>create-JAGH2-schema</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<tasks>
|
||||
<echo message="########### Create JAGH2 Schema ###########" />
|
||||
|
||||
<property name="db.dir" value="target/wso2carbon-core-${carbon.kernel.version}/repository/database" />
|
||||
<property name="userid" value="wso2carbon" />
|
||||
<property name="password" value="wso2carbon" />
|
||||
<property name="dbURL" value="jdbc:h2:file:${basedir}/${db.dir}/ES_STORAGE;DB_CLOSE_ON_EXIT=FALSE;LOCK_TIMEOUT=60000" />
|
||||
<!--<property name="dbURL" value="jdbc:h2:file:${basedir}/${db.dir}/WSO2DM_DB;DB_CLOSE_ON_EXIT=FALSE" />-->
|
||||
|
||||
<sql driver="org.h2.Driver" url="${dbURL}" userid="${userid}" password="${password}" autocommit="true" onerror="continue">
|
||||
<classpath refid="maven.dependency.classpath" />
|
||||
<classpath refid="maven.compile.classpath" />
|
||||
<classpath refid="maven.runtime.classpath" />
|
||||
|
||||
<fileset file="${basedir}/../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/dbscripts/storage/h2/h2.sql" />
|
||||
</sql>
|
||||
<echo message="##################### END ####################" />
|
||||
</tasks>
|
||||
</configuration>
|
||||
</execution>
|
||||
|
||||
<execution>
|
||||
<!-- Creating Social DB schema -->
|
||||
<id>create-social-db-schema</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<tasks>
|
||||
<echo message="########### Create Social Plugin H2 Schema ###########" />
|
||||
|
||||
<property name="db.dir" value="target/wso2carbon-core-${carbon.kernel.version}/repository/database" />
|
||||
<property name="userid" value="wso2carbon" />
|
||||
<property name="password" value="wso2carbon" />
|
||||
<property name="dbURL" value="jdbc:h2:file:${basedir}/${db.dir}/WSO2_SOCIAL_DB;DB_CLOSE_ON_EXIT=FALSE" />
|
||||
|
||||
<sql driver="org.h2.Driver" url="${dbURL}" userid="${userid}" password="${password}" autocommit="true" onerror="continue">
|
||||
<classpath refid="maven.dependency.classpath" />
|
||||
<classpath refid="maven.compile.classpath" />
|
||||
<classpath refid="maven.runtime.classpath" />
|
||||
|
||||
<fileset file="${basedir}/../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/dbscripts/social/h2/resource.sql" />
|
||||
</sql>
|
||||
<echo message="##################### END ####################" />
|
||||
</tasks>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<!-- Creating Android Mobile Plugin Management schema -->
|
||||
<id>create-mobile-android-plugin-mgt-schema</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<tasks>
|
||||
<echo message="########### Create ANDROID Mobile plugin Management H2 Schema ###########" />
|
||||
|
||||
<property name="db.dir" value="target/wso2carbon-core-${carbon.kernel.version}/repository/database" />
|
||||
<property name="userid" value="wso2carbon" />
|
||||
<property name="password" value="wso2carbon" />
|
||||
<property name="dbURL" value="jdbc:h2:file:${basedir}/${db.dir}/WSO2MobileAndroid_DB;DB_CLOSE_ON_EXIT=FALSE" />
|
||||
|
||||
<sql driver="org.h2.Driver" url="${dbURL}" userid="${userid}" password="${password}" autocommit="true" onerror="continue">
|
||||
<classpath refid="maven.dependency.classpath" />
|
||||
<classpath refid="maven.compile.classpath" />
|
||||
<classpath refid="maven.runtime.classpath" />
|
||||
|
||||
<fileset file="${basedir}/../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/dbscripts/cdm/plugins/android/h2.sql" />
|
||||
</sql>
|
||||
<echo message="##################### END ####################" />
|
||||
</tasks>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<!-- Creating Windows Mobile Plugin Management schema -->
|
||||
<id>create-mobile-windows-plugin-mgt-schema</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<tasks>
|
||||
<echo message="########### Create WINDOWS Mobile plugin Management H2 Schema ###########" />
|
||||
<property name="db.dir" value="target/wso2carbon-core-${carbon.kernel.version}/repository/database" />
|
||||
<property name="userid" value="wso2carbon" />
|
||||
<property name="password" value="wso2carbon" />
|
||||
<property name="dbURL" value="jdbc:h2:file:${basedir}/${db.dir}/WSO2MobileWindows_DB;DB_CLOSE_ON_EXIT=FALSE" />
|
||||
|
||||
<sql driver="org.h2.Driver" url="${dbURL}" userid="${userid}" password="${password}" autocommit="true" onerror="continue">
|
||||
<classpath refid="maven.dependency.classpath" />
|
||||
<classpath refid="maven.compile.classpath" />
|
||||
<classpath refid="maven.runtime.classpath" />
|
||||
|
||||
<fileset file="${basedir}/../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/dbscripts/cdm/plugins/windows/h2.sql" />
|
||||
</sql>
|
||||
<echo message="##################### END ####################" />
|
||||
</tasks>
|
||||
</configuration>
|
||||
</execution>
|
||||
|
||||
<execution>
|
||||
<id>3-extract-docs-from-components</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<tasks>
|
||||
<property name="tempdir" value="target/docs-temp" />
|
||||
<property name="jardir" value="target/jars" />
|
||||
<!--<property name="shindig.version" value="2.5.0-beta5" />-->
|
||||
|
||||
<mkdir dir="${tempdir}" />
|
||||
<mkdir dir="${tempdir}/${project.artifactId}-${project.version}/repository/components" />
|
||||
<mkdir dir="${tempdir}/${project.artifactId}-${project.version}/repository/deployment/server" />
|
||||
<mkdir dir="${tempdir}/${project.artifactId}-${project.version}/repository/deployment/server/webapps" />
|
||||
<unzip dest="${tempdir}">
|
||||
<fileset dir="target">
|
||||
<include name="${project.artifactId}-${project.version}.zip" />
|
||||
</fileset>
|
||||
</unzip>
|
||||
<copy todir="target/wso2carbon-core-${carbon.kernel.version}/repository/components" overwrite="true">
|
||||
<fileset dir="${tempdir}/${project.artifactId}-${project.version}/repository/components" />
|
||||
</copy>
|
||||
<!--testing -->
|
||||
<!--<unzip src="target/shindig/WEB-INF/lib/shindig-common-${shindig.version}.jar" dest="${jardir}/shindig-common-${shindig.version}">
|
||||
<patternset>
|
||||
<exclude name="**/shindig.properties" />
|
||||
<exclude name="**/shindig.properties" />
|
||||
</patternset>
|
||||
</unzip>
|
||||
<copy file="src/repository/conf/shindig.properties" todir="${jardir}/shindig-common-${shindig.version}" />
|
||||
<delete file="target/shindig/WEB-INF/lib/shindig-common-${shindig.version}.jar" />
|
||||
<zip destfile="target/shindig/WEB-INF/lib/shindig-common-${shindig.version}.jar" basedir="${jardir}/shindig-common-${shindig.version}" />
|
||||
<delete>
|
||||
<fileset dir="target/shindig/WEB-INF/lib" includes="slf4j*" />
|
||||
</delete>
|
||||
<copy file="src/repository/resources/shindig/index.jsp" todir="target/shindig" />-->
|
||||
|
||||
<delete file="target/${project.artifactId}-${project.version}.zip" />
|
||||
<delete dir="${tempdir}" />
|
||||
</tasks>
|
||||
</configuration>
|
||||
</execution>
|
||||
|
||||
<execution>
|
||||
<id>copy_modules_apps</id>
|
||||
<phase>package</phase>
|
||||
<configuration>
|
||||
<tasks>
|
||||
<mkdir dir="target/wso2carbon-core-${carbon.kernel.version}/repository/deployment/server/webapps" />
|
||||
</tasks>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
|
||||
|
||||
|
||||
<execution>
|
||||
<id>clean_target</id>
|
||||
<phase>install</phase>
|
||||
<configuration>
|
||||
<tasks>
|
||||
<delete dir="target/jars" />
|
||||
<delete dir="target/*.xml" />
|
||||
<delete dir="target/archive-tmp" />
|
||||
<delete dir="target/dependency-maven-plugin-markers" />
|
||||
<delete dir="target/maven-archiver" />
|
||||
<delete dir="target/wso2carbon-core-${carbon.kernel.version}" />
|
||||
<delete dir="target/wso2carbon-core-${carbon.kernel.version}" />
|
||||
<delete file="target/${project.artifactId}-${project.version}.jar" />
|
||||
<delete dir="target/sources" />
|
||||
<delete dir="target/site" />
|
||||
<delete dir="target/antrun" />
|
||||
<delete dir="src/site" />
|
||||
<!--<delete dir="target/shindig" />-->
|
||||
<delete dir="target/jaxwebapps" />
|
||||
</tasks>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>modify_entitlement_properties</id>
|
||||
<phase>prepare-package</phase>
|
||||
<configuration>
|
||||
<tasks>
|
||||
<replace token="PIP.AttributeDesignators.Designator.2=org.wso2.carbon.identity.application.authz.xacml.pip.AuthenticationContextAttributePIP" value="#PIP.AttributeDesignators.Designator.2=org.wso2.carbon.identity.application.authz.xacml.pip.AuthenticationContextAttributePIP" dir="${basedir}/../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/identity/">
|
||||
<include name="entitlement.properties" />
|
||||
</replace>
|
||||
</tasks>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
|
||||
|
||||
<execution>
|
||||
<id>replace-web-xmls-in-war-files</id>
|
||||
<phase>prepare-package</phase>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<tasks>
|
||||
<property name="tempdir" value="target/webapp-temp" />
|
||||
<property name="xmldir" value="src/repository/resources/web-apps/web-xml" />
|
||||
<property name="srcdir" value="${basedir}/../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/deployment/server/webapps" />
|
||||
|
||||
<mkdir dir="${tempdir}" />
|
||||
<mkdir dir="${tempdir}/api-application-registration" />
|
||||
<mkdir dir="${tempdir}/api#certificate-mgt#v1.0" />
|
||||
<mkdir dir="${tempdir}/api#identity#entitlement" />
|
||||
<mkdir dir="${tempdir}/api#scep-mgt#v1.0" />
|
||||
<mkdir dir="${tempdir}/authenticationendpoint" />
|
||||
<mkdir dir="${tempdir}/client-registration#v0.11" />
|
||||
<mkdir dir="${tempdir}/oauth2" />
|
||||
<mkdir dir="${tempdir}/secured-websocket" />
|
||||
<mkdir dir="${tempdir}/shindig" />
|
||||
|
||||
<unzip dest="${tempdir}/api-application-registration">
|
||||
<fileset dir="${srcdir}">
|
||||
<include name="api-application-registration.war" />
|
||||
</fileset>
|
||||
</unzip>
|
||||
<unzip dest="${tempdir}/api#certificate-mgt#v1.0">
|
||||
<fileset dir="${srcdir}">
|
||||
<include name="api#certificate-mgt#v1.0.war" />
|
||||
</fileset>
|
||||
</unzip>
|
||||
<unzip dest="${tempdir}/api#identity#entitlement">
|
||||
<fileset dir="${srcdir}">
|
||||
<include name="api#identity#entitlement.war" />
|
||||
</fileset>
|
||||
</unzip>
|
||||
<unzip dest="${tempdir}/api#scep-mgt#v1.0">
|
||||
<fileset dir="${srcdir}">
|
||||
<include name="api#scep-mgt#v1.0.war" />
|
||||
</fileset>
|
||||
</unzip>
|
||||
<unzip dest="${tempdir}/authenticationendpoint">
|
||||
<fileset dir="${srcdir}">
|
||||
<include name="authenticationendpoint.war" />
|
||||
</fileset>
|
||||
</unzip>
|
||||
<unzip dest="${tempdir}/client-registration#v0.11">
|
||||
<fileset dir="${srcdir}">
|
||||
<include name="client-registration#v0.11.war" />
|
||||
</fileset>
|
||||
</unzip>
|
||||
<unzip dest="${tempdir}/oauth2">
|
||||
<fileset dir="${srcdir}">
|
||||
<include name="oauth2.war" />
|
||||
</fileset>
|
||||
</unzip>
|
||||
<unzip dest="${tempdir}/secured-websocket">
|
||||
<fileset dir="${srcdir}">
|
||||
<include name="secured-websocket.war" />
|
||||
</fileset>
|
||||
</unzip>
|
||||
<unzip dest="${tempdir}/shindig">
|
||||
<fileset dir="${srcdir}">
|
||||
<include name="shindig.war" />
|
||||
</fileset>
|
||||
</unzip>
|
||||
|
||||
<delete file="${tempdir}/api-application-registration/WEB-INF/web.xml" />
|
||||
<delete file="${tempdir}/api#certificate-mgt#v1.0/WEB-INF/web.xml" />
|
||||
<delete file="${tempdir}/api#identity#entitlement/WEB-INF/web.xml" />
|
||||
<delete file="${tempdir}/api#scep-mgt#v1.0/WEB-INF/web.xml" />
|
||||
<delete file="${tempdir}/authenticationendpoint/WEB-INF/web.xml" />
|
||||
<delete file="${tempdir}/client-registration#v0.11/WEB-INF/web.xml" />
|
||||
<delete file="${tempdir}/oauth2/WEB-INF/web.xml" />
|
||||
<delete file="${tempdir}/secured-websocket/WEB-INF/web.xml" />
|
||||
<delete file="${tempdir}/shindig/WEB-INF/web.xml" />
|
||||
|
||||
<copy file="src/repository/resources/web-apps/web-xml/api-application-registration/web.xml" tofile="${tempdir}/api-application-registration/WEB-INF/web.xml" />
|
||||
<copy file="src/repository/resources/web-apps/web-xml/api#certificate-mgt#v1.0/web.xml" tofile="${tempdir}/api#certificate-mgt#v1.0/WEB-INF/web.xml" />
|
||||
<copy file="src/repository/resources/web-apps/web-xml/api#identity#entitlement/web.xml" tofile="${tempdir}/api#identity#entitlement/WEB-INF/web.xml" />
|
||||
<copy file="src/repository/resources/web-apps/web-xml/api#scep-mgt#v1.0/web.xml" tofile="${tempdir}/api#scep-mgt#v1.0/WEB-INF/web.xml" />
|
||||
<copy file="src/repository/resources/web-apps/web-xml/authenticationendpoint/web.xml" tofile="${tempdir}/authenticationendpoint/WEB-INF/web.xml" />
|
||||
<copy file="src/repository/resources/web-apps/web-xml/client-registration#v0.11/web.xml" tofile="${tempdir}/client-registration#v0.11/WEB-INF/web.xml" />
|
||||
<copy file="src/repository/resources/web-apps/web-xml/oauth2/web.xml" tofile="${tempdir}/oauth2/WEB-INF/web.xml" />
|
||||
<copy file="src/repository/resources/web-apps/web-xml/secured-websocket/web.xml" tofile="${tempdir}/secured-websocket/WEB-INF/web.xml" />
|
||||
<copy file="src/repository/resources/web-apps/web-xml/shindig/web.xml" tofile="${tempdir}/shindig/WEB-INF/web.xml" />
|
||||
|
||||
<zip destfile="${tempdir}/api-application-registration.war" basedir="${tempdir}/api-application-registration" />
|
||||
<zip destfile="${tempdir}/api#certificate-mgt#v1.0.war" basedir="${tempdir}/api#certificate-mgt#v1.0" />
|
||||
<zip destfile="${tempdir}/api#identity#entitlement.war" basedir="${tempdir}/api#identity#entitlement" />
|
||||
<zip destfile="${tempdir}/api#scep-mgt#v1.0.war" basedir="${tempdir}/api#scep-mgt#v1.0" />
|
||||
<zip destfile="${tempdir}/authenticationendpoint.war" basedir="${tempdir}/authenticationendpoint" />
|
||||
<zip destfile="${tempdir}/client-registration#v0.11.war" basedir="${tempdir}/client-registration#v0.11" />
|
||||
<zip destfile="${tempdir}/oauth2.war" basedir="${tempdir}/oauth2" />
|
||||
<zip destfile="${tempdir}/secured-websocket.war" basedir="${tempdir}/secured-websocket" />
|
||||
<zip destfile="${tempdir}/shindig.war" basedir="${tempdir}/shindig" />
|
||||
|
||||
</tasks>
|
||||
</configuration>
|
||||
</execution>
|
||||
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>1-pre-dist</id>
|
||||
<phase>test</phase>
|
||||
<!--we are creating a temporary carbon distribution for document extracting purposes during the test phase-->
|
||||
<goals>
|
||||
<goal>single</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<appendAssemblyId>false</appendAssemblyId>
|
||||
<encoding>UTF-8</encoding>
|
||||
<filters>
|
||||
<filter>${basedir}/src/assembly/filter.properties</filter>
|
||||
</filters>
|
||||
<descriptors>
|
||||
<descriptor>${basedir}/src/assembly/dist.xml</descriptor>
|
||||
</descriptors>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>2-dist</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>single</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<appendAssemblyId>false</appendAssemblyId>
|
||||
<encoding>UTF-8</encoding>
|
||||
<filters>
|
||||
<filter>${basedir}/src/assembly/filter.properties</filter>
|
||||
</filters>
|
||||
<escapeString>\</escapeString>
|
||||
<descriptors>
|
||||
<descriptor>${basedir}/src/assembly/bin.xml</descriptor>
|
||||
</descriptors>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-deploy-plugin</artifactId>
|
||||
<configuration>
|
||||
<skip>true</skip>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
@ -1,39 +0,0 @@
|
||||
<!--
|
||||
~ Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||
~
|
||||
~ WSO2 Inc. licenses this file to you under the Apache License,
|
||||
~ Version 2.0 (the "License"); you may not use this file except
|
||||
~ in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing,
|
||||
~ software distributed under the License is distributed on an
|
||||
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
~ KIND, either express or implied. See the License for the
|
||||
~ specific language governing permissions and limitations
|
||||
~ under the License.
|
||||
-->
|
||||
<assembly>
|
||||
<id>wso2-cdm-dist</id>
|
||||
<formats>
|
||||
<format>zip</format>
|
||||
</formats>
|
||||
|
||||
<includeBaseDirectory>false</includeBaseDirectory>
|
||||
<fileSets>
|
||||
<!-- Copying p2 profile and osgi bundles-->
|
||||
<fileSet>
|
||||
<directory>../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/components</directory>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/components</outputDirectory>
|
||||
<excludes>
|
||||
<exclude>**/eclipse.ini</exclude>
|
||||
<exclude>**/*.lock</exclude>
|
||||
<exclude>**/.data</exclude>
|
||||
<exclude>**/.settings</exclude>
|
||||
<exclude>features/**</exclude>
|
||||
</excludes>
|
||||
</fileSet>
|
||||
</fileSets>
|
||||
</assembly>
|
||||
@ -1,41 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
~ Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||
~
|
||||
~ WSO2 Inc. licenses this file to you under the Apache License,
|
||||
~ Version 2.0 (the "License"); you may not use this file except
|
||||
~ in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing,
|
||||
~ software distributed under the License is distributed on an
|
||||
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
~ KIND, either express or implied. See the License for the
|
||||
~ specific language governing permissions and limitations
|
||||
~ under the License.
|
||||
-->
|
||||
<assembly>
|
||||
<id>docs</id>
|
||||
<formats>
|
||||
<format>zip</format>
|
||||
</formats>
|
||||
<includeBaseDirectory>false</includeBaseDirectory>
|
||||
<fileSets>
|
||||
<fileSet>
|
||||
<directory>target/site</directory>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}-docs</outputDirectory>
|
||||
</fileSet>
|
||||
<fileSet>
|
||||
<directory>../../modules/documentation/src/site/xdoc/user-core</directory>
|
||||
<outputDirectory>${pom.artifactId}-${pom.version}-docs/user-core</outputDirectory>
|
||||
<fileMode>755</fileMode>
|
||||
<includes>
|
||||
<include>user-mgt-actdir.xml</include>
|
||||
<include>user-mgt-jdbc.xml</include>
|
||||
<include>user-mgt-ldap.xml</include>
|
||||
</includes>
|
||||
</fileSet>
|
||||
</fileSets>
|
||||
</assembly>
|
||||
@ -1,24 +0,0 @@
|
||||
<!--
|
||||
~ Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||
~
|
||||
~ WSO2 Inc. licenses this file to you under the Apache License,
|
||||
~ Version 2.0 (the "License"); you may not use this file except
|
||||
~ in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing,
|
||||
~ software distributed under the License is distributed on an
|
||||
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
~ KIND, either express or implied. See the License for the
|
||||
~ specific language governing permissions and limitations
|
||||
~ under the License.
|
||||
-->
|
||||
|
||||
<CassandraDataSinkConfiguration xmlns="http://wso2.org/carbon/cassandraDataSink">
|
||||
<PersistedStreams>
|
||||
<Include>*</Include>
|
||||
<Exclude>rt_*</Exclude>
|
||||
</PersistedStreams>
|
||||
</CassandraDataSinkConfiguration>
|
||||
@ -1,23 +0,0 @@
|
||||
<!--
|
||||
~ Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||
~
|
||||
~ WSO2 Inc. licenses this file to you under the Apache License,
|
||||
~ Version 2.0 (the "License"); you may not use this file except
|
||||
~ in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing,
|
||||
~ software distributed under the License is distributed on an
|
||||
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
~ KIND, either express or implied. See the License for the
|
||||
~ specific language governing permissions and limitations
|
||||
~ under the License.
|
||||
-->
|
||||
|
||||
|
||||
<streamDefinitions xmlns="http://wso2.org/carbon/databridge">
|
||||
|
||||
|
||||
</streamDefinitions>
|
||||
@ -1,68 +0,0 @@
|
||||
#
|
||||
# Copyright (c) 2013, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||
#
|
||||
# WSO2 Inc. licenses this file to you under the Apache License,
|
||||
# Version 2.0 (the "License"); you may not use this file except
|
||||
# in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing,
|
||||
# software distributed under the License is distributed on an
|
||||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
# KIND, either express or implied. See the License for the
|
||||
# specific language governing permissions and limitations
|
||||
# under the License.
|
||||
#
|
||||
|
||||
PDP.Enable=true
|
||||
PAP.Enable=true
|
||||
PDP.DecisionCaching.Enable=true
|
||||
#cache intervals are in seconds
|
||||
PDP.DecisionCaching.CachingInterval=300
|
||||
PDP.AttributeCaching.Enable=true
|
||||
PDP.AttributeCaching.CachingInterval=300
|
||||
PDP.ResourceCaching.Enable=true
|
||||
PDP.ResourceCaching.CachingInterval=300
|
||||
PDP.SchemaValidation.Enable=true
|
||||
PDP.Balana.Config.Enable=false
|
||||
PDP.Multiple.Decision.Profile.Enable=true
|
||||
PDP.Global.Policy.Combining.Algorithm=urn:oasis:names:tc:xacml:3.0:policy-combining-algorithm:deny-overrides
|
||||
PAP.Policy.Add.Start.Enable=false
|
||||
#PAP.Policy.Add.Start.Policy.File.Path=
|
||||
PAP.Items.Per.Page=10
|
||||
PDP.Registry.Level.Policy.Cache.Clear=false
|
||||
PDP.PolicyCaching.CachingInterval=100
|
||||
Entitlement.Engine.CachingInterval=100000
|
||||
PDP.References.MaxPolicyEntries=3000
|
||||
|
||||
|
||||
#PDP.Extensions.Extension.1=your.extension.class.name
|
||||
|
||||
|
||||
#PDP.Policy.Store=org.wso2.carbon.identity.entitlement.policy.store.CarbonRegistryPolicyStore
|
||||
|
||||
PIP.AttributeDesignators.Designator.1=org.wso2.carbon.identity.entitlement.pip.DefaultAttributeFinder
|
||||
#PIP.AttributeDesignators.Designator.2=org.wso2.carbon.identity.application.authz.xacml.pip.AuthenticationContextAttributePIP
|
||||
PIP.ResourceFinders.Finder.1=org.wso2.carbon.identity.entitlement.pip.DefaultResourceFinder
|
||||
|
||||
PAP.Entitlement.Data.Finder.1=org.wso2.carbon.identity.entitlement.pap.CarbonEntitlementDataFinder
|
||||
PAP.Policy.Publisher.Module.1=org.wso2.carbon.identity.entitlement.policy.publisher.CarbonBasicPolicyPublisherModule
|
||||
#PAP.Policy.Post.Publisher.Module.1=
|
||||
#PAP.Policy.Publisher.Verification.Handler=
|
||||
PAP.Policy.Version.Module=org.wso2.carbon.identity.entitlement.policy.version.DefaultPolicyVersionManager
|
||||
PAP.Status.Data.Handler.1=org.wso2.carbon.identity.entitlement.SimplePAPStatusDataHandler
|
||||
|
||||
PDP.Policy.Finder.1=org.wso2.carbon.identity.entitlement.policy.store.RegistryPolicyStoreManageModule
|
||||
#PDP.Policy.Collection
|
||||
PDP.Policy.Store.Module=org.wso2.carbon.identity.entitlement.policy.store.RegistryPolicyStoreManageModule
|
||||
PDP.Policy.Data.Store.Module=org.wso2.carbon.identity.entitlement.policy.store.DefaultPolicyDataStore
|
||||
|
||||
# Properties needed for each extension.
|
||||
# org.wso2.carbon.identity.entitlement.pip.DefaultAttributeFinder.1=name,value
|
||||
# org.wso2.carbon.identity.entitlement.pip.DefaultAttributeFinder.2=name,value
|
||||
# org.wso2.carbon.identity.entitlement.pip.DefaultResourceFinder.1=name.value
|
||||
# org.wso2.carbon.identity.entitlement.pip.DefaultResourceFinder.2=name,value
|
||||
# org.wso2.carbon.identity.entitlement.policy.CarbonPolicyMetaDataFinder.1=name,value
|
||||
# org.wso2.carbon.identity.entitlement.policy.CarbonPolicyMetaDataFinder.2=name,value
|
||||
@ -1,47 +0,0 @@
|
||||
<!--
|
||||
This is the configuration file for the carbon event broker component. this configuration file configures the various subsystems of the event
|
||||
broker component and parameters.
|
||||
-->
|
||||
<eventBrokerConfig xmlns="http://wso2.org/carbon/event/broker">
|
||||
<eventBroker name="carbonEventBroker" class="org.wso2.carbon.andes.event.core.internal.CarbonEventBrokerFactory">
|
||||
|
||||
<!-- topic manager implementation class.-->
|
||||
<topicManager name="TopicManager"
|
||||
class="org.wso2.carbon.andes.event.core.internal.subscription.registry.RegistryTopicManagerServiceFactory">
|
||||
<!-- root node of the topic tree -->
|
||||
<topicStoragePath>event/topics</topicStoragePath>
|
||||
</topicManager>
|
||||
|
||||
<!-- subscription manager implementation. subscription manager persist the
|
||||
subscriptions at the registry. users can configure the topics root node and the topicIndex path -->
|
||||
<subscriptionManager name="subscriptionManager"
|
||||
class="org.wso2.carbon.andes.event.core.internal.subscription.registry.RegistrySubscriptionManagerFactory">
|
||||
<topicStoragePath>event/topics</topicStoragePath>
|
||||
<indexStoragePath>event/topicIndex</indexStoragePath>
|
||||
</subscriptionManager>
|
||||
|
||||
<!-- delivery manager implementation. delivery manager does actual delivery part of the event broker -->
|
||||
<deliveryManager name="deliveryManager"
|
||||
class="org.wso2.carbon.andes.event.core.internal.delivery.jms.QpidJMSDeliveryManagerFactory"
|
||||
type="local">
|
||||
<!-- <remoteMessageBroker>
|
||||
<hostName>localhost</hostName>
|
||||
<servicePort>9443</servicePort>
|
||||
<webContext>/</webContext>
|
||||
<userName>admin</userName>
|
||||
<password>admin</password>
|
||||
<qpidPort>5672</qpidPort>
|
||||
<clientID>clientID</clientID>
|
||||
<virtualHostName>carbon</virtualHostName>
|
||||
</remoteMessageBroker> -->
|
||||
</deliveryManager>
|
||||
|
||||
<!-- when publishing an event event broker uses a separate thread pool with an executor. following parameters configure different parameters of that -->
|
||||
<eventPublisher>
|
||||
<minSpareThreads>5</minSpareThreads>
|
||||
<maxThreads>50</maxThreads>
|
||||
<maxQueuedRequests>1000</maxQueuedRequests>
|
||||
<keepAliveTime>1000</keepAliveTime>
|
||||
</eventPublisher>
|
||||
</eventBroker>
|
||||
</eventBrokerConfig>
|
||||
@ -1,186 +0,0 @@
|
||||
<!--
|
||||
This has the configurations for the cloud services.
|
||||
Label, link, icon, description, and the other similar information for each of the services are
|
||||
given here.
|
||||
-->
|
||||
<cloudServices xmlns="http://wso2.com/carbon/cloud/mgt/services">
|
||||
<cloudService name="WSO2 Stratos Controller" default="true">
|
||||
<key>SCC</key>
|
||||
<label>WSO2 Stratos Controller</label>
|
||||
<link>https://scc.cloud.wso2.com</link>
|
||||
<!--icon>
|
||||
https://localhost:9443/cloud-services-icons/esb.gif
|
||||
</icon-->
|
||||
<productPageURL>http://wso2.com/cloud/stratos</productPageURL>
|
||||
<description>WSO2 stratos controller.</description>
|
||||
</cloudService>
|
||||
<cloudService name="WSO2 Cloud Controller" default="true">
|
||||
<key>CC</key>
|
||||
<label>WSO2 Cloud Controller</label>
|
||||
<link>https://cc.cloud.wso2.com</link>
|
||||
<!--icon>
|
||||
https://localhost:9443/cloud-services-icons/esb.gif
|
||||
</icon-->
|
||||
<productPageURL>http://wso2.com/cloud/stratos</productPageURL>
|
||||
<description>WSO2 Cloud Controller.</description>
|
||||
</cloudService>
|
||||
<cloudService name="WSO2 Stratos Agent" default="true">
|
||||
<key>Agent</key>
|
||||
<label>WSO2 Stratos Agent</label>
|
||||
<link>https://cc.cloud.wso2.com</link>
|
||||
<!--icon>
|
||||
https://localhost:9443/cloud-services-icons/esb.gif
|
||||
</icon-->
|
||||
<productPageURL>http://wso2.com/cloud/stratos</productPageURL>
|
||||
<description>WSO2 Stratos Agent.</description>
|
||||
</cloudService>
|
||||
<cloudService name="WSO2 Enterprise Service Bus" default="true">
|
||||
<key>ESB</key>
|
||||
<label>Enterprise Service Bus</label>
|
||||
<link>https://esb.cloud.wso2.com</link>
|
||||
<icon>
|
||||
https://localhost:9443/cloud-services-icons/esb.gif
|
||||
</icon>
|
||||
<productPageURL>http://wso2.com/products/enterprise-service-bus/</productPageURL>
|
||||
<description>Enterprise Service Bus in the cloud.</description>
|
||||
</cloudService>
|
||||
<cloudService name="Application Server" default="true">
|
||||
<key>AS</key>
|
||||
<label>Application Server</label>
|
||||
<link>https://appserver.cloud.wso2.com</link>
|
||||
<icon>
|
||||
https://localhost:9443/cloud-services-icons/appserver.gif
|
||||
</icon>
|
||||
<productPageURL>http://wso2.com/products/application-server/</productPageURL>
|
||||
<description>Application Server in the cloud.</description>
|
||||
</cloudService>
|
||||
<cloudService name="WSO2 Data Services Server" default="true">
|
||||
<key>DSS</key>
|
||||
<label>WSO2 Data Services Server</label>
|
||||
<link>https://dss.cloud.wso2.com</link>
|
||||
<icon>
|
||||
https://localhost:9443/cloud-services-icons/ds.gif
|
||||
</icon>
|
||||
<productPageURL>http://wso2.com/products/data-services-server/</productPageURL>
|
||||
<description>Data Services Server in the cloud.</description>
|
||||
</cloudService>
|
||||
<cloudService name="WSO2 Governance Registry" default="true">
|
||||
<key>Greg</key>
|
||||
<label>Governance</label>
|
||||
<link>https://governance.cloud.wso2.com</link>
|
||||
<description>Governance in the cloud.</description>
|
||||
<icon>
|
||||
https://localhost:9443/cloud-services-icons/governance.gif
|
||||
</icon>
|
||||
<productPageURL>http://wso2.com/products/governance-registry/</productPageURL>
|
||||
</cloudService>
|
||||
<cloudService name="WSO2 Identity Server" default="true">
|
||||
<key>IS</key>
|
||||
<label>WSO2 Identity Server</label>
|
||||
<link>https://identity.cloud.wso2.com</link>
|
||||
<icon>
|
||||
https://localhost:9443/cloud-services-icons/identity.gif
|
||||
</icon>
|
||||
<description>Identity in the cloud.</description>
|
||||
<productPageURL>http://wso2.com/products/identity-server/</productPageURL>
|
||||
</cloudService>
|
||||
<cloudService name="WSO2 Business Activity Monitor" default="true">
|
||||
<label>Business Activity Monitor</label>
|
||||
<link>https://bam.cloud.wso2.com</link>
|
||||
<icon>
|
||||
https://localhost:9443/cloud-services-icons/bam.gif
|
||||
</icon>
|
||||
<description>Business Activity Monitor in the cloud.</description>
|
||||
<productPageURL>http://wso2.com/products/business-activity-monitor/</productPageURL>
|
||||
</cloudService>
|
||||
<cloudService name="WSO2 Business Process Server" default="true">
|
||||
<key>BPS</key>
|
||||
<label>Business Process Server</label>
|
||||
<link>https://bps.cloud.wso2.com</link>
|
||||
<icon>
|
||||
https://localhost:9443/cloud-services-icons/bps.gif
|
||||
</icon>
|
||||
<description>Business Process Server in the cloud.</description>
|
||||
<productPageURL>http://wso2.com/products/business-process-server/</productPageURL>
|
||||
</cloudService>
|
||||
<cloudService name="WSO2 Business Rule Server" default="true">
|
||||
<key>BRS</key>
|
||||
<label>Business Rule Server</label>
|
||||
<link>https://brs.cloud.wso2.com</link>
|
||||
<icon>
|
||||
https://localhost:9443/cloud-services-icons/brs.gif
|
||||
</icon>
|
||||
<description>Business Rules Server in the cloud.</description>
|
||||
<productPageURL>http://wso2.com/products/business-rules-server/</productPageURL>
|
||||
</cloudService>
|
||||
<cloudService name="WSO2 Mashup Server" default="true">
|
||||
<key>MB</key>
|
||||
<label>Mashup Server</label>
|
||||
<link>https://mashup.cloud.wso2.com</link>
|
||||
<icon>
|
||||
https://localhost:9443/cloud-services-icons/mashup.gif
|
||||
</icon>
|
||||
<description>Mashup Server in the cloud.</description>
|
||||
<productPageURL>http://wso2.com/products/mashup-server/</productPageURL>
|
||||
</cloudService>
|
||||
<cloudService name="WSO2 Gadget Server" default="true">
|
||||
<key>GS</key>
|
||||
<label>Gadget Server</label>
|
||||
<link>https://gadget.cloud.wso2.com</link>
|
||||
<icon>
|
||||
https://localhost:9443/cloud-services-icons/gadget.gif
|
||||
</icon>
|
||||
<description>Gadgets in the cloud.</description>
|
||||
<productPageURL>http://wso2.com/products/gadget-server/</productPageURL>
|
||||
</cloudService>
|
||||
<cloudService name="Cloud Gateway" default="true">
|
||||
<key>CG</key>
|
||||
<label>Cloud Gateway</label>
|
||||
<link>https://cg.stratoslive.wso2.com</link>
|
||||
<icon>
|
||||
https://localhost:9443/cloud-services-icons/csg.gif
|
||||
</icon>
|
||||
<description>Cloud Gateway in the cloud.</description>
|
||||
<productPageURL>http://wso2.com/products/cloud-services-gateway/</productPageURL> <!-- FIXME, put the correct project home -->
|
||||
</cloudService>
|
||||
<cloudService name="WSO2 Complex Event Processor" default="true">
|
||||
<key>CEP</key>
|
||||
<label>Complex Event Processor</label>
|
||||
<link>https://cep.cloud.wso2.com</link>
|
||||
<icon>
|
||||
https://localhost:9443/cloud-services-icons/cep.gif
|
||||
</icon>
|
||||
<productPageURL>http://wso2.com/products/complex-event-processing-server/</productPageURL> <!-- FIXME, put the correct project home -->
|
||||
<description>Complex Event Processor in the cloud.</description>
|
||||
</cloudService>
|
||||
<cloudService name="WSO2 Message Broker" default="true">
|
||||
<key>MB</key>
|
||||
<label>Message Broker</label>
|
||||
<link>https://mb.cloud.wso2.com</link>
|
||||
<icon>
|
||||
https://localhost:9443/cloud-services-icons/mb.gif
|
||||
</icon>
|
||||
<productPageURL>http://wso2.com/products/message-broker/</productPageURL>
|
||||
<description>Message Broker in the cloud.</description>
|
||||
</cloudService>
|
||||
<cloudService name="WSO2 Storage Server" default="true">
|
||||
<key>SS</key>
|
||||
<label>WSO2 Storage Server</label>
|
||||
<link>https://ss.stratoslive.wso2.com</link>
|
||||
<icon>
|
||||
https://localhost:9443/cloud-services-icons/ss.gif
|
||||
</icon>
|
||||
<description>WSO2 Storage Server.</description>
|
||||
<productPageURL>http://wso2.com/products/storage-server/</productPageURL>
|
||||
</cloudService>
|
||||
<cloudService name="WSO2 Enterprise Store" default="true">
|
||||
<key>ES</key>
|
||||
<label>WSO2 Enterprise Store</label>
|
||||
<link>https://es.stratoslive.wso2.com</link>
|
||||
<icon>
|
||||
https://localhost:9443/cloud-services-icons/ss.gif
|
||||
</icon>
|
||||
<description>WSO2 Enterprise Store.</description>
|
||||
<productPageURL>http://wso2.com/products/storage-server/</productPageURL>
|
||||
</cloudService>
|
||||
</cloudServices>
|
||||
@ -1,215 +0,0 @@
|
||||
# Licensed to the Apache Software Foundation (ASF) under one
|
||||
# or more contributor license agreements. See the NOTICE file
|
||||
# distributed with this work for additional information
|
||||
# regarding copyright ownership. The ASF licenses this file
|
||||
# to you under the Apache License, Version 2.0 (the
|
||||
# "License"); you may not use this file except in compliance
|
||||
# with the License. You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing,
|
||||
# software distributed under the License is distributed on an
|
||||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
# KIND, either express or implied. See the License for the
|
||||
# specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
# Location of feature manifests (comma separated)
|
||||
shindig.features.default=res://features/features.txt
|
||||
|
||||
# Location of container configurations (comma separated)
|
||||
shindig.containers.default=res://containers/default/container.js
|
||||
|
||||
### Inbound OAuth support
|
||||
# The URL base to use for full OAuth support (three-legged)
|
||||
shindig.oauth.base-url=/oauth
|
||||
shindig.oauth.authorize-action=/WEB-INF/authorize.jsp
|
||||
# The range to the past and future of timestamp for OAuth token validation. Default to 5 minutes
|
||||
shindig.oauth.validator-max-timestamp-age-ms=300000
|
||||
|
||||
### Outbound OAuth support
|
||||
shindig.signing.state-key=
|
||||
shindig.signing.key-name=
|
||||
shindig.signing.key-file=
|
||||
shindig.signing.global-callback-url=http://%authority%%contextRoot%/gadgets/oauthcallback
|
||||
shindig.signing.enable-signed-callbacks=true
|
||||
|
||||
### If a OAuth2Client does not specify a redirect uri it will default here
|
||||
shindig.oauth2.global-redirect-uri=http://%authority%%contextRoot%/gadgets/oauth2callback
|
||||
### Setting to true will cause the registered OAuth2Persistence plugin to load it's values
|
||||
### with what's in config/oauth2.json, no meaning without a second persistence implementation.
|
||||
shindig.oauth2.import=false
|
||||
### Determines if the import will start by removing everything currently in persistence.
|
||||
shindig.oauth2.import.clean=false
|
||||
# Set to true if you want to allow the use of 3-party (authorization_code) OAuth 2.0 flow when viewer != owner.
|
||||
# This setting is not recommeneded for pages that allow user-controlled javascript, since
|
||||
# that javascript could be used to make unauthorized requests on behalf of the viewer of the page
|
||||
shindig.oauth2.viewer-access-tokens-enabled=true
|
||||
# Set to true to send extended trace messages to the client. Probably want this to be false for
|
||||
# production systems and true for test/development.
|
||||
shindig.oauth2.send-trace-to-client=true
|
||||
shindig.signing.oauth2.state-key=
|
||||
|
||||
# Set to true if you want to allow the use of 3-legged OAuth tokens when viewer != owner.
|
||||
# This setting is not recommeneded for pages that allow user-controlled javascript, since
|
||||
# that javascript could be used to make unauthorized requests on behalf of the viewer of the page
|
||||
shindig.signing.viewer-access-tokens-enabled=false
|
||||
|
||||
# If enabled here, configuration values can be found in container configuration files.
|
||||
shindig.locked-domain.enabled=false
|
||||
|
||||
# TODO: This needs to be moved to container configuration.
|
||||
shindig.content-rewrite.only-allow-excludes=false
|
||||
shindig.content-rewrite.include-urls=.*
|
||||
shindig.content-rewrite.exclude-urls=
|
||||
shindig.content-rewrite.include-tags=body,embed,img,input,link,script,style
|
||||
shindig.content-rewrite.expires=86400
|
||||
shindig.content-rewrite.enable-split-js-concat=true
|
||||
shindig.content-rewrite.enable-single-resource-concat=false
|
||||
|
||||
#
|
||||
# Default set of forced libs to allow for better caching
|
||||
#
|
||||
# NOTE: setting this causes the EndToEnd test to fail the opensocial-templates test
|
||||
shindig.gadget-rewrite.default-forced-libs=core:rpc
|
||||
#shindig.gadget-rewrite.default-forced-libs=
|
||||
|
||||
#
|
||||
# Allow supported JavaScript features required by a gadget to be externalized on demand
|
||||
shindig.gadget-rewrite.externalize-feature-libs=true
|
||||
|
||||
# Configuration for image rewriter
|
||||
shindig.image-rewrite.max-inmem-bytes = 1048576
|
||||
shindig.image-rewrite.max-palette-size = 256
|
||||
shindig.image-rewrite.allow-jpeg-conversion = true
|
||||
shindig.image-rewrite.jpeg-compression = 0.90
|
||||
shindig.image-rewrite.min-threshold-bytes = 200
|
||||
shindig.image-rewrite.jpeg-retain-subsampling = false
|
||||
# Huffman optimization reduces the images size by addition 4-6% without
|
||||
# any loss in the quality of the image, but takes extra cpu cycles for
|
||||
# computing the optimized huffman tables.
|
||||
shindig.image-rewrite.jpeg-huffman-optimization = false
|
||||
|
||||
# Configuration for the os:Flash tag
|
||||
shindig.flash.min-version = 9.0.115
|
||||
|
||||
# Configuration for template rewriter
|
||||
shindig.template-rewrite.extension-tag-namespace=http://ns.opensocial.org/2009/extensions
|
||||
|
||||
# These values provide default TTLs (in ms) for HTTP responses that don't use caching headers.
|
||||
shindig.cache.http.defaultTtl=3600000
|
||||
shindig.cache.http.negativeCacheTtl=60000
|
||||
|
||||
# Amount of time after which the entry in cache should be considered for a refetch for a
|
||||
# non-userfacing internal fetch when the response is strict-no-cache.
|
||||
shindig.cache.http.strict-no-cache-resource.refetch-after-ms=-1
|
||||
|
||||
# A default refresh interval for XML files, since there is no natural way for developers to
|
||||
# specify this value, and most HTTP responses don't include good cache control headers.
|
||||
shindig.cache.xml.refreshInterval=300000
|
||||
|
||||
# Add entries in the form shindig.cache.lru.<name>.capacity to specify capacities for different
|
||||
# caches when using the LruCacheProvider.
|
||||
# It is highly recommended that the EhCache implementation be used instead of the LRU cache.
|
||||
shindig.cache.lru.default.capacity=1000
|
||||
shindig.cache.lru.expressions.capacity=1000
|
||||
shindig.cache.lru.gadgetSpecs.capacity=1000
|
||||
shindig.cache.lru.messageBundles.capacity=1000
|
||||
shindig.cache.lru.httpResponses.capacity=10000
|
||||
|
||||
# The location of the EhCache configuration file.
|
||||
shindig.cache.ehcache.config=res://org/apache/shindig/common/cache/ehcache/ehcacheConfig.xml
|
||||
|
||||
# The location of the filter file for EhCache's SizeOfEngine
|
||||
# This gets set as a system property to be consumed by EhCache.
|
||||
# Can be a resource on the classpath or a path on the file system.
|
||||
shindig.cache.ehcache.sizeof.filter=res://org/apache/shindig/common/cache/ehcache/SizeOfFilter.txt
|
||||
|
||||
# true to enable JMX integration.
|
||||
shindig.cache.ehcache.jmx.enabled=true
|
||||
|
||||
# true to enable JMX stats.
|
||||
shindig.cache.ehcache.jmx.stats=true
|
||||
|
||||
# true to skip expensive encoding detection.
|
||||
# if true, will only attempt to validate utf-8. Assumes all other encodings are ISO-8859-1.
|
||||
shindig.http.fast-encoding-detection=true
|
||||
|
||||
# Configuration for the HttpFetcher
|
||||
# Connection timeout, in milliseconds, for requests.
|
||||
shindig.http.client.connection-timeout-ms=5000
|
||||
|
||||
# Maximum size, in bytes, of the object we fetched, 0 == no limit
|
||||
shindig.http.client.max-object-size-bytes=0
|
||||
|
||||
# Strict-mode parsing for proxy and concat URIs ensures that the authority/host and path
|
||||
# for the URIs match precisely what is found in the container config for it. This is
|
||||
# useful where statistics and traffic routing patterns, typically in large installations,
|
||||
# key on hostname (and occasionally path). Enforcing this does come at the cost that
|
||||
# mismatches break, which in turn mandates that URI generation always happen in consistent
|
||||
# fashion, ie. by the class itself or tightly controlled code.
|
||||
shindig.uri.proxy.use-strict-parsing=false
|
||||
shindig.uri.concat.use-strict-parsing=false
|
||||
|
||||
# Host:port of the proxy to use while fetching urls. Leave blank if proxy is
|
||||
# not to be used.
|
||||
org.apache.shindig.gadgets.http.basicHttpFetcherProxy=
|
||||
|
||||
org.apache.shindig.serviceExpirationDurationMinutes=60
|
||||
|
||||
#
|
||||
# Older versions of shindig used 'data' in the json-rpc response format
|
||||
# The spec calls for using 'result' instead, however to avoid breakage we
|
||||
# allow you to set it back to the old way here
|
||||
#
|
||||
# valid values are
|
||||
# result - new form
|
||||
# data - old broken form
|
||||
# both - return both fields for full compatibility
|
||||
#
|
||||
shindig.json-rpc.result-field=result
|
||||
|
||||
# Remap "Internal server error"s received from the basicHttpFetcherProxy server to
|
||||
# "Bad Gateway error"s, so that it is clear to the user that the proxy server is
|
||||
# the one that threw the exception.
|
||||
shindig.accelerate.remapInternalServerError=true
|
||||
shindig.proxy.remapInternalServerError=true
|
||||
|
||||
# Add debug data when using VanillaCajaHtmlParser.
|
||||
vanillaCajaParser.needsDebugData=true
|
||||
|
||||
# Allow non-SSL OAuth 2.0 bearer tokens
|
||||
org.apache.shindig.auth.oauth2-require-ssl=false
|
||||
|
||||
# Set gadget param in proxied uri as authority if this is true
|
||||
org.apache.shindig.gadgets.uri.setAuthorityAsGadgetParam=false
|
||||
|
||||
# Maximum Get Url size limit
|
||||
org.apache.shindig.gadgets.uri.urlMaxLength=2048
|
||||
|
||||
# Default cachettl value for versioned url in seconds. Here default value is 1 year.
|
||||
org.apache.shindig.gadgets.servlet.longLivedRefreshSec=31536000
|
||||
|
||||
# Closure compiler optimization level. One of advanced|simple|whitespace_only|none.
|
||||
# Defaults to simple.
|
||||
shindig.closure.compile.level=simple
|
||||
|
||||
# Size of the compiler thread pool
|
||||
shindig.closure.compile.threadPoolSize=5
|
||||
|
||||
# OAuth 2.0 authorization code, access token, and refresh token expiration times.
|
||||
# 5 * 60 * 1000 = 300000 = 5 minutes
|
||||
# 5 * 60 * 60 * 1000 = 18000000 = 5 hours
|
||||
# 5 * 60 * 60 * 1000 * 24 = 432000000 = 5 days
|
||||
shindig.oauth2.authCodeExpiration=300000
|
||||
shindig.oauth2.accessTokenExpiration=18000000
|
||||
shindig.oauth2.refreshTokenExpiration=432000000
|
||||
|
||||
# Allows unauthenticated requests to Shindig
|
||||
shindig.allowUnauthenticated=true
|
||||
|
||||
# Comma separated tags that need to have its relative path to be resolved as absolute.
|
||||
# Possible values are RESOURCES and HYPERLINKS
|
||||
shindig.gadgets.rewriter.absolutePath.tags=RESOURCES
|
||||
shindig.urlgen.use-templates-default=false
|
||||
@ -1,30 +0,0 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
|
||||
<!--
|
||||
~ Copyright (c) 2015, WSO2 Inc. (http:www.wso2.org) All Rights Reserved.
|
||||
~
|
||||
~ WSO2 Inc. licenses this file to you under the Apache License,
|
||||
~ Version 2.0 (the "License"); you may not use this file except
|
||||
~ in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing,
|
||||
~ software distributed under the License is distributed on an
|
||||
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
~ KIND, either express or implied. See the License for the
|
||||
~ specific language governing permissions and limitations
|
||||
~ under the License.
|
||||
-->
|
||||
|
||||
<TrustedIdPConfig xmlns="http://wso2.org/projects/carbon/trusted-idp-config.xml">
|
||||
<JDBCPersistenceManager>
|
||||
<DataSource>
|
||||
<!-- Include a data source name (jndiConfigName) from the set of data
|
||||
sources defined in master-datasources.xml -->
|
||||
<!--Name>jdbc/WSO2_IDP_DB</Name-->
|
||||
<Name>jdbc/WSO2CarbonDB</Name>
|
||||
</DataSource>
|
||||
</JDBCPersistenceManager>
|
||||
</TrustedIdPConfig>
|
||||
@ -1 +0,0 @@
|
||||
# IOTS_connectedlap
|
||||
@ -1,160 +0,0 @@
|
||||
<!--
|
||||
~ Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||
~
|
||||
~ WSO2 Inc. licenses this file to you under the Apache License,
|
||||
~ Version 2.0 (the "License"); you may not use this file except
|
||||
~ in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing,
|
||||
~ software distributed under the License is distributed on an
|
||||
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
~ KIND, either express or implied. See the License for the
|
||||
~ specific language governing permissions and limitations
|
||||
~ under the License.
|
||||
-->
|
||||
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<parent>
|
||||
<artifactId>connectedlap-component</artifactId>
|
||||
<groupId>org.wso2</groupId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>${groupId}.connectedlap.agent</artifactId>
|
||||
<packaging>war</packaging>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
<name>WSO2 IoTS(Device Types) - Connected Lap Agent Web app</name>
|
||||
<url>http://maven.apache.org</url>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>3.8.1</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.json</groupId>
|
||||
<artifactId>json</artifactId>
|
||||
<version>20151123</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>javax.servlet</groupId>
|
||||
<artifactId>javax.servlet-api</artifactId>
|
||||
<version>3.0.1</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>commons-logging</groupId>
|
||||
<artifactId>commons-logging</artifactId>
|
||||
<version>1.1.1</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.eclipse.paho</groupId>
|
||||
<artifactId>org.eclipse.paho.client.mqttv3</artifactId>
|
||||
<version>1.0.2</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.wso2</groupId>
|
||||
<artifactId>${project-base-package}.plugin</artifactId>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<finalName>connected-lap-agent</finalName>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<source>1.6</source>
|
||||
<target>1.6</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<id>wso2.releases</id>
|
||||
<name>WSO2 internal Repository</name>
|
||||
<url>http://maven.wso2.org/nexus/content/repositories/releases/</url>
|
||||
<releases>
|
||||
<enabled>true</enabled>
|
||||
<updatePolicy>daily</updatePolicy>
|
||||
<checksumPolicy>ignore</checksumPolicy>
|
||||
</releases>
|
||||
</pluginRepository>
|
||||
<pluginRepository>
|
||||
<id>wso2.snapshots</id>
|
||||
<name>Apache Snapshot Repository</name>
|
||||
<url>http://maven.wso2.org/nexus/content/repositories/snapshots/</url>
|
||||
<snapshots>
|
||||
<enabled>true</enabled>
|
||||
<updatePolicy>daily</updatePolicy>
|
||||
</snapshots>
|
||||
<releases>
|
||||
<enabled>false</enabled>
|
||||
</releases>
|
||||
</pluginRepository>
|
||||
<pluginRepository>
|
||||
<id>wso2-nexus</id>
|
||||
<name>WSO2 internal Repository</name>
|
||||
<url>http://maven.wso2.org/nexus/content/groups/wso2-public/</url>
|
||||
<releases>
|
||||
<enabled>true</enabled>
|
||||
<updatePolicy>daily</updatePolicy>
|
||||
<checksumPolicy>ignore</checksumPolicy>
|
||||
</releases>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
|
||||
|
||||
<repositories>
|
||||
<!-- Before adding ANYTHING in here, please start a discussion on the dev list.
|
||||
Ideally the Axis2 build should only use Maven central (which is available
|
||||
by default) and nothing else. We had troubles with other repositories in
|
||||
the past. Therefore configuring additional repositories here should be
|
||||
considered very carefully. -->
|
||||
<repository>
|
||||
<id>wso2-nexus</id>
|
||||
<name>WSO2 internal Repository</name>
|
||||
<url>http://maven.wso2.org/nexus/content/groups/wso2-public/</url>
|
||||
<releases>
|
||||
<enabled>true</enabled>
|
||||
<updatePolicy>daily</updatePolicy>
|
||||
<checksumPolicy>ignore</checksumPolicy>
|
||||
</releases>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>wso2.releases</id>
|
||||
<name>WSO2 internal Repository</name>
|
||||
<url>http://maven.wso2.org/nexus/content/repositories/releases/</url>
|
||||
<releases>
|
||||
<enabled>true</enabled>
|
||||
<updatePolicy>daily</updatePolicy>
|
||||
<checksumPolicy>ignore</checksumPolicy>
|
||||
</releases>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>wso2.snapshots</id>
|
||||
<name>WSO2 Snapshot Repository</name>
|
||||
<url>http://maven.wso2.org/nexus/content/repositories/snapshots/</url>
|
||||
<snapshots>
|
||||
<enabled>true</enabled>
|
||||
<updatePolicy>daily</updatePolicy>
|
||||
</snapshots>
|
||||
<releases>
|
||||
<enabled>false</enabled>
|
||||
</releases>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
</project>
|
||||
@ -1,78 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||
*
|
||||
* WSO2 Inc. licenses this file to you under the Apache License,
|
||||
* Version 2.0 (the "License"); you may not use this file except
|
||||
* in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
package org.wso2.agent.datasense;
|
||||
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
import org.wso2.agent.transport.TransportHandlerException;
|
||||
import org.wso2.agent.transport.mqtt.ConnectedLapMQttTransportHandler;
|
||||
|
||||
import javax.servlet.ServletException;
|
||||
import javax.servlet.http.HttpServlet;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.io.IOException;
|
||||
import java.io.PrintWriter;
|
||||
|
||||
public class PushData extends HttpServlet {
|
||||
private static final Log log = LogFactory.getLog(PushData.class);
|
||||
private ConnectedLapMQttTransportHandler connectedLapMQttTransportHandler;
|
||||
|
||||
public PushData() {
|
||||
connectedLapMQttTransportHandler = ConnectedLapMQttTransportHandler.getInstance();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
|
||||
String deviceId = req.getParameter("deviceId");
|
||||
String tenantDomain = req.getParameter("tenantDomain");
|
||||
String deviceOwner = req.getParameter("deviceOwner");
|
||||
String batteryusage = req.getParameter("batteryusage");
|
||||
String chargerpluggedin = req.getParameter("chargerpluggedin");
|
||||
String cpuusage = req.getParameter("cpuusage");
|
||||
String networktraffic = req.getParameter("networktraffic");
|
||||
String memoryusage = req.getParameter("memoryusage");
|
||||
String harddiskusage = req.getParameter("harddiskusage");
|
||||
String token = req.getParameter("token");
|
||||
String payload = " {\"event\": {\"metaData\": {\"owner\": \"" + deviceOwner +
|
||||
"\", \"type\": \"connectedlap\",\"deviceId\": " +
|
||||
"\"" + deviceId + "\",\"timestamp\": " + System.currentTimeMillis() +
|
||||
"},\"payloadData\": { \"batteryusage\": " + Float.parseFloat(batteryusage) + ", \"chargerpluggedin\": " + Float.parseFloat(chargerpluggedin) + ", \"cpuusage\": " + Float.parseFloat(cpuusage) + ", \"networktraffic\": "+ Float.parseFloat(networktraffic) +",\"memoryusage\": " + Float.parseFloat(memoryusage) + ", \"harddiskusage\": "+ Float.parseFloat(harddiskusage) +"} }}";
|
||||
|
||||
PrintWriter out = resp.getWriter();
|
||||
resp.setContentType("application/json; charset=UTF-8;");
|
||||
if (!connectedLapMQttTransportHandler.isConnected()) {
|
||||
connectedLapMQttTransportHandler.setToken(token);
|
||||
connectedLapMQttTransportHandler.connect();
|
||||
}
|
||||
try {
|
||||
if (connectedLapMQttTransportHandler.isConnected()) {
|
||||
connectedLapMQttTransportHandler.publishToConnectedLap(deviceOwner, deviceId, payload, tenantDomain, 0,
|
||||
true);
|
||||
out.println("{\"success\": true }");
|
||||
}else {
|
||||
out.println("{\"success\": false }");
|
||||
}
|
||||
} catch (TransportHandlerException e) {
|
||||
log.error(e);
|
||||
resp.sendError(500);
|
||||
out.println("{\"success\": false }");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,50 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||
*
|
||||
* WSO2 Inc. licenses this file to you under the Apache License,
|
||||
* Version 2.0 (the "License"); you may not use this file except
|
||||
* in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
package org.wso2.agent.transport;
|
||||
|
||||
/**
|
||||
* This interface consists of the core functionality related to the transport between any device and the server. The
|
||||
* interface is an abstraction, regardless of the underlying protocol used for the transport. Implementation of this
|
||||
* interface by any class that caters a specific protocol (ex: HTTP, XMPP, MQTT, CoAP) would ideally have methods
|
||||
* specific to the protocol used for communication and thees methods that implement the logic related to the devices
|
||||
* using the protocol.
|
||||
*
|
||||
* @param <T> a message type specific to the protocol implemented
|
||||
*/
|
||||
public interface TransportHandler<T> {
|
||||
int DEFAULT_TIMEOUT_INTERVAL = 5000; // millis ~ 10 sec
|
||||
|
||||
void connect();
|
||||
|
||||
boolean isConnected();
|
||||
|
||||
void processIncomingMessage() throws TransportHandlerException;
|
||||
|
||||
void processIncomingMessage(T message) throws TransportHandlerException;
|
||||
|
||||
void processIncomingMessage(T message, String... messageParams) throws TransportHandlerException;
|
||||
|
||||
void publishDeviceData() throws TransportHandlerException;
|
||||
|
||||
void publishDeviceData(T publishData) throws TransportHandlerException;
|
||||
|
||||
void publishDeviceData(String... publishData) throws TransportHandlerException;
|
||||
|
||||
void disconnect();
|
||||
}
|
||||
@ -1,56 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||
*
|
||||
* WSO2 Inc. licenses this file to you under the Apache License,
|
||||
* Version 2.0 (the "License"); you may not use this file except
|
||||
* in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
package org.wso2.agent.transport;
|
||||
|
||||
public class TransportHandlerException extends Exception {
|
||||
private static final long serialVersionUID = 2736466230451105440L;
|
||||
|
||||
private String errorMessage;
|
||||
|
||||
public String getErrorMessage() {
|
||||
return errorMessage;
|
||||
}
|
||||
|
||||
public void setErrorMessage(String errorMessage) {
|
||||
this.errorMessage = errorMessage;
|
||||
}
|
||||
|
||||
public TransportHandlerException(String msg, Exception nestedEx) {
|
||||
super(msg, nestedEx);
|
||||
setErrorMessage(msg);
|
||||
}
|
||||
|
||||
public TransportHandlerException(String message, Throwable cause) {
|
||||
super(message, cause);
|
||||
setErrorMessage(message);
|
||||
}
|
||||
|
||||
public TransportHandlerException(String msg) {
|
||||
super(msg);
|
||||
setErrorMessage(msg);
|
||||
}
|
||||
|
||||
public TransportHandlerException() {
|
||||
super();
|
||||
}
|
||||
|
||||
public TransportHandlerException(Throwable cause) {
|
||||
super(cause);
|
||||
}
|
||||
}
|
||||
@ -1,160 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||
*
|
||||
* WSO2 Inc. licenses this file to you under the Apache License,
|
||||
* Version 2.0 (the "License"); you may not use this file except
|
||||
* in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
package org.wso2.agent.transport.mqtt;
|
||||
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
import org.wso2.agent.transport.TransportHandlerException;
|
||||
import org.eclipse.paho.client.mqttv3.MqttException;
|
||||
import org.eclipse.paho.client.mqttv3.MqttMessage;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.UUID;
|
||||
import java.util.concurrent.ScheduledFuture;
|
||||
|
||||
public class ConnectedLapMQttTransportHandler extends MQTTTransportHandler {
|
||||
|
||||
private static Log log = LogFactory.getLog(ConnectedLapMQttTransportHandler.class);
|
||||
|
||||
private static String iotServerSubscriber = UUID.randomUUID().toString().substring(0, 5);
|
||||
|
||||
private static final String DEVICE_TYPE = "connectedlap";
|
||||
|
||||
private static ConnectedLapMQttTransportHandler connectedLapMQttTransportHandler;
|
||||
|
||||
private static String publishTopic = "%s/" + DEVICE_TYPE + "/%s";
|
||||
|
||||
protected ConnectedLapMQttTransportHandler() {
|
||||
super(iotServerSubscriber, DEVICE_TYPE, "tcp://localhost:1883", "");
|
||||
}
|
||||
|
||||
private ScheduledFuture<?> dataPushServiceHandler;
|
||||
|
||||
public ScheduledFuture<?> getDataPushServiceHandler() {
|
||||
return dataPushServiceHandler;
|
||||
}
|
||||
|
||||
public void setToken(String token) {
|
||||
setUsernameAndPassword(token, "");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void connect() {
|
||||
Runnable connect = new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
log.info("Trying to connect..");
|
||||
while (!isConnected()) {
|
||||
try {
|
||||
connectToQueue();
|
||||
} catch (TransportHandlerException e) {
|
||||
log.warn("Connection to MQTT Broker at: " +
|
||||
mqttBrokerEndPoint + " failed");
|
||||
|
||||
try {
|
||||
Thread.sleep(timeoutInterval);
|
||||
} catch (InterruptedException ex) {
|
||||
log.error("MQTT-Subscriber: Thread Sleep Interrupt Exception");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
log.info("Connected..");
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
Thread connectorThread = new Thread(connect);
|
||||
connectorThread.start();
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void processIncomingMessage(MqttMessage message, String... messageParams) {
|
||||
}
|
||||
|
||||
public void publishToConnectedLap(String deviceOwner , String deviceId, String payLoad, String tenantDomain, int qos, boolean retained)
|
||||
throws TransportHandlerException{
|
||||
String topic = String.format(publishTopic, tenantDomain, deviceId);
|
||||
publishToQueue(topic, payLoad, qos, retained);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void disconnect() {
|
||||
Runnable stopConnection = new Runnable() {
|
||||
public void run() {
|
||||
while (isConnected()) {
|
||||
try {
|
||||
dataPushServiceHandler.cancel(true);
|
||||
closeConnection();
|
||||
|
||||
} catch (MqttException e) {
|
||||
if (log.isDebugEnabled()) {
|
||||
log.warn("Unable to 'STOP' MQTT connection at broker at: " +
|
||||
mqttBrokerEndPoint);
|
||||
}
|
||||
|
||||
try {
|
||||
Thread.sleep(timeoutInterval);
|
||||
} catch (InterruptedException e1) {
|
||||
log.error("MQTT-Terminator: Thread Sleep Interrupt Exception");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Thread terminatorThread = new Thread(stopConnection);
|
||||
terminatorThread.start();
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void publishDeviceData() throws TransportHandlerException {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void publishDeviceData(MqttMessage publishData) throws TransportHandlerException {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void publishDeviceData(String... publishData) throws TransportHandlerException {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void processIncomingMessage() {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void processIncomingMessage(MqttMessage message) throws TransportHandlerException {
|
||||
|
||||
}
|
||||
|
||||
public static ConnectedLapMQttTransportHandler getInstance(){
|
||||
if(connectedLapMQttTransportHandler == null){
|
||||
connectedLapMQttTransportHandler = new ConnectedLapMQttTransportHandler();
|
||||
}
|
||||
return connectedLapMQttTransportHandler;
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,373 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||
*
|
||||
* WSO2 Inc. licenses this file to you under the Apache License,
|
||||
* Version 2.0 (the "License"); you may not use this file except
|
||||
* in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
package org.wso2.agent.transport.mqtt;
|
||||
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
import org.wso2.agent.transport.TransportHandler;
|
||||
import org.wso2.agent.transport.TransportHandlerException;
|
||||
import org.wso2.connectedlap.plugin.constants.DeviceTypeConstants;
|
||||
import org.eclipse.paho.client.mqttv3.*;
|
||||
import java.io.File;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
|
||||
/**
|
||||
* This is an abstract class that implements the "TransportHandler" interface. The interface is an abstraction for
|
||||
* the core functionality with regards to device-server communication regardless of the Transport protocol. This
|
||||
* specific class contains the HTTP-Transport specific implementations. The class implements utility methods for the
|
||||
* case of a HTTP communication. However, this "abstract class", even-though it implements the "TransportHandler"
|
||||
* interface, does not contain the logic relevant to the interface methods. The specific functionality of the
|
||||
* interface methods are intended to be implemented by the concrete class that extends this abstract class and
|
||||
* utilizes the HTTP specific functionality (ideally a device API writer who would like to communicate to the device
|
||||
* via HTTP Protocol).
|
||||
* <p/>
|
||||
* This class contains the Device-Management specific implementation for all the MQTT functionality. This includes
|
||||
* connecting to a MQTT Broker & subscribing to the appropriate MQTT-topic, action plan upon losing connection or
|
||||
* successfully delivering a message to the broker and processing incoming messages. Makes use of the 'Paho-MQTT'
|
||||
* library provided by Eclipse Org.
|
||||
*/
|
||||
public abstract class MQTTTransportHandler
|
||||
implements MqttCallback, TransportHandler<MqttMessage> {
|
||||
private static final Log log = LogFactory.getLog(MQTTTransportHandler.class);
|
||||
|
||||
public static final int DEFAULT_MQTT_QUALITY_OF_SERVICE = 0;
|
||||
|
||||
private MqttClient client;
|
||||
private String clientId;
|
||||
private MqttConnectOptions options;
|
||||
private String clientWillTopic;
|
||||
|
||||
protected String mqttBrokerEndPoint;
|
||||
protected int timeoutInterval;
|
||||
protected String subscribeTopic;
|
||||
|
||||
/**
|
||||
* Constructor for the MQTTTransportHandler which takes in the owner, type of the device
|
||||
* and the MQTT Broker URL and the topic to subscribe.
|
||||
*
|
||||
* @param deviceOwner the owner of the device.
|
||||
* @param deviceType the CDMF Device-Type of the device.
|
||||
* @param mqttBrokerEndPoint the IP/URL of the MQTT broker endpoint.
|
||||
* @param subscribeTopic the MQTT topic to which the client is to be subscribed
|
||||
*/
|
||||
protected MQTTTransportHandler(String deviceOwner, String deviceType,
|
||||
String mqttBrokerEndPoint,
|
||||
String subscribeTopic) {
|
||||
this.clientId = deviceOwner + ":" + deviceType;
|
||||
this.subscribeTopic = subscribeTopic;
|
||||
this.clientWillTopic = deviceType + File.separator + "disconnection";
|
||||
this.mqttBrokerEndPoint = mqttBrokerEndPoint;
|
||||
this.timeoutInterval = DEFAULT_TIMEOUT_INTERVAL;
|
||||
this.initSubscriber();
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructor for the MQTTTransportHandler which takes in the owner, type of the device
|
||||
* and the MQTT Broker URL and the topic to subscribe. Additionally this constructor takes in
|
||||
* the reconnection-time interval between successive attempts to connect to the broker.
|
||||
*
|
||||
* @param deviceOwner the owner of the device.
|
||||
* @param deviceType the CDMF Device-Type of the device.
|
||||
* @param mqttBrokerEndPoint the IP/URL of the MQTT broker endpoint.
|
||||
* @param subscribeTopic the MQTT topic to which the client is to be subscribed
|
||||
* @param intervalInMillis the time interval in MILLI-SECONDS between successive
|
||||
* attempts to connect to the broker.
|
||||
*/
|
||||
protected MQTTTransportHandler(String deviceOwner, String deviceType,
|
||||
String mqttBrokerEndPoint, String subscribeTopic,
|
||||
int intervalInMillis) {
|
||||
this.clientId = deviceOwner + ":" + deviceType;
|
||||
this.subscribeTopic = subscribeTopic;
|
||||
//TODO:: Use constant strings
|
||||
this.clientWillTopic = deviceType + File.separator + "disconnection";
|
||||
this.mqttBrokerEndPoint = mqttBrokerEndPoint;
|
||||
this.timeoutInterval = intervalInMillis;
|
||||
this.initSubscriber();
|
||||
}
|
||||
|
||||
public void setUsernameAndPassword (String username, String password) {
|
||||
options.setUserName(username);
|
||||
options.setPassword(password.toCharArray());
|
||||
}
|
||||
|
||||
public void setTimeoutInterval(int timeoutInterval) {
|
||||
this.timeoutInterval = timeoutInterval;
|
||||
}
|
||||
|
||||
/**
|
||||
* Initializes the MQTT-Client. Creates a client using the given MQTT-broker endpoint and the
|
||||
* clientId (which is constructed by a concatenation of [deviceOwner]:[deviceType]). Also sets
|
||||
* the client's options parameter with the clientWillTopic (in-case of connection failure) and
|
||||
* other info. Also sets the call-back this current class.
|
||||
*/
|
||||
private void initSubscriber() {
|
||||
try {
|
||||
client = new MqttClient(this.mqttBrokerEndPoint, clientId, null);
|
||||
//TODO:: Need to check for debug
|
||||
log.info("MQTT subscriber was created with ClientID : " + clientId);
|
||||
} catch (MqttException ex) {
|
||||
//TODO:: Remove unnecessary formatting and print exception
|
||||
String errorMsg = "MQTT Client Error\n" + "\tReason: " + ex.getReasonCode() +
|
||||
"\n\tMessage: " + ex.getMessage() + "\n\tLocalMsg: " +
|
||||
ex.getLocalizedMessage() + "\n\tCause: " + ex.getCause() +
|
||||
"\n\tException: " + ex;
|
||||
log.error(errorMsg);
|
||||
//TODO:: Throw the error out
|
||||
}
|
||||
|
||||
options = new MqttConnectOptions();
|
||||
options.setCleanSession(true);
|
||||
//TODO:: Use constant strings
|
||||
options.setWill(clientWillTopic, "Connection-Lost".getBytes(StandardCharsets.UTF_8), DeviceTypeConstants.QUALITY_OF_SERVICE,
|
||||
true);
|
||||
client.setCallback(this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks whether the connection to the MQTT-Broker persists.
|
||||
*
|
||||
* @return true if the client is connected to the MQTT-Broker, else false.
|
||||
*/
|
||||
@Override
|
||||
public boolean isConnected() {
|
||||
return client.isConnected();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Connects to the MQTT-Broker and if successfully established connection.
|
||||
*
|
||||
* @throws TransportHandlerException in the event of 'Connecting to' the MQTT broker fails.
|
||||
*/
|
||||
protected void connectToQueue() throws TransportHandlerException {
|
||||
try {
|
||||
client.connect(options);
|
||||
|
||||
if (log.isDebugEnabled()) {
|
||||
log.debug("Subscriber connected to queue at: " + this.mqttBrokerEndPoint);
|
||||
}
|
||||
} catch (MqttSecurityException ex) {
|
||||
String errorMsg = "MQTT Security Exception when connecting to queue\n" + "\tReason: " +
|
||||
" " +
|
||||
ex.getReasonCode() + "\n\tMessage: " + ex.getMessage() +
|
||||
"\n\tLocalMsg: " + ex.getLocalizedMessage() + "\n\tCause: " +
|
||||
ex.getCause() + "\n\tException: " + ex;
|
||||
//TODO:: Compulsory log of errors and remove formatted error
|
||||
if (log.isDebugEnabled()) {
|
||||
log.debug(errorMsg);
|
||||
}
|
||||
throw new TransportHandlerException(errorMsg, ex);
|
||||
|
||||
} catch (MqttException ex) {
|
||||
//TODO:: Compulsory log of errors and remove formatted error
|
||||
String errorMsg = "MQTT Exception when connecting to queue\n" + "\tReason: " +
|
||||
ex.getReasonCode() + "\n\tMessage: " + ex.getMessage() +
|
||||
"\n\tLocalMsg: " + ex.getLocalizedMessage() + "\n\tCause: " +
|
||||
ex.getCause() + "\n\tException: " + ex;
|
||||
if (log.isDebugEnabled()) {
|
||||
log.debug(errorMsg);
|
||||
}
|
||||
throw new TransportHandlerException(errorMsg, ex);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Subscribes to the MQTT-Topic specific to this MQTT Client. (The MQTT-Topic specific to the
|
||||
* device is taken in as a constructor parameter of this class) .
|
||||
*
|
||||
* @throws TransportHandlerException in the event of 'Subscribing to' the MQTT broker
|
||||
* fails.
|
||||
*/
|
||||
protected void subscribeToQueue() throws TransportHandlerException {
|
||||
try {
|
||||
//TODO:: QoS Level take it from a variable
|
||||
client.subscribe(subscribeTopic, 0);
|
||||
if (log.isDebugEnabled()) {
|
||||
log.debug("Subscriber '" + clientId + "' subscribed to topic: " + subscribeTopic);
|
||||
}
|
||||
} catch (MqttException ex) {
|
||||
//TODO:: Compulsory log of errors and remove formatted error
|
||||
String errorMsg = "MQTT Exception when trying to subscribe to topic: " +
|
||||
subscribeTopic + "\n\tReason: " + ex.getReasonCode() +
|
||||
"\n\tMessage: " + ex.getMessage() + "\n\tLocalMsg: " +
|
||||
ex.getLocalizedMessage() + "\n\tCause: " + ex.getCause() +
|
||||
"\n\tException: " + ex;
|
||||
if (log.isDebugEnabled()) {
|
||||
log.debug(errorMsg);
|
||||
}
|
||||
|
||||
throw new TransportHandlerException(errorMsg, ex);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* This method is used to publish reply-messages for the control signals received.
|
||||
* Invocation of this method calls its overloaded-method with a QoS equal to that of the
|
||||
* default value.
|
||||
*
|
||||
* @param topic the topic to which the reply message is to be published.
|
||||
* @param payLoad the reply-message (payload) of the MQTT publish action.
|
||||
*/
|
||||
protected void publishToQueue(String topic, String payLoad)
|
||||
throws TransportHandlerException {
|
||||
publishToQueue(topic, payLoad, DEFAULT_MQTT_QUALITY_OF_SERVICE, false);
|
||||
}
|
||||
|
||||
/**
|
||||
* This is an overloaded method that publishes MQTT reply-messages for control signals
|
||||
* received form the IoT-Server.
|
||||
*
|
||||
* @param topic the topic to which the reply message is to be published
|
||||
* @param payLoad the reply-message (payload) of the MQTT publish action.
|
||||
* @param qos the Quality-of-Service of the current publish action.
|
||||
* Could be 0(At-most once), 1(At-least once) or 2(Exactly once)
|
||||
*/
|
||||
protected void publishToQueue(String topic, String payLoad, int qos, boolean retained)
|
||||
throws TransportHandlerException {
|
||||
try {
|
||||
client.publish(topic, payLoad.getBytes(StandardCharsets.UTF_8), qos, retained);
|
||||
if (log.isDebugEnabled()) {
|
||||
log.debug("Message: " + payLoad + " to MQTT topic [" + topic +
|
||||
"] published successfully");
|
||||
}
|
||||
} catch (MqttException ex) {
|
||||
String errorMsg =
|
||||
"MQTT Client Error" + "\n\tReason: " + ex.getReasonCode() + "\n\tMessage: " +
|
||||
ex.getMessage() + "\n\tLocalMsg: " + ex.getLocalizedMessage() +
|
||||
"\n\tCause: " + ex.getCause() + "\n\tException: " + ex;
|
||||
log.info(errorMsg);
|
||||
throw new TransportHandlerException(errorMsg, ex);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
protected void publishToQueue(String topic, MqttMessage message)
|
||||
throws TransportHandlerException {
|
||||
try {
|
||||
client.publish(topic, message);
|
||||
if (log.isDebugEnabled()) {
|
||||
log.debug("Message: " + message.toString() + " to MQTT topic [" + topic +
|
||||
"] published successfully");
|
||||
}
|
||||
} catch (MqttException ex) {
|
||||
//TODO:: Compulsory log of errors and remove formatted error
|
||||
String errorMsg =
|
||||
"MQTT Client Error" + "\n\tReason: " + ex.getReasonCode() + "\n\tMessage: " +
|
||||
ex.getMessage() + "\n\tLocalMsg: " + ex.getLocalizedMessage() +
|
||||
"\n\tCause: " + ex.getCause() + "\n\tException: " + ex;
|
||||
log.info(errorMsg);
|
||||
throw new TransportHandlerException(errorMsg, ex);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Callback method which is triggered once the MQTT client losers its connection to the broker.
|
||||
* Spawns a new thread that executes necessary actions to try and reconnect to the endpoint.
|
||||
*
|
||||
* @param throwable a Throwable Object containing the details as to why the failure occurred.
|
||||
*/
|
||||
@Override
|
||||
public void connectionLost(Throwable throwable) {
|
||||
if (log.isDebugEnabled()) {
|
||||
log.warn("Lost Connection for client: " + this.clientId + " to " + this.mqttBrokerEndPoint + "." +
|
||||
"\nThis was due to - " + throwable.getMessage());
|
||||
}
|
||||
|
||||
Thread reconnectThread = new Thread() {
|
||||
public void run() {
|
||||
connect();
|
||||
}
|
||||
};
|
||||
reconnectThread.setDaemon(true);
|
||||
reconnectThread.start();
|
||||
}
|
||||
|
||||
/**
|
||||
* Callback method which is triggered upon receiving a MQTT Message from the broker. Spawns a
|
||||
* new thread that executes any actions to be taken with the received message.
|
||||
*
|
||||
* @param topic the MQTT-Topic to which the received message was published to and the
|
||||
* client was subscribed to.
|
||||
* @param mqttMessage the actual MQTT-Message that was received from the broker.
|
||||
*/
|
||||
@Override
|
||||
public void messageArrived(final String topic, final MqttMessage mqttMessage) {
|
||||
if (log.isDebugEnabled()) {
|
||||
log.debug("Got an MQTT message '" + mqttMessage.toString() + "' for topic '" + topic + "'.");
|
||||
}
|
||||
|
||||
Thread messageProcessorThread = new Thread() {
|
||||
public void run() {
|
||||
try {
|
||||
processIncomingMessage(mqttMessage, topic);
|
||||
} catch (TransportHandlerException e) {
|
||||
log.error("An error occurred when trying to process received MQTT message [" + mqttMessage + "] " +
|
||||
"for topic [" + topic + "].", e);
|
||||
}
|
||||
}
|
||||
};
|
||||
messageProcessorThread.setDaemon(true);
|
||||
messageProcessorThread.start();
|
||||
}
|
||||
|
||||
/**
|
||||
* Callback method which gets triggered upon successful completion of a message delivery to
|
||||
* the broker.
|
||||
*
|
||||
* @param iMqttDeliveryToken the MQTT-DeliveryToken which includes the details about the
|
||||
* specific message delivery.
|
||||
*/
|
||||
@Override
|
||||
public void deliveryComplete(IMqttDeliveryToken iMqttDeliveryToken) {
|
||||
String topic = iMqttDeliveryToken.getTopics()[0];
|
||||
String client = iMqttDeliveryToken.getClient().getClientId();
|
||||
|
||||
try {
|
||||
if (iMqttDeliveryToken.isComplete()) {
|
||||
if (log.isDebugEnabled()) {
|
||||
if (iMqttDeliveryToken.getMessage() != null) {
|
||||
String message = iMqttDeliveryToken.getMessage().toString();
|
||||
log.debug("Message to client [" + client + "] under topic (" + topic +
|
||||
") was delivered successfully with the delivery message: '" + message + "'");
|
||||
} else {
|
||||
log.debug("Message to client [" + client + "] under topic (" + topic +
|
||||
") was delivered successfully.");
|
||||
}
|
||||
}
|
||||
} else {
|
||||
log.warn("FAILED: Delivery of MQTT message to [" + client + "] under topic [" + topic + "] failed.");
|
||||
}
|
||||
} catch (MqttException e) {
|
||||
//TODO:: Throw errors
|
||||
log.error("Error occurred whilst trying to read the message from the MQTT delivery token.");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Closes the connection to the MQTT Broker.
|
||||
*/
|
||||
public void closeConnection() throws MqttException {
|
||||
if (client != null && isConnected()) {
|
||||
client.disconnect();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,18 +0,0 @@
|
||||
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns="http://java.sun.com/xml/ns/javaee"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
|
||||
version="2.5">
|
||||
<display-name>ConnectedLap-Webapp</display-name>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>PushData</servlet-name>
|
||||
<servlet-class>org.wso2.agent.datasense.PushData</servlet-class>
|
||||
<load-on-startup>1</load-on-startup>
|
||||
</servlet>
|
||||
<servlet-mapping>
|
||||
<servlet-name>PushData</servlet-name>
|
||||
<url-pattern>/push_data</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
|
||||
</web-app>
|
||||
@ -1,72 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
~ Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||
~
|
||||
~ WSO2 Inc. licenses this file to you under the Apache License,
|
||||
~ Version 2.EventExecution_ConnectedLap_1.EventPublisher_ConnectedLap_1.EventReceiver_ConnectedLap_1.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventReceiver_ConnectedLap_1.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventPublisher_ConnectedLap_1.EventReceiver_ConnectedLap_1.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventReceiver_ConnectedLap_1.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0 (the "License"); you may not use this file except
|
||||
~ in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing,
|
||||
~ software distributed under the License is distributed on an
|
||||
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
~ KIND, either express or implied. See the License for the
|
||||
~ specific language governing permissions and limitations
|
||||
~ under the License.
|
||||
-->
|
||||
|
||||
<project name="create-sample-sensor-capps" default="zip" basedir=".">
|
||||
|
||||
<property name="project-name" value="${ant.project.name}"/>
|
||||
<property name="target-dir" value="target/carbonapps"/>
|
||||
<property name="src-dir" value="src/main/resources/carbonapps"/>
|
||||
|
||||
|
||||
<property name="ConnectedLap_dir" value="ConnectedLap"/>
|
||||
<property name="ConnectedLapBatteryUsage_dir" value="ConnectedLapBatteryUsage"/>
|
||||
<property name="ConnectedLapChargerPluggedIn_dir" value="ConnectedLapChargerPluggedIn"/>
|
||||
<property name="ConnectedLapCpuUsage_dir" value="ConnectedLapCpuUsage"/>
|
||||
<property name="ConnectedLapHardDiskUsage_dir" value="ConnectedLapHardDiskUsage"/>
|
||||
<property name="ConnectedLapMemoryUsage_dir" value="ConnectedLapMemoryUsage"/>
|
||||
<property name="ConnectedLapNetworkTraffic_dir" value="ConnectedLapNetworkTraffic"/>
|
||||
|
||||
<target name="clean">
|
||||
<delete dir="${target-dir}" />
|
||||
</target>
|
||||
|
||||
<target name="zip" depends="clean">
|
||||
<mkdir dir="${target-dir}"/>
|
||||
|
||||
<zip destfile="${target-dir}/${ConnectedLap_dir}.car">
|
||||
<zipfileset dir="${src-dir}/${ConnectedLap_dir}"/>
|
||||
</zip>
|
||||
|
||||
<zip destfile="${target-dir}/${ConnectedLapBatteryUsage_dir}.car">
|
||||
<zipfileset dir="${src-dir}/${ConnectedLapBatteryUsage_dir}"/>
|
||||
</zip>
|
||||
|
||||
<zip destfile="${target-dir}/${ConnectedLapChargerPluggedIn_dir}.car">
|
||||
<zipfileset dir="${src-dir}/${ConnectedLapChargerPluggedIn_dir}"/>
|
||||
</zip>
|
||||
|
||||
<zip destfile="${target-dir}/${ConnectedLapCpuUsage_dir}.car">
|
||||
<zipfileset dir="${src-dir}/${ConnectedLapCpuUsage_dir}"/>
|
||||
</zip>
|
||||
|
||||
<zip destfile="${target-dir}/${ConnectedLapHardDiskUsage_dir}.car">
|
||||
<zipfileset dir="${src-dir}/${ConnectedLapHardDiskUsage_dir}"/>
|
||||
</zip>
|
||||
|
||||
<zip destfile="${target-dir}/${ConnectedLapMemoryUsage_dir}.car">
|
||||
<zipfileset dir="${src-dir}/${ConnectedLapMemoryUsage_dir}"/>
|
||||
</zip>
|
||||
|
||||
<zip destfile="${target-dir}/${ConnectedLapNetworkTraffic_dir}.car">
|
||||
<zipfileset dir="${src-dir}/${ConnectedLapNetworkTraffic_dir}"/>
|
||||
</zip>
|
||||
|
||||
</target>
|
||||
|
||||
</project>
|
||||
@ -1,86 +0,0 @@
|
||||
<!--/*
|
||||
* Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||
*
|
||||
* WSO2 Inc. licenses this file to you under the Apache License,
|
||||
* Version 2.0 (the "License"); you may not use this file except
|
||||
* in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/-->
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<groupId>org.wso2</groupId>
|
||||
<artifactId>connectedlap-component</artifactId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>${groupId}.connectedlap.analytics</artifactId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
<packaging>pom</packaging>
|
||||
<name> ${groupId}.connectedlap.analytics </name>
|
||||
<url>http://wso2.org</url>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-clean-plugin</artifactId>
|
||||
<version>${maven-clean-plugin.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>auto-clean</id>
|
||||
<phase>initialize</phase>
|
||||
<goals>
|
||||
<goal>clean</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<version>${wso2.maven.compiler.source}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>process-resources</phase>
|
||||
<configuration>
|
||||
<target>
|
||||
<ant antfile="build.xml" target="zip"/>
|
||||
</target>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<version>${maven-assembly-plugin.version}</version>
|
||||
<configuration>
|
||||
<finalName>${project.artifactId}-1.0.0-SNAPSHOT</finalName>
|
||||
<appendAssemblyId>false</appendAssemblyId>
|
||||
<descriptors>
|
||||
<descriptor>src/assembly/src.xml</descriptor>
|
||||
</descriptors>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>create-archive</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>single</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
@ -1,52 +0,0 @@
|
||||
/* Enter a unique ExecutionPlan */
|
||||
@Plan:name('connectedlap_execution')
|
||||
|
||||
/* Enter a unique description for ExecutionPlan */
|
||||
-- @Plan:description('connectedLap_execution')
|
||||
|
||||
/* define streams/tables and write queries here ... */
|
||||
|
||||
@Export('org.wso2.iot.devices.battery.usage:1.0.0')
|
||||
define stream batteryusage (meta_owner string, meta_deviceType string, meta_deviceId string, meta_time long, batteryusage float);
|
||||
|
||||
@Export('org.wso2.iot.devices.charger.plugged.in:1.0.0')
|
||||
define stream chargerpluggedin (meta_owner string, meta_deviceType string, meta_deviceId string, meta_time long, chargerpluggedin float);
|
||||
|
||||
@Export('org.wso2.iot.devices.cpu.usage:1.0.0')
|
||||
define stream cpuusage (meta_owner string, meta_deviceType string, meta_deviceId string, meta_time long, cpuusage float);
|
||||
|
||||
@Export('org.wso2.iot.devices.network.traffic:1.0.0')
|
||||
define stream networktraffic (meta_owner string, meta_deviceType string, meta_deviceId string, meta_time long, networktraffic float);
|
||||
|
||||
@Export('org.wso2.iot.devices.memory.usage:1.0.0')
|
||||
define stream memoryusage (meta_owner string, meta_deviceType string, meta_deviceId string, meta_time long, memoryusage float);
|
||||
|
||||
@Export('org.wso2.iot.devices.hard.disk.usage:1.0.0')
|
||||
define stream harddiskusage (meta_owner string, meta_deviceType string, meta_deviceId string, meta_time long, harddiskusage float);
|
||||
|
||||
@Import('org.wso2.iot.connectedlap:1.0.0')
|
||||
define stream connectedlap (meta_owner string, meta_deviceId string, meta_type string, meta_timestamp long, batteryusage float, chargerpluggedin float, cpuusage float, networktraffic float ,memoryusage float ,harddiskusage float );
|
||||
|
||||
from connectedlap
|
||||
select meta_owner, 'connectedlap' as meta_deviceType, meta_deviceId, meta_timestamp as meta_time, batteryusage
|
||||
insert into batteryusage;
|
||||
|
||||
from connectedlap
|
||||
select meta_owner, 'connectedlap' as meta_deviceType, meta_deviceId, meta_timestamp as meta_time, chargerpluggedin
|
||||
insert into chargerpluggedin;
|
||||
|
||||
from connectedlap
|
||||
select meta_owner, 'connectedlap' as meta_deviceType, meta_deviceId, meta_timestamp as meta_time, cpuusage
|
||||
insert into cpuusage;
|
||||
|
||||
from connectedlap
|
||||
select meta_owner, 'connectedlap' as meta_deviceType, meta_deviceId, meta_timestamp as meta_time, networktraffic
|
||||
insert into networktraffic;
|
||||
|
||||
from connectedlap
|
||||
select meta_owner, 'connectedlap' as meta_deviceType, meta_deviceId, meta_timestamp as meta_time, memoryusage
|
||||
insert into memoryusage;
|
||||
|
||||
from connectedlap
|
||||
select meta_owner, 'connectedlap' as meta_deviceType, meta_deviceId, meta_timestamp as meta_time, harddiskusage
|
||||
insert into harddiskusage;
|
||||
@ -1,23 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
~ Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||
~
|
||||
~ WSO2 Inc. licenses this file to you under the Apache License,
|
||||
~ Version 2.EventExecution_ConnectedLap_1.EventPublisher_ConnectedLap_1.EventReceiver_ConnectedLap_1.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventReceiver_ConnectedLap_1.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventPublisher_ConnectedLap_1.EventReceiver_ConnectedLap_1.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventReceiver_ConnectedLap_1.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0 (the "License"); you may not use this file except
|
||||
~ in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing,
|
||||
~ software distributed under the License is distributed on an
|
||||
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
~ KIND, either express or implied. See the License for the
|
||||
~ specific language governing permissions and limitations
|
||||
~ under the License.
|
||||
-->
|
||||
|
||||
<artifact name="EventExecution_ConnectedLap" version="1.0.0" type="event/execution-plan" serverRole="DataAnalyticsServer">
|
||||
<file>EventExecution_ConnectedLap.siddhiql</file>
|
||||
</artifact>
|
||||
|
||||
@ -1,25 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
~ Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||
~
|
||||
~ WSO2 Inc. licenses this file to you under the Apache License,
|
||||
~ Version 2.EventExecution_ConnectedLap_1.EventPublisher_ConnectedLap_1.EventReceiver_ConnectedLap_1.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventReceiver_ConnectedLap_1.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventPublisher_ConnectedLap_1.EventReceiver_ConnectedLap_1.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventReceiver_ConnectedLap_1.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0 (the "License"); you may not use this file except
|
||||
~ in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing,
|
||||
~ software distributed under the License is distributed on an
|
||||
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
~ KIND, either express or implied. See the License for the
|
||||
~ specific language governing permissions and limitations
|
||||
~ under the License.
|
||||
-->
|
||||
|
||||
<eventPublisher name="EventPublisher_ConnectedLap" statistics="disable" trace="disable" xmlns="http://wso2.org/carbon/eventpublisher">
|
||||
<from streamName="org.wso2.iot.connectedlap" version="1.0.0"/>
|
||||
<mapping customMapping="disable" type="wso2event"/>
|
||||
<to eventAdapterType="secured-ui"/>
|
||||
</eventPublisher>
|
||||
|
||||
@ -1,22 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
~ Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||
~
|
||||
~ WSO2 Inc. licenses this file to you under the Apache License,
|
||||
~ Version 2.EventExecution_ConnectedLap_1.EventPublisher_ConnectedLap_1.EventReceiver_ConnectedLap_1.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventReceiver_ConnectedLap_1.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventPublisher_ConnectedLap_1.EventReceiver_ConnectedLap_1.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventReceiver_ConnectedLap_1.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0 (the "License"); you may not use this file except
|
||||
~ in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing,
|
||||
~ software distributed under the License is distributed on an
|
||||
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
~ KIND, either express or implied. See the License for the
|
||||
~ specific language governing permissions and limitations
|
||||
~ under the License.
|
||||
-->
|
||||
|
||||
<artifact name="EventPublisher_ConnectedLap" version="1.0.0" type="event/publisher" serverRole="DataAnalyticsServer">
|
||||
<file>EventPublisher_ConnectedLap.xml</file>
|
||||
</artifact>
|
||||
@ -1,43 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
~ Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||
~
|
||||
~ WSO2 Inc. licenses this file to you under the Apache License,
|
||||
~ Version 2.EventExecution_ConnectedLap_1.EventPublisher_ConnectedLap_1.EventReceiver_ConnectedLap_1.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventReceiver_ConnectedLap_1.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventPublisher_ConnectedLap_1.EventReceiver_ConnectedLap_1.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventReceiver_ConnectedLap_1.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0 (the "License"); you may not use this file except
|
||||
~ in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing,
|
||||
~ software distributed under the License is distributed on an
|
||||
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
~ KIND, either express or implied. See the License for the
|
||||
~ specific language governing permissions and limitations
|
||||
~ under the License.
|
||||
-->
|
||||
|
||||
<eventReceiver name="EventReceiver_ConnectedLap" statistics="disable" trace="disable" xmlns="http://wso2.org/carbon/eventreceiver">
|
||||
<!--from eventAdapterType="oauth-mqtt">
|
||||
<property name="topic">wso2/carbon.super/connectedlap/#</property>
|
||||
<property name="username">admin</property>
|
||||
<property name="contentValidationParams">device_id_json_path:event.metaData.deviceId,device_id_topic_hierarchy_index:3</property>
|
||||
<property name="contentValidation">default</property>
|
||||
<property name="dcrUrl">https://localhost:9443/dynamic-client-web/register</property>
|
||||
<property name="url">tcp://localhost:1883</property>
|
||||
<property name="cleanSession">true</property>
|
||||
</from-->
|
||||
<from eventAdapterType="oauth-mqtt">
|
||||
<property name="topic">carbon.super/connectedlap/#</property>
|
||||
<property name="username">admin</property>
|
||||
<property name="contentValidatorParams">device_id_json_path:event.metaData.deviceId,device_id_topic_hierarchy_index:2</property>
|
||||
<property name="contentValidator">org.wso2.carbon.device.mgt.iot.input.adapter.mqtt.util.MQTTContentValidator</property>
|
||||
<property name="contentTransformer">default</property>
|
||||
<property name="dcrUrl">https://localhost:${carbon.https.port}/dynamic-client-web/register</property>
|
||||
<property name="url">tcp://${mqtt.broker.host}:${mqtt.broker.port}</property>
|
||||
<property name="cleanSession">true</property>
|
||||
</from>
|
||||
<mapping customMapping="disable" type="json"/>
|
||||
<to streamName="org.wso2.iot.connectedlap" version="1.0.0"/>
|
||||
</eventReceiver>
|
||||
|
||||
@ -1,22 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
~ Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||
~
|
||||
~ WSO2 Inc. licenses this file to you under the Apache License,
|
||||
~ Version 2.EventExecution_ConnectedLap_1.EventPublisher_ConnectedLap_1.EventReceiver_ConnectedLap_1.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventReceiver_ConnectedLap_1.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventPublisher_ConnectedLap_1.EventReceiver_ConnectedLap_1.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventReceiver_ConnectedLap_1.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0 (the "License"); you may not use this file except
|
||||
~ in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing,
|
||||
~ software distributed under the License is distributed on an
|
||||
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
~ KIND, either express or implied. See the License for the
|
||||
~ specific language governing permissions and limitations
|
||||
~ under the License.
|
||||
-->
|
||||
|
||||
<artifact name="EventReceiver_ConnectedLap" version="1.0.0" type="event/receiver" serverRole="DataAnalyticsServer">
|
||||
<file>EventReceiver_ConnectedLap.xml</file>
|
||||
</artifact>
|
||||
@ -1,23 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
~ Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||
~
|
||||
~ WSO2 Inc. licenses this file to you under the Apache License,
|
||||
~ Version 2.EventExecution_ConnectedLap_1.EventPublisher_ConnectedLap_1.EventReceiver_ConnectedLap_1.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventReceiver_ConnectedLap_1.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventPublisher_ConnectedLap_1.EventReceiver_ConnectedLap_1.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventReceiver_ConnectedLap_1.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0 (the "License"); you may not use this file except
|
||||
~ in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing,
|
||||
~ software distributed under the License is distributed on an
|
||||
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
~ KIND, either express or implied. See the License for the
|
||||
~ specific language governing permissions and limitations
|
||||
~ under the License.
|
||||
-->
|
||||
|
||||
<artifact name="EventStream_ConnectedLap" version="1.0.0" type="event/stream" serverRole="DataAnalyticsServer">
|
||||
<file>org.wso2.iot.connectedlap_1.0.0.json</file>
|
||||
</artifact>
|
||||
|
||||
@ -1,20 +0,0 @@
|
||||
{
|
||||
"name": "org.wso2.iot.connectedlap",
|
||||
"version": "1.0.0",
|
||||
"nickName": "connectedlap stream",
|
||||
"description": "This hold the device type stream of connectedlap",
|
||||
"metaData": [
|
||||
{"name": "owner", "type": "STRING"},
|
||||
{"name": "deviceId", "type": "STRING"},
|
||||
{"name": "type", "type": "STRING"},
|
||||
{"name": "timestamp", "type": "LONG"}
|
||||
],
|
||||
"payloadData": [
|
||||
{"name": "batteryusage", "type": "FLOAT"},
|
||||
{"name": "chargerpluggedin", "type": "FLOAT"},
|
||||
{"name": "cpuusage", "type": "FLOAT"},
|
||||
{"name": "networktraffic", "type": "FLOAT"},
|
||||
{"name": "memoryusage", "type": "FLOAT"},
|
||||
{"name": "harddiskusage", "type": "FLOAT"}
|
||||
]
|
||||
}
|
||||
@ -1,119 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<!--
|
||||
~ Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||
~
|
||||
~ WSO2 Inc. licenses this file to you under the Apache License,
|
||||
~ Version 2.0 (the "License"); you may not use this file except
|
||||
~ in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing,
|
||||
~ software distributed under the License is distributed on an
|
||||
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
~ KIND, either express or implied. See the License for the
|
||||
~ specific language governing permissions and limitations
|
||||
~ under the License.
|
||||
-->
|
||||
|
||||
<Analytics>
|
||||
<Name>Connected_Lap_Script</Name>
|
||||
<Script>
|
||||
CREATE TEMPORARY TABLE DeviceBatteryusageData USING CarbonAnalytics OPTIONS(tableName
|
||||
"ORG_WSO2_IOT_DEVICES_BATTERY_USAGE");
|
||||
|
||||
CREATE TEMPORARY TABLE DeviceBatteryusageSummaryData USING CarbonAnalytics OPTIONS (tableName
|
||||
"DEVICE_BATTERY_USAGE_SUMMARY", schema "batteryusage FLOAT, deviceType STRING -i, deviceId STRING -i, owner
|
||||
STRING -i,
|
||||
time LONG -i",primaryKeys "deviceType, deviceId, owner, time");
|
||||
|
||||
insert into table DeviceBatteryusageSummaryData select batteryusage, meta_deviceType as deviceType,
|
||||
meta_deviceId as deviceId, meta_owner as owner, cast(meta_time/1000 as BIGINT)as time from
|
||||
DeviceBatteryusageData group by batteryusage, meta_deviceType, meta_deviceId, meta_owner, cast(meta_time/1000 as
|
||||
BIGINT);
|
||||
|
||||
|
||||
|
||||
|
||||
CREATE TEMPORARY TABLE DeviceChargerpluggedinData USING CarbonAnalytics OPTIONS(tableName
|
||||
"ORG_WSO2_IOT_DEVICES_CHARGER_PLUGGED_IN");
|
||||
|
||||
CREATE TEMPORARY TABLE DeviceChargerpluggedinSummaryData USING CarbonAnalytics OPTIONS (tableName
|
||||
"DEVICE_CHARGER_PLUGGED_IN_SUMMARY", schema "chargerpluggedin FLOAT, deviceType STRING -i, deviceId STRING -i, owner
|
||||
STRING -i,
|
||||
time LONG -i",primaryKeys "deviceType, deviceId, owner, time");
|
||||
|
||||
insert into table DeviceChargerpluggedinSummaryData select chargerpluggedin, meta_deviceType as deviceType,
|
||||
meta_deviceId as deviceId, meta_owner as owner, cast(meta_time/1000 as BIGINT)as time from
|
||||
DeviceChargerpluggedinData group by chargerpluggedin, meta_deviceType, meta_deviceId, meta_owner, cast(meta_time/1000 as
|
||||
BIGINT);
|
||||
|
||||
|
||||
|
||||
|
||||
CREATE TEMPORARY TABLE DeviceCpuusageData USING CarbonAnalytics OPTIONS(tableName
|
||||
"ORG_WSO2_IOT_DEVICES_CPU_USAGE");
|
||||
|
||||
CREATE TEMPORARY TABLE DeviceCpuusageSummaryData USING CarbonAnalytics OPTIONS (tableName
|
||||
"DEVICE_CPU_USAGE_SUMMARY", schema "cpuusage FLOAT, deviceType STRING -i, deviceId STRING -i, owner
|
||||
STRING -i,
|
||||
time LONG -i",primaryKeys "deviceType, deviceId, owner, time");
|
||||
|
||||
insert into table DeviceCpuusageSummaryData select cpuusage, meta_deviceType as deviceType,
|
||||
meta_deviceId as deviceId, meta_owner as owner, cast(meta_time/1000 as BIGINT)as time from
|
||||
DeviceCpuusageData group by cpuusage, meta_deviceType, meta_deviceId, meta_owner, cast(meta_time/1000 as
|
||||
BIGINT);
|
||||
|
||||
|
||||
|
||||
|
||||
CREATE TEMPORARY TABLE DeviceNetworktrafficData USING CarbonAnalytics OPTIONS(tableName
|
||||
"ORG_WSO2_IOT_DEVICES_NETWORK_TRAFFIC");
|
||||
|
||||
CREATE TEMPORARY TABLE DeviceNetworktrafficSummaryData USING CarbonAnalytics OPTIONS (tableName
|
||||
"DEVICE_NETWORK_TRAFFIC_SUMMARY", schema "networktraffic FLOAT, deviceType STRING -i, deviceId STRING -i, owner
|
||||
STRING -i,
|
||||
time LONG -i",primaryKeys "deviceType, deviceId, owner, time");
|
||||
|
||||
insert into table DeviceNetworktrafficSummaryData select networktraffic, meta_deviceType as deviceType,
|
||||
meta_deviceId as deviceId, meta_owner as owner, cast(meta_time/1000 as BIGINT)as time from
|
||||
DeviceNetworktrafficData group by networktraffic, meta_deviceType, meta_deviceId, meta_owner, cast(meta_time/1000 as
|
||||
BIGINT);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
CREATE TEMPORARY TABLE DeviceMemoryusageData USING CarbonAnalytics OPTIONS(tableName
|
||||
"ORG_WSO2_IOT_DEVICES_MEMORY_USAGE");
|
||||
|
||||
CREATE TEMPORARY TABLE DeviceMemoryusageSummaryData USING CarbonAnalytics OPTIONS (tableName
|
||||
"DEVICE_MEMORY_USAGE_SUMMARY", schema "memoryusage FLOAT, deviceType STRING -i, deviceId STRING -i, owner
|
||||
STRING -i,
|
||||
time LONG -i",primaryKeys "deviceType, deviceId, owner, time");
|
||||
|
||||
insert into table DeviceMemoryusageSummaryData select memoryusage, meta_deviceType as deviceType,
|
||||
meta_deviceId as deviceId, meta_owner as owner, cast(meta_time/1000 as BIGINT)as time from
|
||||
DeviceMemoryusageData group by memoryusage, meta_deviceType, meta_deviceId, meta_owner, cast(meta_time/1000 as
|
||||
BIGINT);
|
||||
|
||||
|
||||
|
||||
CREATE TEMPORARY TABLE DeviceHarddiskusageData USING CarbonAnalytics OPTIONS(tableName
|
||||
"ORG_WSO2_IOT_DEVICES_HARD_DISK_USAGE");
|
||||
|
||||
CREATE TEMPORARY TABLE DeviceHarddiskusageSummaryData USING CarbonAnalytics OPTIONS (tableName
|
||||
"DEVICE_HARD_DISK_USAGE_SUMMARY", schema "harddiskusage FLOAT, deviceType STRING -i, deviceId STRING -i, owner
|
||||
STRING -i,
|
||||
time LONG -i",primaryKeys "deviceType, deviceId, owner, time");
|
||||
|
||||
insert into table DeviceHarddiskusageSummaryData select harddiskusage, meta_deviceType as deviceType,
|
||||
meta_deviceId as deviceId, meta_owner as owner, cast(meta_time/1000 as BIGINT)as time from
|
||||
DeviceHarddiskusageData group by harddiskusage, meta_deviceType, meta_deviceId, meta_owner, cast(meta_time/1000 as
|
||||
BIGINT);
|
||||
|
||||
|
||||
</Script>
|
||||
<CronExpression>0 * * * * ?</CronExpression>
|
||||
</Analytics>
|
||||
@ -1,22 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
~ Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||
~
|
||||
~ WSO2 Inc. licenses this file to you under the Apache License,
|
||||
~ Version 2.0 (the "License"); you may not use this file except
|
||||
~ in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing,
|
||||
~ software distributed under the License is distributed on an
|
||||
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
~ KIND, either express or implied. See the License for the
|
||||
~ specific language governing permissions and limitations
|
||||
~ under the License.
|
||||
-->
|
||||
|
||||
<artifact name="Sparkscripts" version="1.0.0" type="analytics/spark" serverRole="DataAnalyticsServer">
|
||||
<file>Connected_Lap_Script.xml</file>
|
||||
</artifact>
|
||||
@ -1,28 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
~ Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||
~
|
||||
~ WSO2 Inc. licenses this file to you under the Apache License,
|
||||
~ Version 2.EventExecution_ConnectedLap_1.EventPublisher_ConnectedLap_1.EventReceiver_ConnectedLap_1.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventReceiver_ConnectedLap_1.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventPublisher_ConnectedLap_1.EventReceiver_ConnectedLap_1.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventReceiver_ConnectedLap_1.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0 (the "License"); you may not use this file except
|
||||
~ in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing,
|
||||
~ software distributed under the License is distributed on an
|
||||
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
~ KIND, either express or implied. See the License for the
|
||||
~ specific language governing permissions and limitations
|
||||
~ under the License.
|
||||
-->
|
||||
|
||||
<artifacts>
|
||||
<artifact name="ConnectedLap_CAPP" version="1.0.0" type="carbon/application">
|
||||
<dependency artifact="EventExecution_ConnectedLap" version="1.0.0" include="true" serverRole="DataAnalyticsServer"/>
|
||||
<dependency artifact="EventStream_ConnectedLap" version="1.0.0" include="true" serverRole="DataAnalyticsServer"/>
|
||||
<dependency artifact="EventReceiver_ConnectedLap" version="1.0.0" include="true" serverRole="DataAnalyticsServer"/>
|
||||
<dependency artifact="EventPublisher_ConnectedLap" version="1.0.0" include="true" serverRole="DataAnalyticsServer"/>
|
||||
<dependency artifact="Sparkscripts" version="1.0.0" include="true" serverRole="DataAnalyticsServer"/>
|
||||
</artifact>
|
||||
</artifacts>
|
||||
@ -1,23 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
~ Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||
~
|
||||
~ WSO2 Inc. licenses this file to you under the Apache License,
|
||||
~ Version 2.EventExecution_ConnectedLap_1.EventPublisher_ConnectedLap_1.EventReceiver_ConnectedLap_1.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventReceiver_ConnectedLap_1.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventPublisher_ConnectedLap_1.EventReceiver_ConnectedLap_1.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventReceiver_ConnectedLap_1.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_1.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_CpuUsage_1.EventStream_ConnectedLap_MemoryUsage_1.0.0.EventStream_ConnectedLap_MemoryUsage_1.0.0 (the "License"); you may not use this file except
|
||||
~ in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing,
|
||||
~ software distributed under the License is distributed on an
|
||||
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
~ KIND, either express or implied. See the License for the
|
||||
~ specific language governing permissions and limitations
|
||||
~ under the License.
|
||||
-->
|
||||
|
||||
<artifact name="EventStream_ConnectedLap_BatteryUsage" version="1.0.0" type="event/stream" serverRole="DataAnalyticsServer">
|
||||
<file>org.wso2.iot.devices.battery.usage_1.0.0.json</file>
|
||||
</artifact>
|
||||
|
||||