Removing the outdated modules directory.

This commit is contained in:
sinthuja 2017-03-21 20:41:31 +05:30
parent 8a1bb5bb16
commit db861e6876
1571 changed files with 0 additions and 679382 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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

View File

@ -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;

View File

@ -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;
}

View File

@ -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"
}
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 204 KiB

View File

@ -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 = {
'<': '&lt;',
'>': '&gt;',
'&': '&amp;',
'"': '&quot;',
"'": '&apos;'
};
return s.replace(/[<>&"']/g, function (ch) {
return XML_CHAR_MAP[ch];
});
};
%>

View File

@ -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.");
}
}
%>

View File

@ -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">&times;</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>

View File

@ -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");
}

View File

@ -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)]);

View File

@ -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')]);

File diff suppressed because it is too large Load Diff

View File

@ -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
}));

File diff suppressed because it is too large Load Diff

View File

@ -1,12 +0,0 @@
<processor>
<!-- Remove current datsources config -->
<remove>
<name>//datasources-configuration/datasources</name>
</remove>
<!-- Add modified Carbon db and UM db config -->
<add>
<inside>//datasources-configuration</inside>
<file>ds_config.xml</file>
</add>
</processor>

View File

@ -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>

View File

@ -1,33 +0,0 @@
<processor>
<!-- Add input event adapter config element -->
<add>
<after>inputEventAdaptersConfig/adapterConfig[@type="jms"]</after>
<value><![CDATA[<adapterConfig type="oauth-http">
<property key="minThread">8</property>
<property key="maxThread">100</property>
<property key="keepAliveTimeInMillis">20000</property>
<property key="jobQueueSize">10000</property>
<property key="maximumHttpConnectionPerHost">2</property>
<property key="maximumTotalHttpConnection">100</property>
<property key="tokenValidationUrl">https://${iot.keymanager.host}:${iot.keymanager.https.port}</property>
<property key="username">admin</property>
<property key="password">admin</property>
<property key="tokenUrl">https://${iot.gateway.host}:${iot.gateway.https.port}/token</property>
<property key="deviceMgtServerUrl">https://${iot.gateway.host}:${iot.gateway.https.port}</property>
<property key="tokenRefreshTimeOffset">100</property>
</adapterConfig>
<adapterConfig type="oauth-mqtt">
<!-- Thread Pool Related Properties -->
<property key="minThread">8</property>
<property key="maxThread">100</property>
<property key="keepAliveTimeInMillis">20000</property>
<property key="jobQueueSize">10000</property>
<property key="connectionKeepAliveInterval">60</property>
<property key="dcrUrl">https://${iot.keymanager.host}:${iot.keymanager.https.port}/client-registration/v0.11/register</property>
<property key="url">tcp://${mqtt.broker.host}:${mqtt.broker.port}</property>
<property key="username">admin</property>
<property key="password">admin</property>
</adapterConfig>]]></value>
</add>
</processor>

View File

@ -1,41 +0,0 @@
<processor>
<!-- Add outpu event adapter config element -->
<add>
<after>/outputEventAdaptersConfig/adapterConfig[@type="websocket"]</after>
<value><![CDATA[<adapterConfig type="oauth-mqtt">
<!-- Thread Pool Related Properties -->
<property key="minThread">8</property>
<property key="maxThread">100</property>
<property key="keepAliveTimeInMillis">20000</property>
<property key="jobQueueSize">10000</property>
<property key="connectionKeepAliveInterval">60</property>
<property key="dcrUrl">https://${iot.keymanager.host}:${iot.keymanager.https.port}/client-registration/v0.11/register</property>
<property key="tokenUrl">https://${iot.gateway.host}:${iot.gateway.https.port}/token</property>
<property key="url">tcp://${mqtt.broker.host}:${mqtt.broker.port}</property>
<property key="username">admin</property>
<property key="password">admin</property>
</adapterConfig>
<adapterConfig type="secured-websocket">
<!-- Thread Pool Related Properties -->
<property key="minThread">8</property>
<property key="maxThread">100</property>
<property key="keepAliveTimeInMillis">20000</property>
<property key="jobQueueSize">10000</property>
<!--Authorizer holds the information of the authorizer that is used authorize a connection.-->
<property key="authenticator">org.wso2.carbon.device.mgt.output.adapter.websocket.authentication.OAuthAuthenticator</property>
<property key="tokenValidationUrl">https://${iot.keymanager.host}:${iot.keymanager.https.port}</property>
<property key="maximumHttpConnectionPerHost">2</property>
<property key="maximumTotalHttpConnection">100</property>
<property key="authorizer">org.wso2.carbon.device.mgt.output.adapter.websocket.authorization.DeviceAuthorizer</property>
<property key="tokenUrl">https://${iot.gateway.host}:${iot.gateway.https.port}/token</property>
<property key="deviceMgtServerUrl">https://${iot.gateway.host}:${iot.gateway.https.port}</property>
<property key="username">admin</property>
<property key="password">admin</property>
<!--websocket connection permissions which are validated for grouping (can have multiple permission.)-->
<property key="statsPermission">/permission/admin/device-mgt/realtime_analytics</property>
<!--offset time from expiry time to trigger refresh call (in seconds)-->
<property key="tokenRefreshTimeOffset">100</property>
</adapterConfig>]]></value>
</add>
</processor>

View File

@ -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="&lt;Property name=&quot;GetAllRolesOfUserEnabled&quot;&gt;true&lt;/Property&gt;" value="&lt;!--Property name=&quot;GetAllRolesOfUserEnabled&quot;&gt;true&lt;/Property--&gt;" />
<!-- 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="&lt;parent-menu&gt;identity_menu&lt;/parent-menu&gt;" value="&lt;parent-menu&gt;configure_menu&lt;/parent-menu&gt;" />
<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="&lt;parent-menu&gt;identity_menu&lt;/parent-menu&gt;" value="&lt;parent-menu&gt;configure_menu&lt;/parent-menu&gt;" />
<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="&lt;parent-menu&gt;manage_menu&lt;/parent-menu&gt;" value="&lt;parent-menu&gt;configure_menu&lt;/parent-menu&gt;" />
<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>

View File

@ -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>

View File

@ -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>

View File

@ -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

View File

@ -1,37 +0,0 @@
echo Loading spark environment variables
SET CARBON_SPARK_HOME=%CARBON_HOME%
SET _SPARK_ASSEMBLY=%CARBON_SPARK_HOME%\repository\components\plugins\spark-core_2.10_*.wso2*.jar
SET SPARK_SCALA_VERSION=2.10
if not exist %CARBON_SPARK_HOME%\lib_managed\jars mkdir %CARBON_SPARK_HOME%\lib_managed\jars
rem *** creating spark classpath is now handled in the code itself. check DAS-105
rem java -cp %CARBON_SPARK_HOME%\repository\components\plugins\* org.wso2.carbon.analytics.spark.utils.ComputeClasspath %CARBON_HOME% > sparkClasspath.tmp
rem setlocal EnableDelayedExpansion
rem set SPARK_CLASSPATH=
rem for /f "delims=" %%x in (sparkClasspath.tmp) do (
rem set currentline=%%x
rem set SPARK_CLASSPATH=!SPARK_CLASSPATH!!currentline!
rem )
rem del sparkClasspath.tmp
rem *** this approach is not working, because the input string exceeds 8191 characters!
rem set SPARK_CLASSPATH="
rem for /R %%a in (java -cp %CARBON_SPARK_HOME%\repository\components\plugins\* org.wso2.carbon.analytics.spark.utils.ComputeClasspath %CARBON_HOME%) do (
rem set SPARK_CLASSPATH=!SPARK_CLASSPATH!;%%a
rem )
rem set SPARK_CLASSPATH=!SPARK_CLASSPATH!"
rem IF "%SPARK_CLASSPATH%"=="" echo WARN: SPARK_CLASSPATH is empty^^!
rem set SPARK_CLASSPATH="
rem for /R %CARBON_SPARK_HOME%\repository\components\lib %%a in (*.jar) do (
rem set SPARK_CLASSPATH=!SPARK_CLASSPATH!;%%a
rem )
rem set SPARK_CLASSPATH=!SPARK_CLASSPATH!"
endlocal

View File

@ -1,11 +0,0 @@
#!/bin/sh
#
echo 'Loading spark environment variables '
export CARBON_SPARK_HOME=$CARBON_HOME
export _SPARK_ASSEMBLY=$CARBON_SPARK_HOME/repository/components/plugins/spark-core_2.10_*.wso2*.jar
export SPARK_SCALA_VERSION=2.10
# *** jars will be added to the spark classpath in the code itself. check DAS-105
# export SPARK_CLASSPATH=`java -cp $CARBON_SPARK_HOME/repository/components/plugins/org.wso2.carbon.analytics.spark.utils*.jar org.wso2.carbon.analytics.spark.utils.ComputeClasspath $CARBON_HOME`
# export SPARK_CLASSPATH=$SPARK_CLASSPATH:$(echo $CARBON_SPARK_HOME/repository/components/lib/*.jar | tr ' ' ':')
mkdir -p $CARBON_SPARK_HOME/lib_managed/jars

View File

@ -1,213 +0,0 @@
@echo off
REM ---------------------------------------------------------------------------
REM Copyright 2005-2009 WSO2, Inc. http://www.wso2.org
REM
REM Licensed under the Apache License, Version 2.0 (the "License");
REM you may not use this file except in compliance with the License.
REM You may obtain a copy of the License at
REM
REM http://www.apache.org/licenses/LICENSE-2.0
REM
REM Unless required by applicable law or agreed to in writing, software
REM distributed under the License is distributed on an "AS IS" BASIS,
REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
REM See the License for the specific language governing permissions and
REM limitations under the License.
rem ---------------------------------------------------------------------------
rem Main Script for WSO2 Carbon
rem
rem Environment Variable Prequisites
rem
rem CARBON_HOME Home of CARBON installation. If not set I will try
rem to figure it out.
rem
rem JAVA_HOME Must point at your Java Development Kit installation.
rem
rem JAVA_OPTS (Optional) Java runtime options used when the commands
rem is executed.
rem ---------------------------------------------------------------------------
rem --------- NOTE: This is an edited wso2server.sh script to facilitate
rem spark environment variables for WSO2DAS!
rem ----- if JAVA_HOME is not set we're not happy ------------------------------
:checkJava
if "%JAVA_HOME%" == "" goto noJavaHome
if not exist "%JAVA_HOME%\bin\java.exe" goto noJavaHome
goto checkServer
:noJavaHome
echo "You must set the JAVA_HOME variable before running CARBON."
goto end
rem ----- Only set CARBON_HOME if not already set ----------------------------
:checkServer
rem %~sdp0 is expanded pathname of the current script under NT with spaces in the path removed
if "%CARBON_HOME%"=="" set CARBON_HOME=%~sdp0..
SET curDrive=%cd:~0,1%
SET wsasDrive=%CARBON_HOME:~0,1%
if not "%curDrive%" == "%wsasDrive%" %wsasDrive%:
rem find CARBON_HOME if it does not exist due to either an invalid value passed
rem by the user or the %0 problem on Windows 9x
if not exist "%CARBON_HOME%\bin\version.txt" goto noServerHome
set AXIS2_HOME=%CARBON_HOME%
goto updateClasspath
:noServerHome
echo CARBON_HOME is set incorrectly or CARBON could not be located. Please set CARBON_HOME.
goto end
rem ----- update classpath -----------------------------------------------------
:updateClasspath
setlocal EnableDelayedExpansion
cd %CARBON_HOME%
set CARBON_CLASSPATH=
FOR %%C in ("%CARBON_HOME%\bin\*.jar") DO set CARBON_CLASSPATH=!CARBON_CLASSPATH!;".\bin\%%~nC%%~xC"
set CARBON_CLASSPATH="%JAVA_HOME%\lib\tools.jar";%CARBON_CLASSPATH%;
FOR %%D in ("%CARBON_HOME%\lib\commons-lang*.jar") DO set CARBON_CLASSPATH=!CARBON_CLASSPATH!;".\lib\%%~nD%%~xD"
rem ----- Process the input command -------------------------------------------
rem Slurp the command line arguments. This loop allows for an unlimited number
rem of arguments (the length is limited by the maximum length allowed by the command line).
rem -------- determine node type ----------------------------------------------
:selectNodeType
if ""%1""=="""" goto findJdk
if ""%1""==""-receiverNode"" goto receiverNodeConfig
if ""%1""==""-indexerNode"" goto indexerNodeConfig
if ""%1""==""-analyzerNode"" goto analyzerNodeConfig
if ""%1""==""-dashboardNode"" goto dashboardNodeConfig
shift
goto selectNodeType
:setupArgs
if ""%1""=="""" goto doneStart
if ""%1""==""-run"" goto commandLifecycle
if ""%1""==""--run"" goto commandLifecycle
if ""%1""==""run"" goto commandLifecycle
if ""%1""==""-restart"" goto commandLifecycle
if ""%1""==""--restart"" goto commandLifecycle
if ""%1""==""restart"" goto commandLifecycle
if ""%1""==""debug"" goto commandDebug
if ""%1""==""-debug"" goto commandDebug
if ""%1""==""--debug"" goto commandDebug
if ""%1""==""version"" goto commandVersion
if ""%1""==""-version"" goto commandVersion
if ""%1""==""--version"" goto commandVersion
shift
goto setupArgs
rem ----- receiver node configuration ------------------------------------------
:receiverNodeConfig
set NODE_PARAMS=-DdisableAnalyticsEngine=true -DdisableAnalyticsExecution=true -DdisableIndexing=true -DdisableDataPurging=false -DdisableAnalyticsSparkCtx=true -DdisableAnalyticsStats=true
goto setupArgs
rem ----- Indexer node configuration ------------------------------------------
:indexerNodeConfig
set NODE_PARAMS=-DdisableAnalyticsExecution=true -DdisableAnalyticsEngine=true -DdisableEventSink=true -DdisableAnalyticsSparkCtx=true -DdisableAnalyticsStats=true -DdisableDataPurging=true
goto setupArgs
rem ----- Analyzer node configuration ------------------------------------------
:analyzerNodeConfig
set NODE_PARAMS=-DdisableIndexing=true -DdisableEventSink=true -DdisableDataPurging=true -DenableAnalyticsStats=true
goto setupArgs
rem ----- Dashboard node configuration ------------------------------------------
:dashboardNodeConfig
set NODE_PARAMS=-DdisableIndexing=true -DdisableEventSink=true -DdisableDataPurging=true -DenableAnalyticsStats=true -DdisableAnalyticsExecution=true -DdisableAnalyticsEngine=true -DdisableAnalyticsSparkCtx=true
goto setupArgs
rem ----- commandVersion -------------------------------------------------------
:commandVersion
shift
type "%CARBON_HOME%\bin\version.txt"
type "%CARBON_HOME%\bin\wso2carbon-version.txt"
goto end
rem ----- commandDebug ---------------------------------------------------------
:commandDebug
shift
set DEBUG_PORT=%1
if "%DEBUG_PORT%"=="" goto noDebugPort
if not "%JAVA_OPTS%"=="" echo Warning !!!. User specified JAVA_OPTS will be ignored, once you give the --debug option.
set JAVA_OPTS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=%DEBUG_PORT%
echo Please start the remote debugging client to continue...
goto findJdk
:noDebugPort
echo Please specify the debug port after the --debug option
goto end
rem ----- commandLifecycle -----------------------------------------------------
:commandLifecycle
goto findJdk
:doneStart
if "%OS%"=="Windows_NT" @setlocal
if "%OS%"=="WINNT" @setlocal
rem ---------- Handle the SSL Issue with proper JDK version --------------------
rem find the version of the jdk
:findJdk
set CMD=RUN %* %NODE_PARAMS%
:checkJdk17
"%JAVA_HOME%\bin\java" -version 2>&1 | findstr /r "1.[7|8]" >NUL
IF ERRORLEVEL 1 goto unknownJdk
goto jdk17
:unknownJdk
echo Starting WSO2 Carbon (in unsupported JDK)
echo [ERROR] CARBON is supported only on JDK 1.7 and 1.8
goto jdk17
:jdk17
goto runServer
rem ----------------- Execute The Requested Command ----------------------------
:runServer
cd %CARBON_HOME%
rem ------------------ Remove tmp folder on startup -----------------------------
set TMP_DIR=%CARBON_HOME%\tmp
rmdir "%TMP_DIR%" /s /q
rem ---------- Add jars to classpath ----------------
set CARBON_CLASSPATH=.\lib;%CARBON_CLASSPATH%
set JAVA_ENDORSED=".\lib\endorsed";"%JAVA_HOME%\jre\lib\endorsed";"%JAVA_HOME%\lib\endorsed"
set CMD_LINE_ARGS=-Xbootclasspath/a:%CARBON_XBOOTCLASSPATH% -Xms256m -Xmx1024m -XX:MaxPermSize=256m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath="%CARBON_HOME%\repository\logs\heap-dump.hprof" -Dcom.sun.management.jmxremote -classpath %CARBON_CLASSPATH% %JAVA_OPTS% -Djava.endorsed.dirs=%JAVA_ENDORSED% -Dcarbon.registry.root=/ -Dcarbon.home="%CARBON_HOME%" -Dlogger.server.name="IoT-Analytics" -Dwso2.server.standalone=true -Djava.command="%JAVA_HOME%\bin\java" -Djava.opts="%JAVA_OPTS%" -Djava.io.tmpdir="%CARBON_HOME%\tmp" -Dcatalina.base="%CARBON_HOME%\lib\tomcat" -Dwso2.carbon.xml=%CARBON_HOME%\repository\conf\carbon.xml -Dwso2.registry.xml="%CARBON_HOME%\repository\conf\registry.xml" -Dwso2.user.mgt.xml="%CARBON_HOME%\repository\conf\user-mgt.xml" -Dwso2.transports.xml="%CARBON_HOME%\repository\conf\mgt-transports.xml" -Djava.util.logging.config.file="%CARBON_HOME%\repository\conf\etc\logging-bridge.properties" -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Dcarbon.config.dir.path="%CARBON_HOME%\repository\conf" -Dcomponents.repo="%CARBON_HOME%\repository\components" -Dconf.location="%CARBON_HOME%\repository\conf" -Dcom.atomikos.icatch.file="%CARBON_HOME%\lib\transactions.properties" -Dcom.atomikos.icatch.hide_init_file_path="true" -Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Dcom.sun.jndi.ldap.connect.pool.authentication=simple -Dmqtt.broker.host="localhost" -Dmqtt.broker.port="1886" -Diot.keymanager.host="localhost" -Diot.keymanager.https.port="9443" -Diot.gateway.host="localhost" -Diot.gateway.https.port="8243" -Dcom.sun.jndi.ldap.connect.pool.timeout=3000 -Dorg.terracotta.quartz.skipUpdateCheck=true -Dcarbon.classpath=%CARBON_CLASSPATH% -Dfile.encoding=UTF8
:runJava
echo JAVA_HOME environment variable is set to %JAVA_HOME%
echo CARBON_HOME environment variable is set to %CARBON_HOME%
rem ----------- loading spark specific variables
call %CARBON_HOME%\bin\load-spark-env-vars.bat
"%JAVA_HOME%\bin\java" %CMD_LINE_ARGS% org.wso2.carbon.bootstrap.Bootstrap %CMD%
if "%ERRORLEVEL%"=="121" goto runJava
:end
goto endlocal
:endlocal
:END

View File

@ -1,334 +0,0 @@
#!/bin/sh
# ----------------------------------------------------------------------------
# Copyright 2005-2012 WSO2, Inc. http://www.wso2.org
#
# Licensed 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.
# ----------------------------------------------------------------------------
# Main Script for the WSO2 Carbon Server
#
# Environment Variable Prequisites
#
# CARBON_HOME Home of WSO2 Carbon installation. If not set I will try
# to figure it out.
#
# JAVA_HOME Must point at your Java Development Kit installation.
#
# JAVA_OPTS (Optional) Java runtime options used when the commands
# is executed.
#
# NOTE: Borrowed generously from Apache Tomcat startup scripts.
# -----------------------------------------------------------------------------
# OS specific support. $var _must_ be set to either true or false.
#ulimit -n 100000
# NOTE: This is an edited wso2server.sh script to facilitate spark environment variables for WSO2DAS
cygwin=false;
darwin=false;
os400=false;
mingw=false;
case "`uname`" in
CYGWIN*) cygwin=true;;
MINGW*) mingw=true;;
OS400*) os400=true;;
Darwin*) darwin=true
if [ -z "$JAVA_VERSION" ] ; then
JAVA_VERSION="CurrentJDK"
else
echo "Using Java version: $JAVA_VERSION"
fi
if [ -z "$JAVA_HOME" ] ; then
JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/${JAVA_VERSION}/Home
fi
;;
esac
# resolve links - $0 may be a softlink
PRG="$0"
while [ -h "$PRG" ]; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '.*/.*' > /dev/null; then
PRG="$link"
else
PRG=`dirname "$PRG"`/"$link"
fi
done
# Get standard environment variables
PRGDIR=`dirname "$PRG"`
# Only set CARBON_HOME if not already set
[ -z "$CARBON_HOME" ] && CARBON_HOME=`cd "$PRGDIR/.." ; pwd`
# Set AXIS2_HOME. Needed for One Click JAR Download
AXIS2_HOME=$CARBON_HOME
# For Cygwin, ensure paths are in UNIX format before anything is touched
if $cygwin; then
[ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
[ -n "$CARBON_HOME" ] && CARBON_HOME=`cygpath --unix "$CARBON_HOME"`
[ -n "$AXIS2_HOME" ] && CARBON_HOME=`cygpath --unix "$CARBON_HOME"`
fi
# For OS400
if $os400; then
# Set job priority to standard for interactive (interactive - 6) by using
# the interactive priority - 6, the helper threads that respond to requests
# will be running at the same priority as interactive jobs.
COMMAND='chgjob job('$JOBNAME') runpty(6)'
system $COMMAND
# Enable multi threading
QIBM_MULTI_THREADED=Y
export QIBM_MULTI_THREADED
fi
# For Migwn, ensure paths are in UNIX format before anything is touched
if $mingw ; then
[ -n "$CARBON_HOME" ] &&
CARBON_HOME="`(cd "$CARBON_HOME"; pwd)`"
[ -n "$JAVA_HOME" ] &&
JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`"
[ -n "$AXIS2_HOME" ] &&
CARBON_HOME="`(cd "$CARBON_HOME"; pwd)`"
# TODO classpath?
fi
if [ -z "$JAVACMD" ] ; then
if [ -n "$JAVA_HOME" ] ; then
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
# IBM's JDK on AIX uses strange locations for the executables
JAVACMD="$JAVA_HOME/jre/sh/java"
else
JAVACMD="$JAVA_HOME/bin/java"
fi
else
JAVACMD=java
fi
fi
if [ ! -x "$JAVACMD" ] ; then
echo "Error: JAVA_HOME is not defined correctly."
echo " CARBON cannot execute $JAVACMD"
exit 1
fi
# if JAVA_HOME is not set we're not happy
if [ -z "$JAVA_HOME" ]; then
echo "You must set the JAVA_HOME variable before running CARBON."
exit 1
fi
if [ -e "$CARBON_HOME/wso2carbon.pid" ]; then
PID=`cat "$CARBON_HOME"/wso2carbon.pid`
fi
# ----- Process the input command ----------------------------------------------
args=""
NODE_PARAMS=""
for c in $*
do
if [ "$c" = "-receiverNode" ]; then
NODE_PARAMS="-DdisableAnalyticsEngine=true -DdisableAnalyticsExecution=true -DdisableIndexing=true -DdisableDataPurging=false -DdisableAnalyticsSparkCtx=true -DdisableAnalyticsStats=true"
echo "Starting Data Analytics Server node as a Receiver Node"
elif [ "$c" = "-indexerNode" ]; then
NODE_PARAMS="-DdisableAnalyticsExecution=true -DdisableAnalyticsEngine=true -DdisableEventSink=true -DdisableAnalyticsSparkCtx=true -DdisableAnalyticsStats=true -DdisableDataPurging=true"
echo "Starting Data Analytics Server node as an Indexer Node"
elif [ "$c" = "-analyzerNode" ]; then
NODE_PARAMS="-DdisableIndexing=true -DdisableEventSink=true -DdisableDataPurging=true -DenableAnalyticsStats=true"
echo "Starting Data Analytics Server node as an Analyzer Node"
elif [ "$c" = "-dashboardNode" ]; then
NODE_PARAMS="-DdisableIndexing=true -DdisableEventSink=true -DdisableDataPurging=true -DenableAnalyticsStats=true -DdisableAnalyticsExecution=true -DdisableAnalyticsEngine=true -DdisableAnalyticsSparkCtx=true "
echo "Starting Data Analytics Server node as an Analyzer Node"
elif [ "$c" = "--debug" ] || [ "$c" = "-debug" ] || [ "$c" = "debug" ]; then
CMD="--debug"
continue
elif [ "$CMD" = "--debug" ]; then
if [ -z "$PORT" ]; then
PORT=$c
fi
elif [ "$c" = "--stop" ] || [ "$c" = "-stop" ] || [ "$c" = "stop" ]; then
CMD="stop"
elif [ "$c" = "--start" ] || [ "$c" = "-start" ] || [ "$c" = "start" ]; then
CMD="start"
elif [ "$c" = "--version" ] || [ "$c" = "-version" ] || [ "$c" = "version" ]; then
CMD="version"
elif [ "$c" = "--restart" ] || [ "$c" = "-restart" ] || [ "$c" = "restart" ]; then
CMD="restart"
elif [ "$c" = "--test" ] || [ "$c" = "-test" ] || [ "$c" = "test" ]; then
CMD="test"
else
args="$args $c"
fi
done
if [ "$CMD" = "--debug" ]; then
if [ "$PORT" = "" ]; then
echo " Please specify the debug port after the --debug option"
exit 1
fi
if [ -n "$JAVA_OPTS" ]; then
echo "Warning !!!. User specified JAVA_OPTS will be ignored, once you give the --debug option."
fi
CMD="RUN"
JAVA_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=$PORT"
echo "Please start the remote debugging client to continue..."
elif [ "$CMD" = "start" ]; then
if [ -e "$CARBON_HOME/wso2carbon.pid" ]; then
if ps -p $PID > /dev/null ; then
echo "Process is already running"
exit 0
fi
fi
export CARBON_HOME=$CARBON_HOME
# using nohup sh to avoid erros in solaris OS.TODO
nohup sh $CARBON_HOME/bin/wso2server.sh $args $NODE_PARAMS > /dev/null 2>&1 &
exit 0
elif [ "$CMD" = "stop" ]; then
export CARBON_HOME=$CARBON_HOME
kill -term `cat $CARBON_HOME/wso2carbon.pid`
exit 0
elif [ "$CMD" = "restart" ]; then
export CARBON_HOME=$CARBON_HOME
kill -term `cat $CARBON_HOME/wso2carbon.pid`
process_status=0
pid=`cat $CARBON_HOME/wso2carbon.pid`
while [ "$process_status" -eq "0" ]
do
sleep 1;
ps -p$pid 2>&1 > /dev/null
process_status=$?
done
# using nohup sh to avoid erros in solaris OS.TODO
nohup sh $CARBON_HOME/bin/wso2server.sh $args $NODE_PARAMS > /dev/null 2>&1 &
exit 0
elif [ "$CMD" = "test" ]; then
JAVACMD="exec "$JAVACMD""
elif [ "$CMD" = "version" ]; then
cat $CARBON_HOME/bin/version.txt
cat $CARBON_HOME/bin/wso2carbon-version.txt
exit 0
fi
# ---------- Handle the SSL Issue with proper JDK version --------------------
jdk_17=`$JAVA_HOME/bin/java -version 2>&1 | grep "1.[7|8]"`
if [ "$jdk_17" = "" ]; then
echo " Starting WSO2 Carbon (in unsupported JDK)"
echo " [ERROR] CARBON is supported only on JDK 1.7 and 1.8"
fi
CARBON_XBOOTCLASSPATH=""
for f in "$CARBON_HOME"/lib/xboot/*.jar
do
if [ "$f" != "$CARBON_HOME/lib/xboot/*.jar" ];then
CARBON_XBOOTCLASSPATH="$CARBON_XBOOTCLASSPATH":$f
fi
done
JAVA_ENDORSED_DIRS="$CARBON_HOME/lib/endorsed":"$JAVA_HOME/jre/lib/endorsed":"$JAVA_HOME/lib/endorsed"
CARBON_CLASSPATH=""
if [ -e "$JAVA_HOME/lib/tools.jar" ]; then
CARBON_CLASSPATH="$JAVA_HOME/lib/tools.jar"
fi
for f in "$CARBON_HOME"/bin/*.jar
do
if [ "$f" != "$CARBON_HOME/bin/*.jar" ];then
CARBON_CLASSPATH="$CARBON_CLASSPATH":$f
fi
done
for t in "$CARBON_HOME"/lib/commons-lang*.jar
do
CARBON_CLASSPATH="$CARBON_CLASSPATH":$t
done
# For Cygwin, switch paths to Windows format before running java
if $cygwin; then
JAVA_HOME=`cygpath --absolute --windows "$JAVA_HOME"`
CARBON_HOME=`cygpath --absolute --windows "$CARBON_HOME"`
AXIS2_HOME=`cygpath --absolute --windows "$CARBON_HOME"`
CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
JAVA_ENDORSED_DIRS=`cygpath --path --windows "$JAVA_ENDORSED_DIRS"`
CARBON_CLASSPATH=`cygpath --path --windows "$CARBON_CLASSPATH"`
CARBON_XBOOTCLASSPATH=`cygpath --path --windows "$CARBON_XBOOTCLASSPATH"`
fi
# ----- Execute The Requested Command -----------------------------------------
echo JAVA_HOME environment variable is set to $JAVA_HOME
echo CARBON_HOME environment variable is set to $CARBON_HOME
cd "$CARBON_HOME"
TMP_DIR=$CARBON_HOME/tmp
if [ -d "$TMP_DIR" ]; then
rm -rf "$TMP_DIR"
fi
START_EXIT_STATUS=121
status=$START_EXIT_STATUS
#load spark environment variables
. $CARBON_HOME/bin/load-spark-env-vars.sh
#To monitor a Carbon server in remote JMX mode on linux host machines, set the below system property.
# -Djava.rmi.server.hostname="your.IP.goes.here"
while [ "$status" = "$START_EXIT_STATUS" ]
do
$JAVACMD \
-Xbootclasspath/a:"$CARBON_XBOOTCLASSPATH" \
-Xms256m -Xmx1024m -XX:MaxPermSize=256m \
-XX:+HeapDumpOnOutOfMemoryError \
-XX:HeapDumpPath="$CARBON_HOME/repository/logs/heap-dump.hprof" \
$JAVA_OPTS \
-Dcom.sun.management.jmxremote \
-classpath "$CARBON_CLASSPATH" \
-Djava.endorsed.dirs="$JAVA_ENDORSED_DIRS" \
-Djava.io.tmpdir="$CARBON_HOME/tmp" \
-Dcatalina.base="$CARBON_HOME/lib/tomcat" \
-Dwso2.server.standalone=true \
-Dcarbon.registry.root=/ \
-Djava.command="$JAVACMD" \
-Dcarbon.home="$CARBON_HOME" \
-Dlogger.server.name="IoT-Analytics" \
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager \
-Dcarbon.config.dir.path="$CARBON_HOME/repository/conf" \
-Djava.util.logging.config.file="$CARBON_HOME/repository/conf/etc/logging-bridge.properties" \
-Dcomponents.repo="$CARBON_HOME/repository/components/plugins" \
-Dconf.location="$CARBON_HOME/repository/conf"\
-Dcom.atomikos.icatch.file="$CARBON_HOME/lib/transactions.properties" \
-Dcom.atomikos.icatch.hide_init_file_path=true \
-Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false \
-Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true \
-Dcom.sun.jndi.ldap.connect.pool.authentication=simple \
-Dcom.sun.jndi.ldap.connect.pool.timeout=3000 \
-Dorg.terracotta.quartz.skipUpdateCheck=true \
-Djava.security.egd=file:/dev/./urandom \
-Dfile.encoding=UTF8 \
-Djava.net.preferIPv4Stack=true \
-Dcom.ibm.cacheLocalHost=true \
-Dmqtt.broker.host="localhost" \
-Dmqtt.broker.port="1886" \
-Diot.keymanager.host="localhost" \
-Diot.keymanager.https.port="9443" \
-Diot.gateway.host="localhost" \
-Diot.gateway.https.port="8243" \
$NODE_PARAMS \
org.wso2.carbon.bootstrap.Bootstrap $*
status=$?
done

View File

@ -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

View File

@ -1,38 +0,0 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ 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.
-->
<udf-configuration>
<custom-udf-classes>
<class-name>org.wso2.carbon.analytics.spark.core.udf.defaults.StringConcatenator</class-name>
<class-name>org.wso2.carbon.analytics.spark.core.udf.defaults.TimestampUDF</class-name>
<class-name>org.wso2.carbon.analytics.spark.core.udf.defaults.TimeNowUDF</class-name>
<class-name>org.wso2.carbon.analytics.spark.core.udf.facets.FacetUDF</class-name>
<class-name>org.wso2.carbon.analytics.shared.common.udf.DateTimeUDF</class-name>
</custom-udf-classes>
<custom-udaf-classes>
<custom-udaf>
<alias>geometricMean</alias>
<class-name>org.wso2.carbon.analytics.spark.core.udaf.defaults.GeometricMeanUDAF</class-name>
</custom-udaf>
<custom-udaf>
<alias>harmonicMean</alias>
<class-name>org.wso2.carbon.analytics.spark.core.udaf.defaults.HarmonicMeanUDAF</class-name>
</custom-udaf>
</custom-udaf-classes>
</udf-configuration>

View File

@ -1,698 +0,0 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ 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.
-->
<!--
This is the main server configuration file
${carbon.home} represents the carbon.home system property.
Other system properties can be specified in a similar manner.
-->
<Server xmlns="http://wso2.org/projects/carbon/carbon.xml">
<!--
Product Name
-->
<Name>${product.name}</Name>
<!--
machine readable unique key to identify each product
-->
<ServerKey>${product.key}</ServerKey>
<!--
Product Version
-->
<Version>${product.version}</Version>
<!--
Host name or IP address of the machine hosting this server
e.g. www.wso2.org, 192.168.1.10
This is will become part of the End Point Reference of the
services deployed on this server instance.
-->
<!--HostName>www.wso2.org</HostName-->
<!--
Host name to be used for the Carbon management console
-->
<!--MgtHostName>mgt.wso2.org</MgtHostName-->
<!--
The URL of the back end server. This is where the admin services are hosted and
will be used by the clients in the front end server.
This is required only for the Front-end server. This is used when seperating BE server from FE server
-->
<ServerURL>local:/${carbon.context}/services/</ServerURL>
<!--
<ServerURL>https://${carbon.local.ip}:${carbon.management.port}${carbon.context}/services/</ServerURL>
-->
<!--
The URL of the index page. This is where the user will be redirected after signing in to the
carbon server.
-->
<!-- IndexPageURL>/carbon/admin/index.jsp</IndexPageURL-->
<!--
For cApp deployment, we have to identify the roles that can be acted by the current server.
The following property is used for that purpose. Any number of roles can be defined here.
Regular expressions can be used in the role.
Ex : <Role>.*</Role> means this server can act any role
-->
<ServerRoles>
<Role>${cep.server.role}</Role>
<Role>${das.server.role}</Role>
<Role>${geodashboard.role}</Role>
</ServerRoles>
<!-- uncommnet this line to subscribe to a bam instance automatically -->
<!--<BamServerURL>https://bamhost:bamport/services/</BamServerURL>-->
<!--
The fully qualified name of the server
-->
<Package>org.wso2.carbon</Package>
<!--
Webapp context root of WSO2 Carbon management console.
-->
<WebContextRoot>/</WebContextRoot>
<!--
Proxy context path is a useful parameter to add a proxy path when a Carbon server is fronted by reverse proxy. In addtion
to the proxy host and proxy port this parameter allows you add a path component to external URLs. e.g.
URL of the Carbon server -> https://10.100.1.1:9443/carbon
URL of the reverse proxy -> https://prod.abc.com/appserver/carbon
appserver - proxy context path. This specially required whenever you are generating URLs to displace in
Carbon UI components.
-->
<!--
<MgtProxyContextPath></MgtProxyContextPath>
<ProxyContextPath></ProxyContextPath>
-->
<!-- In-order to get the registry http Port from the back-end when the default http transport is not the same-->
<!--RegistryHttpPort>9763</RegistryHttpPort-->
<!--
Number of items to be displayed on a management console page. This is used at the
backend server for pagination of various items.
-->
<ItemsPerPage>15</ItemsPerPage>
<!-- The endpoint URL of the cloud instance management Web service -->
<!--<InstanceMgtWSEndpoint>https://ec2.amazonaws.com/</InstanceMgtWSEndpoint>-->
<!--
Ports used by this server
-->
<Ports>
<!-- Ports offset. This entry will set the value of the ports defined below to
the define value + Offset.
e.g. Offset=2 and HTTPS port=9443 will set the effective HTTPS port to 9445
-->
<Offset>2</Offset>
<!-- The JMX Ports -->
<JMX>
<!--The port RMI registry is exposed-->
<RMIRegistryPort>9999</RMIRegistryPort>
<!--The port RMI server should be exposed-->
<RMIServerPort>11111</RMIServerPort>
</JMX>
<!-- Embedded LDAP server specific ports -->
<EmbeddedLDAP>
<!-- Port which embedded LDAP server runs -->
<LDAPServerPort>10389</LDAPServerPort>
<!-- Port which KDC (Kerberos Key Distribution Center) server runs -->
<KDCServerPort>8000</KDCServerPort>
</EmbeddedLDAP>
<!--
Override datasources JNDIproviderPort defined in bps.xml and datasources.properties files
-->
<!--<JNDIProviderPort>2199</JNDIProviderPort>-->
<!--Override receive port of thrift based entitlement service.-->
<ThriftEntitlementReceivePort>10500</ThriftEntitlementReceivePort>
<!--
This is the proxy port of the worker cluster. These need to be configured in a scenario where
manager node is not exposed through the load balancer through which the workers are exposed
therefore doesn't have a proxy port.
<WorkerHttpProxyPort>80</WorkerHttpProxyPort>
<WorkerHttpsProxyPort>443</WorkerHttpsProxyPort>
-->
</Ports>
<!--
JNDI Configuration
-->
<JNDI>
<!--
The fully qualified name of the default initial context factory
-->
<DefaultInitialContextFactory>org.wso2.carbon.tomcat.jndi.CarbonJavaURLContextFactory</DefaultInitialContextFactory>
<!--
The restrictions that are done to various JNDI Contexts in a Multi-tenant environment
-->
<Restrictions>
<!--
Contexts that will be available only to the super-tenant
-->
<!-- <SuperTenantOnly>
<UrlContexts>
<UrlContext>
<Scheme>foo</Scheme>
</UrlContext>
<UrlContext>
<Scheme>bar</Scheme>
</UrlContext>
</UrlContexts>
</SuperTenantOnly> -->
<!--
Contexts that are common to all tenants
-->
<AllTenants>
<UrlContexts>
<UrlContext>
<Scheme>java</Scheme>
</UrlContext>
<!-- <UrlContext>
<Scheme>foo</Scheme>
</UrlContext> -->
</UrlContexts>
</AllTenants>
<!--
All other contexts not mentioned above will be available on a per-tenant basis
(i.e. will not be shared among tenants)
-->
</Restrictions>
</JNDI>
<!--
Property to determine if the server is running an a cloud deployment environment.
This property should only be used to determine deployment specific details that are
applicable only in a cloud deployment, i.e when the server deployed *-as-a-service.
-->
<IsCloudDeployment>false</IsCloudDeployment>
<!--
Property to determine whether usage data should be collected for metering purposes
-->
<EnableMetering>false</EnableMetering>
<!-- The Max time a thread should take for execution in seconds -->
<MaxThreadExecutionTime>600</MaxThreadExecutionTime>
<!--
A flag to enable or disable Ghost Deployer. By default this is set to false. That is
because the Ghost Deployer works only with the HTTP/S transports. If you are using
other transports, don't enable Ghost Deployer.
-->
<GhostDeployment>
<Enabled>false</Enabled>
</GhostDeployment>
<!--
Eager loading or lazy loading is a design pattern commonly used in computer programming which
will initialize an object upon creation or load on-demand. In carbon, lazy loading is used to
load tenant when a request is received only. Similarly Eager loading is used to enable load
existing tenants after carbon server starts up. Using this feature, you will be able to include
or exclude tenants which are to be loaded when server startup.
We can enable only one LoadingPolicy at a given time.
1. Tenant Lazy Loading
This is the default behaviour and enabled by default. With this policy, tenants are not loaded at
server startup, but loaded based on-demand (i.e when a request is received for a tenant).
The default tenant idle time is 30 minutes.
2. Tenant Eager Loading
This is by default not enabled. It can be be enabled by un-commenting the <EagerLoading> section.
The eager loading configurations supported are as below. These configurations can be given as the
value for <Include> element with eager loading.
(i)Load all tenants when server startup - *
(ii)Load all tenants except foo.com & bar.com - *,!foo.com,!bar.com
(iii)Load only foo.com & bar.com to be included - foo.com,bar.com
-->
<Tenant>
<LoadingPolicy>
<LazyLoading>
<IdleTime>153722867280912</IdleTime>
</LazyLoading>
<!-- <EagerLoading>
<Include>*,!foo.com,!bar.com</Include>
</EagerLoading>-->
</LoadingPolicy>
</Tenant>
<!--
Caching related configurations
-->
<Cache>
<!-- Default cache timeout in minutes -->
<DefaultCacheTimeout>15</DefaultCacheTimeout>
</Cache>
<!--
Axis2 related configurations
-->
<Axis2Config>
<!--
Location of the Axis2 Services & Modules repository
This can be a directory in the local file system, or a URL.
e.g.
1. /home/wso2wsas/repository/ - An absolute path
2. repository - In this case, the path is relative to CARBON_HOME
3. file:///home/wso2wsas/repository/
4. http://wso2wsas/repository/
-->
<RepositoryLocation>${carbon.home}/repository/deployment/server/</RepositoryLocation>
<!--
Deployment update interval in seconds. This is the interval between repository listener
executions.
-->
<DeploymentUpdateInterval>15</DeploymentUpdateInterval>
<!--
Location of the main Axis2 configuration descriptor file, a.k.a. axis2.xml file
This can be a file on the local file system, or a URL
e.g.
1. /home/repository/axis2.xml - An absolute path
2. conf/axis2.xml - In this case, the path is relative to CARBON_HOME
3. file:///home/carbon/repository/axis2.xml
4. http://repository/conf/axis2.xml
-->
<ConfigurationFile>${carbon.home}/repository/conf/axis2/axis2.xml</ConfigurationFile>
<!--
ServiceGroupContextIdleTime, which will be set in ConfigurationContex
for multiple clients which are going to access the same ServiceGroupContext
Default Value is 30 Sec.
-->
<ServiceGroupContextIdleTime>30000</ServiceGroupContextIdleTime>
<!--
This repository location is used to crete the client side configuration
context used by the server when calling admin services.
-->
<ClientRepositoryLocation>${carbon.home}/repository/deployment/client/</ClientRepositoryLocation>
<!-- This axis2 xml is used in createing the configuration context by the FE server
calling to BE server -->
<clientAxis2XmlLocation>${carbon.home}/repository/conf/axis2/axis2_client.xml</clientAxis2XmlLocation>
<!-- If this parameter is set, the ?wsdl on an admin service will not give the admin service wsdl. -->
<HideAdminServiceWSDLs>true</HideAdminServiceWSDLs>
<!--WARNING-Use With Care! Uncommenting bellow parameter would expose all AdminServices in HTTP transport.
With HTTP transport your credentials and data routed in public channels are vulnerable for sniffing attacks.
Use bellow parameter ONLY if your communication channels are confirmed to be secured by other means -->
<!--HttpAdminServices>*</HttpAdminServices-->
</Axis2Config>
<!--
The default user roles which will be created when the server
is started up for the first time.
-->
<ServiceUserRoles>
<Role>
<Name>admin</Name>
<Description>Default Administrator Role</Description>
</Role>
<Role>
<Name>user</Name>
<Description>Default User Role</Description>
</Role>
</ServiceUserRoles>
<!--
Enable following config to allow Emails as usernames.
-->
<!--EnableEmailUserName>true</EnableEmailUserName-->
<!--
Security configurations
-->
<Security>
<!--
KeyStore which will be used for encrypting/decrypting passwords
and other sensitive information.
-->
<KeyStore>
<!-- Keystore file location-->
<Location>${carbon.home}/repository/resources/security/wso2carbon.jks</Location>
<!-- Keystore type (JKS/PKCS12 etc.)-->
<Type>JKS</Type>
<!-- Keystore password-->
<Password>wso2carbon</Password>
<!-- Private Key alias-->
<KeyAlias>wso2carbon</KeyAlias>
<!-- Private Key password-->
<KeyPassword>wso2carbon</KeyPassword>
</KeyStore>
<!--
System wide trust-store which is used to maintain the certificates of all
the trusted parties.
-->
<TrustStore>
<!-- trust-store file location -->
<Location>${carbon.home}/repository/resources/security/client-truststore.jks</Location>
<!-- trust-store type (JKS/PKCS12 etc.) -->
<Type>JKS</Type>
<!-- trust-store password -->
<Password>wso2carbon</Password>
</TrustStore>
<!--
The Authenticator configuration to be used at the JVM level. We extend the
java.net.Authenticator to make it possible to authenticate to given servers and
proxies.
-->
<NetworkAuthenticatorConfig>
<!--
Below is a sample configuration for a single authenticator. Please note that
all child elements are mandatory. Not having some child elements would lead to
exceptions at runtime.
-->
<!-- <Credential> -->
<!--
the pattern that would match a subset of URLs for which this authenticator
would be used
-->
<!-- <Pattern>regularExpression</Pattern> -->
<!--
the type of this authenticator. Allowed values are:
1. server
2. proxy
-->
<!-- <Type>proxy</Type> -->
<!-- the username used to log in to server/proxy -->
<!-- <Username>username</Username> -->
<!-- the password used to log in to server/proxy -->
<!-- <Password>password</Password> -->
<!-- </Credential> -->
</NetworkAuthenticatorConfig>
<!--
The Tomcat realm to be used for hosted Web applications. Allowed values are;
1. UserManager
2. Memory
If this is set to 'UserManager', the realm will pick users & roles from the system's
WSO2 User Manager. If it is set to 'memory', the realm will pick users & roles from
CARBON_HOME/repository/conf/tomcat/tomcat-users.xml
-->
<TomcatRealm>UserManager</TomcatRealm>
<!--Option to disable storing of tokens issued by STS-->
<DisableTokenStore>false</DisableTokenStore>
<!--
Security token store class name. If this is not set, default class will be
org.wso2.carbon.security.util.SecurityTokenStore
-->
<!--TokenStoreClassName>org.wso2.carbon.identity.sts.store.DBTokenStore</TokenStoreClassName-->
<XSSPreventionConfig>
<Enabled>true</Enabled>
<Rule>allow</Rule>
<Patterns>
<!--Pattern></Pattern-->
</Patterns>
</XSSPreventionConfig>
<!-- Configurations to avoid Cross Site Request Forgery vulnerabilities -->
<CSRFPreventionConfig>
<!-- CSRFPreventionFilter configurations that adopts Synchronizer Token Pattern -->
<CSRFPreventionFilter>
<!-- Set below to true to enable the CSRFPreventionFilter -->
<Enabled>false</Enabled>
<!-- Url Pattern to skip application of CSRF protection-->
<SkipUrlPattern>(.*)(/images|/css|/js|/docs)(.*)</SkipUrlPattern>
</CSRFPreventionFilter>
</CSRFPreventionConfig>
<!-- Configuration to enable or disable CR and LF sanitization filter-->
<CRLFPreventionConfig>
<!--Set below to true to enable the CRLFPreventionFilter-->
<Enabled>true</Enabled>
</CRLFPreventionConfig>
</Security>
<!--
The temporary work directory
-->
<WorkDirectory>${carbon.home}/tmp/work</WorkDirectory>
<!--
House-keeping configuration
-->
<HouseKeeping>
<!--
true - Start House-keeping thread on server startup
false - Do not start House-keeping thread on server startup.
The user will run it manually as and when he wishes.
-->
<AutoStart>true</AutoStart>
<!--
The interval in *minutes*, between house-keeping runs
-->
<Interval>10</Interval>
<!--
The maximum time in *minutes*, temp files are allowed to live
in the system. Files/directories which were modified more than
"MaxTempFileLifetime" minutes ago will be removed by the
house-keeping task
-->
<MaxTempFileLifetime>30</MaxTempFileLifetime>
</HouseKeeping>
<!--
Configuration for handling different types of file upload & other file uploading related
config parameters.
To map all actions to a particular FileUploadExecutor, use
<Action>*</Action>
-->
<FileUploadConfig>
<!--
The total file upload size limit in MB
-->
<TotalFileSizeLimit>100</TotalFileSizeLimit>
<Mapping>
<Actions>
<Action>keystore</Action>
<Action>certificate</Action>
<Action>*</Action>
</Actions>
<Class>org.wso2.carbon.ui.transports.fileupload.AnyFileUploadExecutor</Class>
</Mapping>
<Mapping>
<Actions>
<Action>jarZip</Action>
</Actions>
<Class>org.wso2.carbon.ui.transports.fileupload.JarZipUploadExecutor</Class>
</Mapping>
<Mapping>
<Actions>
<Action>dbs</Action>
</Actions>
<Class>org.wso2.carbon.ui.transports.fileupload.DBSFileUploadExecutor</Class>
</Mapping>
<Mapping>
<Actions>
<Action>tools</Action>
</Actions>
<Class>org.wso2.carbon.ui.transports.fileupload.ToolsFileUploadExecutor</Class>
</Mapping>
<Mapping>
<Actions>
<Action>toolsAny</Action>
</Actions>
<Class>org.wso2.carbon.ui.transports.fileupload.ToolsAnyFileUploadExecutor</Class>
</Mapping>
</FileUploadConfig>
<!-- FileNameRegEx is used to validate the file input/upload/write-out names.
e.g.
<FileNameRegEx>^(?!(?:CON|PRN|AUX|NUL|COM[1-9]|LPT[1-9])(?:\.[^.])?$)[^&lt;&gt:"/\\|?*\x00-\x1F][^&lt;&gt:"/\\|?*\x00-\x1F\ .]$</FileNameRegEx>
-->
<!--<FileNameRegEx></FileNameRegEx>-->
<!--
Processors which process special HTTP GET requests such as ?wsdl, ?policy etc.
In order to plug in a processor to handle a special request, simply add an entry to this
section.
The value of the Item element is the first parameter in the query string(e.g. ?wsdl)
which needs special processing
The value of the Class element is a class which implements
org.wso2.carbon.transport.HttpGetRequestProcessor
-->
<HttpGetRequestProcessors>
<Processor>
<Item>info</Item>
<Class>org.wso2.carbon.core.transports.util.InfoProcessor</Class>
</Processor>
<Processor>
<Item>wsdl</Item>
<Class>org.wso2.carbon.core.transports.util.Wsdl11Processor</Class>
</Processor>
<Processor>
<Item>wsdl2</Item>
<Class>org.wso2.carbon.core.transports.util.Wsdl20Processor</Class>
</Processor>
<Processor>
<Item>xsd</Item>
<Class>org.wso2.carbon.core.transports.util.XsdProcessor</Class>
</Processor>
</HttpGetRequestProcessors>
<!-- Deployment Synchronizer Configuration. t Enabled value to true when running with "svn based" dep sync.
In master nodes you need to set both AutoCommit and AutoCheckout to true
and in worker nodes set only AutoCheckout to true.
-->
<DeploymentSynchronizer>
<Enabled>false</Enabled>
<AutoCommit>false</AutoCommit>
<AutoCheckout>true</AutoCheckout>
<RepositoryType>svn</RepositoryType>
<SvnUrl>http://svnrepo.example.com/repos/</SvnUrl>
<SvnUser>username</SvnUser>
<SvnPassword>password</SvnPassword>
<SvnUrlAppendTenantId>true</SvnUrlAppendTenantId>
</DeploymentSynchronizer>
<!-- Deployment Synchronizer Configuration. Uncomment the following section when running with "registry based" dep sync.
In master nodes you need to set both AutoCommit and AutoCheckout to true
and in worker nodes set only AutoCheckout to true.
-->
<!--<DeploymentSynchronizer>
<Enabled>true</Enabled>
<AutoCommit>false</AutoCommit>
<AutoCheckout>true</AutoCheckout>
</DeploymentSynchronizer>-->
<!-- Mediation persistence configurations. Only valid if mediation features are available i.e. ESB -->
<!--<MediationConfig>
<LoadFromRegistry>false</LoadFromRegistry>
<SaveToFile>false</SaveToFile>
<Persistence>enabled</Persistence>
<RegistryPersistence>enabled</RegistryPersistence>
</MediationConfig>-->
<!--
Server intializing code, specified as implementation classes of org.wso2.carbon.core.ServerInitializer.
This code will be run when the Carbon server is initialized
-->
<ServerInitializers>
<!--<Initializer></Initializer>-->
</ServerInitializers>
<!--
Indicates whether the Carbon Servlet is required by the system, and whether it should be
registered
-->
<RequireCarbonServlet>${require.carbon.servlet}</RequireCarbonServlet>
<!--
Carbon H2 OSGI Configuration
By default non of the servers start.
name="web" - Start the web server with the H2 Console
name="webPort" - The port (default: 8082)
name="webAllowOthers" - Allow other computers to connect
name="webSSL" - Use encrypted (HTTPS) connections
name="tcp" - Start the TCP server
name="tcpPort" - The port (default: 9092)
name="tcpAllowOthers" - Allow other computers to connect
name="tcpSSL" - Use encrypted (SSL) connections
name="pg" - Start the PG server
name="pgPort" - The port (default: 5435)
name="pgAllowOthers" - Allow other computers to connect
name="trace" - Print additional trace information; for all servers
name="baseDir" - The base directory for H2 databases; for all servers
-->
<!--H2DatabaseConfiguration>
<property name="web" />
<property name="webPort">8082</property>
<property name="webAllowOthers" />
<property name="webSSL" />
<property name="tcp" />
<property name="tcpPort">9092</property>
<property name="tcpAllowOthers" />
<property name="tcpSSL" />
<property name="pg" />
<property name="pgPort">5435</property>
<property name="pgAllowOthers" />
<property name="trace" />
<property name="baseDir">${carbon.home}</property>
</H2DatabaseConfiguration-->
<!--Disabling statistics reporter by default-->
<StatisticsReporterDisabled>true</StatisticsReporterDisabled>
<!-- Enable accessing Admin Console via HTTP -->
<!-- EnableHTTPAdminConsole>true</EnableHTTPAdminConsole -->
<!--
Default Feature Repository of WSO2 Carbon.
-->
<FeatureRepository>
<RepositoryName>default repository</RepositoryName>
<RepositoryURL>http://product-dist.wso2.com/p2/carbon/releases/wilkes/</RepositoryURL>
</FeatureRepository>
<!--
Configure API Management
-->
<APIManagement>
<!--Uses the embedded API Manager by default. If you want to use an external
API Manager instance to manage APIs, configure below externalAPIManager-->
<Enabled>true</Enabled>
<!--Uncomment and configure API Gateway and
Publisher URLs to use external API Manager instance-->
<!--ExternalAPIManager>
<APIGatewayURL>http://localhost:8281</APIGatewayURL>
<APIPublisherURL>http://localhost:8281/publisher</APIPublisherURL>
</ExternalAPIManager-->
<LoadAPIContextsInServerStartup>true</LoadAPIContextsInServerStartup>
</APIManagement>
</Server>

View File

@ -1,29 +0,0 @@
#
# Copyright (c) 2015, WSO2 Inc. (http://wso2.com) All Rights Reserved.
#
# Licensed 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.
#
# register some connection factories
# connectionfactory.[jndiname] = [ConnectionURL]
connectionfactory.TopicConnectionFactory = amqp://admin:admin@clientID/test?brokerlist='tcp://localhost:5672'
connectionfactory.QueueConnectionFactory = amqp://admin:admin@clientID/test?brokerlist='tcp://localhost:5672'
# register some queues in JNDI using the form
# queue.[jndiName] = [physicalName]
queue.MyQueue = example.MyQueue
# register some topics in JNDI using the form
# topic.[jndiName] = [physicalName]
topic.MyTopic = example.MyTopic

View File

@ -1,180 +0,0 @@
#
# Copyright 2009 WSO2, Inc. (http://wso2.com)
#
# Licensed 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.
#
#
# This is the log4j configuration file used by WSO2 Carbon
#
# IMPORTANT : Please do not remove or change the names of any
# of the Appenders defined here. The layout pattern & log file
# can be changed using the WSO2 Carbon Management Console, and those
# settings will override the settings in this file.
#
log4j.rootLogger=INFO, CARBON_CONSOLE, CARBON_LOGFILE, CARBON_MEMORY
log4j.logger.AUDIT_LOG=INFO, AUDIT_LOGFILE
log4j.logger.org.apache.axis2.wsdl.codegen.writer.PrettyPrinter=ERROR, CARBON_LOGFILE, CARBON_MEMORY
log4j.logger.org.apache.axis2.clustering=INFO, CARBON_CONSOLE, CARBON_LOGFILE
log4j.logger.org.apache=INFO, CARBON_LOGFILE, CARBON_MEMORY
log4j.logger.org.apache.catalina=WARN
log4j.logger.org.apache.tomcat=WARN
log4j.logger.org.wso2.carbon.apacheds=WARN
log4j.logger.org.apache.directory.server.ldap=WARN
log4j.logger.org.apache.directory.server.core.event=WARN
log4j.logger.com.atomikos=INFO,ATOMIKOS
log4j.logger.org.quartz=WARN
log4j.logger.org.apache.jackrabbit.webdav=WARN
log4j.logger.org.apache.juddi=ERROR
log4j.logger.org.apache.commons.digester.Digester=WARN
log4j.logger.org.apache.jasper.compiler.TldLocationsCache=WARN
log4j.logger.org.apache.qpid=WARN
log4j.logger.org.apache.qpid.server.Main=INFO
log4j.logger.qpid.message=WARN
log4j.logger.qpid.message.broker.listening=INFO
log4j.logger.org.apache.tiles=WARN
log4j.logger.org.apache.commons.httpclient=ERROR
log4j.logger.org.apache.coyote=WARN
log4j.logger.org.apache.solr=ERROR
log4j.logger.org.infinispan=WARN
log4j.logger.org.jgroups=ERROR
log4j.logger.me.prettyprint.cassandra.hector.TimingLogger=ERROR
log4j.logger.org.wso2=INFO
log4j.logger.org.apache.axis2.enterprise=FATAL, CARBON_LOGFILE, CARBON_MEMORY
log4j.logger.org.opensaml.xml=WARN, CARBON_LOGFILE, CARBON_MEMORY
log4j.logger.org.apache.directory.shared.ldap=WARN, CARBON_LOGFILE, CARBON_MEMORY
log4j.logger.org.apache.directory.server.ldap.handlers=WARN, CARBON_LOGFILE, CARBON_MEMORY
#Following are to remove false error messages from startup (IS)
log4j.logger.org.apache.directory.shared.ldap.entry.DefaultServerAttribute=FATAL, CARBON_LOGFILE, CARBON_MEMORY
log4j.logger.org.apache.directory.server.core.DefaultDirectoryService=ERROR, CARBON_LOGFILE, CARBON_MEMORY
log4j.logger.org.apache.directory.shared.ldap.ldif.LdifReader=ERROR, CARBON_LOGFILE, CARBON_MEMORY
log4j.logger.org.apache.directory.server.ldap.LdapProtocolHandler=ERROR, CARBON_LOGFILE, CARBON_MEMORY
log4j.logger.org.apache.directory.server.core=ERROR, CARBON_LOGFILE, CARBON_MEMORY
#Hive Related Log configurations
log4j.logger.DataNucleus=ERROR
log4j.logger.Datastore=ERROR
log4j.logger.Datastore.Schema=ERROR
log4j.logger.JPOX.Datastore=ERROR
log4j.logger.JPOX.Plugin=ERROR
log4j.logger.JPOX.MetaData=ERROR
log4j.logger.JPOX.Query=ERROR
log4j.logger.JPOX.General=ERROR
log4j.logger.JPOX.Enhancer=ERROR
log4j.logger.org.apache.hadoop.hive=WARN
log4j.logger.hive=WARN
log4j.logger.ExecMapper=WARN
log4j.logger.ExecReducer=WARN
log4j.logger.net.sf.ehcache.config.ConfigurationFactory=ERROR
log4j.logger.trace.messages=TRACE,CARBON_TRACE_LOGFILE
#spark log components
log4j.logger.org.apache.spark=WARN
log4j.logger.org.spark-project=WARN
log4j.logger.akka=WARN
log4j.logger.org.apache.spark.util.ClosureCleaner=ERROR
log4j.additivity.org.apache.axis2.clustering=false
log4j.additivity.com.atomikos=false
log4j.additivity.org.apache=false
# CARBON_CONSOLE is set to be a ConsoleAppender using a PatternLayout.
log4j.appender.CARBON_CONSOLE=org.wso2.carbon.utils.logging.appenders.CarbonConsoleAppender
log4j.appender.CARBON_CONSOLE.layout=org.wso2.carbon.utils.logging.TenantAwarePatternLayout
# ConversionPattern will be overridden by the configuration setting in the DB
log4j.appender.CARBON_CONSOLE.layout.ConversionPattern=[%d] [${logger.server.name}] %P%5p {%c} - %x %m%n
log4j.appender.CARBON_CONSOLE.layout.TenantPattern=%U%@%D[%T]
log4j.appender.CARBON_CONSOLE.threshold=DEBUG
# The memory appender for logging
log4j.appender.CARBON_MEMORY=org.wso2.carbon.logging.service.appender.CarbonMemoryAppender
log4j.appender.CARBON_MEMORY.bufferSize=2000
log4j.appender.CARBON_MEMORY.layout=org.wso2.carbon.utils.logging.TenantAwarePatternLayout
# ConversionPattern will be overridden by the configuration setting in the DB
log4j.appender.CARBON_MEMORY.layout.ConversionPattern=TID: [%T] [%S] [%d] %P%5p {%c} - %x %m {%c}%n
log4j.appender.CARBON_MEMORY.layout.TenantPattern=%U%@%D [%T] [%S]
log4j.appender.CARBON_MEMORY.columnList=%T,%S,%A,%d,%c,%p,%m,%H,%I,%Stacktrace
log4j.appender.CARBON_MEMORY.threshold=DEBUG
# CARBON_LOGFILE is set to be a DailyRollingFileAppender using a PatternLayout.
log4j.appender.CARBON_LOGFILE=org.wso2.carbon.utils.logging.appenders.CarbonDailyRollingFileAppender
# Log file will be overridden by the configuration setting in the DB
# This path should be relative to WSO2 Carbon Home
log4j.appender.CARBON_LOGFILE.File=${carbon.home}/repository/logs/${instance.log}/wso2carbon${instance.log}.log
log4j.appender.CARBON_LOGFILE.Append=true
log4j.appender.CARBON_LOGFILE.layout=org.wso2.carbon.utils.logging.TenantAwarePatternLayout
# ConversionPattern will be overridden by the configuration setting in the DB
log4j.appender.CARBON_LOGFILE.layout.ConversionPattern=TID: [%T] [%S] [%d] %P%5p {%c} - %x %m {%c}%n
log4j.appender.CARBON_LOGFILE.layout.TenantPattern=%U%@%D [%T] [%S]
log4j.appender.CARBON_LOGFILE.threshold=DEBUG
log4j.appender.CARBON_SYS_LOG = org.apache.log4j.net.SyslogAppender
log4j.appender.CARBON_SYS_LOG.layout=org.apache.log4j.PatternLayout
log4j.appender.CARBON_SYS_LOG.layout.ConversionPattern=[%d] %5p {%c} - %x %m {%c}%n
log4j.appender.CARBON_SYS_LOG.SyslogHost=localhost
log4j.appender.CARBON_SYS_LOG.Facility=USER
log4j.appender.CARBON_SYS_LOG.threshold=DEBUG
# Appender config to CARBON_TRACE_LOGFILE
log4j.appender.CARBON_TRACE_LOGFILE=org.apache.log4j.DailyRollingFileAppender
log4j.appender.CARBON_TRACE_LOGFILE.File=${carbon.home}/repository/logs/${instance.log}/wso2carbon-trace-messages${instance.log}.log
log4j.appender.CARBON_TRACE_LOGFILE.Append=true
log4j.appender.CARBON_TRACE_LOGFILE.layout=org.wso2.carbon.utils.logging.TenantAwarePatternLayout
log4j.appender.CARBON_TRACE_LOGFILE.layout.ConversionPattern=[%d] %P%5p {%c} - %x %m {%c}%n
log4j.appender.CARBON_TRACE_LOGFILE.layout.TenantPattern=%U%@%D [%T] [%S]
log4j.appender.CARBON_TRACE_LOGFILE.threshold=TRACE
log4j.additivity.trace.messages=false
# Appender config to AUDIT_LOGFILE
log4j.appender.AUDIT_LOGFILE=org.apache.log4j.DailyRollingFileAppender
log4j.appender.AUDIT_LOGFILE.File=${carbon.home}/repository/logs/audit.log
log4j.appender.AUDIT_LOGFILE.Append=true
log4j.appender.AUDIT_LOGFILE.layout=org.wso2.carbon.utils.logging.TenantAwarePatternLayout
log4j.appender.AUDIT_LOGFILE.layout.ConversionPattern=[%d] %P%5p - %x %m %n
log4j.appender.AUDIT_LOGFILE.layout.TenantPattern=%U%@%D [%T] [%S]
log4j.appender.AUDIT_LOGFILE.threshold=INFO
log4j.additivity.AUDIT_LOG=false
# Appender config to send Atomikos transaction logs to new log file tm.out.
log4j.appender.ATOMIKOS = org.apache.log4j.RollingFileAppender
log4j.appender.ATOMIKOS.File = repository/logs/tm.out
log4j.appender.ATOMIKOS.Append = true
log4j.appender.ATOMIKOS.layout = org.apache.log4j.PatternLayout
log4j.appender.ATOMIKOS.layout.ConversionPattern=%p %t %c - %m%n
# This file is used to override the default logger settings, and is used to remove unwanted logs from Shindig appearing on the console.
# Specification of Handler used by Console Logger
handlers=java.util.logging.ConsoleHandler
# Replacing default INFO level with SEVERE
java.util.logging.ConsoleHandler.level=SEVERE
# The event trace logger dumps enough information @INFO level, but maybe pushed upto TRACE.
# Writes only run-time/event processing time tracing/debug messages for event passing through trace
# enabled transport adapters event formatters, builders and processors. Enabling event tracing on these has a performance impact
log4j.category.EVENT_TRACE_LOGGER=INFO, EVENT_TRACE_APPENDER, EVENT_TRACE_MEMORYAPPENDER
log4j.additivity.EVENT_TRACE_LOGGER=false
log4j.appender.EVENT_TRACE_APPENDER=org.apache.log4j.DailyRollingFileAppender
log4j.appender.EVENT_TRACE_APPENDER.File=${carbon.home}/repository/logs/${instance.log}/wso2-das-trace${instance.log}.log
log4j.appender.EVENT_TRACE_APPENDER.Append=true
log4j.appender.EVENT_TRACE_APPENDER.layout=org.apache.log4j.PatternLayout
log4j.appender.EVENT_TRACE_APPENDER.layout.ConversionPattern=%d{HH:mm:ss,SSS} [%X{ip}-%X{host}] [%t] %5p %c{1} %m%n
# The memory appender for trace logger
log4j.appender.EVENT_TRACE_MEMORYAPPENDER=org.wso2.carbon.utils.logging.appenders.MemoryAppender
log4j.appender.EVENT_TRACE_MEMORYAPPENDER.bufferSize=2000
log4j.appender.EVENT_TRACE_MEMORYAPPENDER.layout=org.apache.log4j.PatternLayout
log4j.appender.EVENT_TRACE_MEMORYAPPENDER.layout.ConversionPattern=%d{HH:mm:ss,SSS} [%X{ip}-%X{host}] [%t] %5p %m%n

View File

@ -1,130 +0,0 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ 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.
-->
<wso2registry>
<!--
For details on configuring different config & governance registries see;
http://wso2.org/library/tutorials/2010/04/sharing-registry-space-across-multiple-product-instances
-->
<currentDBConfig>wso2registry</currentDBConfig>
<readOnly>false</readOnly>
<enableCache>true</enableCache>
<registryRoot>/</registryRoot>
<dbConfig name="wso2registry">
<dataSource>jdbc/WSO2CarbonDB</dataSource>
</dbConfig>
<!--<handler class="org.wso2.carbon.registry.extensions.handlers.SynapseRepositoryHandler">
<filter class="org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher">
<property name="mediaType">application/vnd.apache.synapse</property>
</filter>
</handler>
<handler class="org.wso2.carbon.registry.extensions.handlers.SynapseRepositoryHandler">
<filter class="org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher">
<property name="mediaType">application/vnd.apache.iots</property>
</filter>
</handler>
<handler class="org.wso2.carbon.registry.extensions.handlers.Axis2RepositoryHandler">
<filter class="org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher">
<property name="mediaType">application/vnd.apache.axis2</property>
</filter>
</handler>
<handler class="org.wso2.carbon.registry.extensions.handlers.Axis2RepositoryHandler">
<filter class="org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher">
<property name="mediaType">application/vnd.apache.wsas</property>
</filter>
</handler>
<handler class="org.wso2.carbon.registry.extensions.handlers.WSDLMediaTypeHandler">
<filter class="org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher">
<property name="mediaType">application/wsdl+xml</property>
</filter>
</handler>
<handler class="org.wso2.carbon.registry.extensions.handlers.XSDMediaTypeHandler">
<filter class="org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher">
<property name="mediaType">application/x-xsd+xml</property>
</filter>
</handler> -->
<!--remoteInstance url="https://localhost:9443/registry">
<id>instanceid</id>
<username>username</username>
<password>password</password>
</remoteInstance-->
<!--remoteInstance url="https://localhost:9443/registry">
<id>instanceid</id>
<dbConfig>wso2registry</dbConfig>
<readOnly>false</readOnly>
<enableCache>true</enableCache>
<registryRoot>/</registryRoot>
</remoteInstance-->
<!--mount path="/_system/config" overwrite="true|false|virtual">
<instanceId>instanceid</instanceId>
<targetPath>/_system/nodes</targetPath>
</mount-->
<indexingConfiguration>
<startingDelayInSeconds>35</startingDelayInSeconds>
<indexingFrequencyInSeconds>3</indexingFrequencyInSeconds>
<!--number of resources submit for given indexing thread -->
<batchSize>50</batchSize>
<!--number of worker threads for indexing -->
<indexerPoolSize>50</indexerPoolSize>
<!-- location storing the time the indexing took place-->
<lastAccessTimeLocation>/_system/local/repository/components/org.wso2.carbon.registry/indexing/lastaccesstime</lastAccessTimeLocation>
<!-- the indexers that implement the indexer interface for a relevant media type/(s) -->
<indexers>
<indexer class="org.wso2.carbon.registry.indexing.indexer.MSExcelIndexer" mediaTypeRegEx="application/vnd.ms-excel"/>
<indexer class="org.wso2.carbon.registry.indexing.indexer.MSPowerpointIndexer" mediaTypeRegEx="application/vnd.ms-powerpoint"/>
<indexer class="org.wso2.carbon.registry.indexing.indexer.MSWordIndexer" mediaTypeRegEx="application/msword"/>
<indexer class="org.wso2.carbon.registry.indexing.indexer.PDFIndexer" mediaTypeRegEx="application/pdf"/>
<indexer class="org.wso2.carbon.registry.indexing.indexer.XMLIndexer" mediaTypeRegEx="application/xml"/>
<indexer class="org.wso2.carbon.registry.indexing.indexer.XMLIndexer" mediaTypeRegEx="application/(.)+\+xml"/>
<indexer class="org.wso2.carbon.registry.indexing.indexer.PlainTextIndexer" mediaTypeRegEx="application/swagger\+json"/>
<indexer class="org.wso2.carbon.registry.indexing.indexer.PlainTextIndexer" mediaTypeRegEx="application/(.)+\+json"/>
<indexer class="org.wso2.carbon.registry.indexing.indexer.PlainTextIndexer" mediaTypeRegEx="text/(.)+"/>
<indexer class="org.wso2.carbon.registry.indexing.indexer.PlainTextIndexer" mediaTypeRegEx="application/x-javascript"/>
<indexer class="org.wso2.carbon.registry.indexing.indexer.PlainTextIndexer" mediaTypeRegEx="*"/>
</indexers>
<exclusions>
<exclusion pathRegEx="/_system/config/repository/dashboards/gadgets/swfobject1-5/.*[.]html"/>
<exclusion pathRegEx="/_system/local/repository/components/org[.]wso2[.]carbon[.]registry/mount/.*"/>
</exclusions>
</indexingConfiguration>
<versionResourcesOnChange>false</versionResourcesOnChange>
<!-- NOTE: You can edit the options under "StaticConfiguration" only before the
startup. -->
<staticConfiguration>
<versioningProperties>true</versioningProperties>
<versioningComments>true</versioningComments>
<versioningTags>true</versioningTags>
<versioningRatings>true</versioningRatings>
</staticConfiguration>
</wso2registry>

View File

@ -1,460 +0,0 @@
# The OWASP CSRFGuard Project, BSD License
# Eric Sheridan (eric@infraredsecurity.com), Copyright (c) 2011
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice,
# this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# 3. Neither the name of OWASP nor the names of its contributors may be used
# to endorse or promote products derived from this software without specific
# prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
# ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# From: https://github.com/esheri3/OWASP-CSRFGuard/blob/master/csrfguard-test/src/main/webapp/WEB-INF/csrfguard.properties
# Common substitutions
# %servletContext% is the servlet context (e.g. the configured app prefix or war file name, or blank.
# e.g. if you deploy a default warfile as someApp.war, then %servletContext% will be /someApp
# if there isnt a context it will be the empty string. So to use this in the configuration, use e.g. %servletContext%/something.html
# which will translate to e.g. /someApp/something.html
# Logger
#
# The logger property (org.owasp.csrfguard.Logger) defines the qualified class name of
# the object responsible for processing all log messages produced by CSRFGuard. The default
# CSRFGuard logger is org.owasp.csrfguard.log.ConsoleLogger. This class logs all messages
# to System.out which JavaEE application servers redirect to a vendor specific log file.
# Developers can customize the logging behavior of CSRFGuard by implementing the
# org.owasp.csrfguard.log.ILogger interface and setting the logger property to the new
# logger's qualified class name. The following configuration snippet instructs OWASP CSRFGuard
# to capture all log messages to the console:
#
# org.owasp.csrfguard.Logger=org.owasp.csrfguard.log.ConsoleLogger
org.owasp.csrfguard.Logger=org.owasp.csrfguard.log.JavaLogger
# Which configuration provider factory you want to use. The default is org.owasp.csrfguard.config.PropertiesConfigurationProviderFactory
# Another configuration provider has more features including config overlays: org.owasp.csrfguard.config.overlay.ConfigurationOverlayProviderFactory
# The default configuration provider is: org.owasp.csrfguard.config.overlay.ConfigurationAutodetectProviderFactory
# which will look for an overlay file, it is there, and the factory inside that file is set it will use it, otherwise will be PropertiesConfigurationProviderFactory
# it needs to implement org.owasp.csrfguard.config.ConfigurationProviderFactory
org.owasp.csrfguard.configuration.provider.factory = org.owasp.csrfguard.config.overlay.ConfigurationAutodetectProviderFactory
# If csrfguard filter is enabled
org.owasp.csrfguard.Enabled = true
# If csrf guard filter should check even if there is no session for the user
# Note: this changed around 2014/04, the default behavior used to be to
# not check if there is no session. If you want the legacy behavior (if your app
# is not susceptible to CSRF if the user has no session), set this to false
org.owasp.csrfguard.ValidateWhenNoSessionExists = true
# New Token Landing Page
#
# The new token landing page property (org.owasp.csrfguard.NewTokenLandingPage) defines where
# to send a user if the token is being generated for the first time, and the use new token landing
# page boolean property (org.owasp.csrfguard.UseNewTokenLandingPage) determines if any redirect happens.
# UseNewTokenLandingPage defaults to false if NewTokenLandingPage is not specified, and to true
# if it is specified.. If UseNewTokenLandingPage is set true then this request is generated
# using auto-posting forms and will only contain the CSRF prevention token parameter, if
# applicable. All query-string or form parameters sent with the original request will be
# discarded. If this property is not defined, CSRFGuard will instead auto-post the user to the
# original context and servlet path. The following configuration snippet instructs OWASP CSRFGuard to
# redirect the user to %servletContext%/index.html when the user visits a protected resource
# without having a corresponding CSRF token present in the HttpSession object:
#
# org.owasp.csrfguard.NewTokenLandingPage=%servletContext%/index.html
# Protected Methods
#
# The protected methods property (org.owasp.csrfguard.ProtectedMethods) defines a comma
# separated list of HTTP request methods that should be protected by CSRFGuard. The default
# list is an empty list which will cause all HTTP methods to be protected, thus preserving
# legacy behavior. This setting allows the user to inform CSRFGuard that only requests of the
# given types should be considered for protection. All HTTP methods not in the list will be
# considered safe (i.e. view only / unable to modify data). This should be used only when the
# user has concrete knowledge that all requests made via methods not in the list
# are safe (i.e. do not apply an action to any data) since it can actually introduce new
# security vulnerabilities. For example: the user thinks that all actionable requests are
# only available by POST requests when in fact some are available via GET requests. If the
# user has excluded GET requests from the list then they have introduced a vulnerability.
# The following configuration snippet instructs OWASP CSRFGuard to protect only the POST,
# PUT, and DELETE HTTP methods.
#
# org.owasp.csrfguard.ProtectedMethods=POST,PUT,DELETE
# or you can configure all to be protected, and specify which is unprotected. This is the preferred approach
# WSO2 : Since state-changing operations are not performed via HTTP GET,
# disabling CSRF validation for GET method.
org.owasp.csrfguard.UnprotectedMethods=GET
# Unique Per-Page Tokens
#
# The unique token per-page property (org.owasp.csrfguard.TokenPerPage) is a boolean value that
# determines if CSRFGuard should make use of unique per-page (i.e. URI) prevention tokens as
# opposed to unique per-session prevention tokens. When a user requests a protected resource,
# CSRFGuard will determine if a page specific token has been previously generated. If a page
# specific token has not yet been previously generated, CSRFGuard will verify the request was
# submitted with the per-session token intact. After verifying the presence of the per-session token,
# CSRFGuard will create a page specific token that is required for all subsequent requests to the
# associated resource. The per-session CSRF token can only be used when requesting a resource for
# the first time. All subsequent requests must have the per-page token intact or the request will
# be treated as a CSRF attack. This behavior can be changed with the org.owasp.csrfguard.TokenPerPagePrecreate
# property. Enabling this property will make CSRFGuard calculate the per page token prior to a first
# visit. This option only works with JSTL token injection and is useful for preserving the validity of
# links if the user pushes the back button. There may be a performance impact when enabling this option
# if the .jsp has a large number of proctected links that need tokens to be calculated.
# Use of the unique token per page property is currently experimental
# but provides a significant amount of improved security. Consider the exposure of a CSRF token using
# the legacy unique per-session model. Exposure of this token facilitates the attacker's ability to
# carry out a CSRF attack against the victim's active session for any resource exposed by the web
# application. Now consider the exposure of a CSRF token using the experimental unique token per-page
# model. Exposure of this token would only allow the attacker to carry out a CSRF attack against the
# victim's active session for a small subset of resources exposed by the web application. Use of the
# unique token per-page property is a strong defense in depth strategy significantly reducing the
# impact of exposed CSRF prevention tokens. The following configuration snippet instructs OWASP
# CSRFGuard to utilize the unique token per-page model:
#
# org.owasp.csrfguard.TokenPerPage=true
# org.owasp.csrfguard.TokenPerPagePrecreate=false
# WSO2 : Considering overhead, necessity, as well as current unintended behaviour
# of library after blocking a CSRF attack, disabling per-page tokens.
org.owasp.csrfguard.TokenPerPage=false
org.owasp.csrfguard.TokenPerPagePrecreate=false
# Token Rotation
#
# The rotate token property (org.owasp.csrfguard.Rotate) is a boolean value that determines if
# CSRFGuard should generate and utilize a new token after verifying the previous token. Rotation
# helps minimize the window of opportunity an attacker has to leverage the victim's stolen token
# in a targeted CSRF attack. However, this functionality generally causes navigation problems in
# most applications. Specifically, the 'Back' button in the browser will often cease to function
# properly. When a user hits the 'Back' button and interacts with the HTML, the browser may submit
# an old token causing CSRFGuard to incorrectly believe this request is a CSRF attack in progress
# (i.e. a 'false positive'). Users can prevent this scenario by preventing the caching of HTML pages
# containing FORM submissions using the cache-control header. However, this may also introduce
# performance problems as the browser will have to request HTML on a more frequent basis. The following
# configuration snippet enables token rotation:
#
# org.owasp.csrfguard.Rotate=true
# Ajax and XMLHttpRequest Support
#
# The Ajax property (org.owasp.csrfguard.Ajax) is a boolean value that indicates whether or not OWASP
# CSRFGuard should support the injection and verification of unique per-session prevention tokens for
# XMLHttpRequests. To leverage Ajax support, the user must not only set this property to true but must
# also reference the JavaScript DOM Manipulation code using a script element. This dynamic script will
# override the send method of the XMLHttpRequest object to ensure the submission of an X-Requested-With
# header name value pair coupled with the submission of a custom header name value pair for each request.
# The name of the custom header is the value of the token name property and the value of the header is
# always the unique per-session token value. This custom header is analogous to the HTTP parameter name
# value pairs submitted via traditional GET and POST requests. If the X-Requested-With header was sent
# in the HTTP request, then CSRFGuard will look for the presence and ensure the validity of the unique
# per-session token in the custom header name value pair. Note that verification of these headers takes
# precedence over verification of the CSRF token supplied as an HTTP parameter. More specifically,
# CSRFGuard does not verify the presence of the CSRF token if the Ajax support property is enabled and
# the corresponding X-Requested-With and custom headers are embedded within the request. The following
# configuration snippet instructs OWASP CSRFGuard to support Ajax requests by verifying the presence and
# correctness of the X-Requested-With and custom headers:
#
# org.owasp.csrfguard.Ajax=true
org.owasp.csrfguard.Ajax=true
# The default behavior of CSRFGuard is to protect all pages. Pages marked as unprotected will not be protected.
# If the Protect property is enabled, this behavior is reversed. Pages must be marked as protected to be protected.
# All other pages will not be protected. This is useful when the CsrfGuardFilter is aggressively mapped (ex: /*),
# but you only want to protect a few pages.
#
# org.owasp.csrfguard.Protect=true
# Unprotected Pages:
#
# The unprotected pages property (org.owasp.csrfguard.unprotected.*) defines a series of pages that
# should not be protected by CSRFGuard. Such configurations are useful when the CsrfGuardFilter is
# aggressively mapped (ex: /*). The syntax of the property name is org.owasp.csrfguard.unprotected.[PageName],
# where PageName is some arbitrary identifier that can be used to reference a resource. The syntax of
# defining the uri of unprotected pages is the same as the syntax used by the JavaEE container for uri mapping.
# Specifically, CSRFGuard will identify the first match (if any) between the requested uri and an unprotected
# page in order of declaration. Match criteria is as follows:
#
# Case 1: exact match between request uri and unprotected page
# Case 2: longest path prefix match, beginning / and ending /*
# Case 3: extension match, beginning *.
# Case 4: if the value starts with ^ and ends with $, it will be evaulated as a regex. Note that before the
# regex is compiled, any common variables will be substituted (e.g. %servletContext%)
# Default: requested resource must be validated by CSRFGuard
#
# The following code snippet illustrates the four use cases over four examples. The first two examples
# (Tag and JavaScriptServlet) look for direct URI matches. The third example (Html) looks for all resources
# ending in a .html extension. The next example (Public) looks for all resources prefixed with the URI path /MySite/Public/*.
# The last example looks for resources that end in Public.do
#
# org.owasp.csrfguard.unprotected.Tag=%servletContext%/tag.jsp
# org.owasp.csrfguard.unprotected.JavaScriptServlet=%servletContext%/JavaScriptServlet
# org.owasp.csrfguard.unprotected.Html=*.html
# org.owasp.csrfguard.unprotected.Public=%servletContext%/Public/*
# regex example starts with ^ and ends with $, and the %servletContext% is evaluated before the regex
# org.owasp.csrfguard.unprotected.PublicServlet=^%servletContext%/.*Public\.do$
#org.owasp.csrfguard.unprotected.Default=%servletContext%/
#org.owasp.csrfguard.unprotected.Upload=%servletContext%/upload.html
#org.owasp.csrfguard.unprotected.JavaScriptServlet=%servletContext%/JavaScriptServlet
#org.owasp.csrfguard.unprotected.Ajax=%servletContext%/ajax.html
#org.owasp.csrfguard.unprotected.Error=%servletContext%/error.html
#org.owasp.csrfguard.unprotected.Index=%servletContext%/index.html
#org.owasp.csrfguard.unprotected.JavaScript=%servletContext%/javascript.html
#org.owasp.csrfguard.unprotected.Tag=%servletContext%/tag.jsp
#org.owasp.csrfguard.unprotected.Redirect=%servletContext%/redirect.jsp
#org.owasp.csrfguard.unprotected.Forward=%servletContext%/forward.jsp
#org.owasp.csrfguard.unprotected.Session=%servletContext%/session.jsp
# Actions: Responding to Attacks
#
# The actions directive (org.owasp.csrfguard.action.*) gives the user the ability to specify one or more
# actions that should be invoked when a CSRF attack is detected. Every action must implement the
# org.owasp.csrfguard.action.IAction interface either directly or indirectly through the
# org.owasp.csrfguard.action.AbstractAction helper class. Many actions accept parameters that can be specified
# along with the action class declaration. These parameters are consumed at runtime and impact the behavior of
# the associated action.
#
# The syntax for defining and configuring CSRFGuard actions is relatively straight forward. Let us assume we wish
# to redirect the user to a default page when a CSRF attack is detected. A redirect action already exists within
# the CSRFGuard bundle and is available via the class name org.owasp.csrfguard.actions.Redirect. In order to enable
# this action, we capture the following declaration in the Owasp.CsrfGuard.properties file:
#
# syntax: org.owasp.csrfguard.action.[actionName]=[className]
# example: org.owasp.csrfguard.action.class.Redirect=org.owasp.csrfguard.actions.Redirect
#
# The aforementioned directive declares an action called "Redirect" (i.e. [actionName]) referencing the Java class
# "org.owasp.csrfguard.actions.Redirect" (i.e. [className]). Anytime a CSRF attack is detected, the Redirect action
# will be executed. You may be asking yourself, "but how do I specify where the user is redirected?"; this is where
# action parameters come into play. In order to specify the redirect location, we capture the following declaration
# in the Owasp.CsrfGuard.properties file:
#
# syntax: org.owasp.csrfguard.action.[actionName].[parameterName]=[parameterValue]
# example: org.owasp.csrfguard.action.Redirect.ErrorPage=%servletContext%/error.html
#
# The aforementioned directive declares an action parameter called "ErrorPage" (i.e. [parameterName]) with the value
# of "%servletContext%/error.html" (i.e. [parameterValue]) for the action "Redirect" (i.e. [actionName]). The
# Redirect action expects the "ErrorPage" parameter to be defined and will redirect the user to this location when
# an attack is detected.
#
#org.owasp.csrfguard.action.Empty=org.owasp.csrfguard.action.Empty
org.owasp.csrfguard.action.Log=org.owasp.csrfguard.action.Log
org.owasp.csrfguard.action.Log.Message=potential cross-site request forgery (CSRF) attack thwarted (user:%user%, ip:%remote_ip%, method:%request_method%, uri:%request_uri%, error:%exception_message%)
#org.owasp.csrfguard.action.Invalidate=org.owasp.csrfguard.action.Invalidate
# WSO2 : Disable redirecting user to an error page after blocking a CSRF attack
#org.owasp.csrfguard.action.Redirect=org.owasp.csrfguard.action.Redirect
#org.owasp.csrfguard.action.Redirect.Page=%servletContext%/error.html
#org.owasp.csrfguard.action.RequestAttribute=org.owasp.csrfguard.action.RequestAttribute
#org.owasp.csrfguard.action.RequestAttribute.AttributeName=Owasp_CsrfGuard_Exception_Key
# WSO2 : Disabling token rotation after blocking a CSRF attack, since this behaviour
# will break back navigation after blocking an attack.
#org.owasp.csrfguard.action.Rotate=org.owasp.csrfguard.action.Rotate
#org.owasp.csrfguard.action.SessionAttribute=org.owasp.csrfguard.action.SessionAttribute
#org.owasp.csrfguard.action.SessionAttribute.AttributeName=Owasp_CsrfGuard_Exception_Key
# WSO2 : Enable sending a 403 error after blocking a CSRF attack. Product teams
# can add error page that handles 403 or ???org.owasp.csrfguard.action.Error??? to
# display custom error pages.
org.owasp.csrfguard.action.Error=org.owasp.csrfguard.action.Error
org.owasp.csrfguard.action.Error.Code=403
org.owasp.csrfguard.action.Error.Message=Security violation.
# Token Name
#
# The token name property (org.owasp.csrfguard.TokenName) defines the name of the HTTP parameter
# to contain the value of the OWASP CSRFGuard token for each request. The following configuration
# snippet sets the CSRFGuard token parameter name to the value OWASP_CSRFTOKEN:
#
# org.owasp.csrfguard.TokenName=OWASP_CSRFTOKEN
# WSO2 : Since, CSRFGuard will send relevant token name as HTTP header
# ???X-??? prefix was added to express that this is a non-standard header.
org.owasp.csrfguard.TokenName=X-CSRF-Token
# Session Key
#
# The session key property (org.owasp.csrfguard.SessionKey) defines the string literal used to save
# and lookup the CSRFGuard token from the session. This value is used by the filter and the tag
# libraries to retrieve and set the token value in the session. Developers can use this key to
# programmatically lookup the token within their own code. The following configuration snippet sets
# the session key to the value OWASP_CSRFTOKEN:
#
# org.owasp.csrfguard.SessionKey=OWASP_CSRFTOKEN
org.owasp.csrfguard.SessionKey=OWASP_CSRFTOKEN
# Token Length
#
# The token length property (org.owasp.csrfguard.TokenLength) defines the number of characters that
# should be found within the CSRFGuard token. Note that characters are delimited by dashes (-) in groups
# of four. For cosmetic reasons, users are encourage to ensure the token length is divisible by four.
# The following configuration snippet sets the token length property to 32 characters:
#
# org.owasp.csrfguard.TokenLength=32
org.owasp.csrfguard.TokenLength=32
# Pseudo-random Number Generator
#
# The pseudo-random number generator property (org.owasp.csrfguard.PRNG) defines what PRNG should be used
# to generate the OWASP CSRFGuard token. Always ensure this value references a cryptographically strong
# pseudo-random number generator algorithm. The following configuration snippet sets the pseudo-random number
# generator to SHA1PRNG:
#
# org.owasp.csrfguard.PRNG=SHA1PRNG
org.owasp.csrfguard.PRNG=SHA1PRNG
# Pseudo-random Number Generator Provider
# The pseudo-random number generator provider property (org.owasp.csrfguard.PRNG.Provider) defines which
# provider's implementation of org.owasp.csrfguard.PRNG we should utilize. The following configuration
# snippet instructs the JVM to leverage SUN's implementation of the algorithm denoted by the
# org.owasp.csrfguard.PRNG property:
# org.owasp.csrfguard.PRNG.Provider=SUN
# WSO2 - Pseudo-random number generator provider should be configured based on
# environment (SUN/IBMJCE)
org.owasp.csrfguard.PRNG.Provider=SUN
# If not specifying the print config option in the web.xml, you can specify it here, to print the config
# on startup
# WSO2 : Disable printing configuration during start-up
org.owasp.csrfguard.Config.Print = false
###########################
## Javascript servlet settings if not set in web.xml
## https://www.owasp.org/index.php/CSRFGuard_3_Token_Injection
###########################
# leave this blank and blank in web.xml and it will read from META-INF/csrfguard.js from the jarfile
# Denotes the location of the JavaScript template file that should be consumed and dynamically
# augmented by the JavaScriptServlet class. The default value is WEB-INF/Owasp.CsrfGuard.js.
# Use of this property and the existence of the specified template file is required.
org.owasp.csrfguard.JavascriptServlet.sourceFile =
# Boolean value that determines whether or not the dynamic JavaScript code should be strict
# with regards to what links it should inject the CSRF prevention token. With a value of true,
# the JavaScript code will only place the token in links that point to the same exact domain
# from which the HTML originated. With a value of false, the JavaScript code will place the
# token in links that not only point to the same exact domain from which the HTML originated,
# but sub-domains as well.
org.owasp.csrfguard.JavascriptServlet.domainStrict = true
# Allows the developer to specify the value of the Cache-Control header in the HTTP response
# when serving the dynamic JavaScript file. The default value is private, maxage=28800.
# Caching of the dynamic JavaScript file is intended to minimize traffic and improve performance.
# Note that the Cache-Control header is always set to "no-store" when either the "Rotate"
# "TokenPerPage" options is set to true in Owasp.CsrfGuard.properties.
org.owasp.csrfguard.JavascriptServlet.cacheControl = private, maxage=28800
# Allows the developer to specify a regular expression describing the required value of the
# Referer header. Any attempts to access the servlet with a Referer header that does not
# match the captured expression is discarded. Inclusion of referer header checking is to
# help minimize the risk of JavaScript Hijacking attacks that attempt to steal tokens from
# the dynamically generated JavaScript. While the primary defenses against JavaScript
# Hijacking attacks are implemented within the dynamic JavaScript itself, referer header
# checking is implemented to achieve defense in depth.
org.owasp.csrfguard.JavascriptServlet.refererPattern = .*
# Similar to javascript servlet referer pattern, but this will make sure the referer of the
# javascript servlet matches the domain of the request. If there is no referer (proxy strips it?)
# then it will not fail. Generally this is a good idea to be true.
org.owasp.csrfguard.JavascriptServlet.refererMatchDomain = true
# Boolean value that determines whether or not the dynamic JavaScript code should
# inject the CSRF prevention token as a hidden field into HTML forms. The default
# value is true. Developers are strongly discouraged from disabling this property
# as most server-side state changing actions are triggered via a POST request.
org.owasp.csrfguard.JavascriptServlet.injectIntoForms = true
# if the token should be injected in GET forms (which will be on the URL)
# if the HTTP method GET is unprotected, then this should likely be false
# WSO2 : Disable JavaScript from injecting token value to HTTP GET based forms.
# This prevents token leakage that could occur when sending token in URL.
# State-changing actions should not be performed over HTTP GET
org.owasp.csrfguard.JavascriptServlet.injectGetForms = false
# if the token should be injected in the action in forms
# note, if injectIntoForms is true, then this might not need to be true
# WSO2 : Disable JavaScript from injecting token value to form action.
# This prevents token leakage that could occur when sending token in URL.
org.owasp.csrfguard.JavascriptServlet.injectFormAttributes = false
# Boolean value that determines whether or not the dynamic JavaScript code should
# inject the CSRF prevention token in the query string of src and href attributes.
# Injecting the CSRF prevention token in a URL resource increases its general risk
# of exposure to unauthorized parties. However, most JavaEE web applications respond
# in the exact same manner to HTTP requests and their associated parameters regardless
# of the HTTP method. The risk associated with not protecting GET requests in this
# situation is perceived greater than the risk of exposing the token in protected GET
# requests. As a result, the default value of this attribute is set to true. Developers
# that are confident their server-side state changing controllers will only respond to
# POST requests (i.e. discarding GET requests) are strongly encouraged to disable this property.
# WSO2 : Disable JavaScript from injecting token value to ???src??? and ???href???.
# This prevents token leakage that could occur when sending token in URL.
org.owasp.csrfguard.JavascriptServlet.injectIntoAttributes = false
# WSO2 : Changing X-Request-With header text to avoid unnecessary information disclosure.
org.owasp.csrfguard.JavascriptServlet.xRequestedWith = WSO2 CSRF Protection
###########################
## Config overlay settings if you have the provider above set to ConfigurationOverlayProvider
## This CSRF config provider uses Internet2 Configuration Overlays (documented on Internet2 wiki)
## By default the configuration is read from the Owasp.CsrfGuard.properties
## (which should not be edited), and the Owasp.CsrfGuard.overlay.properties overlays
## the base settings. See the Owasp.CsrfGuard.properties for the possible
## settings that can be applied to the Owasp.CsrfGuard.overlay.properties
###########################
# comma separated config files that override each other (files on the right override the left)
# each should start with file: or classpath:
# e.g. classpath:Owasp.CsrfGuard.properties, file:c:/temp/myFile.properties
org.owasp.csrfguard.configOverlay.hierarchy = classpath:Owasp.CsrfGuard.properties, classpath:Owasp.CsrfGuard.overlay.properties
# seconds between checking to see if the config files are updated
org.owasp.csrfguard.configOverlay.secondsBetweenUpdateChecks = 60
###########################
# please remove the below entry to enable protection for services.
org.owasp.csrfguard.unprotected.Services=%servletContext%/services/*
org.owasp.csrfguard.unprotected.Endpoints=%servletContext%/endpoints/*
org.owasp.csrfguard.unprotected.RestApi=%servletContext%/analytics/*
org.owasp.csrfguard.unprotected.JsApi=%servletContext%/portal/apis/analytics/*
org.owasp.csrfguard.unprotected.Servlet=%servletContext%/analytics-api/*
org.owasp.csrfguard.unprotected.ml=%servletContext%/api/login*
org.owasp.csrfguard.unprotected.passivests=%servletContext%/acs/*
org.owasp.csrfguard.unprotected.deviceMgtSSOAcs=%servletContext%/devicemgt/uuf/sso/acs
org.owasp.csrfguard.unprotected.deviceMgtAcs=%servletContext%/uuf/sso/acs
org.owasp.csrfguard.unprotected.deviceMgtApi=%servletContext%/devicemgt/api/*
org.owasp.csrfguard.unprotected.portalApis=%/portal/apis/*

View File

@ -1,78 +0,0 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2011 WSO2, Inc. (http://wso2.com)
~
~ Licensed 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.
-->
<!--
This is the configuration file for Carbon authenticators. All the authenticator related configurations
should go here.
-->
<Authenticators xmlns="http://wso2.org/projects/carbon/authenticators.xml">
<!-- Authenticator Configurations for TokenUIAuthenticator -->
<Authenticator name="TokenUIAuthenticator" disabled="true">
<Priority>5</Priority>
</Authenticator>
<!-- Authenticator Configurations for SAML2SSOAuthenticator -->
<Authenticator name="SAML2SSOAuthenticator" disabled="true">
<Priority>10</Priority>
<Config>
<Parameter name="LoginPage">/carbon/admin/login.jsp</Parameter>
<Parameter name="ServiceProviderID">carbonServer</Parameter>
<Parameter name="IdentityProviderSSOServiceURL">https://localhost:9443/samlsso</Parameter>
<Parameter name="NameIDPolicyFormat">urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified</Parameter>
<Parameter name="AssertionConsumerServiceURL">https://localhost:9443/acs</Parameter>
<!-- <Parameter name="IdPCertAlias">wso2carbon</Parameter> -->
<!-- <Parameter name="ResponseSignatureValidationEnabled">false</Parameter> -->
<!-- <Parameter name="AssertionSignatureValidationEnabled">false</Parameter> -->
<!-- <Parameter name="LoginAttributeName"></Parameter> -->
<!-- <Parameter name="RoleClaimAttribute"></Parameter> -->
<!-- <Parameter name="AttributeValueSeparator">,</Parameter> -->
<!-- <Parameter name="JITUserProvisioning">true</Parameter> -->
<!-- <Parameter name="ProvisioningDefaultUserstore">PRIMARY</Parameter> -->
<!-- <Parameter name="ProvisioningDefaultRole">admin</Parameter> -->
<!-- <Parameter name="IsSuperAdminRoleRequired">true</Parameter> -->
</Config>
<!-- If this authenticator should skip any URI from authentication, specify it under "SkipAuthentication"
<SkipAuthentication>
<UrlContains></UrlContains>
</SkipAuthentication> -->
<!-- If this authenticator should skip any URI from session validation, specify it under "SkipAuthentication
<SkipSessionValidation>
<UrlContains></UrlContains>
</SkipSessionValidation> -->
</Authenticator>
<Authenticator name="SignedJWTAuthenticator" disabled="false">
<Priority>5</Priority>
</Authenticator>
<!-- Authenticator Configurations for MutualSSLAuthenticator -->
<!--Authenticator name="MutualSSLAuthenticator" disabled="false">
<Priority>5</Priority>
<Config>
<Parameter name="UsernameHeader">UserName</Parameter>
<Parameter name="WhiteListEnabled">false</Parameter>
<Parameter name="WhiteList"/>
</Config>
</Authenticator-->
</Authenticators>

View File

@ -1,28 +0,0 @@
# This is the default file based secret repository, used by Secret Manager of synapse secure vault
# By default, This file contains the secret alias names Vs the plain text passwords enclosed with '[]' brackets
# In Production environments, It is recommend to replace those plain text password by the encrypted values. CipherTool can be used for it.
Carbon.Security.KeyStore.Password=[wso2carbon]
Carbon.Security.KeyStore.KeyPassword=[wso2carbon]
Carbon.Security.TrustStore.Password=[wso2carbon]
UserManager.AdminUser.Password=[admin]
Datasources.WSO2_CARBON_DB.Configuration.Password=[wso2carbon]
Server.Service.Connector.keystorePass=[wso2carbon]
Analytics.Data.Config.Password=[admin]
#Analytics.Data.Config.TrustStorePassword=[wso2carbon]
#Carbon.DeploymentSynchronizer.SvnPassword=[password]
#UserStoreManager.Property.ConnectionPassword=[admin]
#UserStoreManager.Property.password=[admin]
#Security.UserTrustedRPStore.Password=[wso2carbon]
#Security.UserTrustedRPStore.KeyPassword=[wso2carbon]
#MultifactorAuthentication.XMPPSettings.XMPPConfig.XMPPPassword=[wso2carbon]
#Identity.System.StorePass=[wso2carbon]
#Axis2.Https.Listener.TrustStore.Password=[wso2carbon]
#Axis2.Https.Listener.KeyStore.Password=[wso2carbon]
#Axis2.Https.Listener.KeyStore.KeyPassword=[wso2carbon]
#Axis2.Https.Sender.TrustStore.Password=[wso2carbon]
#Axis2.Https.Sender.KeyStore.Password=[wso2carbon]
#Axis2.Https.Sender.KeyStore.KeyPassword=[wso2carbon]
#Axis2.Mailto.Parameter.Password=[wso2carbon]

View File

@ -1,28 +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
Analytics.Data.Config.Password=repository/conf/analytics/analytics-data-config.xml//AnalyticsDataConfiguration/Password,false
#Analytics.Data.Config.TrustStorePassword=repository/conf/analytics/analytics-data-config.xml//AnalyticsDataConfiguration/TrustStorePassword,false
#Carbon.DeploymentSynchronizer.SvnPassword=repository/conf/carbon.xml//Sever/DeploymentSynchronizer/SvnPassword,false
#UserStoreManager.Property.ConnectionPassword=repository/conf/user-mgt.xml//UserManager/Realm/UserStoreManager/Property[@name='ConnectionPassword'],false
#UserStoreManager.Property.password=repository/conf/user-mgt.xml//UserManager/Realm/UserStoreManager/Property[@name='password'],false
#Security.UserTrustedRPStore.Password=repository/conf/identity.xml//Server/Security/UserTrustedRPStore/Password,false
#Security.UserTrustedRPStore.KeyPassword=repository/conf/identity.xml//Server/Security/UserTrustedRPStore/KeyPassword,false
#MultifactorAuthentication.XMPPSettings.XMPPConfig.XMPPPassword=repository/conf/identity.xml//MultifactorAuthentication/XMPPSettings/XMPPConfig/XMPPPassword,false
#Identity.System.StorePass=repository/conf/identity.xml//Server/Identity/System/StorePass,false
#Axis2.Https.Listener.TrustStore.Password=repository/conf/axis2/axis2.xml//axisconfig/transportReceiver[@name='https']/parameter[@name='truststore']/TrustStore/Password,false
#Axis2.Https.Listener.KeyStore.Password=repository/conf/axis2/axis2.xml//axisconfig/transportReceiver[@name='https']/parameter[@name='keystore']/KeyStore/Password,false
#Axis2.Https.Listener.KeyStore.KeyPassword=repository/conf/axis2/axis2.xml//axisconfig/transportReceiver[@name='https']/parameter[@name='keystore']/KeyStore/KeyPassword,false
#Axis2.Https.Sender.TrustStore.Password=repository/conf/axis2/axis2.xml//axisconfig/transportSender[@name='https']/parameter[@name='truststore']/TrustStore/Password,false
#Axis2.Https.Sender.KeyStore.Password=repository/conf/axis2/axis2.xml//axisconfig/transportSender[@name='https']/parameter[@name='keystore']/KeyStore/Password,false
#Axis2.Https.Sender.KeyStore.KeyPassword=repository/conf/axis2/axis2.xml//axisconfig/transportSender[@name='https']/parameter[@name='keystore']/KeyStore/KeyPassword,false
#Axis2.Mailto.Parameter.Password=repository/conf/axis2/axis2.xml//axisconfig/transportSender[@name='mailto']/parameter[@name='mail.smtp.password'],false

View File

@ -1,187 +0,0 @@
{
"initScripts": [
"js/dashboard-deployer.js"
],
"welcomeFiles": [
"routers/tenant.jag"
],
"errorPages": {
"500": "/controllers/error-pages/error500.html",
"404": "/controllers/error-pages/error404.html",
"401": "/controllers/error-pages/error401.html",
"405": "/controllers/error-pages/error405.html",
"403": "/controllers/error-pages/error403.html",
"400": "/controllers/error-pages/error400.html"
},
"urlMappings": [
{
"url": "/login-controller",
"path": "/routers/tenant.jag"
},
{
"url": "/login",
"path": "/routers/tenant.jag"
},
{
"url": "/logout",
"path": "/routers/tenant.jag"
},
{
"url": "/t/*",
"path": "/routers/tenant.jag"
},
{
"url": "/apis/*",
"path": "/routers/tenant.jag"
},
{
"url": "/dashboards/*",
"path": "/routers/tenant.jag"
},
{
"url": "/gadget/*",
"path": "/routers/tenant.jag"
},
{
"url": "/layout/*",
"path": "/routers/tenant.jag"
},
{
"url": "/assets/*",
"path": "/routers/tenant.jag"
},
{
"url": "/create-dashboard",
"path": "/routers/tenant.jag"
},
{
"url": "/dashboard-settings/*",
"path": "/routers/tenant.jag"
},
{
"url": "/select-layout",
"path": "/routers/tenant.jag"
},
{
"url": "/create-gadget",
"path": "/routers/tenant.jag"
},
{
"url": "/upload-gadget",
"path": "/routers/tenant.jag"
},
{
"url": "/upload-layout",
"path": "/routers/tenant.jag"
},
{
"url": "/geojson/world/*",
"path": "/templates/geojson/world.json"
},
{
"url": "/geojson/europe/*",
"path": "/templates/geojson/europe.json"
},
{
"url": "/geojson/usa/*",
"path": "/templates/geojson/usa.json"
},
{
"url": "/geojson/countryInfo/*",
"path": "/templates/geojson/countryInfo.json"
},
{
"url": "/geojson/usaInfo/*",
"path": "/templates/geojson/usaInfo.json"
},
{
"url": "/acs",
"path": "/controllers/acs.jag"
},
{
"url": "/banners/*",
"path": "/routers/tenant.jag"
},
{
"url": "/gadgets/*",
"path": "/routers/tenant.jag"
},
{
"url": "/configs/designer.json",
"path": "/controllers/error-pages/error404.html"
}
],
"listeners": [
{
"class": "org.owasp.csrfguard.CsrfGuardServletContextListener"
},
{
"class": "org.owasp.csrfguard.CsrfGuardHttpSessionListener"
}
],
"servlets": [
{
"name": "JavaScriptServlet",
"class": "org.owasp.csrfguard.servlet.JavaScriptServlet"
}
],
"servletMappings": [
{
"name": "JavaScriptServlet",
"url": "/csrf.js"
}
],
"contextParams": [
{
"name": "Owasp.CsrfGuard.Config",
"value": "repository/conf/security/Owasp.CsrfGuard.dashboard.properties"
}
],
"filters": [
{
"name": "ContentTypeBasedCachePreventionFilter",
"class": "org.wso2.carbon.ui.filters.cache.ContentTypeBasedCachePreventionFilter",
"params" : [
{"name" : "patterns", "value" : "text/html\" ,application/json\" ,text/plain"},
{"name" : "filterAction", "value" : "enforce"},
{"name" : "httpHeaders", "value" : "Cache-Control: no-store, no-cache, must-revalidate, private"}
]
},
{
"name": "HttpHeaderSecurityFilter",
"class": "org.apache.catalina.filters.HttpHeaderSecurityFilter",
"params": [
{
"name": "hstsEnabled",
"value": "false"
},
{
"name": "antiClickJackingOption",
"value": "SAMEORIGIN"
}
]
},
{
"name": "TenantStoresFilter",
"class": "org.wso2.carbon.dashboard.store.filter.TenantStoreFilter"
}
],
"filterMappings": [
{
"name": "HttpHeaderSecurityFilter",
"url": "*"
},
{
"name": "TenantStoresFilter",
"url": "/store/*"
},
{
"name": "TenantStoresFilter",
"url": "/temp/*"
},
{
"name":"ContentTypeBasedCachePreventionFilter",
"url":"*"
}
]
}

View File

@ -1,598 +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 utils = function () {
var log = new Log("/modules/oauth/token-handler-utils.js");
var configs = require('/configs/portal.js').config();
var constants = require("/modules/constants.js");
var carbon = require("carbon");
//noinspection JSUnresolvedVariable
var Base64 = Packages.org.apache.commons.codec.binary.Base64;
//noinspection JSUnresolvedVariable
var String = Packages.java.lang.String;
var publicMethods = {};
var privateMethods = {};
publicMethods["encode"] = function (payload) {
return String(Base64.encodeBase64(String(payload).getBytes()));
};
publicMethods["decode"] = function (payload) {
return String(Base64.decodeBase64(String(payload).getBytes()));
};
/**
* Check whether this application is oauth enable or not
* @returns boolean if oauth enable
*/
publicMethods["checkOAuthEnabled"] = function () {
if (constants.AUTHORIZATION_TYPE_OAUTH === configs["authorization"]["activeMethod"]) {
return true;
}
return false;
};
/**
* Set access token into xml http request header
* @param xhr xml http request
* @returns {*} xhr which has access token it's header
*/
publicMethods["setAccessToken"] = function (xhr, callback) {
var accessToken;
if (publicMethods.checkOAuthEnabled()) {
try {
accessToken = parse(session.get(constants.ACCESS_TOKEN_PAIR_IDENTIFIER_FOR_PORTAL))["accessToken"];
xhr.setRequestHeader(constants.AUTHORIZATION_HEADER, constants.BEARER_PREFIX + accessToken);
} catch (exception) {
log.error("Access token hasn't been set yet, " + exception);
} finally {
callback(xhr);
}
}
callback(xhr);
};
/**
* Get access token of current logged user
* @param callBack response with access token
*/
publicMethods["getAccessToken"] = function (callBack) {
var accessToken = null;
if (publicMethods.checkOAuthEnabled()) {
try {
accessToken = parse(session.get(constants.ACCESS_TOKEN_PAIR_IDENTIFIER_FOR_PORTAL))["accessToken"];
} catch (exception) {
log.error("Access token hasn't been set yet, " + exception);
} finally {
callBack(accessToken);
}
}
callBack(accessToken);
};
/**
* Create error message which adhere to xml http response object
* @param statusCode response status code
* @param status response status
* @param responseText response message
* @returns {{statusCode: *, status: *, responseText: *}}
*/
publicMethods["createXHRObject"] = function (statusCode, status, responseText) {
return {"statusCode": statusCode, "status": status, "responseText": responseText};
};
/**
* check whether user already logged to system before invoking any apis
* @param callBack
*/
publicMethods["isUserAuthorized"] = function (callBack) {
if (session.get("Loged") !== constants.LOGIN_MESSAGE) {
callBack(false);
} else {
callBack(true);
}
};
/**
* Get identity provider uir
* @returns {*}
*/
publicMethods["getIdPServerURL"] = function () {
return configs["authorization"]["methods"]["oauth"]["attributes"]["oauthProvider"]["tokenServiceURL"];
};
/**
* Get an Access token pair based on client secret
* @param encodedClientKeys {{clientId:"", clientSecret:""}}
* @param scope eg: PRODUCTION
* @param idPServer identity provider url
* @returns {{accessToken: *, refreshToken: *}}
*/
publicMethods["getTokenWithClientSecretType"] = function (encodedClientKeys, scope, idPServer) {
var xhr = new XMLHttpRequest();
var tokenEndpoint = idPServer;
xhr.open(constants.HTTP_POST, tokenEndpoint, false);
xhr.setRequestHeader(constants.CONTENT_TYPE_IDENTIFIER, constants.APPLICATION_X_WWW_FOR_URLENCODED);
xhr.setRequestHeader(constants.AUTHORIZATION_HEADER, constants.BASIC_PREFIX + encodedClientKeys);
xhr.send("grant_type=client_credentials&scope=" + scope);
var tokenPair = {};
if (xhr.status == constants.HTTP_ACCEPTED) {
var data = parse(xhr.responseText);
tokenPair.refreshToken = data.refresh_token;
tokenPair.accessToken = data.access_token;
} else if (xhr.status == constants.HTTP_USER_NOT_AUTHENTICATED) {
log.error("Error in obtaining token with client secret grant type, You are not authenticated yet");
return null;
} else {
log.error("Error in obtaining token with client secret grant type, This might be a problem with client meta " +
"data which required for client secret grant type");
return null;
}
return tokenPair;
};
/**
* This will create client id and client secret for a given application
* @param properties "callbackUrl": "",
* "clientName": "",
* "owner": "",
* "applicationType": "",
* "grantType": "",
* "saasApp" :"",
* "dynamicClientRegistrationEndPoint" : ""
*
* @returns {{clientId:*, clientSecret:*}}
*/
publicMethods["getDynamicClientAppCredentials"] = function (username) {
// setting up dynamic client application properties
var dcAppProperties = {
"applicationType": configs["authorization"]["methods"]["oauth"]["attributes"]["oauthProvider"]["appRegistration"]["appType"],
"clientName": configs["authorization"]["methods"]["oauth"]["attributes"]["oauthProvider"]["appRegistration"]["clientName"],
"owner": configs["authorization"]["methods"]["oauth"]["attributes"]["oauthProvider"]["appRegistration"]["owner"],
"tokenScope": configs["authorization"]["methods"]["oauth"]["attributes"]["oauthProvider"]["appRegistration"]["tokenScope"],
"grantType": configs["authorization"]["methods"]["oauth"]["attributes"]["oauthProvider"]["appRegistration"]["grantType"],
"callbackUrl": configs["authorization"]["methods"]["oauth"]["attributes"]["oauthProvider"]["appRegistration"]["callbackUrl"],
"saasApp" : configs["authorization"]["methods"]["oauth"]["attributes"]["oauthProvider"]["appRegistration"]["saasApp"]
};
var tenantDomain = carbon.server.tenantDomain({username: username});
if (!tenantDomain) {
log.error("{/modules/oauth/token-handler-utils.js} Error in retrieving tenant " +
"based client application credentials. Unable to obtain a valid tenant domain for provided username "+
username +"- getDynamicClientAppCredentials(x)");
return null;
} else {
var cachedTenantBasedClientAppCredentials = privateMethods.
getCachedTenantBasedClientAppCredentials(tenantDomain);
if (cachedTenantBasedClientAppCredentials) {
return cachedTenantBasedClientAppCredentials;
} else {
// calling dynamic client app registration service endpoint
var requestURL = configs["authorization"]["methods"]["oauth"]["attributes"]["oauthProvider"]["appRegistration"]
["dynamicClientAppRegistrationServiceURL"];
var requestPayload = dcAppProperties;
var token = publicMethods.encode(configs["authorization"]["methods"]["oauth"]["attributes"]["oauthProvider"]
["appRegistration"]["owner"] + ":" + configs["authorization"]["methods"]["oauth"]["attributes"]
["oauthProvider"]["appRegistration"]["password"]);
var xhr = new XMLHttpRequest();
xhr.open("POST", requestURL, false);
xhr.setRequestHeader("Content-Type", "application/json");
xhr.setRequestHeader("Authorization", "Basic "+ token);
xhr.send(stringify(requestPayload));
var dynamicClientAppCredentials = {};
if (xhr["status"] == 201 || xhr["status"] == 200 && xhr["responseText"]) {
var responsePayload = parse(xhr["responseText"]);
var clientId = responsePayload["client_id"];
var clientSecret = responsePayload["client_secret"];
if(typeof clientId == "undefined"){
clientId = responsePayload["clientId"];
}
if(typeof clientSecret == "undefined"){
clientSecret = responsePayload["clientSecret"];
}
dynamicClientAppCredentials["clientId"] = clientId;
dynamicClientAppCredentials["clientSecret"] = clientSecret;
privateMethods.
setCachedTenantBasedClientAppCredentials(tenantDomain, dynamicClientAppCredentials);
} else if (xhr["status"] == 400) {
log.error("{/modules/oauth/token-handler-utils.js - getDynamicClientAppCredentials()} " +
"Bad request. Invalid data provided as dynamic client application properties.");
dynamicClientAppCredentials = null;
} else {
log.error("{/modules/oauth/token-handler-utils.js - getDynamicClientAppCredentials()} " +
"Error in retrieving dynamic client credentials.");
dynamicClientAppCredentials = null;
}
// returning dynamic client credentials
return dynamicClientAppCredentials;
}
}
};
/**
* If gateway is enable, apiManagerClientAppRegistrationServiceURL is used to create oauth application
* @param username username of current logged user
* @returns {{clientId:*, clientSecret:*}}
*/
publicMethods["getTenantBasedClientAppCredentials"] = function (username) {
if (!username) {
log.error("{/modules/oauth/token-handler-utils.js} Error in retrieving tenant " +
"based client app credentials. No username " +
"as input - getTenantBasedClientAppCredentials(x)");
return null;
} else {
//noinspection JSUnresolvedFunction, JSUnresolvedVariable
var tenantDomain = carbon.server.tenantDomain({username: username});
if (!tenantDomain) {
log.error("{/modules/oauth/token-handler-utils.js} Error in retrieving tenant " +
"based client application credentials. Unable to obtain a valid tenant domain for provided " +
"username - getTenantBasedClientAppCredentials(x, y)");
return null;
} else {
var cachedTenantBasedClientAppCredentials = privateMethods.
getCachedTenantBasedClientAppCredentials(tenantDomain);
if (cachedTenantBasedClientAppCredentials) {
return cachedTenantBasedClientAppCredentials;
} else {
var adminUsername = configs["authorization"]["methods"]["oauth"]["attributes"]["adminUser"];
var adminUserTenantId = configs["authorization"]["methods"]["oauth"]["attributes"]
["adminUserTenantId"];
//claims required for jwtAuthenticator.
var claims = {"http://wso2.org/claims/enduserTenantId": adminUserTenantId,
"http://wso2.org/claims/enduser": adminUsername};
var jwtToken = publicMethods.getJwtToken(adminUsername, claims);
// register a tenant based client app at API Manager
var applicationName = configs["authorization"]["methods"]["oauth"]["attributes"]["oauthProvider"]
["appRegistration"]["clientName"] + "_" + tenantDomain;
var requestURL = configs["authorization"]["methods"]["oauth"]["attributes"]["oauthProvider"]
["appRegistration"]["apiManagerClientAppRegistrationServiceURL"] +
"?tenantDomain=" + tenantDomain + "&applicationName=" + applicationName;
var xhr = new XMLHttpRequest();
xhr.open("POST", requestURL, false);
xhr.setRequestHeader("Content-Type", "application/json");
xhr.setRequestHeader("X-JWT-Assertion", "" + jwtToken);
xhr.send();
if ((xhr["status"] == 201 || xhr["status"] == 200) && xhr["responseText"]) {
var responsePayload = parse(xhr["responseText"]);
var tenantBasedClientAppCredentials = {};
var clientId = responsePayload["client_id"];
var clientSecret = responsePayload["client_secret"];
if(typeof clientId == "undefined"){
clientId = responsePayload["clientId"];
}
if(typeof clientSecret == "undefined"){
clientSecret = responsePayload["clientSecret"];
}
tenantBasedClientAppCredentials["clientId"] = clientId;
tenantBasedClientAppCredentials["clientSecret"] = clientSecret;
privateMethods.
setCachedTenantBasedClientAppCredentials(tenantDomain, tenantBasedClientAppCredentials);
return tenantBasedClientAppCredentials;
} else {
log.error("{/modules/oauth/token-handler-utils.js} Error in retrieving tenant " +
"based client application credentials from API " +
"Manager - getTenantBasedClientAppCredentials(x, y)");
return null;
}
}
}
}
};
/**
* Caching oauth application credentials
* @param tenantDomain tenant domain where application is been created
* @param clientAppCredentials {{clientId:*, clientSecret:*}}
*/
privateMethods["setCachedTenantBasedClientAppCredentials"] = function (tenantDomain, clientAppCredentials) {
var cachedTenantBasedClientAppCredentialsMap = application.get(constants["CACHED_CREDENTIALS_PORTAL_APP"]);
if (!cachedTenantBasedClientAppCredentialsMap) {
cachedTenantBasedClientAppCredentialsMap = {};
cachedTenantBasedClientAppCredentialsMap[tenantDomain] = clientAppCredentials;
application.put(constants["CACHED_CREDENTIALS_PORTAL_APP"], cachedTenantBasedClientAppCredentialsMap);
} else if (!cachedTenantBasedClientAppCredentialsMap[tenantDomain]) {
cachedTenantBasedClientAppCredentialsMap[tenantDomain] = clientAppCredentials;
}
};
/**
* Get oauth application credentials from cache
* @param tenantDomain tenant domain where application is been created
* @returns {{clientId:*, clientSecret:*}}
*/
privateMethods["getCachedTenantBasedClientAppCredentials"] = function (tenantDomain) {
var cachedTenantBasedClientAppCredentialsMap = application.get(constants["CACHED_CREDENTIALS_PORTAL_APP"]);
if (!cachedTenantBasedClientAppCredentialsMap ||
!cachedTenantBasedClientAppCredentialsMap[tenantDomain]) {
return null;
} else {
return cachedTenantBasedClientAppCredentialsMap[tenantDomain];
}
};
/**
* Get access token and refresh token using password grant type
* @param username username of the logged user
* @param password password of the logged user
* @param encodedClientAppCredentials {{clientId:*, clientSecret:*}}
* @param scopes scopes list
* @returns {{accessToken: *, refreshToken: *}}
*/
publicMethods["getTokenPairAndScopesByPasswordGrantType"] = function (username, password
, encodedClientAppCredentials, scopes) {
if (!username || !password || !encodedClientAppCredentials || !scopes) {
log.error("{/modules/oauth/token-handler-utils.js} Error in retrieving access token by password " +
"grant type. No username, password, encoded client app credentials or scopes are " +
"found - getTokenPairAndScopesByPasswordGrantType(a, b, c, d)");
return null;
} else {
// calling oauth provider token service endpoint
var requestURL = configs["authorization"]["methods"]["oauth"]["attributes"]["oauthProvider"]
["tokenServiceURL"];
var requestPayload = "grant_type=password&username=" +
username + "&password=" + password + "&scope=" + scopes;
var xhr = new XMLHttpRequest();
xhr.open("POST", requestURL, false);
xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
xhr.setRequestHeader("Authorization", "Basic " + encodedClientAppCredentials);
xhr.send(requestPayload);
if (xhr["status"] == 200 && xhr["responseText"]) {
var responsePayload = parse(xhr["responseText"]);
var tokenData = {};
tokenData["accessToken"] = responsePayload["access_token"];
tokenData["refreshToken"] = responsePayload["refresh_token"];
tokenData["scopes"] = responsePayload["scope"];
return tokenData;
} else {
log.error("{/modules/oauth/token-handler-utils.js} Error in retrieving access token " +
"by password grant type - getTokenPairAndScopesByPasswordGrantType(a, b, c, d)");
return null;
}
}
};
/**
* Get access token and refresh token using SAML grant type
* @param assertion
* @param encodedClientAppCredentials
* @param scopes
* @returns {{accessToken: *, refreshToken: *}}
*/
publicMethods["getTokenPairAndScopesByJWTGrantType"] = function (username, encodedClientAppCredentials, scopes) {
if (!username || !encodedClientAppCredentials || !scopes) {
log.error("{/app/modules/oauth/token-handler-utils.js} Error in retrieving access token by jwt " +
"grant type. No assertion, encoded client app credentials or scopes are " +
"found - getTokenPairAndScopesByJWTGrantType(x, y, z)");
return null;
} else {
var JWTClientManagerServicePackagePath =
"org.wso2.carbon.identity.jwt.client.extension.service.JWTClientManagerService";
//noinspection JSUnresolvedFunction, JSUnresolvedVariable
var JWTClientManagerService = carbon.server.osgiService(JWTClientManagerServicePackagePath);
//noinspection JSUnresolvedFunction
var jwtClient = JWTClientManagerService.getJWTClient();
// returning access token by JWT grant type
var tokenInfo = jwtClient.getAccessToken(encodedClientAppCredentials,
username, scopes);
var tokenData = {};
tokenData["accessToken"] = tokenInfo.getAccessToken();
tokenData["refreshToken"] = tokenInfo.getRefreshToken();
tokenData["scopes"] = tokenInfo.getScopes();
return tokenData;
}
};
/**
* Get access token and refresh token using SAML grant type
* @param assertion
* @param encodedClientAppCredentials
* @param scopes
* @returns {{accessToken: *, refreshToken: *}}
*/
publicMethods["getTokenPairAndScopesBySAMLGrantType"] = function (assertion, encodedClientAppCredentials, scopes) {
if (!assertion || !encodedClientAppCredentials || !scopes) {
log.error("{/modules/oauth/token-handler-utils.js} Error in retrieving access token by saml " +
"grant type. No assertion, encoded client app credentials or scopes are " +
"found - getTokenPairAndScopesBySAMLGrantType(x, y, z)");
return null;
} else {
var assertionXML = publicMethods.decode(assertion);
/*
TODO: make assertion extraction with proper parsing.
Since Jaggery XML parser seem to add formatting which causes signature verification to fail.
*/
var assertionStartMarker = "<saml2:Assertion";
var assertionEndMarker = "<\/saml2:Assertion>";
var assertionStartIndex = assertionXML.indexOf(assertionStartMarker);
var assertionEndIndex = assertionXML.indexOf(assertionEndMarker);
var extractedAssertion;
if (assertionStartIndex == -1 || assertionEndIndex == -1) {
log.error("{/modules/oauth/token-handler-utils.js} Error in retrieving access token by saml grant " +
"type. Issue in assertion format - getTokenPairAndScopesBySAMLGrantType(x, y, z)");
return null;
} else {
extractedAssertion = assertionXML.
substring(assertionStartIndex, assertionEndIndex) + assertionEndMarker;
var encodedAssertion = publicMethods.encode(extractedAssertion);
// calling oauth provider token service endpoint
var requestURL = configs["authorization"]["methods"]["oauth"]["attributes"]["oauthProvider"]
["tokenServiceURL"];
var requestPayload = "grant_type=urn:ietf:params:oauth:grant-type:saml2-bearer&" +
"assertion=" + encodeURIComponent(encodedAssertion) + "&scope=" + scopes;
var xhr = new XMLHttpRequest();
xhr.open("POST", requestURL, false);
xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
xhr.setRequestHeader("Authorization", "Basic " + encodedClientAppCredentials);
xhr.send(requestPayload);
if (xhr["status"] == 200 && xhr["responseText"]) {
var responsePayload = parse(xhr["responseText"]);
var tokenData = {};
tokenData["accessToken"] = responsePayload["access_token"];
tokenData["refreshToken"] = responsePayload["refresh_token"];
tokenData["scopes"] = responsePayload["scope"];
return tokenData;
} else {
log.error("{/modules/oauth/token-handler-utils.js} Error in retrieving access token " +
"by password grant type - getTokenPairAndScopesBySAMLGrantType(x, y, z)");
return null;
}
}
}
};
/**
* If access token is expired, try to refresh it using existing refresh token
* @param callback
*/
publicMethods["refreshAccessToken"] = function (callback) {
try {
if (publicMethods.checkOAuthEnabled()) {
var currentTokenPair = parse(session.get(constants["ACCESS_TOKEN_PAIR_IDENTIFIER_FOR_PORTAL"]));
// currentTokenPair includes current access token as well as current refresh token
var encodedClientAppCredentials
= session.get(constants["ENCODED_TENANT_BASED_CLIENT_APP_CREDENTIALS_PORTAL_APP"]);
if (!currentTokenPair || !encodedClientAppCredentials) {
callback(false);
throw new Error("{/modules/oauth/token-handlers.js} Error in refreshing tokens. Either the " +
"token pair, encoded client app credentials or both input are not found under " +
"session context - refreshTokenPair()");
} else {
var newTokenPair = publicMethods.
getNewTokenPairByRefreshToken(currentTokenPair["refreshToken"], encodedClientAppCredentials);
if (!newTokenPair) {
log.error("{/app/modules/oauth/token-handlers.js} Error in refreshing token pair. " +
"Unable to update session context with new access token pair - refreshTokenPair()");
callback(false);
} else {
session.put(constants["ACCESS_TOKEN_PAIR_IDENTIFIER_FOR_PORTAL"], stringify(newTokenPair));
callback(true);
}
}
} else {
log.error("You have not enable dynamic client yet");
callback(false);
}
} catch (exception) {
callback(false);
throw "Error while refreshing existing access token, " + exception;
}
};
/**
* Get access token and refresh token using refresh token grant type
* @param refreshToken refresh token
* @param encodedClientAppCredentials {{clientId:*, clientSecret:*}}
* @param scopes
* @returns {{accessToken: *, refreshToken: *}}
*/
publicMethods["getNewTokenPairByRefreshToken"] = function (refreshToken, encodedClientAppCredentials, scopes) {
if (!refreshToken || !encodedClientAppCredentials) {
log.error("{/modules/oauth/token-handler-utils.js} Error in retrieving new access token " +
"by current refresh token. No refresh token or encoded client app credentials are " +
"found - getNewTokenPairByRefreshToken(x, y, z)");
return null;
} else {
var requestURL = configs["authorization"]["methods"]["oauth"]["attributes"]["oauthProvider"]
["tokenServiceURL"];
var requestPayload = "grant_type=refresh_token&refresh_token=" + refreshToken;
if (scopes) {
requestPayload = requestPayload + "&scope=" + scopes;
}
var xhr = new XMLHttpRequest();
xhr.open("POST", requestURL, false);
xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
xhr.setRequestHeader("Authorization", "Basic " + encodedClientAppCredentials);
xhr.send(requestPayload);
if (xhr["status"] == 200 && xhr["responseText"]) {
var responsePayload = parse(xhr["responseText"]);
var tokenPair = {};
tokenPair["accessToken"] = responsePayload["access_token"];
tokenPair["refreshToken"] = responsePayload["refresh_token"];
return tokenPair;
} else {
log.error("{/modules/oauth/token-handler-utils.js} Error in retrieving new access token by " +
"current refresh token - getNewTokenPairByRefreshToken(x, y, z)");
return null;
}
}
};
/**
* Get access token using JWT grant type
* @param clientAppCredentials {{clientId:*, clientSecret:*}}
* @returns {{accessToken: *, refreshToken: *}}
*/
publicMethods["getAccessTokenByJWTGrantType"] = function (clientAppCredentials) {
if (!clientAppCredentials) {
log.error("{/modules/oauth/token-handler-utils.js} Error in retrieving new access token " +
"by current refresh token. No client app credentials are found " +
"as input - getAccessTokenByJWTGrantType(x)");
return null;
} else {
var JWTClientManagerServicePackagePath =
"org.wso2.carbon.identity.jwt.client.extension.service.JWTClientManagerService";
//noinspection JSUnresolvedFunction, JSUnresolvedVariable
var JWTClientManagerService = carbon.server.osgiService(JWTClientManagerServicePackagePath);
//noinspection JSUnresolvedFunction
var jwtClient = JWTClientManagerService.getJWTClient();
// returning access token by JWT grant type
return jwtClient.getAccessToken(clientAppCredentials["clientId"], clientAppCredentials["clientSecret"],
configs["authorization"]["methods"]["oauth"]["attributes"]["oauthProvider"]["appRegistration"]["owner"],
null)["accessToken"];
}
};
/**
* Get jwt token
* @param username username of logged user
* @param claims claims which are required
* @returns {"jwtToken"}
*/
publicMethods["getJwtToken"] = function (username, claims) {
if (!username) {
log.error("{/modules/oauth/token-handler-utils.js} Error in retrieving new jwt token");
return null;
} else {
var JWTClientManagerServicePackagePath =
"org.wso2.carbon.identity.jwt.client.extension.service.JWTClientManagerService";
//noinspection JSUnresolvedFunction, JSUnresolvedVariable
var JWTClientManagerService = carbon.server.osgiService(JWTClientManagerServicePackagePath);
//noinspection JSUnresolvedFunction
var jwtClient = JWTClientManagerService.getJWTClient();
// returning access token by JWT grant type
if (claims) {
return jwtClient.getJwtToken(username, claims);
} else {
return jwtClient.getJwtToken(username);
}
}
};
return publicMethods;
}();

View File

@ -1,192 +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.
*/
/**
* -----------------------------------------------------
* Following module includes handlers
* at Jaggery Layer for handling OAuth tokens.
* -----------------------------------------------------
*/
var handlers = function () {
var log = new Log("/modules/oauth/token-handlers.js");
var tokenUtil = require("/modules/oauth/token-handler-utils.js")["utils"];
var constants = require("/modules/constants.js");
var configs = require('/configs/portal.js').config();
var publicMethods = {};
var privateMethods = {};
/**
* Get an AccessToken pair based on username and password
* @param username username of the logged user
* @param password password of the logged user
*/
publicMethods["setupTokenPairByPasswordGrantType"] = function (username, password) {
if (!username || !password) {
throw new Error("{/modules/oauth/token-handlers.js} Could not set up access token pair by " +
"password grant type. Either username of logged in user, password or both are missing " +
"as input - setupTokenPairByPasswordGrantType(x, y)");
} else {
privateMethods.setUpEncodedTenantBasedClientAppCredentials(username);
var encodedClientAppCredentials =
session.get(constants["ENCODED_TENANT_BASED_CLIENT_APP_CREDENTIALS_PORTAL_APP"]);
if (!encodedClientAppCredentials) {
throw new Error("{/modules/oauth/token-handlers.js} Could not set up access token pair by " +
"password grant type. Encoded client credentials are " +
"missing - setupTokenPairByPasswordGrantType(x, y)");
} else {
var tokenData;
// tokenPair will include current access token as well as current refresh token
var arrayOfScopes = configs["authorization"]["methods"]["oauth"]["attributes"]["scopes"];
var stringOfScopes = "";
arrayOfScopes.forEach(function (entry) {
stringOfScopes += entry + " ";
});
tokenData = tokenUtil.
getTokenPairAndScopesByPasswordGrantType(username,
encodeURIComponent(password), encodedClientAppCredentials, stringOfScopes);
if (!tokenData) {
throw new Error("{/app/modules/oauth/token-handlers.js} Could not set up " +
"token pair by password grant type. Error in token " +
"retrieval - setupTokenPairByPasswordGrantType(x, y)");
} else {
var tokenPair = {};
tokenPair["accessToken"] = tokenData["accessToken"];
tokenPair["refreshToken"] = tokenData["refreshToken"];
// setting up token pair into session context as a string
session.put(constants["ACCESS_TOKEN_PAIR_IDENTIFIER_FOR_PORTAL"], stringify(tokenPair));
var scopes = tokenData.scopes.split(" ");
// adding allowed scopes to the session
session.put(constants["ALLOWED_SCOPES"], scopes);
}
}
}
};
/**
* Get an AccessToken pair based on SAML assertion
* @param samlToken SAML assertion
* @param username {{clientId:"", clientSecret:""}}
*/
publicMethods["setupTokenPairBySamlGrantType"] = function (username, samlToken) {
if (!username || !samlToken) {
throw new Error("{/modules/oauth/token-handlers.js} Could not set up access token pair by " +
"saml grant type. Either username of logged in user, samlToken or both are missing " +
"as input - setupTokenPairBySamlGrantType(x, y)");
} else {
privateMethods.setUpEncodedTenantBasedClientAppCredentials(username);
var encodedClientAppCredentials =
session.get(constants["ENCODED_TENANT_BASED_CLIENT_APP_CREDENTIALS_PORTAL_APP"]);
if (!encodedClientAppCredentials) {
throw new Error("{/app/modules/oauth/token-handlers.js} Could not set up access token pair " +
"by saml grant type. Encoded client credentials are " +
"missing - setupTokenPairBySamlGrantType(x, y)");
} else {
var tokenData;
// accessTokenPair will include current access token as well as current refresh token
tokenData = tokenUtil.
getTokenPairAndScopesByJWTGrantType(username, encodedClientAppCredentials, "PRODUCTION");
if (!tokenData) {
throw new Error("{/modules/oauth/token-handlers.js} Could not set up token " +
"pair by saml grant type. Error in token " +
"retrieval - setupTokenPairBySamlGrantType(x, y)");
} else {
var tokenPair = {};
tokenPair["accessToken"] = tokenData["accessToken"];
tokenPair["refreshToken"] = tokenData["refreshToken"];
// setting up access token pair into session context as a string
session.put(constants["ACCESS_TOKEN_PAIR_IDENTIFIER_FOR_PORTAL"], stringify(tokenPair));
var scopes = tokenData.scopes.split(" ");
// adding allowed scopes to the session
session.put(constants["ALLOWED_SCOPES"], scopes);
}
}
}
};
/**
* Set access token and refresh token using refresh token grant type
*/
publicMethods["refreshTokenPair"] = function () {
var currentTokenPair = parse(session.get(constants["ACCESS_TOKEN_PAIR_IDENTIFIER_FOR_PORTAL"]));
// currentTokenPair includes current access token as well as current refresh token
var encodedClientAppCredentials
= session.get(constants["ENCODED_TENANT_BASED_CLIENT_APP_CREDENTIALS_PORTAL_APP"]);
if (!currentTokenPair || !encodedClientAppCredentials) {
throw new Error("{/modules/oauth/token-handlers.js} Error in refreshing tokens. Either the " +
"token pair, encoded client app credentials or both input are not found under " +
"session context - refreshTokenPair()");
} else {
var newTokenPair = tokenUtil.
getNewTokenPairByRefreshToken(currentTokenPair["refreshToken"], encodedClientAppCredentials);
if (!newTokenPair) {
log.error("{/app/modules/oauth/token-handlers.js} Error in refreshing token pair. " +
"Unable to update session context with new access token pair - refreshTokenPair()");
} else {
session.put(constants["ACCESS_TOKEN_PAIR_IDENTIFIER_FOR_PORTAL"], stringify(newTokenPair));
}
}
};
/**
* If gateway is enable, apiManagerClientAppRegistrationServiceURL is used to create an oauth application or
* else DCR endpoint is used to create an oauth application
* @param username username of current logged user
*/
privateMethods["setUpEncodedTenantBasedClientAppCredentials"] = function (username) {
if (!username) {
throw new Error("{/modules/oauth/token-handlers.js} Could not set up encoded tenant based " +
"client credentials to session context. No username of logged in user is found as " +
"input - setUpEncodedTenantBasedClientAppCredentials(x)");
} else {
if (configs["authorization"]["methods"]["oauth"]["attributes"]["apimgt-gateway"]) {
var tenantBasedClientAppCredentials = tokenUtil.getTenantBasedClientAppCredentials(username);
if (!tenantBasedClientAppCredentials) {
throw new Error("{/modules/oauth/token-handlers.js} Could not set up encoded tenant " +
"based client credentials to session context as the server is unable " +
"to obtain such credentials - setUpEncodedTenantBasedClientAppCredentials(x)");
} else {
var encodedTenantBasedClientAppCredentials =
tokenUtil.encode(tenantBasedClientAppCredentials["clientId"] + ":" +
tenantBasedClientAppCredentials["clientSecret"]);
// setting up encoded tenant based client credentials to session context.
session.put(constants["ENCODED_TENANT_BASED_CLIENT_APP_CREDENTIALS_PORTAL_APP"],
encodedTenantBasedClientAppCredentials);
}
} else {
var dynamicClientAppCredentials = tokenUtil.getDynamicClientAppCredentials(username);
if (!dynamicClientAppCredentials) {
throw new Error("{/modules/oauth/token-handlers.js} Could not set up encoded tenant based " +
"client credentials to session context as the server is unable to obtain " +
"dynamic client credentials - setUpEncodedTenantBasedClientAppCredentials(x)");
}
var encodedTenantBasedClientAppCredentials =
tokenUtil.encode(dynamicClientAppCredentials["clientId"] + ":" +
dynamicClientAppCredentials["clientSecret"]);
// setting up encoded tenant based client credentials to session context.
session.put(constants["ENCODED_TENANT_BASED_CLIENT_APP_CREDENTIALS_PORTAL_APP"],
encodedTenantBasedClientAppCredentials);
}
}
};
return publicMethods;
}();

View File

@ -1,7 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<streamConfiguration type="csv">
<file>events.csv</file>
<streamID>rawInputStream:1.0.0</streamID>
<separateChar>,</separateChar>
<delayBetweenEventsInMilies>10</delayBetweenEventsInMilies>
</streamConfiguration>

View File

@ -1,60 +0,0 @@
/*
* Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* Licensed 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 getDateString, getDuration;
(function() {
getDateString = function (timestamp) {
var date = new Date();
date.setTime(timestamp);
return date.toString();
};
getDuration = function (durationInMS) {
var time = '';
var date = new Date();
date.setTime(durationInMS);
var day = Math.floor(durationInMS/86400000);
if (day > 0){
//More than 1 day
time = day +' day : ';
durationInMS = durationInMS - (day * 86400000);
}
var hour = Math.floor(durationInMS/3600000);
if (hour > 0){
//More than 1 hour
time = time + hour + ' hour : ';
durationInMS = durationInMS - (hour * 3600000);
}
var minutes = Math.floor(durationInMS/60000);
if (minutes > 0){
//More than 1 minute
time = time + minutes + ' minutes : ';
durationInMS = durationInMS - (minutes * 60000);
}
var seconds = Math.ceil(durationInMS/1000);
if (seconds > 0){
//More than 1 minute
time = time + seconds + ' seconds : ';
}
time = time.slice(0, -2);
return time;
};
}());

View File

@ -1,95 +0,0 @@
{
"store": {
"types": ["fs"]
},
"gadgetGeneration" :{
"isCreateGadgetEnable": false,
"ignoreProviders": ["rt"]
},
"authentication": {
"activeMethod": "sso",
"methods": {
"sso": {
"attributes": {
"issuer": "analyticsportal",
"identityProviderURL": "https://localhost:9443/samlsso",
"responseSigningEnabled": true,
"validateAssertionValidityPeriod": true,
"validateAudienceRestriction": true,
"assertionSigningEnabled": true,
"acs": "https://localhost:9445/portal/acs",
"identityAlias": "wso2carbon",
"defaultNameIDPolicy": "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified",
"useTenantKey": false,
"isPassive": false
}
},
"basic": {
"attributes": {}
}
}
},
"authorization": {
"activeMethod": "oauth",
"methods": {
"oauth": {
"attributes": {
"apimgt-gateway": true,
"oauthProvider": {
"appRegistration": {
"appType": "webapp",
"clientName": "analyticsportal",
"owner": "admin",
"password":"admin",
"dynamicClientAppRegistrationServiceURL": "https://localhost:9443/dynamic-client-web/register",
"apiManagerClientAppRegistrationServiceURL": "https://localhost:9443/api-application-registration/register/tenants",
"grantType": "urn:ietf:urn:ietf:params:oauth:grant-type:saml2-bearer",
"tokenScope": "admin",
"callbackUrl": "https://localhost:9445/portal",
"saasApp":true
},
"tokenServiceURL": "https://localhost:9443/oauth2/token"
},
"adminUser":"admin@carbon.super",
"adminUserTenantId":"-1234",
"adminRole":"admin",
"scopes" : [
"device:view"
]
}
}
}
},
"designers": [
"Internal/everyone"
],
"tenantPrefix": "/t",
"shareStore": false,
"theme": "basic",
"cacheTimeoutSeconds": "5",
"cacheSizeBytes": "1073741824",
"defaultDashboardRedirect": false,
"isCreateGadgetEnable": true,
"isSecureVaultEnabled" : false,
"assets": {
"gadget": {
"fileSizeLimit": 5
},
"layout": {
"fileSizeLimit": 1
}
},
"oauth": {
"username": "admin",
"password": "admin"
},
"host": {
"hostname": "localhost",
"port": "",
"protocol": ""
},
"queryParameters" : {
"passBetweenPages" : ["shared", "owner", "deviceId"]
}
}

View File

@ -1,34 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<?pde version="3.5"?>
<product name="Carbon Product" uid="carbon.product.id" id="carbon.product" application="carbon.application" version="4.4.0.SNAPSHOT" useFeatures="true" includeLaunchers="true">
<configIni use="default">
</configIni>
<launcherArgs>
</launcherArgs>
<plugins>
</plugins>
<features>
<feature id="org.wso2.carbon.core.runtime" version="4.3.0.SNAPSHOT"/>
</features>
<configurations>
<plugin id="org.eclipse.core.runtime" autoStart="true" startLevel="4" />
<plugin id="org.eclipse.equinox.common" autoStart="true" startLevel="2" />
<plugin id="org.eclipse.equinox.ds" autoStart="true" startLevel="2" />
<plugin id="org.eclipse.equinox.p2.reconciler.dropins" autoStart="true" startLevel="4" />
<plugin id="org.eclipse.equinox.simpleconfigurator" autoStart="true" startLevel="1" />
<!-- Disable update manager. It seems as if this could be achieved by the first line, but in
fact the second line sets reconcile to false (see org.eclipse.equinox.p2.publisher.eclipse.ConfigCUsAction#publishBundleCUs) -->
<property name="org.eclipse.update.reconcile" value="false" />
<plugin id="org.eclipse.update.configurator" autoStart="true" startLevel="4"/>
<property name="org.eclipse.equinox.simpleconfigurator.useReference" value="true" />
</configurations>
</product>

View File

@ -1,840 +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-release-profile-gen</artifactId>
<name>WSO2 IoT - Analytics - P2 Profile Gen</name>
<packaging>pom</packaging>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<inherited>false</inherited>
<executions>
<execution>
<id>1-unpack-p2-agent-distribution</id>
<phase>test</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>
<execution>
<id>unpack-equinox-executable</id>
<phase>test</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.eclipse.equinox</groupId>
<artifactId>org.eclipse.equinox.executable</artifactId>
<version>3.5.0.v20110530-7P7NFUFFLWUl76mart</version>
<type>zip</type>
<overWrite>true</overWrite>
<outputDirectory>target</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.wso2.maven</groupId>
<artifactId>carbon-p2-plugin</artifactId>
<version>${carbon.p2.plugin.version}</version>
<executions>
<execution>
<id>2-p2-repo-generation</id>
<phase>package</phase>
<goals>
<goal>p2-repo-gen</goal>
</goals>
<configuration>
<metadataRepository>file:${basedir}/target/p2-repo</metadataRepository>
<artifactRepository>file:${basedir}/target/p2-repo</artifactRepository>
<publishArtifacts>true</publishArtifacts>
<publishArtifactRepository>true</publishArtifactRepository>
<featureArtifacts>
<!-- START - Analytics Features -->
<featureArtifactDef>
org.wso2.carbon.analytics:org.wso2.carbon.analytics.core.feature:${carbon.analytics.das.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.analytics:org.wso2.carbon.analytics.datasource.feature:${carbon.analytics.das.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.analytics:org.wso2.carbon.analytics.restapi.feature:${carbon.analytics.das.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.analytics:org.wso2.carbon.analytics.spark.feature:${carbon.analytics.das.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.analytics:org.wso2.carbon.analytics.api.feature:${carbon.analytics.das.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.analytics-common:org.wso2.carbon.spark.commons.feature:${carbon.analytics.common.version}
</featureArtifactDef>
<!-- END - Analytics features -->
<featureArtifactDef>
org.wso2.carbon.analytics.cdmf:org.wso2.carbon.analytics.cdmf.feature:${cdmf.analytics.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.analytics-common:org.wso2.carbon.analytics.gadget.template.feature:${carbon.analytics.common.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.analytics:org.wso2.carbon.analytics.dashboard.ui.feature:${carbon.analytics.das.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.dashboards:org.wso2.carbon.dashboards.deployment.feature:${carbon.dashboard.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.analytics:org.wso2.carbon.analytics.messageconsole.feature:${carbon.analytics.das.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.analytics:org.wso2.carbon.analytics.activitydashboard.feature:${carbon.analytics.das.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.analytics:org.wso2.carbon.analytics.webservice.feature:${carbon.analytics.das.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.analytics:org.wso2.carbon.analytics.jsservice.feature:${carbon.analytics.das.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon:org.wso2.carbon.core.feature:${carbon.kernel.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon:org.wso2.carbon.core.runtime.feature:${carbon.kernel.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon:org.wso2.carbon.core.ui.feature:${carbon.kernel.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.das:org.wso2.das.styles.feature:${product.das.version}
</featureArtifactDef>
<!-- ********* START - Registry related *********** -->
<featureArtifactDef>
org.wso2.carbon.registry:org.wso2.carbon.registry.core.feature:${carbon.registry.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.registry:org.wso2.carbon.registry.ui.menu.feature:${carbon.registry.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.registry:org.wso2.carbon.registry.resource.properties.feature:${carbon.registry.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.registry:org.wso2.carbon.registry.contentsearch.feature:${carbon.registry.version}
</featureArtifactDef>
<!-- ********* END - Registry related *********** -->
<!-- ************** START - User Management ********* -->
<featureArtifactDef>
org.wso2.carbon.identity:org.wso2.carbon.user.mgt.feature:${carbon.identity.framework.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.identity:org.wso2.carbon.identity.core.ui.feature:${carbon.identity.framework.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.identity:org.wso2.carbon.identity.core.server.feature:${carbon.identity.framework.version}
</featureArtifactDef>
<!-- ************** END - User Management ********* -->
<!-- ************** START - Deployment Synchronizer ********* -->
<featureArtifactDef>
org.wso2.carbon.commons:org.wso2.carbon.deployment.synchronizer.feature:${carbon.commons.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.commons:org.wso2.carbon.event.server.feature:${carbon.commons.version}
</featureArtifactDef>
<!-- ************** END - Deployment Synchronizer ********* -->
<!-- ************** START - Capp Management ********* -->
<featureArtifactDef>
org.wso2.carbon.commons:org.wso2.carbon.application.mgt.feature:${carbon.commons.version}
</featureArtifactDef>
<!-- ************** END - Capp Management ********* -->
<!-- ************** START - Data Bridge ************ -->
<featureArtifactDef>
org.wso2.carbon.analytics-common:org.wso2.carbon.databridge.datareceiver.feature:${carbon.analytics.common.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.analytics-common:org.wso2.carbon.databridge.streamdefn.filesystem.server.feature:${carbon.analytics.common.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.analytics-common:org.wso2.carbon.databridge.datapublisher.feature:${carbon.analytics.common.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.analytics:org.wso2.carbon.analytics.eventsink.feature:${carbon.analytics.das.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.analytics:org.wso2.carbon.analytics.eventtable.feature:${carbon.analytics.das.version}
</featureArtifactDef>
<!-- ************** END - Data Bridge ************ -->
<!-- ************** START - WebApp Deployment ************ -->
<featureArtifactDef>
org.wso2.carbon.deployment:org.wso2.carbon.webapp.mgt.server.feature:${carbon.deployment.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.deployment:org.wso2.carbon.as.runtimes.cxf.feature:${carbon.deployment.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.commons:org.wso2.carbon.logging.mgt.feature:${carbon.commons.version}
</featureArtifactDef>
<!-- ************** END - WebApp Deployment ************ -->
<!-- ************** START - Jaggery feature ************ -->
<featureArtifactDef>
org.jaggeryjs:org.jaggeryjs.feature:${jaggery.version}
</featureArtifactDef>
<!-- ************** END - Jaggery feature ************ -->
<!-- Multitenancy related -->
<featureArtifactDef>
org.wso2.carbon.multitenancy:org.wso2.carbon.tenant.common.feature:${carbon.multitenancy.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.identity:org.wso2.carbon.identity.authenticator.saml2.sso.server.feature:${identity.carbon.auth.saml2.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.identity:org.wso2.carbon.identity.authenticator.saml2.sso.ui.feature:${identity.carbon.auth.saml2.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.identity:org.wso2.carbon.security.mgt.feature:${carbon.identity.framework.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.das:org.wso2.das.multitenancy.dashboard.ui.feature:${product.das.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.commons:org.wso2.carbon.tenant.mgt.common.feature:${carbon.commons.version}
</featureArtifactDef>
<!-- END - Multitenancy related -->
<!-- START - JMX agent -->
<featureArtifactDef>
org.wso2.carbon.analytics-common:org.wso2.carbon.analytics.common.jmx.agent.feature:${carbon.analytics.common.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.commons:org.wso2.carbon.ntask.core.feature:${carbon.commons.version}
</featureArtifactDef>
<!-- END - JMX agent -->
<!-- START - Data source related -->
<featureArtifactDef>
org.wso2.carbon.commons:org.wso2.carbon.ndatasource.feature:${carbon.commons.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.data:org.wso2.carbon.datasource.reader.hadoop.server.feature:${carbon.data.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.data:org.wso2.carbon.datasource.reader.cassandra.server.feature:${carbon.data.version}
</featureArtifactDef>
<!-- END - Data source related -->
<!-- ************** START - EVENT PROCESSING FEATURES *********** -->
<featureArtifactDef>
org.wso2.carbon.analytics-common:org.wso2.carbon.event.receiver.feature:${carbon.analytics.common.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.analytics-common:org.wso2.carbon.event.publisher.feature:${carbon.analytics.common.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.event-processing:org.wso2.carbon.event.processor.feature:${carbon.event-processing.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.analytics-common:org.wso2.carbon.event.tracer.feature:${carbon.analytics.common.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.event-processing:org.wso2.carbon.event.flow.feature:${carbon.event-processing.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.analytics-common:org.wso2.carbon.event.statistics.feature:${carbon.analytics.common.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.analytics-common:org.wso2.carbon.event.stream.feature:${carbon.analytics.common.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.event-processing:org.wso2.carbon.event.simulator.feature:${carbon.event-processing.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.analytics-common:org.wso2.carbon.event.application.deployer.feature:${carbon.analytics.common.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.analytics-common:org.wso2.carbon.event.processor.manager.core.feature:${carbon.analytics.common.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.analytics-common:org.wso2.carbon.event.processor.manager.commons.feature:${carbon.analytics.common.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.analytics:org.wso2.carbon.analytics.stream.persistence.server.feature:${carbon.analytics.das.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.analytics-common:org.wso2.carbon.event.template.manager.feature:${carbon.analytics.common.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.analytics:org.wso2.carbon.analytics.spark.feature:${carbon.analytics.das.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.analytics-common:org.wso2.carbon.event.stream.template.deployer.server.feature:${carbon.analytics.common.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.analytics-common:org.wso2.carbon.gadget.template.deployer.server.feature:${carbon.analytics.common.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.analytics-common:org.wso2.carbon.dashboard.template.deployer.server.feature:${carbon.analytics.common.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.analytics:org.wso2.carbon.analytics.eventsink.template.deployer.server.feature:${carbon.analytics.das.version}
</featureArtifactDef>
<!-- ************** END - EVENT PROCESSING FEATURES ************ -->
<!-- START - UES Features -->
<featureArtifactDef>
org.jaggeryjs.modules:carbon.feature:${jaggery.extensions.version}
</featureArtifactDef>
<featureArtifactDef>
org.jaggeryjs.modules:process.feature:${jaggery.extensions.version}
</featureArtifactDef>
<featureArtifactDef>
org.jaggeryjs.modules:i18n.feature:${jaggery.extensions.version}
</featureArtifactDef>
<featureArtifactDef>
org.jaggeryjs.modules:sso.feature:${jaggery.extensions.version}
</featureArtifactDef>
<featureArtifactDef>
org.jaggeryjs.modules:ws.feature:${jaggery.extensions.version}
</featureArtifactDef>
<featureArtifactDef>
org.jaggeryjs:org.jaggeryjs.server.feature:${jaggery.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.dashboards:org.wso2.carbon.dashboards.shindig.feature:${carbon.dashboard.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.dashboards:org.wso2.carbon.dashboards.portal.feature:${carbon.dashboard.version}
</featureArtifactDef>
<!-- END - UES Features -->
<!-- Transport Adapters -->
<featureArtifactDef>
org.wso2.carbon.devicemgt-plugins:org.wso2.carbon.device.mgt.adapter.feature:${carbon.device.mgt.plugin.version}
</featureArtifactDef>
<!--End Transport Adapters -->
<!-- Carbon metrics -->
<featureArtifactDef>
org.wso2.carbon.metrics:org.wso2.carbon.metrics.feature:${carbon.metrics.version}
</featureArtifactDef>
<!-- START - Tools -->
<featureArtifactDef>
org.wso2.carbon.commons:org.wso2.carbon.tryit.feature:${carbon.commons.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.event-processing:org.wso2.carbon.siddhi.tryit.feature:${carbon.event-processing.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.ciphertool:org.wso2.ciphertool.feature:${cipher.tool.version}
</featureArtifactDef>
<!-- END - Tools -->
<featureArtifactDef>
org.wso2.carbon.devicemgt:org.wso2.carbon.identity.jwt.client.extension.feature:${carbon.device.mgt.version}
</featureArtifactDef>
<!-- Geo Dashboard feature -->
<featureArtifactDef>
org.wso2.carbon.devicemgt-plugins:org.wso2.carbon.iot.geo.dashboard.feature:${carbon.device.mgt.plugin.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.analytics.shared:org.wso2.carbon.analytics.shared.spark.common.udf.feature:${analytics.shared.version}
</featureArtifactDef>
<!-- Siddhi extension feature -->
<featureArtifactDef>
org.wso2.carbon.devicemgt-plugins:org.wso2.extension.siddhi.execution.json.feature:${carbon.device.mgt.plugin.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.identity:org.wso2.carbon.identity.authenticator.mutualssl.feature:${identity.carbon.auth.mutual.ssl.version}
</featureArtifactDef>
</featureArtifacts>
</configuration>
</execution>
<execution>
<id>p2-profile-generation</id>
<phase>package</phase>
<goals>
<goal>p2-profile-gen</goal>
</goals>
<configuration>
<profile>default</profile>
<metadataRepository>file:${basedir}/target/p2-repo</metadataRepository>
<artifactRepository>file:${basedir}/target/p2-repo</artifactRepository>
<destination>
${basedir}/target/wso2carbon-core-${carbon.kernel.version}/repository/components
</destination>
<deleteOldProfileFiles>true</deleteOldProfileFiles>
<features>
<!-- START - Analytics Features -->
<feature>
<id>org.wso2.carbon.analytics.core.feature.group</id>
<version>${carbon.analytics.das.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.analytics.datasource.feature.group</id>
<version>${carbon.analytics.das.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.analytics.restapi.feature.group</id>
<version>${carbon.analytics.das.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.analytics.spark.feature.group</id>
<version>${carbon.analytics.das.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.analytics.api.feature.group</id>
<version>${carbon.analytics.das.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.spark.commons.feature.group</id>
<version>${carbon.analytics.common.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.event.stream.template.deployer.server.feature.group</id>
<version>${carbon.analytics.common.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.gadget.template.deployer.server.feature.group</id>
<version>${carbon.analytics.common.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.dashboard.template.deployer.server.feature.group</id>
<version>${carbon.analytics.common.version}</version>
</feature>
<!-- END - Analytics features -->
<feature>
<id>org.wso2.carbon.analytics.dashboard.ui.feature.group</id>
<version>${carbon.analytics.das.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.dashboard.deployment.feature.group</id>
<version>${carbon.dashboard.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.analytics.cdmf.feature.group</id>
<version>${cdmf.analytics.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.analytics.messageconsole.feature.group</id>
<version>${carbon.analytics.das.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.analytics.activitydashboard.feature.group</id>
<version>${carbon.analytics.das.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.analytics.webservice.feature.group</id>
<version>${carbon.analytics.das.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.analytics.jsservice.feature.group</id>
<version>${carbon.analytics.das.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.core.feature.group</id>
<version>${carbon.kernel.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.core.runtime.feature.group</id>
<version>${carbon.kernel.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.core.ui.feature.group</id>
<version>${carbon.kernel.version}</version>
</feature>
<feature>
<id>org.wso2.das.styles.feature.group</id>
<version>${product.das.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.analytics.shared.spark.common.udf.feature.group</id>
<version>${analytics.shared.version}</version>
</feature>
<!-- ********* START - Registry related *********** -->
<feature>
<id>org.wso2.carbon.registry.core.feature.group</id>
<version>${carbon.registry.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.registry.ui.menu.feature.group</id>
<version>${carbon.registry.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.registry.resource.properties.feature.group</id>
<version>${carbon.registry.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.registry.contentsearch.feature.group</id>
<version>${carbon.registry.version}</version>
</feature>
<!-- ********* END - Registry related *********** -->
<!-- ************** START - User Management ********* -->
<feature>
<id>org.wso2.carbon.user.mgt.feature.group</id>
<version>${carbon.identity.framework.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.identity.core.ui.feature.group</id>
<version>${carbon.identity.framework.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.identity.core.server.feature.group</id>
<version>${carbon.identity.framework.version}</version>
</feature>
<!-- ************** END - User Management ********* -->
<!-- ************** START - Deployment Synchronizer ********* -->
<feature>
<id>org.wso2.carbon.deployment.synchronizer.feature.group</id>
<version>${carbon.commons.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.event.server.feature.group</id>
<version>${carbon.commons.version}</version>
</feature>
<!-- ************** END - Deployment Synchronizer ********* -->
<!-- ************** START - Capp Management ********* -->
<feature>
<id>org.wso2.carbon.application.mgt.feature.group</id>
<version>${carbon.commons.version}</version>
</feature>
<!-- ************** END - Capp Management ********* -->
<!-- ************** START - Data Bridge ************ -->
<feature>
<id>org.wso2.carbon.databridge.datareceiver.feature.group</id>
<version>${carbon.analytics.common.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.databridge.streamdefn.filesystem.server.feature.group</id>
<version>${carbon.analytics.common.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.databridge.datapublisher.feature.group</id>
<version>${carbon.analytics.common.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.analytics.eventsink.feature.group</id>
<version>${carbon.analytics.das.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.analytics.eventtable.feature.group</id>
<version>${carbon.analytics.das.version}</version>
</feature>
<!-- ************** END - Data Bridge ************ -->
<!-- ************** START - WebApp Deployment ************ -->
<feature>
<id>org.wso2.carbon.webapp.mgt.server.feature.group</id>
<version>${carbon.deployment.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.as.runtimes.cxf.feature.group</id>
<version>${carbon.deployment.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.logging.mgt.feature.group</id>
<version>${carbon.commons.version}</version>
</feature>
<!-- ************** END - WebApp Deployment ************* -->
<!-- ************** jaggery feature groups ***************-->
<feature>
<id>org.jaggeryjs.feature.group</id>
<version>${jaggery.version}</version>
</feature>
<!-- ***************feature groups end *******************-->
<!-- START - Multitenancy related -->
<feature>
<id>org.wso2.carbon.tenant.common.feature.group</id>
<version>${carbon.multitenancy.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.identity.authenticator.saml2.sso.server.feature.group</id>
<version>${identity.carbon.auth.saml2.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.identity.authenticator.saml2.sso.ui.feature.group</id>
<version>${identity.carbon.auth.saml2.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.security.mgt.feature.group</id>
<version>${carbon.identity.framework.version}</version>
</feature>
<feature>
<id>org.wso2.das.multitenancy.dashboard.ui.feature.group</id>
<version>${product.das.version}</version>
</feature>
<!-- END - Multitenancy related -->
<!-- START - JMX agent -->
<feature>
<id>org.wso2.carbon.analytics.common.jmx.agent.feature.group</id>
<version>${carbon.analytics.common.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.ntask.core.feature.group</id>
<version>${carbon.commons.version}</version>
</feature>
<!-- END - JMX agent -->
<!-- START - Data source related -->
<feature>
<id>org.wso2.carbon.ndatasource.feature.group</id>
<version>${carbon.commons.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.datasource.reader.hadoop.server.feature.group</id>
<version>${carbon.data.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.datasource.reader.cassandra.server.feature.group</id>
<version>${carbon.data.version}</version>
</feature>
<!-- END - Data source related -->
<!-- ************** START - EVENT PROCESSING FEATURES ************ -->
<feature>
<id>org.wso2.carbon.event.receiver.feature.group</id>
<version>${carbon.analytics.common.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.event.publisher.feature.group</id>
<version>${carbon.analytics.common.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.event.processor.feature.group</id>
<version>${carbon.event-processing.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.event.processor.server.feature.group</id>
<version>${carbon.event-processing.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.event.tracer.feature.group</id>
<version>${carbon.analytics.common.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.event.flow.feature.group</id>
<version>${carbon.event-processing.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.event.statistics.feature.group</id>
<version>${carbon.analytics.common.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.event.stream.feature.group</id>
<version>${carbon.analytics.common.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.event.simulator.feature.group</id>
<version>${carbon.event-processing.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.event.application.deployer.feature.group</id>
<version>${carbon.analytics.common.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.event.processor.manager.core.feature.group</id>
<version>${carbon.analytics.common.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.event.processor.manager.commons.feature.group</id>
<version>${carbon.analytics.common.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.analytics.stream.persistence.server.feature.group</id>
<version>${carbon.analytics.das.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.event.template.manager.feature.group</id>
<version>${carbon.analytics.common.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.analytics.spark.feature.group</id>
<version>${carbon.analytics.das.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.analytics.eventsink.template.deployer.server.feature.group</id>
<version>${carbon.analytics.das.version}</version>
</feature>
<!-- ************** END - EVENT PROCESSING FEATURES ************ -->
<!-- START - UES Features -->
<feature>
<id>org.jaggeryjs.modules.carbon.feature.group</id>
<version>${jaggery.extensions.version}</version>
</feature>
<feature>
<id>org.jaggeryjs.modules.process.feature.group</id>
<version>${jaggery.extensions.version}</version>
</feature>
<feature>
<id>org.jaggeryjs.modules.i18n.feature.group</id>
<version>${jaggery.extensions.version}</version>
</feature>
<feature>
<id>org.jaggeryjs.modules.sso.feature.group</id>
<version>${jaggery.extensions.version}</version>
</feature>
<feature>
<id>org.jaggeryjs.modules.ws.feature.group</id>
<version>${jaggery.extensions.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.dashboards.shindig.feature.group</id>
<version>${carbon.dashboard.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.dashboards.portal.feature.group</id>
<version>${carbon.dashboard.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.dashboard.deployment.feature.group</id>
<version>${carbon.dashboard.version}</version>
</feature>
<!-- END - UES Features -->
<!-- carbon metrics -->
<feature>
<id>org.wso2.carbon.metrics.feature.group</id>
<version>${carbon.metrics.version}</version>
</feature>
<!--START - Tools-->
<feature>
<id>org.wso2.carbon.tryit.feature.group</id>
<version>${carbon.commons.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.siddhi.tryit.feature.group</id>
<version>${carbon.event-processing.version}</version>
</feature>
<feature>
<id>org.wso2.ciphertool.feature.group</id>
<version>${cipher.tool.version}</version>
</feature>
<!--END - Tools-->
<!-- Transport Adapters -->
<feature>
<id>org.wso2.carbon.device.mgt.adapter.feature.group</id>
<version>${carbon.device.mgt.plugin.version}</version>
</feature>
<!-- End Transport Adapters -->
<feature>
<id>org.wso2.carbon.identity.jwt.client.extension.feature.group</id>
<version>${carbon.device.mgt.version}</version>
</feature>
<!-- IoT Analytics Features -->
<feature>
<id>org.wso2.carbon.analytics.cdmf.feature.group</id>
<version>${cdmf.analytics.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.analytics.gadget.template.feature.group</id>
<version>${carbon.analytics.common.version}</version>
</feature>
<!-- End of IoT Analytics Features -->
<!-- Geo Dashboard Feature -->
<feature>
<id>org.wso2.carbon.iot.geo.dashboard.feature.group</id>
<version>${carbon.device.mgt.plugin.version}</version>
</feature>
<!-- End of Geo Dashboard Feature -->
<!-- Siddhi extension Feature -->
<feature>
<id>org.wso2.extension.siddhi.execution.json.feature.group</id>
<version>${carbon.device.mgt.plugin.version}</version>
</feature>
</features>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<configuration>
<tasks>
<replace token="false" value="true" dir="target/wso2carbon-core-${carbon.kernel.version}/repository/components">
<include name="**/bundles.info" />
</replace>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<properties>
</properties>
</project>

View File

@ -1,39 +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-parent</artifactId>
<version>3.1.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>wso2iot-analytics-parent</artifactId>
<packaging>pom</packaging>
<name>WSO2 IoT - Analytics Parent</name>
<description>WSO2 IoT Analytics Module</description>
<modules>
<module>p2-profile-gen</module>
<module>distribution</module>
</modules>
</project>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 523 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 233 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

View File

@ -1,69 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head> <script type="text/javascript" src="../../carbon/googleanalytics/js/jquery.min.js"></script>
<script type="text/javascript" src="../../carbon/googleanalytics/js/googleAnalyticsProcessor.js"></script>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<title>StratosLive</title>
<link href="style.css" rel="stylesheet" type="text/css" media="all" />
<link rel="icon" href="images/favicon.ico" type="image/x-icon"/>
<meta name="description" content="WSO2 is the lean enterprise middleware company, delivering the only complete open source enterprise SOA middleware stack available internally and in the cloud." />
<meta name="keywords" content="cloud, platform-as-a-service, PaaS" />
</head>
<body>
<div id="main-content">
<div id="header">
<div class="logo"><img src="images/logo.gif"/></div>
</div>
<div id="content">
<div class="intro">
<div class="register">
<a href="https://stratoslive.wso2.com/carbon/tenant-register/select_domain.jsp"><img src="images/register.gif"/></a>
<a href="../carbon/sso-acs/redirect_ajaxprocessor.jsp"><img src="images/sign-in.gif"/></a>
</div>
<p>WSO2 MB brings Event Driven Architecture capabilities to WSO2 Carbon platform. It provides WS-Eventing, JMS and SQS interfaces to client. It uses Apache Qpid as the underling broker which supports AMQP.</p>
</div>
<div class="clear"></div>
<div class="features">
<h2>Features</h2>
<div class="feature feature-left">
<img src="images/feature-01-icon.gif"/>
<h2>Bring CEP to SOA</h2>
<p>
Bring CEP to SOA by processing XML events and produce results as XML events.
</p>
</div>
<div class="feature">
<img src="images/feature-02-icon.gif"/>
<h2>Registry Storage</h2>
<p>
Ability to define different event streams, queries and out put streams and store them in the registry as a bucket.
</p>
</div>
<div class="feature">
<img src="images/feature-03-icon.gif"/>
<h2>Esper and Fusion</h2>
<p>
Support Esper and fusion back end runtimes.
</p>
</div>
<div class="clear"></div>
</div>
<div class="clear"></div>
</div>
<div id="footer">
<div class="footer-links">
<a href="http://www.wso2.com/cloud/services/terms-of-use" target="_blank">Terms of Service</a> | <a href="http://www.wso2.com/cloud/services/privacy-policy" target="_blank">Privacy Policy</a> | <a href="http://www.wso2.com/cloud/services/support" target="_blank">Support</a>
</div>
<div class="powered">
<span>Powered by</span><img src="images/powered-logo.gif" alt="ESB"/>
</div>
<span class="copyright">&copy;stratoslive.wso2.com copyright 2010-2011 WSO2, Inc. </span>
</div>
</div>
</div>
</body>
</html>

View File

@ -1,46 +0,0 @@
body { font-family: "Calibri","Lucida Grande","Lucida Sans","Microsoft Sans Serif","Lucida Sans Unicode","Verdana","Sans-serif","trebuchet ms"; font-size: .85em; line-height: 135%; color: #434343; margin: 0px; padding: 0px; background-color: #94C8EC;}
p { }
td { }
a:link { text-decoration: none; }
a:visited { text-decoration: none; }
a:hover { text-decoration: none; }
a:active { text-decoration: none; }
a img { border: 0px; }
div
.clear { clear: both; }
div#main-content { width: 960px; margin: auto; background-image: url(images/top.gif); background-repeat: no-repeat; background-position: left top; }
div#header { height: 125px; }
div.logo { float: left; margin-top: 35px; }
div.sign-in { float: right; margin-top: 35px; }
div#content { background-color: #ffffff; background-image: url(images/content-bg.gif); background-repeat: repeat-y; background-position: left top; }
div.intro { padding: 35px; padding-top: 10px; padding-bottom: 20px; font-size: 125%; line-height: 130%; float: left; background-image: url(images/intro-bg.gif); background-position: left bottom; background-repeat: no-repeat; }
div.intro p { margin-top: 0px; margin-bottom: 0px; }
div.register { float: right; margin-left: 40px; margin-top: 0px; margin-right: 0px; width: 400px; text-align: center;}
div.register a img { margin-bottom: 7px; }
div.register a:hover img { opacity:0.7;filter:alpha(opacity=70) }
div.features { margin-top: 20px; }
div.features h2 { margin-top: 0px; margin-bottom: 0px; font-size: 24px; color: #003A63; margin-left: 35px; margin-right: 35px; border-bottom: solid 0px #79BDE8; padding-bottom: 10px; background-image: url(images/title-bg.gif); background-repeat: no-repeat; background-position: left bottom; }
div.feature { float: left; width: 230px; margin-left: 30px; margin-top: 7px; padding: 20px; text-align: left; }
div.feature img { float: left; margin-right: 10px; width: 64px; }
div.feature h2 { margin-top: 0px; margin-bottom: 7px; color: #0499CC; font-size: 140%; line-height: 110%; font-weight: normal; border-bottom: 0px; margin-left: 0px; margin-right: 0px; padding-bottom: 0px; background-image: none; }
div.feature p { margin-top: 0px; padding-top: 0px; }
div.feature-left { margin-left: 41px; }
div#footer { height: 80px; background-image: url(images/bottom.gif); background-position: left top; background-repeat: no-repeat; padding-top: 25px; }
div#footer div.powered { color: #333333; float: right; font-size: 85%; margin-right: 10px; }
div#footer div.powered span { float: left; line-height: 23px; margin-right: 5px; }
div.footer-links { padding-bottom: 5px; padding-left: 10px; border-bottom: solid 1px #4E84C4; margin-bottom: 10px; color: #4E84C4; }
div#footer span.copyright { font-size: 90%; padding-left: 10px; }

View File

@ -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="&lt;Property name=&quot;GetAllRolesOfUserEnabled&quot;&gt;true&lt;/Property&gt;" value="&lt;!--Property name=&quot;GetAllRolesOfUserEnabled&quot;&gt;true&lt;/Property--&gt;" />
<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="&lt;parent-menu&gt;identity_menu&lt;/parent-menu&gt;" value="&lt;parent-menu&gt;configure_menu&lt;/parent-menu&gt;" />
<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="&lt;parent-menu&gt;identity_menu&lt;/parent-menu&gt;" value="&lt;parent-menu&gt;configure_menu&lt;/parent-menu&gt;" />
<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="&lt;parent-menu&gt;manage_menu&lt;/parent-menu&gt;" value="&lt;parent-menu&gt;configure_menu&lt;/parent-menu&gt;" />
<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>

View File

@ -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>

View File

@ -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>

View File

@ -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

View File

@ -1,725 +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.
-->
<axisconfig name="AxisJava2.0">
<!-- ================================================= -->
<!-- Globally engaged modules -->
<!-- ================================================= -->
<module ref="addressing"/>
<!-- ================================================= -->
<!-- Parameters -->
<!-- ================================================= -->
<parameter name="hotdeployment">${hotdeployment}</parameter>
<parameter name="hotupdate">${hotupdate}</parameter>
<parameter name="enableMTOM" locked="false">optional</parameter>
<parameter name="cacheAttachments">true</parameter>
<parameter name="attachmentDIR">work/mtom</parameter>
<parameter name="sizeThreshold">4000</parameter>
<parameter name="EnableChildFirstClassLoading">${childfirstCL}</parameter>
<!--
The exposeServiceMetadata parameter decides whether the metadata (WSDL, schema, policy) of
the services deployed on Axis2 should be visible when ?wsdl, ?wsdl2, ?xsd, ?policy requests
are received.
This parameter can be defined in the axi2.xml file, in which case this will be applicable
globally, or in the services.xml files, in which case, it will be applicable to the
Service groups and/or services, depending on the level at which the parameter is declared.
This value of this parameter defaults to true.
-->
<parameter name="exposeServiceMetadata">true</parameter>
<!--If turned on with use the Accept header of the request to determine the contentType of the
response-->
<parameter name="httpContentNegotiation">true</parameter>
<!--
Defines how the persistence of WS-ReliableMessaging is handled
Possible value are: inmemory & persistent
-->
<!-- Following parameter will completely disable REST handling in both the servlets-->
<parameter name="disableREST" locked="false">false</parameter>
<parameter name="Sandesha2StorageManager">inmemory</parameter>
<!-- This deployment interceptor will be called whenever before a module is initialized or
service is deployed -->
<listener class="org.wso2.carbon.core.deployment.DeploymentInterceptor"/>
<!-- setting servicePath. contextRoot is defined in the carbon.xml file -->
<!-- modification of this variable should be accompanied by the change in 'ServerURL' in carbon.xml file -->
<parameter name="servicePath">services</parameter>
<!--the directory in which .aar services are deployed inside axis2 repository-->
<parameter name="ServicesDirectory">axis2services</parameter>
<!--the directory in which modules are deployed inside axis2 repository-->
<parameter name="ModulesDirectory">axis2modules</parameter>
<parameter name="userAgent" locked="true">
WSO2 Message Broker-3.0.0
</parameter>
<parameter name="server" locked="true">
WSO2 Message Broker-3.0.0
</parameter>
<!-- ========================================================================-->
<!--During a fault, stacktrace can be sent with the fault message. The following flag will control -->
<!--that behaviour.-->
<parameter name="sendStacktraceDetailsWithFaults">false</parameter>
<!--If there aren't any information available to find out the fault reason, we set the message of the expcetion-->
<!--as the faultreason/Reason. But when a fault is thrown from a service or some where, it will be -->
<!--wrapped by different levels. Due to this the initial exception message can be lost. If this flag-->
<!--is set then, Axis2 tries to get the first exception and set its message as the faultreason/Reason.-->
<parameter name="DrillDownToRootCauseForFaultReason">false</parameter>
<!--Set the flag to true if you want to enable transport level session mangment-->
<parameter name="manageTransportSession">true</parameter>
<!-- Synapse Configuration file -->
<parameter name="SynapseConfig.ConfigurationFile" locked="false">
./repository/deployment/server/synapse-configs
</parameter>
<!-- Synapse Home parameter -->
<parameter name="SynapseConfig.HomeDirectory" locked="false">.</parameter>
<!-- Resolve root used to resolve synapse references like schemas inside a WSDL -->
<parameter name="SynapseConfig.ResolveRoot" locked="false">.</parameter>
<!-- Synapse Server name parameter -->
<parameter name="SynapseConfig.ServerName" locked="false">WSO2 Carbon Server</parameter>
<!--By default, JAXWS services are created by reading annotations. WSDL and schema are generated-->
<!--using a separate WSDL generator only when ?wsdl is called. Therefore, even if you engage-->
<!--policies etc.. to AxisService, it doesn't appear in the WSDL. By setting the following property-->
<!--to true, you can create the AxisService using the generated WSDL and remove the need for a-->
<!--WSDL generator. When ?wsdl is called, WSDL is generated in the normal way.-->
<parameter name="useGeneratedWSDLinJAXWS">${jaxwsparam}</parameter>
<!-- Deployer for the dataservice. -->
<!--<deployer extension="dbs" directory="dataservices" class="org.wso2.dataservices.DBDeployer"/>-->
<!-- Axis1 deployer for Axis2-->
<!--<deployer extension="wsdd" class="org.wso2.carbon.axis1services.Axis1Deployer" directory="axis1services"/>-->
<!-- POJO service deployer for Jar -->
<!--<deployer extension="jar" class="org.apache.axis2.deployment.POJODeployer" directory="pojoservices"/>-->
<!-- POJO service deployer for Class -->
<!--<deployer extension="class" class="org.apache.axis2.deployment.POJODeployer" directory="pojoservices"/>-->
<!-- JAXWS service deployer -->
<!--<deployer extension=".jar" class="org.apache.axis2.jaxws.framework.JAXWSDeployer" directory="servicejars"/>-->
<!-- ================================================= -->
<!-- Message Receivers -->
<!-- ================================================= -->
<!--This is the Default Message Receiver for the system , if you want to have MessageReceivers for -->
<!--all the other MEP implement it and add the correct entry to here , so that you can refer from-->
<!--any operation -->
<!--Note : You can ovride this for particular service by adding the same element with your requirement-->
<messageReceivers>
<messageReceiver mep="http://www.w3.org/ns/wsdl/in-only"
class="org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver"/>
<messageReceiver mep="http://www.w3.org/ns/wsdl/robust-in-only"
class="org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver"/>
<messageReceiver mep="http://www.w3.org/ns/wsdl/in-out"
class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
</messageReceivers>
<messageFormatters>
<messageFormatter contentType="application/x-www-form-urlencoded"
class="org.apache.axis2.transport.http.XFormURLEncodedFormatter"/>
<messageFormatter contentType="multipart/form-data"
class="org.apache.axis2.transport.http.MultipartFormDataFormatter"/>
<messageFormatter contentType="application/xml"
class="org.apache.axis2.transport.http.ApplicationXMLFormatter"/>
<messageFormatter contentType="text/xml"
class="org.apache.axis2.transport.http.SOAPMessageFormatter"/>
<messageFormatter contentType="application/soap+xml"
class="org.apache.axis2.transport.http.SOAPMessageFormatter"/>
<!--JSON Message Formatters-->
<!--messageFormatter contentType="application/json"
class="org.apache.axis2.json.JSONMessageFormatter"/-->
<messageFormatter contentType="application/json"
class="org.apache.axis2.json.gson.JsonFormatter" />
<messageFormatter contentType="application/json/badgerfish"
class="org.apache.axis2.json.JSONBadgerfishMessageFormatter"/>
<!--messageFormatter contentType="text/javascript"
class="org.apache.axis2.json.JSONMessageFormatter"/-->
<messageFormatter contentType="text/javascript"
class="org.apache.axis2.json.gson.JsonFormatter" />
<!--messageFormatter contentType="application/x-www-form-urlencoded"
class="org.wso2.carbon.relay.ExpandingMessageFormatter"/-->
<!--messageFormatter contentType="multipart/form-data"
class="org.wso2.carbon.relay.ExpandingMessageFormatter"/-->
<!--messageFormatter contentType="application/xml"
class="org.wso2.carbon.relay.ExpandingMessageFormatter"/-->
<!--messageFormatter contentType="text/html"
class="org.wso2.carbon.relay.ExpandingMessageFormatter"/-->
<!--messageFormatter contentType="application/soap+xml"
class="org.wso2.carbon.relay.ExpandingMessageFormatter"/-->
<!--messageFormatter contentType="x-application/hessian"
class="org.apache.synapse.format.hessian.HessianMessageFormatter"/-->
<!--<messageFormatter contentType="">
class="org.apache.synapse.format.hessian.HessianMessageFormatter"/-->
</messageFormatters>
<messageBuilders>
<messageBuilder contentType="application/xml"
class="org.apache.axis2.builder.ApplicationXMLBuilder"/>
<messageBuilder contentType="application/x-www-form-urlencoded"
class="org.apache.axis2.builder.XFormURLEncodedBuilder"/>
<messageBuilder contentType="multipart/form-data"
class="org.apache.axis2.builder.MultipartFormDataBuilder"/>
<!--JSON Message Builders-->
<!--messageBuilder contentType="application/json"
class="org.apache.axis2.json.JSONOMBuilder"/-->
<messageBuilder contentType="application/json"
class="org.apache.axis2.json.gson.JsonBuilder" />
<messageBuilder contentType="application/json/badgerfish"
class="org.apache.axis2.json.JSONBadgerfishOMBuilder"/>
<!--messageBuilder contentType="text/javascript"
class="org.apache.axis2.json.JSONOMBuilder"/-->
<messageBuilder contentType="text/javascript"
class="org.apache.axis2.json.gson.JsonBuilder" />
<!--messageBuilder contentType="application/xml"
class="org.wso2.carbon.relay.BinaryRelayBuilder"/-->
<!--messageBuilder contentType="application/x-www-form-urlencoded"
class="org.wso2.carbon.relay.BinaryRelayBuilder"/-->
<!--messageBuilder contentType="multipart/form-data"
class="org.wso2.carbon.relay.BinaryRelayBuilder"/-->
<!--messageBuilder contentType="multipart/related"
class="org.wso2.carbon.relay.BinaryRelayBuilder"/-->
<!--messageBuilder contentType="application/soap+xml"
class="org.wso2.carbon.relay.BinaryRelayBuilder"/-->
<!--messageBuilder contentType="text/plain"
class="org.wso2.carbon.relay.BinaryRelayBuilder"/-->
<!--messageBuilder contentType="text/xml"
class="org.wso2.carbon.relay.BinaryRelayBuilder"/-->
<!--messageFormatter contentType="text/plain"
class="org.apache.axis2.format.PlainTextBuilder"/-->
<!--messageBuilder contentType="x-application/hessian"
class="org.apache.synapse.format.hessian.HessianMessageBuilder"/-->
</messageBuilders>
<!-- ================================================= -->
<!-- In Transports -->
<!-- ================================================= -->
<transportReceiver name="http"
class="org.wso2.carbon.core.transports.http.HttpTransportListener">
<!--
Uncomment the following if you are deploying this within an application server. You
need to specify the HTTP port of the application server
-->
<parameter name="port">9763</parameter>
<!--
Uncomment the following to enable any proxy like Apache2 mod_proxy or any load balancer. The port on the proxy server like Apache is 80
in this case.
-->
<!--<parameter name="proxyPort">80</parameter>-->
</transportReceiver>
<!--Please uncomment this in Multiple Instance Scenario if you want to use NIO Transport Recievers and
Remove the current transport REceivers in axis2.xml -->
<!--transportReceiver name="http" class="org.apache.synapse.transport.nhttp.HttpCoreNIOListener">
<parameter name="port" locked="false">8280</parameter>
<parameter name="non-blocking" locked="false">true</parameter>
</transportReceiver>
<transportReceiver name="https" class="org.apache.synapse.transport.nhttp.HttpCoreNIOSSLListener">
<parameter name="port" locked="false">8243</parameter>
<parameter name="non-blocking" locked="false">true</parameter>
<parameter name="keystore" locked="false">
<KeyStore>
<Location>repository/resources/security/wso2carbon.jks</Location>
<Type>JKS</Type>
<Password>wso2carbon</Password>
<KeyPassword>wso2carbon</KeyPassword>
</KeyStore>
</parameter>
<parameter name="truststore" locked="false">
<TrustStore>
<Location>repository/resources/security/client-truststore.jks</Location>
<Type>JKS</Type>
<Password>wso2carbon</Password>
</TrustStore>
</parameter>
</transportReceiver-->
<transportReceiver name="https"
class="org.wso2.carbon.core.transports.http.HttpsTransportListener">
<!--
Uncomment the following if you are deploying this within an application server. You
need to specify the HTTPS port of the application server
-->
<parameter name="port">9443</parameter>
<!--
Uncomment the following to enable any proxy like Apache2 mod_proxy or any load balancer. The port on a proxy server like Apache is 443
in this case.
-->
<!--<parameter name="proxyPort">443</parameter>-->
</transportReceiver>
<!--
Uncomment the following segment to enable TCP transport.
Note : Addressing module should be engaged for TCP transport to work
-->
<!--<transportReceiver name="tcp"
class="org.apache.axis2.transport.tcp.TCPServer">
<parameter name="port">6667</parameter>
</transportReceiver>-->
<!--
To Enable Mail Transport Listener, please uncomment the following.
-->
<!--<transportReceiver name="mailto" class="org.apache.axis2.transport.mail.MailTransportListener">
</transportReceiver>-->
<!--
Uncomment this and configure as appropriate for JMS transport support,
after setting up your JMS environment (e.g. ActiveMQ)
-->
<!--<transportReceiver name="jms" class="org.apache.axis2.transport.jms.JMSListener">
<parameter name="myTopicConnectionFactory">
<parameter name="java.naming.factory.initial">org.apache.activemq.jndi.ActiveMQInitialContextFactory</parameter>
<parameter name="java.naming.provider.url">tcp://localhost:61616</parameter>
<parameter name="transport.jms.ConnectionFactoryJNDIName">TopicConnectionFactory</parameter>
</parameter>
<parameter name="myQueueConnectionFactory">
<parameter name="java.naming.factory.initial">org.apache.activemq.jndi.ActiveMQInitialContextFactory</parameter>
<parameter name="java.naming.provider.url">tcp://localhost:61616</parameter>
<parameter name="transport.jms.ConnectionFactoryJNDIName">QueueConnectionFactory</parameter>
</parameter>
<parameter name="default">
<parameter name="java.naming.factory.initial">org.apache.activemq.jndi.ActiveMQInitialContextFactory</parameter>
<parameter name="java.naming.provider.url">tcp://localhost:61616</parameter>
<parameter name="transport.jms.ConnectionFactoryJNDIName">QueueConnectionFactory</parameter>
</parameter>
</transportReceiver>-->
<!--Uncomment this and configure as appropriate for JMS transport support with Apache Qpid -->
<!--transportReceiver name="jms" class="org.apache.axis2.transport.jms.JMSListener">
<parameter name="myTopicConnectionFactory" locked="false">
<parameter name="java.naming.factory.initial" locked="false">org.apache.qpid.jndi.PropertiesFileInitialContextFactory</parameter>
<parameter name="java.naming.provider.url" locked="false">repository/conf/jndi.properties</parameter>
<parameter name="transport.jms.ConnectionFactoryJNDIName" locked="false">TopicConnectionFactory</parameter>
<parameter name="transport.jms.ConnectionFactoryType" locked="false">topic</parameter>
</parameter>
<parameter name="myQueueConnectionFactory" locked="false">
<parameter name="java.naming.factory.initial" locked="false">org.apache.qpid.jndi.PropertiesFileInitialContextFactory</parameter>
<parameter name="java.naming.provider.url" locked="false">repository/conf/jndi.properties</parameter>
<parameter name="transport.jms.ConnectionFactoryJNDIName" locked="false">QueueConnectionFactory</parameter>
<parameter name="transport.jms.ConnectionFactoryType" locked="false">queue</parameter>
</parameter>
<parameter name="default" locked="false">
<parameter name="java.naming.factory.initial" locked="false">org.apache.qpid.jndi.PropertiesFileInitialContextFactory</parameter>
<parameter name="java.naming.provider.url" locked="false">repository/conf/jndi.properties</parameter>
<parameter name="transport.jms.ConnectionFactoryJNDIName" locked="false">QueueConnectionFactory</parameter>
<parameter name="transport.jms.ConnectionFactoryType" locked="false">queue</parameter>
</parameter>
</transportReceiver-->
<!--Uncomment this and configure as appropriate for JMS transport support with WSO2 MB 3.x.x -->
<!--transportReceiver name="jms" class="org.apache.axis2.transport.jms.JMSListener">
<parameter name="myTopicConnectionFactory" locked="false">
<parameter name="java.naming.factory.initial" locked="false">org.wso2.andes.jndi.PropertiesFileInitialContextFactory</parameter>
<parameter name="java.naming.provider.url" locked="false">repository/conf/jndi.properties</parameter>
<parameter name="transport.jms.ConnectionFactoryJNDIName" locked="false">TopicConnectionFactory</parameter>
<parameter name="transport.jms.ConnectionFactoryType" locked="false">topic</parameter>
</parameter>
<parameter name="myQueueConnectionFactory" locked="false">
<parameter name="java.naming.factory.initial" locked="false">org.wso2.andes.jndi.PropertiesFileInitialContextFactory</parameter>
<parameter name="java.naming.provider.url" locked="false">repository/conf/jndi.properties</parameter>
<parameter name="transport.jms.ConnectionFactoryJNDIName" locked="false">QueueConnectionFactory</parameter>
<parameter name="transport.jms.ConnectionFactoryType" locked="false">queue</parameter>
</parameter>
<parameter name="default" locked="false">
<parameter name="java.naming.factory.initial" locked="false">org.wso2.andes.jndi.PropertiesFileInitialContextFactory</parameter>
<parameter name="java.naming.provider.url" locked="false">repository/conf/jndi.properties</parameter>
<parameter name="transport.jms.ConnectionFactoryJNDIName" locked="false">QueueConnectionFactory</parameter>
<parameter name="transport.jms.ConnectionFactoryType" locked="false">queue</parameter>
</parameter>
</transportReceiver-->
<!-- ================================================= -->
<!-- Out Transports -->
<!-- ================================================= -->
<!--<transportSender name="tcp"
class="org.apache.axis2.transport.tcp.TCPTransportSender"/>-->
<transportReceiver name="local"
class="org.wso2.carbon.core.transports.local.CarbonLocalTransportReceiver"/>
<transportSender name="local"
class="org.wso2.carbon.core.transports.local.CarbonLocalTransportSender"/>
<!--<transportSender name="jms"
class="org.apache.axis2.transport.jms.JMSSender"/>-->
<transportSender name="http"
class="org.apache.axis2.transport.http.CommonsHTTPTransportSender">
<parameter name="PROTOCOL">HTTP/1.1</parameter>
<parameter name="Transfer-Encoding">chunked</parameter>
<!-- This parameter has been added to overcome problems encounted in SOAP action parameter -->
<parameter name="OmitSOAP12Action">true</parameter>
</transportSender>
<transportSender name="https"
class="org.apache.axis2.transport.http.CommonsHTTPTransportSender">
<parameter name="PROTOCOL">HTTP/1.1</parameter>
<parameter name="Transfer-Encoding">chunked</parameter>
<!-- This parameter has been added to overcome problems encounted in SOAP action parameter -->
<parameter name="OmitSOAP12Action">true</parameter>
</transportSender>
<!-- To enable mail transport sender, ncomment the following and change the parameters
accordingly-->
<!--<transportSender name="mailto"
class="org.apache.axis2.transport.mail.MailTransportSender">
<parameter name="mail.smtp.from">wso2demomail@gmail.com</parameter>
<parameter name="mail.smtp.user">wso2demomail</parameter>
<parameter name="mail.smtp.password">mailpassword</parameter>
<parameter name="mail.smtp.host">smtp.gmail.com</parameter>
<parameter name="mail.smtp.port">587</parameter>
<parameter name="mail.smtp.starttls.enable">true</parameter>
<parameter name="mail.smtp.auth">true</parameter>
</transportSender>-->
<!--Please uncomment this in Multiple Instance Scenario if you want to use NIO sender -->
<!--
<transportSender name="http" class="org.apache.synapse.transport.nhttp.HttpCoreNIOSender">
<parameter name="non-blocking" locked="false">true</parameter>
</transportSender>
<transportSender name="https" class="org.apache.synapse.transport.nhttp.HttpCoreNIOSSLSender">
<parameter name="non-blocking" locked="false">true</parameter>
<parameter name="keystore" locked="false">
<KeyStore>
<Location>repository/resources/security/wso2carbon.jks</Location>
<Type>JKS</Type>
<Password>wso2carbon</Password>
<KeyPassword>wso2carbon</KeyPassword>
</KeyStore>
</parameter>
<parameter name="truststore" locked="false">
<TrustStore>
<Location>repository/resources/security/client-truststore.jks</Location>
<Type>JKS</Type>
<Password>wso2carbon</Password>
</TrustStore>
</parameter>
</transportSender>
-->
<!-- ================================================= -->
<!-- Phases -->
<!-- ================================================= -->
<phaseOrder type="InFlow">
<!-- System pre defined phases -->
<!--
The MsgInObservation phase is used to observe messages as soon as they are
received. In this phase, we could do some things such as SOAP message tracing & keeping
track of the time at which a particular message was received
NOTE: This should be the very first phase in this flow
-->
<phase name="MsgInObservation"/>
<phase name="Validation"/>
<phase name="Transport">
<handler name="RequestURIBasedDispatcher"
class="org.apache.axis2.dispatchers.RequestURIBasedDispatcher">
<order phase="Transport"/>
</handler>
<handler name="SOAPActionBasedDispatcher"
class="org.apache.axis2.dispatchers.SOAPActionBasedDispatcher">
<order phase="Transport"/>
</handler>
<handler name="RequestURIOperationDispatcher"
class="org.apache.axis2.dispatchers.RequestURIOperationDispatcher" />
<handler name="JSONMessageHandler"
class="org.apache.axis2.json.gson.JSONMessageHandler" />
</phase>
<phase name="Addressing">
<handler name="AddressingBasedDispatcher"
class="org.wso2.carbon.core.multitenancy.MultitenantAddressingBasedDispatcher">
<order phase="Addressing"/>
</handler>
</phase>
<phase name="Ghost">
<handler name="GhostDispatcher"
class="org.wso2.carbon.core.dispatchers.GhostDispatcher"/>
</phase>
<phase name="Security"/>
<phase name="PreDispatch"/>
<phase name="Dispatch" class="org.apache.axis2.engine.DispatchPhase">
<handler name="RequestURIBasedDispatcher"
class="org.apache.axis2.dispatchers.RequestURIBasedDispatcher"/>
<handler name="SOAPActionBasedDispatcher"
class="org.apache.axis2.dispatchers.SOAPActionBasedDispatcher"/>
<handler name="SOAPMessageBodyBasedDispatcher"
class="org.apache.axis2.dispatchers.SOAPMessageBodyBasedDispatcher"/>
<handler name="HTTPLocationBasedDispatcher"
class="org.apache.axis2.dispatchers.HTTPLocationBasedDispatcher"/>
</phase>
<!-- System pre defined phases -->
<phase name="RMPhase"/>
<phase name="OpPhase"/>
<!-- After Postdispatch phase module author or or service author can add any phase he want -->
<phase name="OperationInPhase"/>
</phaseOrder>
<phaseOrder type="OutFlow">
<!-- Handlers related to unified-endpoint component are added to the UEPPhase -->
<phase name="UEPPhase"/>
<phase name="RMPhase"/>
<phase name="OpPhase"/>
<!-- user can add his own phases to this area -->
<phase name="OperationOutPhase"/>
<!--system predefined phase-->
<!--these phase will run irrespective of the service-->
<phase name="PolicyDetermination"/>
<phase name="MessageOut"/>
<phase name="Security"/>
<!--
The MsgOutObservation phase is used to observe messages just before the
responses are sent out. In this phase, we could do some things such as SOAP message
tracing & keeping track of the time at which a particular response was sent.
NOTE: This should be the very last phase in this flow
-->
<phase name="MsgOutObservation"/>
<!--Following phase is added to publish stats -->
<phase name="StatReporting"/>
</phaseOrder>
<phaseOrder type="InFaultFlow">
<!-- System pre defined phases -->
<!--
The MsgInObservation phase is used to observe messages as soon as they are
received. In this phase, we could do some things such as SOAP message tracing & keeping
track of the time at which a particular message was received
NOTE: This should be the very first phase in this flow
-->
<phase name="MsgInObservation"/>
<phase name="Validation"/>
<phase name="Transport">
<handler name="RequestURIBasedDispatcher"
class="org.apache.axis2.dispatchers.RequestURIBasedDispatcher">
<order phase="Transport"/>
</handler>
<handler name="SOAPActionBasedDispatcher"
class="org.apache.axis2.dispatchers.SOAPActionBasedDispatcher">
<order phase="Transport"/>
</handler>
</phase>
<phase name="Addressing">
<handler name="AddressingBasedDispatcher"
class="org.apache.axis2.dispatchers.AddressingBasedDispatcher">
<order phase="Addressing"/>
</handler>
</phase>
<phase name="Ghost">
<handler name="GhostDispatcher"
class="org.wso2.carbon.core.dispatchers.GhostDispatcher"/>
</phase>
<phase name="Security"/>
<phase name="PreDispatch"/>
<phase name="Dispatch" class="org.apache.axis2.engine.DispatchPhase">
<handler name="RequestURIBasedDispatcher"
class="org.apache.axis2.dispatchers.RequestURIBasedDispatcher"/>
<handler name="SOAPActionBasedDispatcher"
class="org.apache.axis2.dispatchers.SOAPActionBasedDispatcher"/>
<handler name="SOAPMessageBodyBasedDispatcher"
class="org.apache.axis2.dispatchers.SOAPMessageBodyBasedDispatcher"/>
<handler name="HTTPLocationBasedDispatcher"
class="org.apache.axis2.dispatchers.HTTPLocationBasedDispatcher"/>
</phase>
<phase name="RMPhase"/>
<phase name="OpPhase"/>
<!-- user can add his own phases to this area -->
<phase name="OperationInFaultPhase"/>
</phaseOrder>
<phaseOrder type="OutFaultFlow">
<!-- Handlers related to unified-endpoint component are added to the UEPPhase -->
<phase name="UEPPhase"/>
<phase name="RMPhase"/>
<!-- user can add his own phases to this area -->
<phase name="OperationOutFaultPhase"/>
<phase name="PolicyDetermination"/>
<phase name="MessageOut"/>
<phase name="Security"/>
<phase name="Transport"/>
<!--
The MsgOutObservation phase is used to observe messages just before the
responses are sent out. In this phase, we could do some things such as SOAP message
tracing & keeping track of the time at which a particular response was sent.
NOTE: This should be the very last phase in this flow
-->
<phase name="MsgOutObservation"/>
<!--Following phase is added to publish stats -->
<phase name="StatReporting"/>
</phaseOrder>
<clustering class="org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent"
enable="false">
<!--
This parameter indicates whether the cluster has to be automatically initalized
when the AxisConfiguration is built. If set to "true" the initialization will not be
done at that stage, and some other party will have to explictly initialize the cluster.
-->
<parameter name="AvoidInitiation">true</parameter>
<!--
The membership scheme used in this setup. The only values supported at the moment are
"multicast" and "wka"
1. multicast - membership is automatically discovered using multicasting
2. wka - Well-Known Address based multicasting. Membership is discovered with the help
of one or more nodes running at a Well-Known Address. New members joining a
cluster will first connect to a well-known node, register with the well-known node
and get the membership list from it. When new members join, one of the well-known
nodes will notify the others in the group. When a member leaves the cluster or
is deemed to have left the cluster, it will be detected by the Group Membership
Service (GMS) using a TCP ping mechanism.
-->
<parameter name="membershipScheme">multicast</parameter>
<!--<parameter name="licenseKey">xxx</parameter>-->
<!--<parameter name="mgtCenterURL">http://localhost:8081/mancenter/</parameter>-->
<!--
The clustering domain/group. Nodes in the same group will belong to the same multicast
domain. There will not be interference between nodes in different groups.
-->
<parameter name="domain">wso2.carbon.domain</parameter>
<!-- The multicast address to be used -->
<!--<parameter name="mcastAddress">228.0.0.4</parameter>-->
<!-- The multicast port to be used -->
<parameter name="mcastPort">45564</parameter>
<parameter name="mcastTTL">100</parameter>
<parameter name="mcastTimeout">60</parameter>
<!--
The IP address of the network interface to which the multicasting has to be bound to.
Multicasting would be done using this interface.
-->
<!--
<parameter name="mcastBindAddress">127.0.0.1</parameter>
-->
<!-- The host name or IP address of this member -->
<parameter name="localMemberHost">127.0.0.1</parameter>
<!--
The bind adress of this member. The difference between localMemberHost & localMemberBindAddress
is that localMemberHost is the one that is advertised by this member, while localMemberBindAddress
is the address to which this member is bound to.
-->
<!--
<parameter name="localMemberBindAddress">127.0.0.1</parameter>
-->
<!--
The TCP port used by this member. This is the port through which other nodes will
contact this member
-->
<parameter name="localMemberPort">4000</parameter>
<!--
The bind port of this member. The difference between localMemberPort & localMemberBindPort
is that localMemberPort is the one that is advertised by this member, while localMemberBindPort
is the port to which this member is bound to.
-->
<!--
<parameter name="localMemberBindPort">4001</parameter>
-->
<!--
Properties specific to this member
-->
<parameter name="properties">
<property name="backendServerURL" value="https://${hostName}:${httpsPort}/services/"/>
<property name="mgtConsoleURL" value="https://${hostName}:${httpsPort}/"/>
<property name="subDomain" value="worker"/>
</parameter>
<!--
Following parameters will load custom Hazelcast data serializers.
-->
<parameter name="hazelcastSerializers">
<serializer typeClass="org.wso2.andes.server.cluster.coordination.hazelcast.custom.serializer.wrapper.TreeSetLongWrapper">org.wso2.andes.server.cluster.coordination.hazelcast.custom.serializer.TreeSetLongWrapperSerializer</serializer>
<serializer typeClass="org.wso2.andes.server.cluster.coordination.hazelcast.custom.serializer.wrapper.TreeSetSlotWrapper">org.wso2.andes.server.cluster.coordination.hazelcast.custom.serializer.TreeSetSlotWrapperSerializer</serializer>
<serializer typeClass="org.wso2.andes.server.cluster.coordination.hazelcast.custom.serializer.wrapper.HashmapStringTreeSetWrapper">org.wso2.andes.server.cluster.coordination.hazelcast.custom.serializer.HashMapStringTreeSetWrapperSerializer</serializer>
</parameter>
<!--
The list of static or well-known members. These entries will only be valid if the
"membershipScheme" above is set to "wka"
-->
<members>
<member>
<hostName>127.0.0.1</hostName>
<port>4000</port>
</member>
</members>
<!--
Enable the groupManagement entry if you need to run this node as a cluster manager.
Multiple application domains with different GroupManagementAgent implementations
can be defined in this section.
-->
<groupManagement enable="false">
<applicationDomain name="wso2.as.domain"
description="AS group"
agent="org.wso2.carbon.core.clustering.hazelcast.HazelcastGroupManagementAgent"
subDomain="worker"
port="2222"/>
</groupManagement>
</clustering>
</axisconfig>

View File

@ -1,586 +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.
-->
<!-- This is the root configuration file of WSO2 Message Broker (MB). Links to configurations of
associated libraries are also specified here.
[Note for developers] - If you intend to rename or modify a property name, remember to update
relevant, org.wso2.andes.configuration.enums.AndesConfiguration, enum value using the Xpath
expression of the property.
This file is ciphertool compliant. Refer PRODUCT_HOME/repository/conf/security/cipher-text.properties for examples.-->
<broker>
<coordination>
<!-- You can override the cluster node identifier of this MB node using the nodeID.
If it is left as "default", the default node ID will be generated for it. (Using IP + UUID).
The node ID of each member should ALWAYS be unique.-->
<nodeID>default</nodeID>
<!-- Thrift is used to maintain and sync slot (message groups) ranges between MB nodes. -->
<thriftServerHost>localhost</thriftServerHost>
<thriftServerPort>7611</thriftServerPort>
<thriftSOTimeout>0</thriftSOTimeout>
<!--Thrift server reconnect timeout. Value specified in SECONDS-->
<thriftServerReconnectTimeout>5</thriftServerReconnectTimeout>
<!-- Hazelcast reliable topics are used to share all notifications across the MB cluster (e.g. subscription
changes), And this property defines the time-to-live for a notification since its creation. (in Seconds) -->
<clusterNotificationTimeout>10</clusterNotificationTimeout>
<!-- Configurations related RDBMS based coordination algorithm -->
<rdbmsBasedCoordination enabled="false">
<!-- Heartbeat interval used in the RDBMS base coordination algorithm in milliseconds -->
<heartbeatInterval>5000</heartbeatInterval>
<!-- Time to wait before informing others about coordinator change in milliseconds. This value should be
larger than a database read time including network latency and should be less than heartbeatInterval -->
<coordinatorEntryCreationWaitTime>3000</coordinatorEntryCreationWaitTime>
<!-- Time interval used to poll database for membership related events in milliseconds. -->
<eventPollingInterval>4000</eventPollingInterval>
</rdbmsBasedCoordination>
<!-- Enabling this will make the cluster notifications such as Queue changes(additions and deletions),
Subscription changes, etc. sent within the cluster be synchronized using RDBMS. If set to false, Hazelcast
will be used for this purpose.-->
<RDBMSBasedClusterEventSynchronization enabled="false">
<!--Specifies the interval at which, the cluster events will be read from the database. Needs to be
declared in milliseconds. Setting this to a very low value could downgrade the performance where as
setting this to a large value could increase the time taken for a cluster event to be synchronized in
all the nodes in a cluster.-->
<eventSyncInterval>1000</eventSyncInterval>
</RDBMSBasedClusterEventSynchronization>
</coordination>
<!-- You can enable/disable specific messaging transports in this section. By default all
transports are enabled. This section also allows you to customize the messaging flows used
within WSO2 MB. NOT performance related, but logic related. -->
<transports>
<amqp enabled="true">
<bindAddress>0.0.0.0</bindAddress>
<defaultConnection enabled="true" port="5672" />
<sslConnection enabled="true" port="8672">
<keyStore>
<location>repository/resources/security/wso2carbon.jks</location>
<password>wso2carbon</password>
<certType>SunX509</certType>
</keyStore>
<trustStore>
<location>repository/resources/security/client-truststore.jks</location>
<password>wso2carbon</password>
<certType>SunX509</certType>
</trustStore>
</sslConnection>
<maximumRedeliveryAttempts>10</maximumRedeliveryAttempts>
<allowSharedTopicSubscriptions>false</allowSharedTopicSubscriptions>
<allowStrictNameValidation>true</allowStrictNameValidation>
<!-- Refer repository/conf/advanced/qpid-config.xml for further AMQP-specific configurations.-->
</amqp>
<mqtt enabled="true">
<bindAddress>0.0.0.0</bindAddress>
<defaultConnection enabled="true" port="1883" />
<sslConnection enabled="true" port="8883">
<keyStore>
<location>repository/resources/security/wso2carbon.jks</location>
<password>wso2carbon</password>
<certType>SunX509</certType>
</keyStore>
<trustStore>
<location>repository/resources/security/client-truststore.jks</location>
<password>wso2carbon</password>
<certType>SunX509</certType>
</trustStore>
</sslConnection>
<!--All receiving events/messages will be in this ring buffer. Ring buffer size
of MQTT inbound event disruptor. Default is set to 32768 (1024 * 32)
Having a large ring buffer wi
ll have a increase memory usage and will improve performance
and vise versa -->
<inboundBufferSize>32768</inboundBufferSize>
<!-- Messages delivered to clients will be placed in this ring buffer.
Ring buffer size of MQTT delivery event disruptor. Default is set to 32768 (1024 * 32)
Having a large ring buffer will have a increase memory usage and will improve performance
and vise versa -->
<deliveryBufferSize>32768</deliveryBufferSize>
<security>
<!--
Instructs the MQTT server whether clients should always send credentials
when establishing a connection.
Possible values:
OPTIONAL: This is the default value. MQTT clients may or may not send
credentials. If a client sends credentials server will
validates it.
If client doesn't send credentials then server will not
authenticate, but allows client to establish the connection.
This behavior adheres to MQTT 3.1 specification.
REQUIRED: Clients should always provide credentials when connecting.
If client doesn't send credentials or they are invalid
server rejects the connection.
-->
<authentication>REQUIRED</authentication>
<!--Class name of the authenticator to use. class should
inherit from org.dna.mqtt.moquette.server.IAuthenticator
Note: default implementation authenticates against carbon user store
based on supplied username/password
-->
<authenticator class="org.wso2.carbon.andes.authentication.andes.OAuth2BasedMQTTAuthenticator">
<property name="hostURL">https://localhost:9443/services/OAuth2TokenValidationService</property>
<property name="username">admin</property>
<property name="password">admin</property>
<property name="maxConnectionsPerHost">10</property>
<property name="maxTotalConnections">150</property>
</authenticator>
<!--
Instructs the MQTT server whether clients should be authorized before either publishing or subscribing
Possible values:
NOT_REQUIRED: This is the default value. MQTT clients will skip the authorization check
REQUIRED: Clients will authorized before publishing. this will execute the class given in authorzier
Note: authentication should be REQUIRED for authorization to be REQUIRED.
-->
<authorization>REQUIRED</authorization>
<!--Class name of the authorizer to use. class should
inherit from org.dna.mqtt.moquette.server.IAutherizer
Note: default implementation authorizes against carbon permission with the topic.
-->
<!--connectionPermission is required for a user to connect to broker
subscriberPermission is needed to subscribe(subriber permission can be more than one)
publisherPermission is needed to publish(publisher permission can be more than one)
-->
<authorizer class="org.wso2.carbon.andes.extensions.device.mgt.mqtt.authorization.DeviceAccessBasedMQTTAuthorizer">
<!--<property name="connectionPermission">/permission/admin/device-mgt/user</property>-->
<!--topic subscription permissions which are assigned through grouping-->
<property name="subscriberPermission">/permission/device-mgt/user/groups/device_events</property>
<!--topic publisher permissions which are assigned through grouping-->
<property name="publisherPermission">/permission/device-mgt/user/groups/device_operation</property>
<property name="username">admin</property>
<property name="password">admin</property>
<property name="tokenEndpoint">https://localhost:8243</property>
<!--offset time from expiry time to trigger refresh call - seconds -->
<property name="tokenRefreshTimeOffset">100</property>
<property name="deviceMgtServerUrl">https://localhost:8243</property>
</authorizer>
</security>
</mqtt>
</transports>
<!-- Depending on the database type selected in master-datasources.xml, you must enable the
relevant Data access classes here. Currently WSO2 MB Supports RDBMS(any RDBMS store).
These stores are accessed for two purposes.
1. For message persistence ("messageStore")
2. To persist and access other information relevant to messaging protocols.("contextStore").-->
<!-- By default WSO2 MB runs with H2 persistent store. If you plan to use a different
store, point to the relevant dataSource or uncomment the database appropriately.
RDBMS
=====
If you are running an RDBMS you can use the existing RDBMS implementation of stores
by pointing to the correct data source by updating the property "dataSource".
Data source entry should be present in
<MB_HOME>/repository/conf/datasources/master-datasources.xml.
-->
<persistence>
<!-- RDBMS MB Store Configuration -->
<messageStore class="org.wso2.andes.store.rdbms.RDBMSMessageStoreImpl">
<property name="dataSource">WSO2MBStoreDB</property>
<property name="storeUnavailableSQLStateClasses">08</property>
<property name="integrityViolationSQLStateClasses">23,27,44</property>
<property name="dataErrorSQLStateClasses">21,22</property>
<property name="transactionRollbackSQLStateClasses">40</property>
</messageStore>
<contextStore class="org.wso2.andes.store.rdbms.RDBMSAndesContextStoreImpl">
<property name="dataSource">WSO2MBStoreDB</property>
<property name="storeUnavailableSQLStateClasses">08</property>
<property name="integrityViolationSQLStateClasses">23,27,44</property>
<property name="dataErrorSQLStateClasses">21,22</property>
<property name="transactionRollbackSQLStateClasses">40</property>
</contextStore>
<cache>
<!-- Size of the messages cache in MBs. Setting '0' will disable the cache. -->
<size>256</size>
<!-- Expected concurrency for the cache (4 is guava default) -->
<concurrencyLevel>4</concurrencyLevel>
<!--Number of seconds cache will keep messages after they are
added (unless they are consumed and deleted).-->
<expirySeconds>2</expirySeconds>
<!--Reference type used to hold messages in memory.
weak - Using java weak references ( - results higher cache misses)
strong - ordinary references ( - higher cache hits, but not good if server
is going to run with limited heap size + under severe load).
-->
<valueReferenceType>strong</valueReferenceType>
<!--Prints cache statistics in 2 minute intervals
in carbon log ( and console)-->
<printStats>false</printStats>
</cache>
<!-- This class decides how unique IDs are generated for the MB node. This id generator is
expected to be thread safe and a implementation of interface
org.wso2.andes.server.cluster.coordination.MessageIdGenerator
NOTE: This is NOT used in MB to generate message IDs. -->
<idGenerator>org.wso2.andes.server.cluster.coordination.TimeStampBasedMessageIdGenerator</idGenerator>
<!-- This is the Task interval (in SECONDS) to check whether communication
is healthy between message store (/Database) and this server instance. -->
<storeHealthCheckInterval>10</storeHealthCheckInterval>
</persistence>
<!--Publisher transaction related configurations.-->
<transaction>
<!--Maximum batch size (Messages) for a transaction. Exceeding this limit will result
in a failure in the subsequent commit request. Default is set to 10MB. Limit is
calculated considering the payload of messages-->
<maxBatchSizeInBytes>10000000</maxBatchSizeInBytes>
</transaction>
<!-- This section allows you to tweak memory and processor allocations used by WSO2 MB.
Broken down by critical processes so you have a clear view of which parameters to change in
different scenarios. -->
<performanceTuning>
<slots>
<!--
If message publishers are slow, time taken to fill the slot (up to <windowSize>) will be longer.
This will add an latency to messages. Therefore broker will mark the slot as
ready to deliver before even the slot is entirely filled after specified time.
NOTE: specified in milliseconds.
-->
<messageAccumulationTimeout>2000</messageAccumulationTimeout>
<!--Rough estimate for size of a slot-->
<windowSize>1000</windowSize>
<!-- Time interval which broker check for slots that can be marked as 'ready to deliver'
(- slots which have a aged more than 'messageAccumulationTimeout')
NOTE: specified in milliseconds.
-->
<timerPeriod>1000</timerPeriod>
<!--Number of SlotDeliveryWorker threads that should be started-->
<workerThreadCount>5</workerThreadCount>
</slots>
<delivery>
<!-- Maximum number of undelivered messages that can have in memory. Increasing this
value increase the possibility of out of memory scenario but performance will be
improved -->
<maxNumberOfReadButUndeliveredMessages>1000</maxNumberOfReadButUndeliveredMessages>
<!-- This is the ring buffer size of the delivery disruptor. This value should be a
power of 2 (E.g. 1024, 2048, 4096). Use a small ring size if you want to reduce the
memory usage. -->
<ringBufferSize>4096</ringBufferSize>
<!--Number of parallel readers used to used to read content from message store.
Increasing this value will speed-up the message sending mechanism. But the load
on the data store will increase. -->
<parallelContentReaders>5</parallelContentReaders>
<!-- Number of parallel decompression handlers used to decompress messages before send to subscribers.
Increasing this value will speed-up the message decompressing mechanism. But the system load
will increase. -->
<parallelDecompressionHandlers>5</parallelDecompressionHandlers>
<!-- Number of parallel delivery handlers used to send messages to subscribers.
Increasing this value will speed-up the message sending mechanism. But the system load
will increase. -->
<parallelDeliveryHandlers>5</parallelDeliveryHandlers>
<!-- The size of the batch represents, at a given time the number of messages that could
be retrieved from the database. -->
<contentReadBatchSize>65000</contentReadBatchSize>
<contentCache>
<!-- Specify the maximum number of entries the cache may contain. -->
<maximumSize>100</maximumSize>
<!-- Specify the time in seconds that each entry should be
automatically removed from the cache after the entry's creation. -->
<expiryTime>120</expiryTime>
</contentCache>
<!--When delivering topic messages to multiple topic
subscribers one of following stratigies can be choosen.
1. DISCARD_NONE - Broker do not loose any message to any subscriber.
When there are slow subscribers this can cause broker
go Out of Memory.
2. SLOWEST_SUB_RATE - Broker deliver to the speed of the slowest
topic subscriber. This can cause fast subscribers
to starve. But eliminate Out of Memory issue.
3. DISCARD_ALLOWED - Broker will try best to deliver. To eliminate Out
of Memory threat broker limits sent but not acked message
count to <maxUnackedMessages>.
If it is breached, and <deliveryTimeout> is also
breached message can either be lost or actually
sent but ack is not honoured.
-->
<topicMessageDeliveryStrategy>
<strategyName>DISCARD_NONE</strategyName>
<!-- If you choose DISCARD_ALLOWED topic message delivery strategy,
broker keep messages in memory until ack is done until this timeout.
If an ack is not received under this timeout, ack will be simulated
internally and real acknowledgement is discarded.
deliveryTimeout is in seconds -->
<deliveryTimeout>60</deliveryTimeout>
</topicMessageDeliveryStrategy>
</delivery>
<ackHandling>
<!--Number of message acknowledgement handlers to process acknowledgements concurrently.
These acknowledgement handlers will batch and process acknowledgements. -->
<ackHandlerCount>1</ackHandlerCount>
<!--Maximum batch size of the acknowledgement handler. Andes process acknowledgements in
batches using Disruptor Increasing the batch size reduces the number of calls made to
database by MB. Depending on the database optimal batch size this value should be set.
Batches will be of the maximum batch size mostly in high throughput scenarios.
Underlying implementation use Disruptor for batching hence will batch message at a
lesser value than this in low throughput scenarios -->
<ackHandlerBatchSize>100</ackHandlerBatchSize>
<!-- Message delivery from server to the client will be paused temporarily if number of
delivered but unacknowledged message count reaches this size. Should be set considering
message consume rate. This is to avoid overwhelming slow subscribers. -->
<maxUnackedMessages>1000</maxUnackedMessages>
</ackHandling>
<contentHandling>
<!-- Within Andes there are content chunk handlers which convert incoming large content
chunks into max content chunk size allowed by Andes core. These handlers run in parallel
converting large content chunks to smaller chunks.
If the protocol specific content chunk size is different from the max chunk size allowed
by Andes core and there are significant number of large messages published, then having
multiple handlers will increase performance. -->
<contentChunkHandlerCount>3</contentChunkHandlerCount>
<!-- Andes core will store message content chunks according to this chunk size. Different
database will have limits and performance gains by tuning this parameter.
For instance in MySQL the maximum table column size for content is less than 65534, which
is the default chunk size of AMQP. By changing this parameter to a lesser value we can
store large content chunks converted to smaller content chunks within the DB with this
parameter. -->
<maxContentChunkSize>65500</maxContentChunkSize>
<!-- This is the configuration to allow compression of message contents, before store messages
into the database.-->
<allowCompression>false</allowCompression>
<!-- This is the configuration to change the value of the content compression threshold (in bytes).
Message contents less than this value will not compress, even compression is enabled. The recommended
message size of the smallest message before compression is 13bytes. Compress messages smaller than
13bytes will expand the message size by 0.4% -->
<contentCompressionThreshold>1000</contentCompressionThreshold>
</contentHandling>
<inboundEvents>
<!--Number of parallel writers used to write content to message store. Increasing this
value will speed-up the message receiving mechanism. But the load on the data store will
increase.-->
<parallelMessageWriters>1</parallelMessageWriters>
<!--Size of the Disruptor ring buffer for inbound event handling. For publishing at
higher rates increasing the buffer size may give some advantage on keeping messages in
memory and write.
NOTE: Buffer size should be a value of power of two -->
<bufferSize>65536</bufferSize>
<!--Maximum batch size of the batch write operation for inbound messages. MB internals
use Disruptor to batch events. Hence this batch size is set to avoid database requests
with high load (with big batch sizes) to write messages. This need to be configured in
high throughput messaging scenarios to regulate the hit on database from MB -->
<messageWriterBatchSize>70</messageWriterBatchSize>
<!--Timeout for waiting for a queue purge event to end to get the purged count. Doesn't
affect actual purging. If purge takes time, increasing the value will improve the
possibility of retrieving the correct purged count. Having a lower value doesn't stop
purge event. Getting the purged count is affected by this -->
<purgedCountTimeout>180</purgedCountTimeout>
<!--Number of parallel writers used to write content to message store for transaction
based publishing. Increasing this value will speedup commit duration for a transaction.
But the load on the data store will increase.-->
<transactionMessageWriters>1</transactionMessageWriters>
</inboundEvents>
<!--Message expiration can be set for each messages which are published to Wso2 MB.
After the expiration time, the messages will not be delivered to the consumers. Eventually
they got deleted inside the MB.-->
<messageExpiration>
<!-- When messages delivered, in the delivery path messages were checked whether they are
already expired. If expired at that time add that message to a queue for a future batch
delete. This interval decides on the time gap between the batch deletes. Time interval
specified in seconds.-->
<preDeliveryExpiryDeletionInterval>10</preDeliveryExpiryDeletionInterval>
<!-- Periodically check the database for new expired messages which were not assigned to
any slot delivery worker so far and delete them. This interval decides on the time gap between
the periodic message deletion. Time interval specified in seconds.-->
<periodicMessageDeletionInterval>900</periodicMessageDeletionInterval>
<!-- When checking the database for expired messages, the messages which were handled by the slot
delivery worker should no be touched since that mess up the slot delivery worker functionality.
Those messages anyways get caught at the message delivery path. So there is a need to have a safe
buffer of slots which can be allocated to a slot delivery worker in the near future. The specified
number of slots from the last assigned should not be touched by the periodic deletion task.-->
<safetySlotCount>3</safetySlotCount>
</messageExpiration>
</performanceTuning>
<!-- This section is about how you want to view messaging statistics from the admin console and
how you plan to interact with it. -->
<managementConsole>
<!--Maximum number of messages to be fetched per page using Andes message browser when browsing
queues/dlc -->
<messageBrowsePageSize>100</messageBrowsePageSize>
<!-- This property defines the maximum message content length that can be displayed at the
management console when browsing queues. If the message length exceeds the value, a
truncated content will be displayed with a statement "message content too large to display."
at the end. default value is 100000 (can roughly display a 100KB message.)
* NOTE : Increasing this value could cause delays when loading the message content page.-->
<maximumMessageDisplayLength>100000</maximumMessageDisplayLength>
<!--Enable users to reroute all messages from a specific destination(queue or durable topic) to a specific
queue.-->
<allowReRouteAllInDLC>false</allowReRouteAllInDLC>
</managementConsole>
<!-- Memory and resource exhaustion is something we should prevent and recover from.
This section allows you to specify the threshold at which to reduce/stop frequently intensive
operations within MB temporarily. -->
<!--
highLimit - flow control is enabled when message chunk pending to be handled by inbound
disruptor reaches above this limit
lowLimit - flow control is disabled (if enabled) when message chunk pending to be handled
by inbound disruptor reaches below this limit
-->
<flowControl>
<!-- This is the global buffer limits which enable/disable the flow control globally -->
<global>
<lowLimit>800</lowLimit>
<highLimit>8000</highLimit>
</global>
<!-- This is the channel specific buffer limits which enable/disable the flow control locally.
-->
<bufferBased>
<lowLimit>100</lowLimit>
<highLimit>1000</highLimit>
</bufferBased>
</flowControl>
<slotManagement>
<!--Set slot storage mode (RDBMS/HazelCast)-->
<storage>RDBMS</storage>
</slotManagement>
<!--
Message broker keeps track of all messages it has received as groups. These groups are termed
'Slots' (To know more information about Slots and message broker install please refer to online wiki).
Size of a slot is loosely determined by the configuration <windowSize> (and the number of
parallel publishers for specific topic/queue). Message broker cluster (or in single node) keeps
track of slots which constitutes for a large part of operating state before the cluster went down.
When first message broker node of the cluster starts up, it will read the database to recreate
the internal state to previous state.
-->
<recovery>
<!--
There could be multiple storage queues worked before entire cluster (or single node) went down.
We need to recover all remaining messages of each storage queue when first node startup and we can
read remaining message concurrently of each storage queue. Default value to set here to 5. You can
increase this value based on number of storage queues exist. Please use optimal value based on
number of storage queues to speed up warm startup.
-->
<concurrentStorageQueueReads>5</concurrentStorageQueueReads>
<!-- Virtual host sync interval seconds in for the Virtual host syncing Task which will
sync the Virtual host details across the cluster -->
<vHostSyncTaskInterval>900</vHostSyncTaskInterval>
<!--
Enables network partition detection ( and surrounding functionality, such
as disconnecting subscriptions, enabling error based flow control if the
minimal node count becomes less than configured value.
-->
<networkPartitionsDetection enabled = "false">
<!--
The minimum node count the cluster should maintain for this node to
operate. if cluster size becomes less that configured value
This node will not accept any incoming traffic ( and disconnect
subscriptions) etc.
-->
<minimumClusterSize>1</minimumClusterSize>
</networkPartitionsDetection>
</recovery>
<!--
Specifies the deployment mode for the broker node (and cluster). Possible values {default, standalone}.
default - Broker node will decide to run HA (master/slave) or fully distributed mode. Decision is taken based
on the node has a clustering mechanism enabled or not. If the node is not configured to join a cluster
it will run in HA mode (refer to axis2.xml for more information). If the node can join a cluster it
will start in fully clustered mode.
standalone - This is the simplest mode a broker can be started. Node will assume datastore is not shared with
another node. Therefore it will not try to coordinate with other nodes (possibly non-existent) to
provide HA or clustering.
-->
<deployment>
<mode>default</mode>
</deployment>
</broker>

View File

@ -1,677 +0,0 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
Licensed 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.
-->
<!--
This is the main server configuration file
${carbon.home} represents the carbon.home system property.
Other system properties can be specified in a similar manner.
-->
<Server xmlns="http://wso2.org/projects/carbon/carbon.xml">
<!--
Product Name
-->
<Name>WSO2 Message Broker</Name>
<!--
machine readable unique key to identify each product
-->
<ServerKey>MB</ServerKey>
<!--
Product Version
-->
<Version>3.2.0</Version>
<!--
Host name or IP address of the machine hosting this server
e.g. www.wso2.org, 192.168.1.10
This is will become part of the End Point Reference of the
services deployed on this server instance.
-->
<!--HostName>www.wso2.org</HostName-->
<!--
Host name to be used for the Carbon management console
-->
<!--MgtHostName>mgt.wso2.org</MgtHostName-->
<!--
The URL of the back end server. This is where the admin services are hosted and
will be used by the clients in the front end server.
This is required only for the Front-end server. This is used when seperating BE server from FE server
-->
<ServerURL>local:/${carbon.context}/services/</ServerURL>
<!--
<ServerURL>https://${carbon.local.ip}:${carbon.management.port}${carbon.context}/services/</ServerURL>
-->
<!--
The URL of the index page. This is where the user will be redirected after signing in to the
carbon server.
-->
<!-- IndexPageURL>/carbon/admin/index.jsp</IndexPageURL-->
<!--
For cApp deployment, we have to identify the roles that can be acted by the current server.
The following property is used for that purpose. Any number of roles can be defined here.
Regular expressions can be used in the role.
Ex : <Role>.*</Role> means this server can act any role
-->
<ServerRoles>
<Role>MessageBroker</Role>
</ServerRoles>
<!-- uncommnet this line to subscribe to a bam instance automatically -->
<!--<BamServerURL>https://bamhost:bamport/services/</BamServerURL>-->
<!--
The fully qualified name of the server
-->
<Package>org.wso2.carbon</Package>
<!--
Webapp context root of WSO2 Carbon management console.
-->
<WebContextRoot>/</WebContextRoot>
<!--
Proxy context path is a useful parameter to add a proxy path when a Carbon server is fronted by reverse proxy. In addtion
to the proxy host and proxy port this parameter allows you add a path component to external URLs. e.g.
URL of the Carbon server -> https://10.100.1.1:9443/carbon
URL of the reverse proxy -> https://prod.abc.com/appserver/carbon
appserver - proxy context path. This specially required whenever you are generating URLs to displace in
Carbon UI components.
-->
<!--
<MgtProxyContextPath></MgtProxyContextPath>
<ProxyContextPath></ProxyContextPath>
-->
<!-- In-order to get the registry http Port from the back-end when the default http transport is not the same-->
<!--RegistryHttpPort>9763</RegistryHttpPort-->
<!--
Number of items to be displayed on a management console page. This is used at the
backend server for pagination of various items.
-->
<ItemsPerPage>15</ItemsPerPage>
<!-- The endpoint URL of the cloud instance management Web service -->
<!--<InstanceMgtWSEndpoint>https://ec2.amazonaws.com/</InstanceMgtWSEndpoint>-->
<!--
Ports used by this server
-->
<Ports>
<!-- Ports offset. This entry will set the value of the ports defined below to
the define value + Offset.
e.g. Offset=2 and HTTPS port=9443 will set the effective HTTPS port to 9445
-->
<Offset>3</Offset>
<!-- The JMX Ports -->
<JMX>
<!--The port RMI registry is exposed-->
<RMIRegistryPort>9999</RMIRegistryPort>
<!--The port RMI server should be exposed-->
<RMIServerPort>11111</RMIServerPort>
</JMX>
<!-- Embedded LDAP server specific ports -->
<EmbeddedLDAP>
<!-- Port which embedded LDAP server runs -->
<LDAPServerPort>10389</LDAPServerPort>
<!-- Port which KDC (Kerberos Key Distribution Center) server runs -->
<KDCServerPort>8000</KDCServerPort>
</EmbeddedLDAP>
<!--
Override datasources JNDIproviderPort defined in bps.xml and datasources.properties files
-->
<!--<JNDIProviderPort>2199</JNDIProviderPort>-->
<!--Override receive port of thrift based entitlement service.-->
<ThriftEntitlementReceivePort>10500</ThriftEntitlementReceivePort>
<!--
This is the proxy port of the worker cluster. These need to be configured in a scenario where
manager node is not exposed through the load balancer through which the workers are exposed
therefore doesn't have a proxy port.
<WorkerHttpProxyPort>80</WorkerHttpProxyPort>
<WorkerHttpsProxyPort>443</WorkerHttpsProxyPort>
-->
</Ports>
<!--
JNDI Configuration
-->
<JNDI>
<!--
The fully qualified name of the default initial context factory
-->
<DefaultInitialContextFactory>org.wso2.carbon.tomcat.jndi.CarbonJavaURLContextFactory</DefaultInitialContextFactory>
<!--
The restrictions that are done to various JNDI Contexts in a Multi-tenant environment
-->
<Restrictions>
<!--
Contexts that will be available only to the super-tenant
-->
<!-- <SuperTenantOnly>
<UrlContexts>
<UrlContext>
<Scheme>foo</Scheme>
</UrlContext>
<UrlContext>
<Scheme>bar</Scheme>
</UrlContext>
</UrlContexts>
</SuperTenantOnly> -->
<!--
Contexts that are common to all tenants
-->
<AllTenants>
<UrlContexts>
<UrlContext>
<Scheme>java</Scheme>
</UrlContext>
<!-- <UrlContext>
<Scheme>foo</Scheme>
</UrlContext> -->
</UrlContexts>
</AllTenants>
<!--
All other contexts not mentioned above will be available on a per-tenant basis
(i.e. will not be shared among tenants)
-->
</Restrictions>
</JNDI>
<!--
Property to determine if the server is running an a cloud deployment environment.
This property should only be used to determine deployment specific details that are
applicable only in a cloud deployment, i.e when the server deployed *-as-a-service.
-->
<IsCloudDeployment>false</IsCloudDeployment>
<!--
Property to determine whether usage data should be collected for metering purposes
-->
<EnableMetering>false</EnableMetering>
<!-- The Max time a thread should take for execution in seconds -->
<MaxThreadExecutionTime>600</MaxThreadExecutionTime>
<!--
A flag to enable or disable Ghost Deployer. By default this is set to false. That is
because the Ghost Deployer works only with the HTTP/S transports. If you are using
other transports, don't enable Ghost Deployer.
-->
<GhostDeployment>
<Enabled>false</Enabled>
</GhostDeployment>
<!--
Eager loading or lazy loading is a design pattern commonly used in computer programming which
will initialize an object upon creation or load on-demand. In carbon, lazy loading is used to
load tenant when a request is received only. Similarly Eager loading is used to enable load
existing tenants after carbon server starts up. Using this feature, you will be able to include
or exclude tenants which are to be loaded when server startup.
We can enable only one LoadingPolicy at a given time.
1. Tenant Lazy Loading
This is the default behaviour and enabled by default. With this policy, tenants are not loaded at
server startup, but loaded based on-demand (i.e when a request is received for a tenant).
The default tenant idle time is 30 minutes.
2. Tenant Eager Loading
This is by default not enabled. It can be be enabled by un-commenting the <EagerLoading> section.
The eager loading configurations supported are as below. These configurations can be given as the
value for <Include> element with eager loading.
(i)Load all tenants when server startup - *
(ii)Load all tenants except foo.com & bar.com - *,!foo.com,!bar.com
(iii)Load only foo.com & bar.com to be included - foo.com,bar.com
-->
<Tenant>
<LoadingPolicy>
<LazyLoading>
<IdleTime>30</IdleTime>
</LazyLoading>
<!-- <EagerLoading>
<Include>*,!foo.com,!bar.com</Include>
</EagerLoading>-->
</LoadingPolicy>
</Tenant>
<!--
Caching related configurations
-->
<Cache>
<!-- Default cache timeout in minutes -->
<DefaultCacheTimeout>15</DefaultCacheTimeout>
</Cache>
<!--
Axis2 related configurations
-->
<Axis2Config>
<!--
Location of the Axis2 Services & Modules repository
This can be a directory in the local file system, or a URL.
e.g.
1. /home/wso2wsas/repository/ - An absolute path
2. repository - In this case, the path is relative to CARBON_HOME
3. file:///home/wso2wsas/repository/
4. http://wso2wsas/repository/
-->
<RepositoryLocation>${carbon.home}/repository/deployment/server/</RepositoryLocation>
<!--
Deployment update interval in seconds. This is the interval between repository listener
executions.
-->
<DeploymentUpdateInterval>15</DeploymentUpdateInterval>
<!--
Location of the main Axis2 configuration descriptor file, a.k.a. axis2.xml file
This can be a file on the local file system, or a URL
e.g.
1. /home/repository/axis2.xml - An absolute path
2. conf/axis2.xml - In this case, the path is relative to CARBON_HOME
3. file:///home/carbon/repository/axis2.xml
4. http://repository/conf/axis2.xml
-->
<ConfigurationFile>${carbon.home}/repository/conf/axis2/axis2.xml</ConfigurationFile>
<!--
ServiceGroupContextIdleTime, which will be set in ConfigurationContex
for multiple clients which are going to access the same ServiceGroupContext
Default Value is 30 Sec.
-->
<ServiceGroupContextIdleTime>30000</ServiceGroupContextIdleTime>
<!--
This repository location is used to crete the client side configuration
context used by the server when calling admin services.
-->
<ClientRepositoryLocation>${carbon.home}/repository/deployment/client/</ClientRepositoryLocation>
<!-- This axis2 xml is used in createing the configuration context by the FE server
calling to BE server -->
<clientAxis2XmlLocation>${carbon.home}/repository/conf/axis2/axis2_client.xml</clientAxis2XmlLocation>
<!-- If this parameter is set, the ?wsdl on an admin service will not give the admin service wsdl. -->
<HideAdminServiceWSDLs>true</HideAdminServiceWSDLs>
<!--WARNING-Use With Care! Uncommenting bellow parameter would expose all AdminServices in HTTP transport.
With HTTP transport your credentials and data routed in public channels are vulnerable for sniffing attacks.
Use bellow parameter ONLY if your communication channels are confirmed to be secured by other means -->
<!--HttpAdminServices>*</HttpAdminServices-->
</Axis2Config>
<!--
The default user roles which will be created when the server
is started up for the first time.
-->
<ServiceUserRoles>
<Role>
<Name>admin</Name>
<Description>Default Administrator Role</Description>
</Role>
<Role>
<Name>user</Name>
<Description>Default User Role</Description>
</Role>
</ServiceUserRoles>
<!--
Enable following config to allow Emails as usernames.
-->
<!--EnableEmailUserName>true</EnableEmailUserName-->
<!--
Security configurations
-->
<Security>
<!--
KeyStore which will be used for encrypting/decrypting passwords
and other sensitive information.
-->
<KeyStore>
<!-- Keystore file location-->
<Location>${carbon.home}/repository/resources/security/wso2carbon.jks</Location>
<!-- Keystore type (JKS/PKCS12 etc.)-->
<Type>JKS</Type>
<!-- Keystore password-->
<Password>wso2carbon</Password>
<!-- Private Key alias-->
<KeyAlias>wso2carbon</KeyAlias>
<!-- Private Key password-->
<KeyPassword>wso2carbon</KeyPassword>
</KeyStore>
<!--
System wide trust-store which is used to maintain the certificates of all
the trusted parties.
-->
<TrustStore>
<!-- trust-store file location -->
<Location>${carbon.home}/repository/resources/security/client-truststore.jks</Location>
<!-- trust-store type (JKS/PKCS12 etc.) -->
<Type>JKS</Type>
<!-- trust-store password -->
<Password>wso2carbon</Password>
</TrustStore>
<!--
The Authenticator configuration to be used at the JVM level. We extend the
java.net.Authenticator to make it possible to authenticate to given servers and
proxies.
-->
<NetworkAuthenticatorConfig>
<!--
Below is a sample configuration for a single authenticator. Please note that
all child elements are mandatory. Not having some child elements would lead to
exceptions at runtime.
-->
<!-- <Credential> -->
<!--
the pattern that would match a subset of URLs for which this authenticator
would be used
-->
<!-- <Pattern>regularExpression</Pattern> -->
<!--
the type of this authenticator. Allowed values are:
1. server
2. proxy
-->
<!-- <Type>proxy</Type> -->
<!-- the username used to log in to server/proxy -->
<!-- <Username>username</Username> -->
<!-- the password used to log in to server/proxy -->
<!-- <Password>password</Password> -->
<!-- </Credential> -->
</NetworkAuthenticatorConfig>
<!--
The Tomcat realm to be used for hosted Web applications. Allowed values are;
1. UserManager
2. Memory
If this is set to 'UserManager', the realm will pick users & roles from the system's
WSO2 User Manager. If it is set to 'memory', the realm will pick users & roles from
CARBON_HOME/repository/conf/tomcat/tomcat-users.xml
-->
<TomcatRealm>UserManager</TomcatRealm>
<!--Option to disable storing of tokens issued by STS-->
<DisableTokenStore>false</DisableTokenStore>
<!--
Security token store class name. If this is not set, default class will be
org.wso2.carbon.security.util.SecurityTokenStore
-->
<!--TokenStoreClassName>org.wso2.carbon.identity.sts.store.DBTokenStore</TokenStoreClassName-->
<XSSPreventionConfig>
<Enabled>true</Enabled>
<Rule>allow</Rule>
<Patterns>
<!--Pattern></Pattern-->
</Patterns>
</XSSPreventionConfig>
</Security>
<!--
The temporary work directory
-->
<WorkDirectory>${carbon.home}/tmp/work</WorkDirectory>
<!--
House-keeping configuration
-->
<HouseKeeping>
<!--
true - Start House-keeping thread on server startup
false - Do not start House-keeping thread on server startup.
The user will run it manually as and when he wishes.
-->
<AutoStart>true</AutoStart>
<!--
The interval in *minutes*, between house-keeping runs
-->
<Interval>10</Interval>
<!--
The maximum time in *minutes*, temp files are allowed to live
in the system. Files/directories which were modified more than
"MaxTempFileLifetime" minutes ago will be removed by the
house-keeping task
-->
<MaxTempFileLifetime>30</MaxTempFileLifetime>
</HouseKeeping>
<!--
Configuration for handling different types of file upload & other file uploading related
config parameters.
To map all actions to a particular FileUploadExecutor, use
<Action>*</Action>
-->
<FileUploadConfig>
<!--
The total file upload size limit in MB
-->
<TotalFileSizeLimit>100</TotalFileSizeLimit>
<Mapping>
<Actions>
<Action>keystore</Action>
<Action>certificate</Action>
<Action>*</Action>
</Actions>
<Class>org.wso2.carbon.ui.transports.fileupload.AnyFileUploadExecutor</Class>
</Mapping>
<Mapping>
<Actions>
<Action>jarZip</Action>
</Actions>
<Class>org.wso2.carbon.ui.transports.fileupload.JarZipUploadExecutor</Class>
</Mapping>
<Mapping>
<Actions>
<Action>dbs</Action>
</Actions>
<Class>org.wso2.carbon.ui.transports.fileupload.DBSFileUploadExecutor</Class>
</Mapping>
<Mapping>
<Actions>
<Action>tools</Action>
</Actions>
<Class>org.wso2.carbon.ui.transports.fileupload.ToolsFileUploadExecutor</Class>
</Mapping>
<Mapping>
<Actions>
<Action>toolsAny</Action>
</Actions>
<Class>org.wso2.carbon.ui.transports.fileupload.ToolsAnyFileUploadExecutor</Class>
</Mapping>
</FileUploadConfig>
<!-- FileNameRegEx is used to validate the file input/upload/write-out names.
e.g.
<FileNameRegEx>^(?!(?:CON|PRN|AUX|NUL|COM[1-9]|LPT[1-9])(?:\.[^.])?$)[^&lt;&gt:"/\\|?*\x00-\x1F][^&lt;&gt:"/\\|?*\x00-\x1F\ .]$</FileNameRegEx>
-->
<!--<FileNameRegEx></FileNameRegEx>-->
<!--
Processors which process special HTTP GET requests such as ?wsdl, ?policy etc.
In order to plug in a processor to handle a special request, simply add an entry to this
section.
The value of the Item element is the first parameter in the query string(e.g. ?wsdl)
which needs special processing
The value of the Class element is a class which implements
org.wso2.carbon.transport.HttpGetRequestProcessor
-->
<HttpGetRequestProcessors>
<Processor>
<Item>info</Item>
<Class>org.wso2.carbon.core.transports.util.InfoProcessor</Class>
</Processor>
<Processor>
<Item>wsdl</Item>
<Class>org.wso2.carbon.core.transports.util.Wsdl11Processor</Class>
</Processor>
<Processor>
<Item>wsdl2</Item>
<Class>org.wso2.carbon.core.transports.util.Wsdl20Processor</Class>
</Processor>
<Processor>
<Item>xsd</Item>
<Class>org.wso2.carbon.core.transports.util.XsdProcessor</Class>
</Processor>
</HttpGetRequestProcessors>
<!-- Deployment Synchronizer Configuration. Enable value to true when running with "svn based" dep sync.
In master nodes you need to set both AutoCommit and AutoCheckout to true
and in worker nodes set only AutoCheckout to true.
-->
<DeploymentSynchronizer>
<Enabled>false</Enabled>
<AutoCommit>false</AutoCommit>
<AutoCheckout>true</AutoCheckout>
<RepositoryType>svn</RepositoryType>
<SvnUrl>http://svnrepo.example.com/repos/</SvnUrl>
<SvnUser>username</SvnUser>
<SvnPassword>password</SvnPassword>
<SvnUrlAppendTenantId>true</SvnUrlAppendTenantId>
</DeploymentSynchronizer>
<!-- Deployment Synchronizer Configuration. Uncomment the following section when running with "registry based" dep sync.
In master nodes you need to set both AutoCommit and AutoCheckout to true
and in worker nodes set only AutoCheckout to true.
-->
<!--<DeploymentSynchronizer>
<Enabled>true</Enabled>
<AutoCommit>false</AutoCommit>
<AutoCheckout>true</AutoCheckout>
</DeploymentSynchronizer>-->
<!-- Mediation persistence configurations. Only valid if mediation features are available i.e. ESB -->
<!--<MediationConfig>
<LoadFromRegistry>false</LoadFromRegistry>
<SaveToFile>false</SaveToFile>
<Persistence>enabled</Persistence>
<RegistryPersistence>enabled</RegistryPersistence>
</MediationConfig>-->
<!--
Server intializing code, specified as implementation classes of org.wso2.carbon.core.ServerInitializer.
This code will be run when the Carbon server is initialized
-->
<ServerInitializers>
<!--<Initializer></Initializer>-->
</ServerInitializers>
<!--
Indicates whether the Carbon Servlet is required by the system, and whether it should be
registered
-->
<RequireCarbonServlet>${require.carbon.servlet}</RequireCarbonServlet>
<!--
Carbon H2 OSGI Configuration
By default non of the servers start.
name="web" - Start the web server with the H2 Console
name="webPort" - The port (default: 8082)
name="webAllowOthers" - Allow other computers to connect
name="webSSL" - Use encrypted (HTTPS) connections
name="tcp" - Start the TCP server
name="tcpPort" - The port (default: 9092)
name="tcpAllowOthers" - Allow other computers to connect
name="tcpSSL" - Use encrypted (SSL) connections
name="pg" - Start the PG server
name="pgPort" - The port (default: 5435)
name="pgAllowOthers" - Allow other computers to connect
name="trace" - Print additional trace information; for all servers
name="baseDir" - The base directory for H2 databases; for all servers
-->
<!--H2DatabaseConfiguration>
<property name="web" />
<property name="webPort">8082</property>
<property name="webAllowOthers" />
<property name="webSSL" />
<property name="tcp" />
<property name="tcpPort">9092</property>
<property name="tcpAllowOthers" />
<property name="tcpSSL" />
<property name="pg" />
<property name="pgPort">5435</property>
<property name="pgAllowOthers" />
<property name="trace" />
<property name="baseDir">${carbon.home}</property>
</H2DatabaseConfiguration-->
<!--Disabling statistics reporter by default-->
<StatisticsReporterDisabled>true</StatisticsReporterDisabled>
<!-- Enable accessing Admin Console via HTTP -->
<!-- EnableHTTPAdminConsole>true</EnableHTTPAdminConsole -->
<!--
Default Feature Repository of WSO2 Carbon.
-->
<FeatureRepository>
<RepositoryName>default repository</RepositoryName>
<RepositoryURL>http://product-dist.wso2.com/p2/carbon/releases/wilkes/</RepositoryURL>
</FeatureRepository>
<!--
Configure API Management
-->
<APIManagement>
<!--Uses the embedded API Manager by default. If you want to use an external
API Manager instance to manage APIs, configure below externalAPIManager-->
<Enabled>true</Enabled>
<!--Uncomment and configure API Gateway and
Publisher URLs to use external API Manager instance-->
<!--ExternalAPIManager>
<APIGatewayURL>http://localhost:8281</APIGatewayURL>
<APIPublisherURL>http://localhost:8281/publisher</APIPublisherURL>
</ExternalAPIManager-->
<LoadAPIContextsInServerStartup>true</LoadAPIContextsInServerStartup>
</APIManagement>
</Server>

View File

@ -1,18 +0,0 @@
# By default, This file contains the secret alias names and the plain text passwords enclosed with '[]' brackets
# In Production environments, It is recommend to replace these plain text password by the encrypted values. CipherTool can be used for it.
Carbon.Security.KeyStore.Password=[wso2carbon]
Carbon.Security.KeyStore.KeyPassword=[wso2carbon]
Carbon.Security.TrustStore.Password=[wso2carbon]
UserManager.AdminUser.Password=[admin]
Datasources.WSO2_CARBON_DB.Configuration.Password=[wso2carbon]
Server.Service.Connector.keystorePass=[wso2carbon]
# MB-Specific
Datasources.WSO2_MB_STORE_DB.Configuration.Password=[wso2carbon]
#AMQP / MQTT JKS store passwords
transports.amqp.sslConnection.keyStore.password=[wso2carbon]
transports.amqp.sslConnection.trustStore.password=[wso2carbon]
transports.mqtt.sslConnection.keyStore.password=[wso2carbon]
transports.mqtt.sslConnection.trustStore.password=[wso2carbon]

View File

@ -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

View File

@ -1,2 +0,0 @@
hazelcast.max.no.heartbeat.seconds=600
hazelcast.shutdownhook.enabled=false

View File

@ -1,209 +0,0 @@
<datasources-configuration>
<providers>
<provider>org.wso2.carbon.ndatasource.rdbms.RDBMSDataSourceReader</provider>
</providers>
<datasources>
<!-- For an explanation of the properties, see: http://people.apache.org/~fhanik/jdbc-pool/jdbc-pool.html -->
<!--datasource>
<name>SAMPLE_DATA_SOURCE</name>
<jndiConfig>
<name></name>
<environment>
<property name="java.naming.factory.initial"></property>
<property name="java.naming.provider.url"></property>
</environment>
</jndiConfig>
<definition type="RDBMS">
<configuration>
<defaultAutoCommit></defaultAutoCommit>
<defaultReadOnly></defaultReadOnly>
<defaultTransactionIsolation>NONE|READ_COMMITTED|READ_UNCOMMITTED|REPEATABLE_READ|SERIALIZABLE</defaultTransactionIsolation>
<defaultCatalog></defaultCatalog>
<username></username>
<password svns:secretAlias="WSO2.DB.Password"></password>
<maxActive></maxActive>
<maxIdle></maxIdle>
<initialSize></initialSize>
<maxWait></maxWait>
<dataSourceClassName>com.mysql.jdbc.jdbc2.optional.MysqlXADataSource</dataSourceClassName>
<dataSourceProps>
<property name="url">jdbc:mysql://localhost:3306/Test1</property>
<property name="user">root</property>
<property name="password">123</property>
</dataSourceProps>
</configuration>
</definition>
</datasource-->
<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:repository/database/WSO2CARBON_DB;DB_CLOSE_ON_EXIT=FALSE;LOCK_TIMEOUT=60000</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>
</configuration>
</definition>
</datasource>
<!-- WSO2 MB embedded H2 Store -->
<datasource>
<name>WSO2_MB_STORE_DB</name>
<description>The datasource used for message broker database</description>
<jndiConfig>
<name>WSO2MBStoreDB</name>
</jndiConfig>
<definition type="RDBMS">
<configuration>
<url>jdbc:h2:repository/database/WSO2MB_DB;DB_CLOSE_ON_EXIT=FALSE;LOCK_TIMEOUT=60000</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>
<!-- MySQL data source -->
<!--
<datasource>
<name>WSO2_MB_STORE_DB</name>
<jndiConfig>
<name>WSO2MBStoreDB</name>
</jndiConfig>
<definition type="RDBMS">
<configuration>
<driverClassName>com.mysql.jdbc.Driver</driverClassName>
<url>jdbc:mysql://localhost/wso2_mb</url>
<username>root</username>
<password>root</password>
<maxActive>50</maxActive>
<maxWait>60000</maxWait>
<minIdle>5</minIdle>
<testOnBorrow>true</testOnBorrow>
<validationQuery>SELECT 1</validationQuery>
<validationInterval>30000</validationInterval>
<defaultAutoCommit>false</defaultAutoCommit>
</configuration>
</definition>
</datasource>
-->
<!-- MSSQL server -->
<!-- Please enable any one of the following datasource based on your MSSQL driver library -->
<!-- JTDS datasource -->
<!--
<datasource>
    <name>WSO2_MB_STORE_DB</name>
    <jndiConfig>
        <name>WSO2MBStoreDB</name>
    </jndiConfig>
    <definition type="RDBMS">
<configuration>
<url>jdbc:jtds:sqlserver://localhost:1433/wso2_mb</url>
<username>sa</username>
<password>sa</password>
<driverClassName>net.sourceforge.jtds.jdbc.Driver</driverClassName>
<maxActive>200</maxActive>
<maxWait>60000</maxWait>
<minIdle>5</minIdle>
<testOnBorrow>true</testOnBorrow>
<validationQuery>SELECT 1</validationQuery>
<validationInterval>30000</validationInterval>
<defaultAutoCommit>false</defaultAutoCommit>
</configuration>
    </definition>
</datasource>
-->
<!-- SQLServerXA datasource -->
<!--
<datasource>
    <name>WSO2_MB_STORE_DB</name>
    <jndiConfig>
        <name>WSO2MBStoreDB</name>
    </jndiConfig>
    <definition type="RDBMS">
        <configuration>
<defaultAutoCommit>false</defaultAutoCommit>
            <dataSourceClassName>com.microsoft.sqlserver.jdbc.SQLServerXADataSource</dataSourceClassName>
            <dataSourceProps>
<property name = "URL">jdbc:sqlserver://localhost/SQLExpress:1433</property>
<property name="databaseName">wso2_mb</property>
                <property name="user">sa</property>
                <property name="password">sa</property>
            </dataSourceProps>
        </configuration>
    </definition>
</datasource>
-->
<!-- Oracle datasource -->
<!--
<datasource>
<name>WSO2_MB_STORE_DB</name>
<jndiConfig>
<name>WSO2MBStoreDB</name>
</jndiConfig>
<definition type="RDBMS">
<configuration>
<driverClassName>oracle.jdbc.driver.OracleDriver</driverClassName>
<url>jdbc:oracle:thin:@localhost:1521/orcl</url>
<maxActive>100</maxActive>
<maxWait>60000</maxWait>
<minIdle>5</minIdle>
<testOnBorrow>true</testOnBorrow>
<validationQuery>SELECT 1 FROM DUAL</validationQuery>
<validationInterval>30000</validationInterval>
<username>scott</username>
<password>tiger</password>
<defaultAutoCommit>false</defaultAutoCommit>
</configuration>
</definition>
</datasource>
-->
<!-- Postgresql datasource -->
<!--
<datasource>
    <name>WSO2_MB_STORE_DB</name>
    <jndiConfig>
        <name>WSO2MBStoreDB</name>
    </jndiConfig>
    <definition type="RDBMS">
<configuration>
<url>jdbc:postgresql://localhost/wso2_mb</url>
<username>postgres</username>
<password>postgres</password>
<driverClassName>org.postgresql.Driver</driverClassName>
<validationQuery>SELECT 1</validationQuery>
<validationInterval>30000</validationInterval>
<defaultAutoCommit>false</defaultAutoCommit>
</configuration>
    </definition>
</datasource>
-->
</datasources>
</datasources-configuration>

View File

@ -1,44 +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>

View File

@ -1,103 +0,0 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2015 WSO2 Inc. (http://wso2.org)
~
~ Licensed 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.
-->
<!--
This is the main configuration file for metrics
-->
<Metrics xmlns="http://wso2.org/projects/carbon/metrics.xml">
<!--
Enable Metrics
-->
<Enabled>true</Enabled>
<!--
Metrics reporting configurations
-->
<Reporting>
<JMX>
<Enabled>true</Enabled>
</JMX>
<Console>
<Enabled>false</Enabled>
<!-- Polling Period in seconds.
This is the period for polling metrics from the metric registry and
printing in the console -->
<PollingPeriod>60</PollingPeriod>
</Console>
<CSV>
<Enabled>false</Enabled>
<Location>${carbon.home}/repository/logs/metrics/</Location>
<!-- Polling Period in seconds.
This is the period for polling metrics from the metric registry and
update CSV files in the given location -->
<PollingPeriod>60</PollingPeriod>
</CSV>
<JDBC>
<Enabled>true</Enabled>
<!-- Source of Metrics, which will be used to
identify each metric in database -->
<!-- Commented to use the hostname
<Source>Carbon</Source>
-->
<!--
JNDI name of the data source to be used by the JDBC Reporter.
This data source should be defined in a *-datasources.xml
file in conf/datasources directory.
-->
<DataSourceName>jdbc/WSO2MetricsDB</DataSourceName>
<!-- Polling Period in seconds.
This is the period for polling metrics from the metric registry and
updating the database with the values -->
<PollingPeriod>60</PollingPeriod>
<ScheduledCleanup>
<!--
Schedule regular deletion of metrics data older than a set number of days.
It is strongly recommended that you enable this job to ensure your metrics tables do not get extremely
large. Deleting data older than seven days should be sufficient.
-->
<Enabled>true</Enabled>
<!-- This is the period for each cleanup operation in seconds -->
<ScheduledCleanupPeriod>86400</ScheduledCleanupPeriod>
<!-- The scheduled job will cleanup all data older than the specified days -->
<DaysToKeep>7</DaysToKeep>
</ScheduledCleanup>
</JDBC>
<DAS>
<Enabled>false</Enabled>
<!-- Source of Metrics, which will be used to
identify each metric sent in the streams -->
<!-- Commented to use the hostname
<Source>Carbon</Source>
-->
<!-- Polling Period in seconds.
This is the period for polling metrics from the metric registry and
sending events via the Data Publisher -->
<PollingPeriod>60</PollingPeriod>
<!-- The type used with Data Publisher -->
<Type>thrift</Type>
<!-- Data Receiver URL used by the Data Publisher -->
<ReceiverURL>tcp://localhost:7612</ReceiverURL>
<!-- Authentication URL for the Data Publisher -->
<!-- <AuthURL>ssl://localhost:7711</AuthURL> -->
<Username>admin</Username>
<Password>admin</Password>
<!-- Path for Data Agent Configuration -->
<DataAgentConfigPath>repository/conf/data-bridge/data-agent-config.xml</DataAgentConfigPath>
</DAS>
</Reporting>
</Metrics>

View File

@ -1,177 +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.
-->
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app id="WebApp">
<security-constraint>
<display-name>Restrict access to carbon console</display-name>
<web-resource-collection>
<web-resource-name>Restricted Console UI</web-resource-name>
<url-pattern>/carbon/*</url-pattern>
</web-resource-collection>
<auth-constraint/>
</security-constraint>
<!-- OWASP CSRFGuard per-application configuration property file location-->
<context-param>
<param-name>Owasp.CsrfGuard.Config</param-name>
<param-value>repository/conf/security/Owasp.CsrfGuard.Carbon.properties</param-value>
</context-param>
<servlet id="bridge">
<servlet-name>bridgeservlet</servlet-name>
<display-name>Carbon Bridge Servlet</display-name>
<description>Carbon Bridge Servlet</description>
<servlet-class>org.wso2.carbon.tomcat.ext.servlet.DelegationServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<!-- OWASP CSRFGuard servlet that serves dynamic token injection JavaScript-->
<servlet>
<servlet-name>JavaScriptServlet</servlet-name>
<servlet-class>org.owasp.csrfguard.servlet.JavaScriptServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>bridgeservlet</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
<!--
This is required if your application bundles expose JSPs.
-->
<servlet-mapping>
<servlet-name>bridgeservlet</servlet-name>
<url-pattern>*.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>JavaScriptServlet</servlet-name>
<url-pattern>/carbon/admin/js/csrfPrevention.js</url-pattern>
</servlet-mapping>
<!--This is for performing the character encoding in the JSPs. -->
<filter>
<filter-name>CharsetFilter</filter-name>
<filter-class>org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter</filter-class>
<init-param>
<param-name>requestEncoding</param-name>
<param-value>UTF-8</param-value>
</init-param>
</filter>
<!-- OWASP CSRFGuard filter used to validate CSRF token-->
<filter>
<filter-name>CSRFGuard</filter-name>
<filter-class>org.owasp.csrfguard.CsrfGuardFilter</filter-class>
</filter>
<!-- Tomcat http header security filter -->
<filter>
<filter-name>HttpHeaderSecurityFilter</filter-name>
<filter-class>org.apache.catalina.filters.HttpHeaderSecurityFilter</filter-class>
<init-param>
<param-name>hstsEnabled</param-name>
<param-value>false</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>HttpHeaderSecurityFilter</filter-name>
<url-pattern>*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>CharsetFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>CSRFGuard</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<!-- OWASP CSRFGuard context listener used to read CSRF configuration -->
<listener>
<listener-class>org.owasp.csrfguard.CsrfGuardServletContextListener</listener-class>
</listener>
<!-- OWASP CSRFGuard session listener used to generate per-session CSRF token -->
<listener>
<listener-class>org.owasp.csrfguard.CsrfGuardHttpSessionListener</listener-class>
</listener>
<session-config>
<session-timeout>15</session-timeout>
<cookie-config>
<secure>true</secure>
</cookie-config>
</session-config>
<!-- custom error pages -->
<error-page>
<error-code>400</error-code>
<location>/carbon/errors/error_400.html</location>
</error-page>
<error-page>
<error-code>401</error-code>
<location>/carbon/errors/error_401.html</location>
</error-page>
<error-page>
<error-code>403</error-code>
<location>/carbon/errors/error_403.html</location>
</error-page>
<error-page>
<error-code>404</error-code>
<location>/carbon/errors/error_404.html</location>
</error-page>
<error-page>
<error-code>405</error-code>
<location>/carbon/errors/error_405.html</location>
</error-page>
<error-page>
<error-code>408</error-code>
<location>/carbon/errors/error_408.html</location>
</error-page>
<error-page>
<error-code>410</error-code>
<location>/carbon/errors/error_410.html</location>
</error-page>
<error-page>
<error-code>500</error-code>
<location>/carbon/errors/error_500.html</location>
</error-page>
<error-page>
<error-code>502</error-code>
<location>/carbon/errors/error_502.html</location>
</error-page>
<error-page>
<error-code>503</error-code>
<location>/carbon/errors/error_503.html</location>
</error-page>
<error-page>
<error-code>504</error-code>
<location>/carbon/errors/error_504.html</location>
</error-page>
<error-page>
<location>/carbon/errors/error.html</location>
</error-page>
</web-app>

View File

@ -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

View File

@ -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 | [![Build Status](https://wso2.org/jenkins/job/product-mb/badge/icon)](https://wso2.org/jenkins/job/product-mb) |
| Java 8 | [![Build Status](https://wso2.org/jenkins/job/product-mb__java8/badge/icon)](https://wso2.org/jenkins/job/product-mb__java8/) |
(c) 2015, WSO2 Inc.

View File

@ -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.

View File

@ -1,249 +0,0 @@
# Eclipse Runtime Configuration Overrides
# These properties are loaded prior to starting the framework and can also be used to override System Properties
# @null is a special value used to override and clear the framework's copy of a System Property prior to starting the framework
# "*" can be used together with @null to clear System Properties that match a prefix name.
osgi.*=@null
org.osgi.*=@null
eclipse.*=@null
osgi.parentClassloader=app
osgi.contextClassLoaderParent=app
# When osgi.clean is set to "true", any cached data used by the OSGi framework
# will be wiped clean. This will clean the caches used to store bundle
# dependency resolution and eclipse extension registry data. Using this
# option will force OSGi framework to reinitialize these caches.
# The following setting is put in place to get rid of the problems
# faced when re-starting the system. Please note that, when this setting is
# true, if you manually start a bundle, it would not be available when
# you re-start the system. To avid this, copy the bundle jar to the plugins
# folder, before you re-start the system.
osgi.clean=true
# Uncomment the following line to turn on Eclipse Equinox debugging.
# You may also edit the osgi-debug.options file and fine tune the debugging
# options to suite your needs.
#osgi.debug=./repository/conf/osgi-debug.options
# Following system property allows us to control the public JDK packages exported through the system bundle.
org.osgi.framework.system.packages=javax.accessibility,\
javax.activity,\
javax.crypto,\
javax.crypto.interfaces,\
javax.crypto.spec,\
javax.imageio,\
javax.imageio.event,\
javax.imageio.metadata,\
javax.imageio.plugins.bmp,\
javax.imageio.plugins.jpeg,\
javax.imageio.spi,\
javax.imageio.stream,\
javax.jms,\
javax.management,\
javax.management.loading,\
javax.management.modelmbean,\
javax.management.monitor,\
javax.management.openmbean,\
javax.management.relation,\
javax.management.remote,\
javax.management.remote.rmi,\
javax.management.timer,\
javax.naming,\
javax.naming.directory,\
javax.naming.event,\
javax.naming.ldap,\
javax.naming.spi,\
javax.net,\
javax.net.ssl,\
javax.print,\
javax.print.attribute,\
javax.print.attribute.standard,\
javax.print.event,\
javax.rmi,\
javax.rmi.CORBA,\
javax.rmi.ssl,\
javax.script,\
javax.security.auth,\
javax.security.auth.callback,\
javax.security.auth.kerberos,\
javax.security.auth.login,\
javax.security.auth.spi,\
javax.security.auth.x500,\
javax.security.cert,\
javax.security.sasl,\
javax.sound.midi,\
javax.sound.midi.spi,\
javax.sound.sampled,\
javax.sound.sampled.spi,\
javax.sql,\
javax.sql.rowset,\
javax.sql.rowset.serial,\
javax.sql.rowset.spi,\
javax.swing,\
javax.swing.border,\
javax.swing.colorchooser,\
javax.swing.event,\
javax.swing.filechooser,\
javax.swing.plaf,\
javax.swing.plaf.basic,\
javax.swing.plaf.metal,\
javax.swing.plaf.multi,\
javax.swing.plaf.synth,\
javax.swing.table,\
javax.swing.text,\
javax.swing.text.html,\
javax.swing.text.html.parser,\
javax.swing.text.rtf,\
javax.swing.tree,\
javax.swing.undo,\
javax.transaction,\
javax.transaction.xa,\
javax.xml.namespace,\
javax.xml.parsers,\
javax.xml.transform,\
javax.xml.transform.stream,\
javax.xml.transform.dom,\
javax.xml.transform.sax,\
javax.xml,\
javax.xml.validation,\
javax.xml.datatype,\
javax.xml.xpath,\
javax.activation,\
com.sun.activation.registries,\
com.sun.activation.viewers,\
org.ietf.jgss,\
org.omg.CORBA,\
org.omg.CORBA_2_3,\
org.omg.CORBA_2_3.portable,\
org.omg.CORBA.DynAnyPackage,\
org.omg.CORBA.ORBPackage,\
org.omg.CORBA.portable,\
org.omg.CORBA.TypeCodePackage,\
org.omg.CosNaming,\
org.omg.CosNaming.NamingContextExtPackage,\
org.omg.CosNaming.NamingContextPackage,\
org.omg.Dynamic,\
org.omg.DynamicAny,\
org.omg.DynamicAny.DynAnyFactoryPackage,\
org.omg.DynamicAny.DynAnyPackage,\
org.omg.IOP,\
org.omg.IOP.CodecFactoryPackage,\
org.omg.IOP.CodecPackage,\
org.omg.Messaging,\
org.omg.PortableInterceptor,\
org.omg.PortableInterceptor.ORBInitInfoPackage,\
org.omg.PortableServer,\
org.omg.PortableServer.CurrentPackage,\
org.omg.PortableServer.POAManagerPackage,\
org.omg.PortableServer.POAPackage,\
org.omg.PortableServer.portable,\
org.omg.PortableServer.ServantLocatorPackage,\
org.omg.SendingContext,\
org.omg.stub.java.rmi,\
org.w3c.dom,\
org.w3c.dom.bootstrap,\
org.w3c.dom.css,\
org.w3c.dom.events,\
org.w3c.dom.html,\
org.w3c.dom.ls,\
org.w3c.dom.ranges,\
org.w3c.dom.stylesheets,\
org.w3c.dom.traversal,\
org.w3c.dom.views ,\
org.xml.sax,\
org.xml.sax.ext,\
org.xml.sax.helpers,\
org.apache.xerces.xpointer,\
org.apache.xerces.xni.grammars,\
org.apache.xerces.impl.xs.util,\
org.apache.xerces.jaxp.validation,\
org.apache.xerces.impl.dtd.models,\
org.apache.xerces.impl.xpath,\
org.apache.xerces.dom3.as,\
org.apache.xerces.impl.dv.xs,\
org.apache.xerces.util,\
org.apache.xerces.impl.xs.identity,\
org.apache.xerces.impl.xs.opti,\
org.apache.xerces.jaxp,\
org.apache.xerces.impl.dv,\
org.apache.xerces.xs.datatypes,\
org.apache.xerces.dom.events,\
org.apache.xerces.impl.msg,\
org.apache.xerces.xni,\
org.apache.xerces.impl.xs,\
org.apache.xerces.impl,\
org.apache.xerces.impl.io,\
org.apache.xerces.xinclude,\
org.apache.xerces.jaxp.datatype,\
org.apache.xerces.parsers,\
org.apache.xerces.impl.dv.util,\
org.apache.xerces.xni.parser,\
org.apache.xerces.impl.xs.traversers,\
org.apache.xerces.impl.dv.dtd,\
org.apache.xerces.xs,\
org.apache.xerces.impl.dtd,\
org.apache.xerces.impl.validation,\
org.apache.xerces.impl.xs.models,\
org.apache.xerces.impl.xpath.regex,\
org.apache.xml.serialize,\
org.apache.xerces.dom,\
org.apache.xalan,\
org.apache.xalan.xslt,\
org.apache.xalan.templates,\
org.apache.xalan.xsltc,\
org.apache.xalan.xsltc.cmdline,\
org.apache.xalan.xsltc.cmdline.getopt,\
org.apache.xalan.xsltc.trax,\
org.apache.xalan.xsltc.dom,\
org.apache.xalan.xsltc.runtime,\
org.apache.xalan.xsltc.runtime.output,\
org.apache.xalan.xsltc.util,\
org.apache.xalan.xsltc.compiler,\
org.apache.xalan.xsltc.compiler.util,\
org.apache.xalan.serialize,\
org.apache.xalan.client,\
org.apache.xalan.res,\
org.apache.xalan.transformer,\
org.apache.xalan.extensions,\
org.apache.xalan.lib,\
org.apache.xalan.lib.sql,\
org.apache.xalan.processor,\
org.apache.xalan.trace,\
org.apache.xml.dtm,\
org.apache.xml.dtm.ref,\
org.apache.xml.dtm.ref.sax2dtm,\
org.apache.xml.dtm.ref.dom2dtm,\
org.apache.xml.utils,\
org.apache.xml.utils.res,\
org.apache.xml.res,\
org.apache.xml.serializer,\
org.apache.xml.serializer.utils,\
org.apache.xpath,\
org.apache.xpath.domapi,\
org.apache.xpath.objects,\
org.apache.xpath.patterns,\
org.apache.xpath.jaxp,\
org.apache.xpath.res,\
org.apache.xpath.operations,\
org.apache.xpath.functions,\
org.apache.xpath.axes,\
org.apache.xpath.compiler,\
org.apache.xml.resolver,\
org.apache.xml.resolver.tools,\
org.apache.xml.resolver.helpers,\
org.apache.xml.resolver.readers,\
org.apache.xml.resolver.etc,\
org.apache.xml.resolver.apps,\
javax.xml.ws,\
javax.xml.bind,\
javax.xml.bind.annotation,\
javax.annotation,\
javax.jws,\
javax.jws.soap,\
javax.xml.soap,\
com.sun.xml.internal.messaging.saaj.soap.ver1_1,\
com.sun.xml.internal.messaging.saaj.soap,\
com.sun.tools.internal.ws.spi,\
org.github.jamm,\
org.wso2.carbon.bootstrap

View File

@ -1,239 +0,0 @@
#
# Copyright 2009-2015 WSO2, Inc. (http://wso2.com)
#
# Licensed 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.
#
#
# This is the log4j configuration file used by WSO2 Carbon
#
# IMPORTANT : Please do not remove or change the names of any
# of the Appenders defined here. The layout pattern & log file
# can be changed using the WSO2 Carbon Management Console, and those
# settings will override the settings in this file.
#
log4j.rootLogger=INFO, CARBON_CONSOLE, CARBON_LOGFILE, CARBON_MEMORY, CARBON_SYS_LOG
log4j.logger.AUDIT_LOG=INFO, AUDIT_LOGFILE
log4j.logger.org.apache.axis2.wsdl.codegen.writer.PrettyPrinter=ERROR, CARBON_LOGFILE, CARBON_MEMORY
log4j.logger.org.apache.axis2.clustering=INFO, CARBON_CONSOLE, CARBON_LOGFILE
log4j.logger.org.apache=INFO, CARBON_LOGFILE, CARBON_MEMORY
log4j.logger.org.apache.catalina=WARN
log4j.logger.org.apache.tomcat=WARN
log4j.logger.org.wso2.carbon.apacheds=WARN
log4j.logger.org.apache.directory.server.ldap=WARN
log4j.logger.org.apache.directory.server.core.event=WARN
log4j.logger.com.atomikos=INFO,ATOMIKOS
log4j.logger.org.quartz=WARN
log4j.logger.org.apache.jackrabbit.webdav=WARN
log4j.logger.org.apache.juddi=ERROR
log4j.logger.org.apache.commons.digester.Digester=WARN
log4j.logger.org.apache.jasper.compiler.TldLocationsCache=WARN
log4j.logger.org.apache.qpid=WARN
log4j.logger.org.apache.qpid.server.Main=INFO
log4j.logger.qpid.message=WARN
log4j.logger.qpid.message.broker.listening=INFO
log4j.logger.org.apache.tiles=WARN
log4j.logger.org.apache.commons.httpclient=ERROR
log4j.logger.org.apache.coyote=WARN
log4j.logger.org.apache.solr=ERROR
log4j.logger.org.infinispan=WARN
log4j.logger.org.jgroups=ERROR
log4j.logger.org.wso2=INFO
log4j.logger.org.apache.axis2.enterprise=FATAL, CARBON_LOGFILE, CARBON_MEMORY
log4j.logger.org.opensaml.xml=WARN, CARBON_LOGFILE, CARBON_MEMORY
log4j.logger.org.apache.directory.shared.ldap=WARN, CARBON_LOGFILE, CARBON_MEMORY
log4j.logger.org.apache.directory.server.ldap.handlers=WARN, CARBON_LOGFILE, CARBON_MEMORY
#Following are to remove false error messages from startup (IS)
log4j.logger.org.apache.directory.shared.ldap.entry.DefaultServerAttribute=FATAL, CARBON_LOGFILE, CARBON_MEMORY
log4j.logger.org.apache.directory.server.core.DefaultDirectoryService=ERROR, CARBON_LOGFILE, CARBON_MEMORY
log4j.logger.org.apache.directory.shared.ldap.ldif.LdifReader=ERROR, CARBON_LOGFILE, CARBON_MEMORY
log4j.logger.org.apache.directory.server.ldap.LdapProtocolHandler=ERROR, CARBON_LOGFILE, CARBON_MEMORY
log4j.logger.org.apache.directory.server.core=ERROR, CARBON_LOGFILE, CARBON_MEMORY
#Hive Related Log configurations
log4j.logger.DataNucleus=ERROR
log4j.logger.Datastore=ERROR
log4j.logger.Datastore.Schema=ERROR
log4j.logger.JPOX.Datastore=ERROR
log4j.logger.JPOX.Plugin=ERROR
log4j.logger.JPOX.MetaData=ERROR
log4j.logger.JPOX.Query=ERROR
log4j.logger.JPOX.General=ERROR
log4j.logger.JPOX.Enhancer=ERROR
log4j.logger.org.apache.hadoop.hive=WARN
log4j.logger.hive=WARN
log4j.logger.ExecMapper=WARN
log4j.logger.ExecReducer=WARN
#andes specific
log4j.logger.org.wso2.andes.server.handler.ConnectionStartOkMethodHandler=WARN
log4j.logger.org.wso2.andes.server.handler.ChannelOpenHandler=WARN
log4j.logger.org.wso2.andes.server.handler.ChannelCloseHandler=WARN
log4j.logger.org.wso2.andes.server.AMQChannel=WARN
log4j.logger.org.wso2.andes.server.handler.ConnectionCloseMethodHandler=WARN
log4j.logger.org.wso2.andes.server.handler.QueueDeclareHandler=WARN
log4j.logger.org.wso2.andes.server.handler.QueueBindHandler=WARN
log4j.logger.org.wso2.andes.server.virtualhost.VirtualHostConfigRecoveryHandler=WARN
log4j.logger.org.wso2.andes.amqp.QpidAndesBridge=WARN
log4j.logger.trace.messages=TRACE,CARBON_TRACE_LOGFILE
#trace level logs for WSO2 Message Broker
#log4j.logger.org.wso2.andes.server.trace=TRACE,CARBON_TRACE_LOGFILE
# Uncomment to enable MessageTracer
log4j.logger.org.wso2.andes.tools.utils.MessageTracer=INFO,CARBON_TRACE_LOGFILE
#Andes logs for troubleshooting
#log4j.logger.org.wso2.andes.kernel.MessageFlusher=DEBUG
#log4j.logger.org.wso2.andes.kernel.slot.SlotDeliveryWorker=DEBUG
#log4j.logger.org.wso2.andes.amqp.QpidAndesBridge=DEBUG
#log4j.logger.org.wso2.andes.server.AMQChannel=DEBUG
#log4j.logger.org.wso2.andes.kernel.slot.SlotDeliveryWorkerManager=DEBUG
#log4j.logger.org.wso2.andes.kernel.distruptor.inbound.MessageWriter=DEBUG
#log4j.logger.org.wso2.andes.kernel.distruptor.inbound.AckHandler=DEBUG
#log4j.logger.org.wso2.andes.kernel.distruptor.inbound.StateEventHandler=DEBUG
#log4j.logger.org.wso2.andes.kernel.slot.SlotManagerClusterMode=DEBUG
#log4j.logger.org.wso2.andes.subscription.LocalSubscription=DEBUG
#log4j.logger.org.wso2.andes.subscription.SubscriptionStore=DEBUG
#MQTT specific
#log4j.logger.org.dna.mqtt.wso2.AndesMQTTBridge=DEBUG
#log4j.logger.org.dna.mqtt.moquette.messaging.spi.impl.ProtocolProcessor=DEBUG
# DAS_AGENT is set to be a Custom Log Appender.
#log4j.appender.DAS_AGENT=org.wso2.carbon.analytics.shared.data.agents.log4j.appender.LogEventAppender
# DAS_AGENT uses PatternLayout.
#log4j.appender.DAS_AGENT.layout=org.wso2.carbon.analytics.shared.data.agents.log4j.util.TenantAwarePatternLayout
#log4j.appender.DAS_AGENT.columnList=%D,%S,%A,%d,%c,%p,%m,%H,%I,%Stacktrace
#log4j.appender.DAS_AGENT.userName=admin
#log4j.appender.DAS_AGENT.password=admin
#log4j.appender.DAS_AGENT.url=tcp://localhost:7612
#log4j.appender.DAS_AGENT.maxTolerableConsecutiveFailure=5
#log4j.appender.DAS_AGENT.streamDef=loganalyzer:1.0.0
log4j.additivity.org.apache.axis2.clustering=false
log4j.additivity.com.atomikos=false
# CARBON_CONSOLE is set to be a ConsoleAppender using a PatternLayout.
log4j.appender.CARBON_CONSOLE=org.apache.log4j.ConsoleAppender
log4j.appender.CARBON_CONSOLE.layout=org.wso2.carbon.utils.logging.TenantAwarePatternLayout
# ConversionPattern will be overridden by the configuration setting in the DB
log4j.appender.CARBON_CONSOLE.layout.ConversionPattern=[%d] [${logger.server.name}] %P%5p {%c} - %x %m%n
log4j.appender.CARBON_CONSOLE.layout.TenantPattern=%U%@%D[%T]
log4j.appender.CARBON_CONSOLE.threshold=DEBUG
# The memory appender for logging
log4j.appender.CARBON_MEMORY=org.wso2.carbon.logging.service.appender.CarbonMemoryAppender
log4j.appender.CARBON_MEMORY.bufferSize=2000
log4j.appender.CARBON_MEMORY.layout=org.wso2.carbon.utils.logging.TenantAwarePatternLayout
# ConversionPattern will be overridden by the configuration setting in the DB
log4j.appender.CARBON_MEMORY.layout.ConversionPattern=TID: [%T] [%S] [%d] %P%5p {%c} - %x %m {%c}%n
log4j.appender.CARBON_MEMORY.layout.TenantPattern=%U%@%D [%T] [%S]
log4j.appender.CARBON_MEMORY.columnList=%T,%S,%A,%d,%c,%p,%m,%H,%I,%Stacktrace
log4j.appender.CARBON_MEMORY.threshold=DEBUG
# CARBON_LOGFILE is set to be a DailyRollingFileAppender using a PatternLayout.
log4j.appender.CARBON_LOGFILE=org.apache.log4j.DailyRollingFileAppender
# Log file will be overridden by the configuration setting in the DB
# This path should be relative to WSO2 Carbon Home
log4j.appender.CARBON_LOGFILE.File=${carbon.home}/repository/logs/${instance.log}/wso2carbon${instance.log}.log
log4j.appender.CARBON_LOGFILE.Append=true
log4j.appender.CARBON_LOGFILE.layout=org.wso2.carbon.utils.logging.TenantAwarePatternLayout
# ConversionPattern will be overridden by the configuration setting in the DB
log4j.appender.CARBON_LOGFILE.layout.ConversionPattern=TID: [%T] [%S] [%d] %P%5p {%c} - %x %m {%c}%n
log4j.appender.CARBON_LOGFILE.layout.TenantPattern=%U%@%D [%T] [%S]
log4j.appender.CARBON_LOGFILE.threshold=DEBUG
log4j.appender.CARBON_SYS_LOG = org.apache.log4j.net.SyslogAppender
log4j.appender.CARBON_SYS_LOG.layout=org.apache.log4j.PatternLayout
log4j.appender.CARBON_SYS_LOG.layout.ConversionPattern=[%d] %5p {%c} - %x %m {%c}%n
log4j.appender.CARBON_SYS_LOG.SyslogHost=localhost
log4j.appender.CARBON_SYS_LOG.Facility=USER
log4j.appender.CARBON_SYS_LOG.threshold=DEBUG
# LOGEVENT is set to be a LogEventAppender using a PatternLayout to send logs to LOGEVENT
log4j.appender.LOGEVENT=org.wso2.carbon.logging.appender.LogEventAppender
log4j.appender.LOGEVENT.url=tcp://10.100.3.103:7611
log4j.appender.LOGEVENT.layout=org.wso2.carbon.utils.logging.TenantAwarePatternLayout
log4j.appender.LOGEVENT.columnList=%T,%S,%A,%d,%c,%p,%m,%H,%I,%Stacktrace
log4j.appender.LOGEVENT.userName=admin
log4j.appender.LOGEVENT.password=admin
# Appender config to CARBON_TRACE_LOGFILE
log4j.appender.CARBON_TRACE_LOGFILE=org.apache.log4j.DailyRollingFileAppender
log4j.appender.CARBON_TRACE_LOGFILE.File=${carbon.home}/repository/logs/${instance.log}/wso2carbon-trace-messages${instance.log}.log
log4j.appender.CARBON_TRACE_LOGFILE.Append=true
log4j.appender.CARBON_TRACE_LOGFILE.layout=org.wso2.carbon.utils.logging.TenantAwarePatternLayout
log4j.appender.CARBON_TRACE_LOGFILE.layout.ConversionPattern=[%d] %P%5p {%c} - %x %m {%c}%n
log4j.appender.CARBON_TRACE_LOGFILE.layout.TenantPattern=%U%@%D [%T] [%S]
log4j.appender.CARBON_TRACE_LOGFILE.threshold=TRACE
log4j.additivity.trace.messages=false
# Appender config to AUDIT_LOGFILE
log4j.appender.AUDIT_LOGFILE=org.apache.log4j.DailyRollingFileAppender
log4j.appender.AUDIT_LOGFILE.File=${carbon.home}/repository/logs/audit.log
log4j.appender.AUDIT_LOGFILE.Append=true
log4j.appender.AUDIT_LOGFILE.layout=org.wso2.carbon.utils.logging.TenantAwarePatternLayout
log4j.appender.AUDIT_LOGFILE.layout.ConversionPattern=[%d] %P%5p - %x %m %n
log4j.appender.AUDIT_LOGFILE.layout.TenantPattern=%U%@%D [%T] [%S]
log4j.appender.AUDIT_LOGFILE.threshold=INFO
log4j.additivity.AUDIT_LOG=false
# Appender config to send Atomikos transaction logs to new log file tm.out.
log4j.appender.ATOMIKOS = org.apache.log4j.RollingFileAppender
log4j.appender.ATOMIKOS.File = repository/logs/tm.out
log4j.appender.ATOMIKOS.Append = true
log4j.appender.ATOMIKOS.layout = org.apache.log4j.PatternLayout
log4j.appender.ATOMIKOS.layout.ConversionPattern=%p %t %c - %m%n
# This file is used to override the default logger settings, and is used to remove unwanted logs from Shindig appearing on the console.
# Specification of Handler used by Console Logger
handlers=java.util.logging.ConsoleHandler
# Replacing default INFO level with SEVERE
java.util.logging.ConsoleHandler.level=SEVERE
# moquette-log properties
log4j.logger.org.dna.mqtt=INFO
log4j.logger.org.dna.mqtt.moquette.messaging.spi.impl.ProtocolProcessor=INFO
log4j.logger.org.dna.mqtt.moquette.messaging.spi.impl.SimpleMessaging=WARN
#Protocol parsing
log4j.logger.org.dna.mqtt.moquette.server.netty.NettyMQTTHandler=WARN
#log4j.logger.org.dna.mqtt.moquette.server.netty.NettyMQTTHandler=DEBUG
log4j.logger.org.dna.mqtt.moquette.parser.netty=WARN
#Storage server
#log4j.logger.org.dna.mqtt.moquette.messaging.spi.impl.subscriptions.SubscriptionsStore=DEBUG
#log4j.logger.org.dna.mqtt.moquette.messaging.spi.impl.HawtDBStorageService=DEBUG
# stdout appender is set to be a ConsoleAppender.
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
#log4j.appender.stdout.Threshold=WARN
#log4j.appender.stdout.Threshold=INFO
#log4j.appender.stdout.Threshold=DEBUG
#log4j.appender.stdout.Threshold=TRACE
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%-4r [%t] %-5p %c{1} %x - %m%n
#file appender
log4j.appender.file=org.apache.log4j.RollingFileAppender
log4j.appender.file.Threshold=INFO
log4j.appender.file.File=wso2carbon.log
log4j.appender.file.MaxFileSize=1MB
log4j.appender.file.MaxBackupIndex=1
log4j.appender.file.layout=org.apache.log4j.PatternLayout
log4j.appender.file.layout.ConversionPattern=%-4r [%t] %-5p %c{1} %x - %m%n

View File

@ -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>

View File

@ -1,177 +0,0 @@
@echo off
REM ---------------------------------------------------------------------------
REM Copyright 2005-2009 WSO2, Inc. http://www.wso2.org
REM
REM Licensed under the Apache License, Version 2.0 (the "License");
REM you may not use this file except in compliance with the License.
REM You may obtain a copy of the License at
REM
REM http://www.apache.org/licenses/LICENSE-2.0
REM
REM Unless required by applicable law or agreed to in writing, software
REM distributed under the License is distributed on an "AS IS" BASIS,
REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
REM See the License for the specific language governing permissions and
REM limitations under the License.
rem ---------------------------------------------------------------------------
rem Main Script for WSO2 Carbon
rem
rem Environment Variable Prequisites
rem
rem CARBON_HOME Home of CARBON installation. If not set I will try
rem to figure it out.
rem
rem JAVA_HOME Must point at your Java Development Kit installation.
rem
rem JAVA_OPTS (Optional) Java runtime options used when the commands
rem is executed.
rem ---------------------------------------------------------------------------
rem ----- if JAVA_HOME is not set we're not happy ------------------------------
:checkJava
if "%JAVA_HOME%" == "" goto noJavaHome
if not exist "%JAVA_HOME%\bin\java.exe" goto noJavaHome
goto checkServer
:noJavaHome
echo "You must set the JAVA_HOME variable before running CARBON."
goto end
rem ----- Only set CARBON_HOME if not already set ----------------------------
:checkServer
rem %~sdp0 is expanded pathname of the current script under NT with spaces in the path removed
if "%CARBON_HOME%"=="" set CARBON_HOME=%~sdp0..
SET curDrive=%cd:~0,1%
SET wsasDrive=%CARBON_HOME:~0,1%
if not "%curDrive%" == "%wsasDrive%" %wsasDrive%:
rem find CARBON_HOME if it does not exist due to either an invalid value passed
rem by the user or the %0 problem on Windows 9x
if not exist "%CARBON_HOME%\bin\version.txt" goto noServerHome
set AXIS2_HOME=%CARBON_HOME%
goto updateClasspath
:noServerHome
echo CARBON_HOME is set incorrectly or CARBON could not be located. Please set CARBON_HOME.
goto end
rem ----- update classpath -----------------------------------------------------
:updateClasspath
setlocal EnableDelayedExpansion
cd %CARBON_HOME%
set CARBON_CLASSPATH=
FOR %%C in ("%CARBON_HOME%\bin\*.jar") DO set CARBON_CLASSPATH=!CARBON_CLASSPATH!;".\bin\%%~nC%%~xC"
set CARBON_CLASSPATH="%JAVA_HOME%\lib\tools.jar";%CARBON_CLASSPATH%;
FOR %%D in ("%CARBON_HOME%\lib\commons-lang*.jar") DO set CARBON_CLASSPATH=!CARBON_CLASSPATH!;".\lib\%%~nD%%~xD"
rem ----- Process the input command -------------------------------------------
rem Slurp the command line arguments. This loop allows for an unlimited number
rem of arguments (up to the command line limit, anyway).
:setupArgs
if ""%1""=="""" goto doneStart
if ""%1""==""-run"" goto commandLifecycle
if ""%1""==""--run"" goto commandLifecycle
if ""%1""==""run"" goto commandLifecycle
if ""%1""==""-restart"" goto commandLifecycle
if ""%1""==""--restart"" goto commandLifecycle
if ""%1""==""restart"" goto commandLifecycle
if ""%1""==""debug"" goto commandDebug
if ""%1""==""-debug"" goto commandDebug
if ""%1""==""--debug"" goto commandDebug
if ""%1""==""version"" goto commandVersion
if ""%1""==""-version"" goto commandVersion
if ""%1""==""--version"" goto commandVersion
shift
goto setupArgs
rem ----- commandVersion -------------------------------------------------------
:commandVersion
shift
type "%CARBON_HOME%\bin\version.txt"
type "%CARBON_HOME%\bin\wso2carbon-version.txt"
goto end
rem ----- commandDebug ---------------------------------------------------------
:commandDebug
shift
set DEBUG_PORT=%1
if "%DEBUG_PORT%"=="" goto noDebugPort
if not "%JAVA_OPTS%"=="" echo Warning !!!. User specified JAVA_OPTS will be ignored, once you give the --debug option.
set JAVA_OPTS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=%DEBUG_PORT%
echo Please start the remote debugging client to continue...
goto findJdk
:noDebugPort
echo Please specify the debug port after the --debug option
goto end
rem ----- commandLifecycle -----------------------------------------------------
:commandLifecycle
goto findJdk
:doneStart
if "%OS%"=="Windows_NT" @setlocal
if "%OS%"=="WINNT" @setlocal
rem ---------- Handle the SSL Issue with proper JDK version --------------------
rem find the version of the jdk
:findJdk
set CMD=RUN %*
:checkJdk17
"%JAVA_HOME%\bin\java" -version 2>&1 | findstr /r "1.[7|8]" >NUL
IF ERRORLEVEL 1 goto unknownJdk
goto jdk17
:unknownJdk
echo Starting WSO2 Carbon (in unsupported JDK)
echo [ERROR] CARBON is supported only on JDK 1.7 and 1.8
goto jdk17
:jdk17
goto runServer
rem ----------------- Execute The Requested Command ----------------------------
:runServer
cd %CARBON_HOME%
rem ------------------ Remove tmp folder on startup -----------------------------
set TMP_DIR=%CARBON_HOME%\tmp
rmdir "%TMP_DIR%" /s /q
rem ---------- Add jars to classpath ----------------
set CARBON_CLASSPATH=.\lib;%CARBON_CLASSPATH%
set JAVA_ENDORSED=".\lib\endorsed";"%JAVA_HOME%\jre\lib\endorsed";"%JAVA_HOME%\lib\endorsed"
set CMD_LINE_ARGS=-Xbootclasspath/a:%CARBON_XBOOTCLASSPATH% -Xms1024m -Xmx2048m -XX:MaxPermSize=256m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath="%CARBON_HOME%\repository\logs\heap-dump.hprof" -Dcom.sun.management.jmxremote -classpath %CARBON_CLASSPATH% %JAVA_OPTS% -Djava.endorsed.dirs=%JAVA_ENDORSED% -DandesConfig=broker.xml -Dcarbon.registry.root=/ -Dcarbon.home="%CARBON_HOME%" -Dlogger.server.name="IoT-Broker" -Dwso2.server.standalone=true -Djava.command="%JAVA_HOME%\bin\java" -Djava.opts="%JAVA_OPTS%" -Djava.io.tmpdir="%CARBON_HOME%\tmp" -Dcatalina.base="%CARBON_HOME%\lib\tomcat" -Dwso2.carbon.xml=%CARBON_HOME%\repository\conf\carbon.xml -Dwso2.registry.xml="%CARBON_HOME%\repository\conf\registry.xml" -Dwso2.user.mgt.xml="%CARBON_HOME%\repository\conf\user-mgt.xml" -Dwso2.transports.xml="%CARBON_HOME%\repository\conf\mgt-transports.xml" -Djava.util.logging.config.file="%CARBON_HOME%\repository\conf\log4j.properties" -Dcarbon.config.dir.path="%CARBON_HOME%\repository\conf" -Dcarbon.logs.path="%CARBON_HOME%\repository\logs" -Dcomponents.repo="%CARBON_HOME%\repository\components" -Dconf.location="%CARBON_HOME%\repository\conf" -Dcom.atomikos.icatch.file="%CARBON_HOME%\lib\transactions.properties" -Dcom.atomikos.icatch.hide_init_file_path="true" -Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Dcom.sun.jndi.ldap.connect.pool.authentication=simple -Dcom.sun.jndi.ldap.connect.pool.timeout=3000 -Dorg.terracotta.quartz.skipUpdateCheck=true -Dcarbon.classpath=%CARBON_CLASSPATH% -Dfile.encoding=UTF8
:runJava
echo JAVA_HOME environment variable is set to %JAVA_HOME%
echo CARBON_HOME environment variable is set to %CARBON_HOME%
"%JAVA_HOME%\bin\java" %CMD_LINE_ARGS% org.wso2.carbon.bootstrap.Bootstrap %CMD%
if "%ERRORLEVEL%"=="121" goto runJava
:end
goto endlocal
:endlocal
:END

View File

@ -1,309 +0,0 @@
#!/bin/sh
# ----------------------------------------------------------------------------
# Copyright 2005-2012 WSO2, Inc. http://www.wso2.org
#
# Licensed 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.
# ----------------------------------------------------------------------------
# Main Script for the WSO2 Carbon Server
#
# Environment Variable Prequisites
#
# CARBON_HOME Home of WSO2 Carbon installation. If not set I will try
# to figure it out.
#
# JAVA_HOME Must point at your Java Development Kit installation.
#
# JAVA_OPTS (Optional) Java runtime options used when the commands
# is executed.
#
# NOTE: Borrowed generously from Apache Tomcat startup scripts.
# -----------------------------------------------------------------------------
# OS specific support. $var _must_ be set to either true or false.
#ulimit -n 100000
cygwin=false;
darwin=false;
os400=false;
mingw=false;
case "`uname`" in
CYGWIN*) cygwin=true;;
MINGW*) mingw=true;;
OS400*) os400=true;;
Darwin*) darwin=true
if [ -z "$JAVA_VERSION" ] ; then
JAVA_VERSION="CurrentJDK"
else
echo "Using Java version: $JAVA_VERSION"
fi
if [ -z "$JAVA_HOME" ] ; then
JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/${JAVA_VERSION}/Home
fi
;;
esac
# resolve links - $0 may be a softlink
PRG="$0"
while [ -h "$PRG" ]; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '.*/.*' > /dev/null; then
PRG="$link"
else
PRG=`dirname "$PRG"`/"$link"
fi
done
# Get standard environment variables
PRGDIR=`dirname "$PRG"`
# Only set CARBON_HOME if not already set
[ -z "$CARBON_HOME" ] && CARBON_HOME=`cd "$PRGDIR/.." ; pwd`
# Set AXIS2_HOME. Needed for One Click JAR Download
AXIS2_HOME=$CARBON_HOME
# For Cygwin, ensure paths are in UNIX format before anything is touched
if $cygwin; then
[ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
[ -n "$CARBON_HOME" ] && CARBON_HOME=`cygpath --unix "$CARBON_HOME"`
[ -n "$AXIS2_HOME" ] && CARBON_HOME=`cygpath --unix "$CARBON_HOME"`
fi
# For OS400
if $os400; then
# Set job priority to standard for interactive (interactive - 6) by using
# the interactive priority - 6, the helper threads that respond to requests
# will be running at the same priority as interactive jobs.
COMMAND='chgjob job('$JOBNAME') runpty(6)'
system $COMMAND
# Enable multi threading
QIBM_MULTI_THREADED=Y
export QIBM_MULTI_THREADED
fi
# For Migwn, ensure paths are in UNIX format before anything is touched
if $mingw ; then
[ -n "$CARBON_HOME" ] &&
CARBON_HOME="`(cd "$CARBON_HOME"; pwd)`"
[ -n "$JAVA_HOME" ] &&
JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`"
[ -n "$AXIS2_HOME" ] &&
CARBON_HOME="`(cd "$CARBON_HOME"; pwd)`"
# TODO classpath?
fi
if [ -z "$JAVACMD" ] ; then
if [ -n "$JAVA_HOME" ] ; then
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
# IBM's JDK on AIX uses strange locations for the executables
JAVACMD="$JAVA_HOME/jre/sh/java"
else
JAVACMD="$JAVA_HOME/bin/java"
fi
else
JAVACMD=java
fi
fi
if [ ! -x "$JAVACMD" ] ; then
echo "Error: JAVA_HOME is not defined correctly."
echo " CARBON cannot execute $JAVACMD"
exit 1
fi
# if JAVA_HOME is not set we're not happy
if [ -z "$JAVA_HOME" ]; then
echo "You must set the JAVA_HOME variable before running CARBON."
exit 1
fi
if [ -e "$CARBON_HOME/wso2carbon.pid" ]; then
PID=`cat "$CARBON_HOME"/wso2carbon.pid`
fi
# ----- Process the input command ----------------------------------------------
args=""
for c in $*
do
if [ "$c" = "--debug" ] || [ "$c" = "-debug" ] || [ "$c" = "debug" ]; then
CMD="--debug"
continue
elif [ "$CMD" = "--debug" ]; then
if [ -z "$PORT" ]; then
PORT=$c
fi
elif [ "$c" = "--stop" ] || [ "$c" = "-stop" ] || [ "$c" = "stop" ]; then
CMD="stop"
elif [ "$c" = "--start" ] || [ "$c" = "-start" ] || [ "$c" = "start" ]; then
CMD="start"
elif [ "$c" = "--version" ] || [ "$c" = "-version" ] || [ "$c" = "version" ]; then
CMD="version"
elif [ "$c" = "--restart" ] || [ "$c" = "-restart" ] || [ "$c" = "restart" ]; then
CMD="restart"
elif [ "$c" = "--test" ] || [ "$c" = "-test" ] || [ "$c" = "test" ]; then
CMD="test"
else
args="$args $c"
fi
done
if [ "$CMD" = "--debug" ]; then
if [ "$PORT" = "" ]; then
echo " Please specify the debug port after the --debug option"
exit 1
fi
if [ -n "$JAVA_OPTS" ]; then
echo "Warning !!!. User specified JAVA_OPTS will be ignored, once you give the --debug option."
fi
CMD="RUN"
JAVA_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=$PORT"
echo "Please start the remote debugging client to continue..."
elif [ "$CMD" = "start" ]; then
if [ -e "$CARBON_HOME/wso2carbon.pid" ]; then
if ps -p $PID > /dev/null ; then
echo "Process is already running"
exit 0
fi
fi
export CARBON_HOME=$CARBON_HOME
# using nohup sh to avoid erros in solaris OS.TODO
nohup sh $CARBON_HOME/bin/wso2server.sh $args > /dev/null 2>&1 &
exit 0
elif [ "$CMD" = "stop" ]; then
export CARBON_HOME=$CARBON_HOME
kill -term `cat $CARBON_HOME/wso2carbon.pid`
exit 0
elif [ "$CMD" = "restart" ]; then
export CARBON_HOME=$CARBON_HOME
kill -term `cat $CARBON_HOME/wso2carbon.pid`
process_status=0
pid=`cat $CARBON_HOME/wso2carbon.pid`
while [ "$process_status" -eq "0" ]
do
sleep 1;
ps -p$pid 2>&1 > /dev/null
process_status=$?
done
# using nohup sh to avoid erros in solaris OS.TODO
nohup sh $CARBON_HOME/bin/wso2server.sh $args > /dev/null 2>&1 &
exit 0
elif [ "$CMD" = "test" ]; then
JAVACMD="exec "$JAVACMD""
elif [ "$CMD" = "version" ]; then
cat $CARBON_HOME/bin/version.txt
cat $CARBON_HOME/bin/wso2carbon-version.txt
exit 0
fi
# ---------- Handle the SSL Issue with proper JDK version --------------------
jdk_17=`$JAVA_HOME/bin/java -version 2>&1 | grep "1.[7|8]"`
if [ "$jdk_17" = "" ]; then
echo " Starting WSO2 Carbon (in unsupported JDK)"
echo " [ERROR] CARBON is supported only on JDK 1.7 and 1.8"
fi
CARBON_XBOOTCLASSPATH=""
for f in "$CARBON_HOME"/lib/xboot/*.jar
do
if [ "$f" != "$CARBON_HOME/lib/xboot/*.jar" ];then
CARBON_XBOOTCLASSPATH="$CARBON_XBOOTCLASSPATH":$f
fi
done
JAVA_ENDORSED_DIRS="$CARBON_HOME/lib/endorsed":"$JAVA_HOME/jre/lib/endorsed":"$JAVA_HOME/lib/endorsed"
CARBON_CLASSPATH=""
if [ -e "$JAVA_HOME/lib/tools.jar" ]; then
CARBON_CLASSPATH="$JAVA_HOME/lib/tools.jar"
fi
for f in "$CARBON_HOME"/bin/*.jar
do
if [ "$f" != "$CARBON_HOME/bin/*.jar" ];then
CARBON_CLASSPATH="$CARBON_CLASSPATH":$f
fi
done
for t in "$CARBON_HOME"/lib/commons-lang*.jar
do
CARBON_CLASSPATH="$CARBON_CLASSPATH":$t
done
# For Cygwin, switch paths to Windows format before running java
if $cygwin; then
JAVA_HOME=`cygpath --absolute --windows "$JAVA_HOME"`
CARBON_HOME=`cygpath --absolute --windows "$CARBON_HOME"`
AXIS2_HOME=`cygpath --absolute --windows "$CARBON_HOME"`
CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
JAVA_ENDORSED_DIRS=`cygpath --path --windows "$JAVA_ENDORSED_DIRS"`
CARBON_CLASSPATH=`cygpath --path --windows "$CARBON_CLASSPATH"`
CARBON_XBOOTCLASSPATH=`cygpath --path --windows "$CARBON_XBOOTCLASSPATH"`
fi
# ----- Execute The Requested Command -----------------------------------------
echo JAVA_HOME environment variable is set to $JAVA_HOME
echo CARBON_HOME environment variable is set to $CARBON_HOME
cd "$CARBON_HOME"
TMP_DIR=$CARBON_HOME/tmp
if [ -d "$TMP_DIR" ]; then
rm -rf "$TMP_DIR"
fi
START_EXIT_STATUS=121
status=$START_EXIT_STATUS
#To monitor a Carbon server in remote JMX mode on linux host machines, set the below system property.
# -Djava.rmi.server.hostname="your.IP.goes.here"
while [ "$status" = "$START_EXIT_STATUS" ]
do
$JAVACMD \
-Xbootclasspath/a:"$CARBON_XBOOTCLASSPATH" \
-Xms2048m -Xmx2048m -XX:MaxPermSize=256m \
-XX:+HeapDumpOnOutOfMemoryError \
-XX:HeapDumpPath="$CARBON_HOME/repository/logs/heap-dump.hprof" \
$JAVA_OPTS \
-DandesConfig=broker.xml \
-Dcom.sun.management.jmxremote \
-classpath "$CARBON_CLASSPATH" \
-Djava.endorsed.dirs="$JAVA_ENDORSED_DIRS" \
-Djava.io.tmpdir="$CARBON_HOME/tmp" \
-Dcatalina.base="$CARBON_HOME/lib/tomcat" \
-Dwso2.server.standalone=true \
-Dcarbon.registry.root=/ \
-Djava.command="$JAVACMD" \
-Dcarbon.home="$CARBON_HOME" \
-Dlogger.server.name="IoT-Broker" \
-Djava.util.logging.config.file="$CARBON_HOME/repository/conf/log4j.properties" \
-Dcarbon.config.dir.path="$CARBON_HOME/repository/conf" \
-Dcomponents.repo="$CARBON_HOME/repository/components/plugins" \
-Dconf.location="$CARBON_HOME/repository/conf"\
-Dcom.atomikos.icatch.file="$CARBON_HOME/lib/transactions.properties" \
-Dcom.atomikos.icatch.hide_init_file_path=true \
-Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false \
-Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true \
-Dcom.sun.jndi.ldap.connect.pool.authentication=simple \
-Dcom.sun.jndi.ldap.connect.pool.timeout=3000 \
-Dorg.terracotta.quartz.skipUpdateCheck=true \
-Djava.security.egd=file:/dev/./urandom \
-Dfile.encoding=UTF8 \
-Djava.net.preferIPv4Stack=true \
-Dcom.ibm.cacheLocalHost=true \
org.wso2.carbon.bootstrap.Bootstrap $*
status=$?
done

View File

@ -1,34 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<?pde version="3.5"?>
<product name="Carbon Product" uid="carbon.product.id" id="carbon.product" application="carbon.application" version="4.3.0.SNAPSHOT" useFeatures="true" includeLaunchers="true">
<configIni use="default">
</configIni>
<launcherArgs>
</launcherArgs>
<plugins>
</plugins>
<features>
<feature id="org.wso2.carbon.core.runtime" version="4.3.0.SNAPSHOT"/>
</features>
<configurations>
<plugin id="org.eclipse.core.runtime" autoStart="true" startLevel="4" />
<plugin id="org.eclipse.equinox.common" autoStart="true" startLevel="2" />
<plugin id="org.eclipse.equinox.ds" autoStart="true" startLevel="2" />
<plugin id="org.eclipse.equinox.p2.reconciler.dropins" autoStart="true" startLevel="4" />
<plugin id="org.eclipse.equinox.simpleconfigurator" autoStart="true" startLevel="1" />
<!-- Disable update manager. It seems as if this could be achieved by the first line, but in
fact the second line sets reconcile to false (see org.eclipse.equinox.p2.publisher.eclipse.ConfigCUsAction#publishBundleCUs) -->
<property name="org.eclipse.update.reconcile" value="false" />
<plugin id="org.eclipse.update.configurator" autoStart="true" startLevel="4"/>
<property name="org.eclipse.equinox.simpleconfigurator.useReference" value="true" />
</configurations>
</product>

View File

@ -1,317 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) WSO2 Inc. (http://wso2.com) All Rights Reserved.
~
~ Licensed 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-p2-profile</artifactId>
<packaging>pom</packaging>
<name>WSO2 IoT - Broker - P2 Profile Gen</name>
<url>http://wso2.com/products/message-broker/</url>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.8</version>
<inherited>false</inherited>
<executions>
<execution>
<id>1-unpack-p2-agent-distribution</id>
<phase>test</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.wso2.maven</groupId>
<artifactId>carbon-p2-plugin</artifactId>
<version>${carbon.p2.plugin.version}</version>
<executions>
<execution>
<id>2-p2-repo-generation</id>
<phase>package</phase>
<goals>
<goal>p2-repo-gen</goal>
</goals>
<configuration>
<metadataRepository>file:${basedir}/target/p2-repo</metadataRepository>
<artifactRepository>file:${basedir}/target/p2-repo</artifactRepository>
<publishArtifacts>true</publishArtifacts>
<publishArtifactRepository>true</publishArtifactRepository>
<featureArtifacts>
<featureArtifactDef>
org.wso2.carbon.commons:org.wso2.carbon.logging.mgt.feature:${carbon.commons.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.analytics-common:org.wso2.carbon.databridge.datapublisher.feature:${carbon.analytics.common.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.commons:org.wso2.carbon.system.statistics.feature:${carbon.commons.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.commons:org.wso2.carbon.soaptracer.feature:${carbon.commons.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.identity:org.wso2.carbon.security.mgt.feature:${carbon.identity.framework.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.commons:org.wso2.carbon.message.flows.feature:${carbon.commons.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.commons:org.wso2.carbon.tryit.feature:${carbon.commons.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.registry:org.wso2.carbon.registry.core.feature:${carbon.registry.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.registry:org.wso2.carbon.registry.contentsearch.feature:${carbon.registry.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.registry:org.wso2.carbon.registry.resource.properties.feature:${carbon.registry.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.commons:org.wso2.carbon.wsdl.tools.feature:${carbon.commons.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.identity:org.wso2.carbon.um.ws.service.feature:${carbon.um.ws.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.messaging:org.wso2.carbon.andes.feature:${carbon.messaging.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.multitenancy:org.wso2.carbon.tenant.common.server.feature:${carbon.multitenancy.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.commons:org.wso2.carbon.tenant.mgt.common.feature:${carbon.commons.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.multitenancy:org.wso2.carbon.tenant.usage.agent.feature:${carbon.multitenancy.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.multitenancy:org.wso2.carbon.tenant.throttling.agent.feature:${carbon.multitenancy.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.multitenancy:org.wso2.carbon.tenant.deployment.feature:${carbon.multitenancy.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.identity:org.wso2.carbon.identity.authenticator.saml2.sso.server.feature:${identity.carbon.auth.saml2.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.identity:org.wso2.carbon.user.mgt.feature:${carbon.identity.framework.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.identity:org.wso2.carbon.identity.core.feature:${carbon.identity.framework.version}
</featureArtifactDef>
<!--carbon core features -->
<featureArtifactDef>
org.wso2.carbon:org.wso2.carbon.core.feature:${carbon.kernel.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon:org.wso2.carbon.core.runtime.feature:${carbon.kernel.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.messaging:org.wso2.carbon.messaging.metrics.feature:${carbon.messaging.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.metrics:org.wso2.carbon.metrics.feature:${carbon.metrics.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.ciphertool:org.wso2.ciphertool.feature:${cipher.tool.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.analytics.shared:org.wso2.carbon.analytics.shared.data.agents.log4j.feature:${analytics.shared.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.devicemgt-plugins:org.wso2.carbon.andes.extensions.device.mgt.mqtt.authorization.feature:${carbon.device.mgt.plugin.version}
</featureArtifactDef>
</featureArtifacts>
</configuration>
</execution>
<execution>
<id>3-p2-profile-generation</id>
<phase>package</phase>
<goals>
<goal>p2-profile-gen</goal>
</goals>
<configuration>
<profile>default</profile>
<metadataRepository>file:${basedir}/target/p2-repo</metadataRepository>
<artifactRepository>file:${basedir}/target/p2-repo</artifactRepository>
<destination>
${basedir}/target/wso2carbon-core-${carbon.kernel.version}/repository/components
</destination>
<deleteOldProfileFiles>true</deleteOldProfileFiles>
<features>
<feature>
<id>org.wso2.carbon.logging.mgt.feature.group</id>
<version>${carbon.commons.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.databridge.datapublisher.feature.group</id>
<version>${carbon.analytics.common.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.system.statistics.feature.group</id>
<version>${carbon.commons.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.soaptracer.feature.group</id>
<version>${carbon.commons.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.security.mgt.feature.group</id>
<version>${carbon.identity.framework.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.message.flows.feature.group</id>
<version>${carbon.commons.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.tryit.feature.group</id>
<version>${carbon.commons.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.registry.contentsearch.feature.group</id>
<version>${carbon.registry.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.registry.core.feature.group</id>
<version>${carbon.registry.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.registry.resource.properties.feature.group
</id>
<version>${carbon.registry.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.wsdl.tools.feature.group</id>
<version>${carbon.commons.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.um.ws.service.feature.group</id>
<version>${carbon.um.ws.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.messaging.andes.feature.group</id>
<version>${carbon.messaging.version}</version>
</feature>
<!--Cloud service deployment feature -->
<feature>
<id>org.wso2.carbon.tenant.deployment.feature.group</id>
<version>${carbon.multitenancy.version}</version>
</feature>
<!-- multitenancy feature groups -->
<feature>
<id>org.wso2.carbon.tenant.common.server.feature.group</id>
<version>${carbon.multitenancy.version}</version>
</feature>
<feature>
<id>
org.wso2.carbon.identity.authenticator.saml2.sso.server.feature.group
</id>
<version>${identity.carbon.auth.saml2.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.tenant.usage.agent.feature.group</id>
<version>${carbon.multitenancy.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.tenant.throttling.agent.feature.group</id>
<version>${carbon.multitenancy.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.user.mgt.feature.group</id>
<version>${carbon.identity.framework.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.identity.core.feature.group</id>
<version>${carbon.identity.framework.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.messaging.metrics.feature.group</id>
<version>${carbon.messaging.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.metrics.feature.group</id>
<version>${carbon.metrics.version}</version>
</feature>
<!--cipher tool-->
<feature>
<id>org.wso2.ciphertool.feature.group</id>
<version>${cipher.tool.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.analytics.shared.data.agents.log4j.feature.group</id>
<version>${analytics.shared.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.andes.extensions.device.mgt.mqtt.authorization.feature.group</id>
<version>${carbon.device.mgt.plugin.version}</version>
</feature>
</features>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.1</version>
<executions>
<execution>
<phase>package</phase>
<configuration>
<tasks>
<replace token="false" value="true" dir="target/wso2carbon-core-${carbon.kernel.version}/repository/components">
<include name="**/bundles.info" />
</replace>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

View File

@ -1,40 +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-parent</artifactId>
<version>3.1.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>wso2iot-broker-parent</artifactId>
<packaging>pom</packaging>
<name>WSO2 IoT - Broker Parent</name>
<description>WSO2 IoT Broker Module</description>
<modules>
<module>p2-profile</module>
<module>distribution</module>
</modules>
</project>

View File

@ -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.

View File

@ -1,787 +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
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
axiom_1.2.11.wso2v11.jar bundle apache2 8489
axis2-json_1.6.1.wso2v20.jar bundle apache2 9596
axis2-transport-mail_1.1.0.wso2v17.jar bundle apache2 5260
axis2-transport-tcp_1.1.0.wso2v17.jar bundle apache2 5257
axis2_1.6.1.wso2v20.jar bundle apache2 9595
backport-util-concurrent_3.1.0.wso2v1.jar bundle apache2 1007
bcpkix-jdk15on-1.52.jar jarinbundle bouncy 1343
bcpkix-jdk15on_1.52.0.wso2v2.jar bundle bouncy 10221
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
bsf-all_3.0.0.wso2v5.jar bundle apache2 5254
com.fasterxml.jackson.core.jackson-annotations_2.8.2.jar bundle apache2 2057
com.fasterxml.jackson.core.jackson-core_2.8.2.jar bundle apache2 2056
com.fasterxml.jackson.core.jackson-databind_2.8.2.jar bundle apache2 2055
com.fasterxml.jackson.dataformat.jackson-dataformat-yaml_2.8.2.jar bundle apache2 2054
com.google.gson_2.7.0.jar bundle apache2 1853
com.google.guava_18.0.0.jar bundle apache2 1511
com.google.guava_19.0.0.jar bundle apache2 1627
com.googlecode.plist.dd-plist_1.8.0.jar bundle mit 913
com.jayway.jsonpath.json-path_0.9.1.jar bundle apache2 798
com.samskivert.jmustache_1.13.0.jar bundle bsd 2053
com.sun.jersey.jersey-core_1.9.0.jar bundle cddl+gpl 1307
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-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-lang3_3.4.0.wso2v1.jar bundle apache2 8739
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
commons-scxml-0.9.jar jarinbundle apache2 401
commons-scxml_0.9.0.wso2v1.jar bundle apache2 1070
compass_2.0.1.wso2v2.jar bundle apache2 897
cors-filter_1.7.0.wso2v1.jar bundle apache2 2106
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
ehcache-core-2.5.1.jar jar apache2 267
ehcache_1.5.0.wso2v3.jar bundle apache2 852
encoder_1.2.0.wso2v1.jar bundle apache2 4030
feign-jaxrs-9.3.1.jar jarinbundle apache2 2058
fontbox_1.8.10.wso2v2.jar bundle bsd 6702
gdata-core_1.47.0.wso2v1.jar bundle apache2 1481
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
guava_12.0.0.wso2v1.jar apache2
guice_3.0.0.wso2v1.jar bundle apache2 1505
h2-1.3.175.jar jarinbundle epl1 1999
h2_1.3.175.wso2v1.jar bundle apache2 9731
handy-uri-templates_1.1.7.wso2v1.jar bundle apache2 1989
hapi_2.1.0.wso2v1.jar bundle mpl10 5251
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
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-nio_4.3.3.wso2v4.jar bundle apache2 8736
httpcore_4.3.3.wso2v1.jar bundle apache2 3638
httpmime-4.3.6.jar jarinbundle apache2 1139
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
io.netty.buffer_4.0.30.Final.jar bundle apache2 1544
io.netty.codec-http_4.0.30.Final.jar bundle apache2 1543
io.netty.codec_4.0.30.Final.jar bundle apache2 1542
io.netty.common_4.0.30.Final.jar bundle apache2 1541
io.netty.handler_4.0.30.Final.jar bundle apache2 1540
io.netty.transport_4.0.30.Final.jar bundle apache2 1539
io.swagger.annotations_1.5.10.jar bundle apache2 2052
io.swagger.core_1.5.10.jar bundle apache2 2051
io.swagger.models_1.5.10.jar bundle apache2 2050
jackson-annotations_2.6.1.wso2v1.jar bundle apache2 7757
jackson-core_2.6.1.wso2v1.jar bundle apache2 7756
jackson-databind_2.6.1.wso2v3.jar bundle apache2 8735
javassist-3.12.1.GA.jar jarinbundle lgpl2 1768
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.validation.api_1.1.0.Final.jar bundle apache2 1840
javax.ws.rs-api-2.0-m10.jar bundle cddl+gpl 263
javax.ws.rs-api-2.0.1.jar jarinbundle cddl+gpl 1452
jaxb-impl-2.2.6.jar jarinbundle cddl+gpl 1823
jaxb-impl-2.2.6.jar jar cddl1 1148
jaxb-xjc-2.2.6.jar jarinbundle cddl+gpl 1822
jaxb-xjc-2.2.6.jar jar cddl1 1147
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
jersey-client-1.12.jar jarinbundle cddl+gpl 1821
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
jscep_2.3.0.wso2v2.jar bundle mit 10220
json-schema-validator-all_2.2.6.wso2v2.jar bundle apache2 10931
json-simple_1.1.0.wso2v1.jar bundle apache2 828
json_3.0.0.wso2v1.jar bundle apache2 6503
jsoup-1.8.1.jar jarinbundle mit 1138
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
libphonenumber_7.4.2.wso2v1.jar bundle apache2 8733
libthrift_0.8.0.wso2v1.jar bundle apache2 1117
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
maven-scm_1.7.0.wso2v2.jar bundle apache2 1331
neethi-3.0.3.jar bundle apache2 1146
neethi_2.0.4.wso2v5.jar bundle apache2 6267
nekohtml-1.9.10.jar jarinbundle apache2 1576
net.minidev.json-smart_1.3.0.jar bundle apache2 1337
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
oltu_1.0.0.wso2v3.jar bundle apache2 6502
opencsv-1.8.jar jarinbundle apache2 368
opencsv_1.8.0.wso2v1.jar bundle apache2 928
openid4java_1.0.0.wso2v2.jar bundle apache2 6216
opensaml_2.6.4.wso2v3.jar bundle apache2 8480
openxri-client-1.2.0.jar jarinbundle apache2 433
openxri-syntax-1.2.0.jar jarinbundle apache2 434
org.apache.aries.blueprint_1.1.0.jar bundle apache2 1346
org.apache.aries.proxy_1.0.1.jar bundle apache2 1345
org.apache.aries.util_1.1.0.jar bundle apache2 1344
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.velocity_1.7.0.jar bundle apache2 1839
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.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.uuid_1.5.5.jar bundle apache2 1951
org.jaggeryjs.modules.ws_1.5.5.jar bundle apache2 1981
org.jaggeryjs.scriptengine_0.12.8.jar bundle apache2 1980
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.balana_1.1.2.jar bundle apache2 10593
org.wso2.caching_4.0.3.jar bundle apache2 2919
org.wso2.carbon.addressing_4.4.11.jar bundle apache2 10386
org.wso2.carbon.analytics.api_1.3.3.jar bundle apache2 10830
org.wso2.carbon.analytics.dataservice.commons_1.3.3.jar bundle apache2 10828
org.wso2.carbon.analytics.datasource.commons_1.3.3.jar bundle apache2 10825
org.wso2.carbon.analytics.io.commons_1.3.3.jar bundle apache2 10819
org.wso2.carbon.apimgt.annotations_2.0.8.jar bundle apache2 11056
org.wso2.carbon.apimgt.api_6.1.35.jar bundle apache2 11055
org.wso2.carbon.apimgt.application.extension_2.0.8.jar bundle apache2 11054
org.wso2.carbon.apimgt.authenticator.oidc.stub_6.1.35.jar bundle apache2 11053
org.wso2.carbon.apimgt.authenticator.oidc.ui_6.1.35.jar bundle apache2 11052
org.wso2.carbon.apimgt.authenticator.oidc_6.1.35.jar bundle apache2 11051
org.wso2.carbon.apimgt.core_6.1.35.jar bundle apache2 11050
org.wso2.carbon.apimgt.gateway.stub_6.1.35.jar bundle apache2 11049
org.wso2.carbon.apimgt.gateway_6.1.35.jar bundle apache2 11048
org.wso2.carbon.apimgt.handlers.security.stub_6.1.35.jar bundle apache2 11047
org.wso2.carbon.apimgt.handlers_2.0.8.jar bundle apache2 11046
org.wso2.carbon.apimgt.hostobjects.oidc_6.1.35.jar bundle apache2 11045
org.wso2.carbon.apimgt.hostobjects_6.1.35.jar bundle apache2 11044
org.wso2.carbon.apimgt.impl_6.1.35.jar bundle apache2 11043
org.wso2.carbon.apimgt.keymgt.client_6.1.35.jar bundle apache2 11042
org.wso2.carbon.apimgt.keymgt.stub_6.1.35.jar bundle apache2 11041
org.wso2.carbon.apimgt.keymgt_6.1.35.jar bundle apache2 11040
org.wso2.carbon.apimgt.registry.cache.stub_6.1.35.jar bundle apache2 11039
org.wso2.carbon.apimgt.statsupdate.stub_6.1.35.jar bundle apache2 11038
org.wso2.carbon.apimgt.tier.cache.stub_6.1.35.jar bundle apache2 11037
org.wso2.carbon.apimgt.usage.client_6.1.35.jar bundle apache2 11036
org.wso2.carbon.apimgt.usage.publisher_6.1.35.jar bundle apache2 11035
org.wso2.carbon.apimgt.webapp.publisher_2.0.8.jar bundle apache2 11034
org.wso2.carbon.application.deployer.synapse_4.6.9.jar bundle apache2 10902
org.wso2.carbon.application.deployer.webapp_4.7.2.jar bundle apache2 11033
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.synapse_4.6.9.jar bundle apache2 10901
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.appmgt.api_1.2.10.jar bundle apache2 11032
org.wso2.carbon.appmgt.core_1.2.10.jar bundle apache2 11031
org.wso2.carbon.appmgt.gateway.stub_1.2.10.jar bundle apache2 11030
org.wso2.carbon.appmgt.hostobjects_1.2.10.jar bundle apache2 11029
org.wso2.carbon.appmgt.impl_1.2.10.jar bundle apache2 11028
org.wso2.carbon.appmgt.mdm.osgiconnector_3.0.7.jar bundle apache2 11027
org.wso2.carbon.appmgt.mdm.restconnector_1.2.10.jar bundle apache2 11026
org.wso2.carbon.appmgt.mdm.wso2emm_1.1.4.jar bundle apache2 8176
org.wso2.carbon.appmgt.mobile_1.2.10.jar bundle apache2 11025
org.wso2.carbon.appmgt.publisher_1.2.10.jar bundle apache2 11024
org.wso2.carbon.appmgt.sample.deployer_1.2.10.jar bundle apache2 11023
org.wso2.carbon.appmgt.usage.client_1.2.10.jar bundle apache2 11022
org.wso2.carbon.appmgt.usage.publisher_1.2.10.jar bundle apache2 11021
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.bam.presentation.stub_4.2.0.jar bundle apache2 2165
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.certificate.mgt.core_2.0.8.jar bundle apache2 11020
org.wso2.carbon.claim.mgt.stub_5.7.5.jar bundle apache2 10773
org.wso2.carbon.claim.mgt.ui_5.7.5.jar bundle apache2 10772
org.wso2.carbon.claim.mgt_5.7.5.jar bundle apache2 10771
org.wso2.carbon.cluster.mgt.core_4.4.11.jar bundle apache2 10381
org.wso2.carbon.connector.core_4.6.9.jar bundle apache2 10900
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.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.streamdefn.filesystem_5.1.5.jar bundle apache2 11012
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.analytics.dashboard_2.0.8.jar bundle apache2 11011
org.wso2.carbon.device.mgt.analytics.data.publisher_2.0.8.jar bundle apache2 11010
org.wso2.carbon.device.mgt.common_2.0.8.jar bundle apache2 11009
org.wso2.carbon.device.mgt.core_2.0.8.jar bundle apache2 11008
org.wso2.carbon.device.mgt.extensions.device.type.deployer_2.0.8.jar bundle apache2 11007
org.wso2.carbon.device.mgt.extensions.push.notification.provider.mqtt_2.0.8.jar bundle apache2 11006
org.wso2.carbon.device.mgt.extensions.push.notification.provider.xmpp_2.0.8.jar bundle apache2 11005
org.wso2.carbon.device.mgt.extensions_2.0.8.jar bundle apache2 11004
org.wso2.carbon.device.mgt.input.adapter.extension_3.0.7.jar bundle apache2 11003
org.wso2.carbon.device.mgt.input.adapter.http_3.0.7.jar bundle apache2 11002
org.wso2.carbon.device.mgt.input.adapter.mqtt_3.0.7.jar bundle apache2 11001
org.wso2.carbon.device.mgt.input.adapter.xmpp_3.0.7.jar bundle apache2 11000
org.wso2.carbon.device.mgt.oauth.extensions_2.0.8.jar bundle apache2 10999
org.wso2.carbon.device.mgt.output.adapter.mqtt_3.0.7.jar bundle apache2 10998
org.wso2.carbon.device.mgt.output.adapter.websocket_3.0.7.jar bundle apache2 10997
org.wso2.carbon.device.mgt.output.adapter.xmpp_3.0.7.jar bundle apache2 10996
org.wso2.carbon.device.mgt.url.printer_2.0.10.jar bundle apache2 10995
org.wso2.carbon.directory.server.manager.common_5.7.5.jar bundle apache2 10770
org.wso2.carbon.directory.server.manager.stub_5.7.5.jar bundle apache2 10769
org.wso2.carbon.directory.server.manager.ui_5.7.5.jar bundle apache2 10768
org.wso2.carbon.directory.server.manager_5.7.5.jar bundle apache2 10767
org.wso2.carbon.discovery.cxf_4.7.2.jar bundle apache2 10308
org.wso2.carbon.dynamic.client.registration_2.0.10.jar bundle apache2 10994
org.wso2.carbon.dynamic.client.web.app.registration_2.0.10.jar bundle apache2 10993
org.wso2.carbon.email.sender.core_2.0.10.jar bundle apache2 10992
org.wso2.carbon.email.verification.stub_4.5.4.jar bundle apache2 8678
org.wso2.carbon.email.verification.ui_4.5.4.jar bundle apache2 8677
org.wso2.carbon.email.verification_4.5.4.jar bundle apache2 8676
org.wso2.carbon.endpoint.stub_4.6.9.jar bundle apache2 10991
org.wso2.carbon.endpoint_4.6.9.jar bundle apache2 10899
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.input.adapter.core_5.1.5.jar bundle apache2 10989
org.wso2.carbon.event.output.adapter.core_5.1.5.jar bundle apache2 10988
org.wso2.carbon.event.processor.stub_2.1.6.jar bundle apache2 10648
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.ui_5.1.5.jar bundle apache2 10983
org.wso2.carbon.event.template.manager.stub_5.1.7.jar bundle apache2 10625
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.forum_6.1.35.jar bundle apache2 10982
org.wso2.carbon.framework.exporter_4.4.11.jar bundle apache2 10371
org.wso2.carbon.ganalytics.publisher_4.5.4.jar bundle apache2 8630
org.wso2.carbon.governance.api_4.7.0.jar bundle apache2 9505
org.wso2.carbon.governance.client_4.7.0.jar bundle apache2 9504
org.wso2.carbon.governance.common_4.7.0.jar bundle apache2 9503
org.wso2.carbon.governance.custom.lifecycles.checklist.stub_4.7.0.jar bundle apache2 9502
org.wso2.carbon.governance.custom.lifecycles.checklist.ui_4.7.0.jar bundle apache2 9501
org.wso2.carbon.governance.custom.lifecycles.checklist_4.7.0.jar bundle apache2 9500
org.wso2.carbon.governance.custom.lifecycles.history.ui_4.7.0.jar bundle apache2 9499
org.wso2.carbon.governance.generic.stub_4.7.0.jar bundle apache2 9498
org.wso2.carbon.governance.generic.ui_4.7.0.jar bundle apache2 9497
org.wso2.carbon.governance.generic_4.7.0.jar bundle apache2 9496
org.wso2.carbon.governance.lcm.stub_4.7.0.jar bundle apache2 9495
org.wso2.carbon.governance.lcm.ui_4.7.0.jar bundle apache2 9494
org.wso2.carbon.governance.lcm_4.7.0.jar bundle apache2 9493
org.wso2.carbon.governance.list_4.7.0.jar bundle apache2 9492
org.wso2.carbon.governance.registry.eventing_4.7.0.jar bundle apache2 9491
org.wso2.carbon.governance.registry.extensions_4.7.0.jar bundle apache2 9490
org.wso2.carbon.governance.wsdltool.stub_4.7.0.jar bundle apache2 9486
org.wso2.carbon.governance.wsdltool.ui_4.7.0.jar bundle apache2 9485
org.wso2.carbon.governance.wsdltool_4.7.0.jar bundle apache2 9484
org.wso2.carbon.hostobjects.sso_4.5.4.jar bundle apache2 10161
org.wso2.carbon.hostobjects.sso_6.1.35.jar bundle apache2 10981
org.wso2.carbon.i18n_4.4.11.jar bundle apache2 10370
org.wso2.carbon.identity.application.authentication.endpoint.util_5.7.5.jar bundle apache2 10766
org.wso2.carbon.identity.application.authentication.framework_5.7.5.jar bundle apache2 10765
org.wso2.carbon.identity.application.authenticator.basicauth_5.2.4.jar bundle apache2 10980
org.wso2.carbon.identity.application.authenticator.requestpath.oauth_5.1.1.jar bundle apache2 8394
org.wso2.carbon.identity.application.authenticator.samlsso_5.1.4.jar bundle apache2 10979
org.wso2.carbon.identity.application.common_5.7.5.jar bundle apache2 10764
org.wso2.carbon.identity.application.mgt.stub_5.7.5.jar bundle apache2 10763
org.wso2.carbon.identity.application.mgt.ui_5.7.5.jar bundle apache2 10762
org.wso2.carbon.identity.application.mgt_5.7.5.jar bundle apache2 10761
org.wso2.carbon.identity.authentication_4.5.4.jar bundle apache2 8609
org.wso2.carbon.identity.authenticator.backend.oauth_2.0.10.jar bundle apache2 10978
org.wso2.carbon.identity.authenticator.saml2.sso.common_5.1.6.jar bundle apache2 10977
org.wso2.carbon.identity.authenticator.saml2.sso.stub_5.1.6.jar bundle apache2 10976
org.wso2.carbon.identity.authenticator.saml2.sso.ui_5.1.6.jar bundle apache2 10975
org.wso2.carbon.identity.authenticator.saml2.sso_5.1.6.jar bundle apache2 10974
org.wso2.carbon.identity.authenticator.thrift_5.7.5.jar bundle apache2 10760
org.wso2.carbon.identity.base_5.6.89.jar bundle apache2 10973
org.wso2.carbon.identity.base_5.7.5.jar bundle apache2 10759
org.wso2.carbon.identity.claim.metadata.mgt.stub_5.7.5.jar bundle apache2 10758
org.wso2.carbon.identity.claim.metadata.mgt.ui_5.7.5.jar bundle apache2 10757
org.wso2.carbon.identity.claim.metadata.mgt_5.7.5.jar bundle apache2 10756
org.wso2.carbon.identity.core.ui_5.7.5.jar bundle apache2 10755
org.wso2.carbon.identity.core_5.7.5.jar bundle apache2 10754
org.wso2.carbon.identity.discovery_5.3.4.jar bundle apache2 10946
org.wso2.carbon.identity.entitlement.common_5.7.5.jar bundle apache2 10752
org.wso2.carbon.identity.entitlement.proxy_5.1.3.jar bundle apache2 10972
org.wso2.carbon.identity.entitlement.stub_5.6.89.jar bundle apache2 10971
org.wso2.carbon.identity.entitlement_5.7.5.jar bundle apache2 10749
org.wso2.carbon.identity.governance.stub_5.7.5.jar bundle apache2 10747
org.wso2.carbon.identity.inbound.metadata.saml2_0.1.1.jar bundle apache2 10970
org.wso2.carbon.identity.jwt.client.extension_2.0.10.jar bundle apache2 10969
org.wso2.carbon.identity.notification.mgt_5.7.5.jar bundle apache2 10742
org.wso2.carbon.identity.oauth.common_5.3.4.jar bundle apache2 10944
org.wso2.carbon.identity.oauth.dcr_5.3.4.jar bundle apache2 10943
org.wso2.carbon.identity.oauth.stub_5.3.1.jar bundle apache2 10505
org.wso2.carbon.identity.oauth.stub_5.3.4.jar bundle apache2 10942
org.wso2.carbon.identity.oauth.ui_5.3.4.jar bundle apache2 10941
org.wso2.carbon.identity.oauth2.grant.jwt_1.0.2.jar bundle apache2 8152
org.wso2.carbon.identity.oauth_5.3.4.jar bundle apache2 10940
org.wso2.carbon.identity.oidc.dcr_5.3.4.jar bundle apache2 10939
org.wso2.carbon.identity.oidc.session_5.3.4.jar bundle apache2 10938
org.wso2.carbon.identity.provider_5.1.1.jar bundle apache2 8360
org.wso2.carbon.identity.query.saml_5.3.0.jar bundle apache2 10496
org.wso2.carbon.identity.sp.metadata.saml2_0.1.6.jar bundle apache2 10968
org.wso2.carbon.identity.sp.metadata.saml2_1.0.0.jar bundle apache2 10491
org.wso2.carbon.identity.sso.agent_5.1.0.jar bundle apache2 8353
org.wso2.carbon.identity.sso.saml.stub_5.1.3.jar bundle apache2 10490
org.wso2.carbon.identity.sso.saml.stub_5.3.0.jar bundle apache2 10489
org.wso2.carbon.identity.sso.saml.ui_5.3.0.jar bundle apache2 10488
org.wso2.carbon.identity.sso.saml_5.3.0.jar bundle apache2 10487
org.wso2.carbon.identity.user.profile.stub_5.7.5.jar bundle apache2 10732
org.wso2.carbon.identity.user.profile.ui_5.7.5.jar bundle apache2 10731
org.wso2.carbon.identity.user.profile_5.7.5.jar bundle apache2 10730
org.wso2.carbon.identity.user.registration.stub_5.6.89.jar bundle apache2 10967
org.wso2.carbon.identity.user.registration.stub_5.7.5.jar bundle apache2 10729
org.wso2.carbon.identity.user.registration_5.7.5.jar bundle apache2 10728
org.wso2.carbon.identity.user.store.configuration.deployer_5.7.5.jar bundle apache2 10727
org.wso2.carbon.identity.user.store.configuration.stub_5.7.5.jar bundle apache2 10726
org.wso2.carbon.identity.user.store.configuration.ui_5.7.5.jar bundle apache2 10725
org.wso2.carbon.identity.user.store.configuration_5.7.5.jar bundle apache2 10724
org.wso2.carbon.identity.user.store.count.stub_5.7.5.jar bundle apache2 10723
org.wso2.carbon.identity.user.store.count_5.7.5.jar bundle apache2 10722
org.wso2.carbon.identity.webfinger_5.3.4.jar bundle apache2 10932
org.wso2.carbon.idp.mgt.stub_5.7.5.jar bundle apache2 10713
org.wso2.carbon.idp.mgt.ui_5.7.5.jar bundle apache2 10712
org.wso2.carbon.idp.mgt_5.7.5.jar bundle apache2 10711
org.wso2.carbon.inbound.endpoint.osgi_4.6.9.jar bundle apache2 10893
org.wso2.carbon.inbound.endpoint.persistence_4.6.9.jar bundle apache2 10892
org.wso2.carbon.inbound.endpoint_4.6.9.jar bundle apache2 10891
org.wso2.carbon.inbound.stub_4.6.9.jar bundle apache2 10966
org.wso2.carbon.inbound_4.6.9.jar bundle apache2 10890
org.wso2.carbon.localentry.stub_4.6.9.jar bundle apache2 10965
org.wso2.carbon.localentry_4.6.9.jar bundle apache2 10889
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.mashup.javascript.hostobjects.registry_4.7.0.jar bundle apache2 9483
org.wso2.carbon.mashup.utils_4.2.0.jar bundle apache2 2216
org.wso2.carbon.mediation.artifactuploader.stub_4.6.9.jar bundle apache2 10964
org.wso2.carbon.mediation.artifactuploader_4.6.9.jar bundle apache2 10888
org.wso2.carbon.mediation.configadmin.stub_4.6.9.jar bundle apache2 10887
org.wso2.carbon.mediation.configadmin.ui_4.6.9.jar bundle apache2 10886
org.wso2.carbon.mediation.configadmin_4.6.9.jar bundle apache2 10885
org.wso2.carbon.mediation.dependency.mgt_4.6.9.jar bundle apache2 10884
org.wso2.carbon.mediation.initializer.ui_4.6.9.jar bundle apache2 10883
org.wso2.carbon.mediation.initializer_4.6.9.jar bundle apache2 10882
org.wso2.carbon.mediation.library.stub_4.6.9.jar bundle apache2 10963
org.wso2.carbon.mediation.library_4.6.9.jar bundle apache2 10881
org.wso2.carbon.mediation.message.processor_4.6.9.jar bundle apache2 10880
org.wso2.carbon.mediation.ntaskadmin_4.6.9.jar bundle apache2 10878
org.wso2.carbon.mediation.ntask_4.6.9.jar bundle apache2 10879
org.wso2.carbon.mediation.registry_4.6.9.jar bundle apache2 10877
org.wso2.carbon.mediation.security.stub_4.6.1.jar bundle apache2 8589
org.wso2.carbon.mediation.security.stub_4.6.9.jar bundle apache2 10876
org.wso2.carbon.mediation.security_4.6.9.jar bundle apache2 10875
org.wso2.carbon.mediation.startup_4.6.9.jar bundle apache2 10874
org.wso2.carbon.mediation.templates.common_4.6.9.jar bundle apache2 10873
org.wso2.carbon.mediation.templates.service_4.6.9.jar bundle apache2 10872
org.wso2.carbon.mediation.templates.stub_4.6.9.jar bundle apache2 10962
org.wso2.carbon.mediation.templates_4.6.9.jar bundle apache2 10871
org.wso2.carbon.mediation.transport.handlers_4.6.9.jar bundle apache2 10870
org.wso2.carbon.mediator.cache.ui_4.6.9.jar bundle apache2 10961
org.wso2.carbon.mediator.cache_4.6.9.jar bundle apache2 10869
org.wso2.carbon.mediator.clazz.services_4.6.9.jar bundle apache2 10868
org.wso2.carbon.mediator.command.services_4.6.9.jar bundle apache2 10867
org.wso2.carbon.mediator.event_4.6.9.jar bundle apache2 10866
org.wso2.carbon.mediator.fastXSLT_4.6.9.jar bundle apache2 10865
org.wso2.carbon.mediator.router.impl_4.6.9.jar bundle apache2 10862
org.wso2.carbon.mediator.service_4.6.9.jar bundle apache2 10861
org.wso2.carbon.message.processor.stub_4.6.9.jar bundle apache2 10960
org.wso2.carbon.message.processor_4.6.9.jar bundle apache2 10860
org.wso2.carbon.message.store.stub_4.6.9.jar bundle apache2 10959
org.wso2.carbon.message.store_4.6.9.jar bundle apache2 10859
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.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.module.mgt.stub_4.7.2.jar bundle apache2 10282
org.wso2.carbon.module.mgt.ui_4.7.2.jar bundle apache2 10281
org.wso2.carbon.module.mgt_4.7.2.jar bundle apache2 10280
org.wso2.carbon.ndatasource.capp.deployer_4.5.4.jar bundle apache2 8772
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.operation.mgt_4.7.2.jar bundle apache2 10279
org.wso2.carbon.osgi.security_4.4.11.jar bundle apache2 10365
org.wso2.carbon.policy.decision.point_2.0.10.jar bundle apache2 10958
org.wso2.carbon.policy.information.point_2.0.10.jar bundle apache2 10957
org.wso2.carbon.policy.mgt.common_2.0.10.jar bundle apache2 10956
org.wso2.carbon.policy.mgt.core_2.0.10.jar bundle apache2 10955
org.wso2.carbon.priority.executors.stub_4.6.9.jar bundle apache2 10954
org.wso2.carbon.priority.executors_4.6.9.jar bundle apache2 10858
org.wso2.carbon.proxyadmin.common_4.6.9.jar bundle apache2 10857
org.wso2.carbon.proxyadmin.stub_4.6.9.jar bundle apache2 10953
org.wso2.carbon.proxyadmin_4.6.9.jar bundle apache2 10856
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.6.0.jar bundle apache2 8904
org.wso2.carbon.registry.api_4.4.11.jar bundle apache2 10363
org.wso2.carbon.registry.common.ui_4.6.0.jar bundle apache2 8903
org.wso2.carbon.registry.common_4.6.0.jar bundle apache2 8902
org.wso2.carbon.registry.core_4.4.11.jar bundle apache2 10362
org.wso2.carbon.registry.event.core_4.6.0.jar bundle apache2 8901
org.wso2.carbon.registry.event.ws_4.6.0.jar bundle apache2 8900
org.wso2.carbon.registry.eventing_4.6.0.jar bundle apache2 8899
org.wso2.carbon.registry.extensions.stub_4.6.0.jar bundle apache2 8898
org.wso2.carbon.registry.extensions.ui_4.6.0.jar bundle apache2 8897
org.wso2.carbon.registry.extensions_4.6.0.jar bundle apache2 8896
org.wso2.carbon.registry.indexing_4.6.0.jar bundle apache2 8895
org.wso2.carbon.registry.info.stub_4.6.0.jar bundle apache2 8894
org.wso2.carbon.registry.info.ui_4.6.0.jar bundle apache2 8893
org.wso2.carbon.registry.info_4.6.0.jar bundle apache2 8892
org.wso2.carbon.registry.properties.stub_4.6.0.jar bundle apache2 8891
org.wso2.carbon.registry.properties.ui_4.6.0.jar bundle apache2 8890
org.wso2.carbon.registry.properties_4.6.0.jar bundle apache2 8889
org.wso2.carbon.registry.relations.stub_4.6.0.jar bundle apache2 8888
org.wso2.carbon.registry.relations.ui_4.6.0.jar bundle apache2 8887
org.wso2.carbon.registry.relations_4.6.0.jar bundle apache2 8886
org.wso2.carbon.registry.resource.stub_4.6.0.jar bundle apache2 8885
org.wso2.carbon.registry.resource.ui_4.6.0.jar bundle apache2 8884
org.wso2.carbon.registry.resource_4.6.0.jar bundle apache2 8883
org.wso2.carbon.registry.search.stub_4.6.0.jar bundle apache2 8882
org.wso2.carbon.registry.search.ui_4.6.0.jar bundle apache2 8881
org.wso2.carbon.registry.search_4.6.0.jar bundle apache2 8880
org.wso2.carbon.registry.server_4.4.11.jar bundle apache2 10361
org.wso2.carbon.registry.servlet_4.6.0.jar bundle apache2 8879
org.wso2.carbon.registry.task_4.6.0.jar bundle apache2 8878
org.wso2.carbon.registry.ws.api_4.6.0.jar bundle apache2 8877
org.wso2.carbon.registry.ws.client_4.6.0.jar bundle apache2 8876
org.wso2.carbon.registry.ws.stub_4.6.0.jar bundle apache2 8875
org.wso2.carbon.relay.mediators.builder_4.6.9.jar bundle apache2 10855
org.wso2.carbon.relay.module_4.6.9.jar bundle apache2 10854
org.wso2.carbon.relay_4.6.9.jar bundle apache2 10853
org.wso2.carbon.remote-tasks.stub_4.5.4.jar bundle apache2 8529
org.wso2.carbon.rest.api.stub_4.6.9.jar bundle apache2 10852
org.wso2.carbon.rest.api_4.6.9.jar bundle apache2 10851
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.7.5.jar bundle apache2 10708
org.wso2.carbon.security.mgt.ui_5.7.5.jar bundle apache2 10707
org.wso2.carbon.security.mgt_5.7.5.jar bundle apache2 10706
org.wso2.carbon.sequences.common_4.6.9.jar bundle apache2 10850
org.wso2.carbon.sequences.stub_4.6.0.jar bundle apache2 10102
org.wso2.carbon.sequences.stub_4.6.9.jar bundle apache2 10849
org.wso2.carbon.sequences_4.6.9.jar bundle apache2 10848
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.service.mgt_4.7.2.jar bundle apache2 10245
org.wso2.carbon.social.core_1.4.4.jar bundle apache2 10098
org.wso2.carbon.social.db.adapter_1.4.4.jar bundle apache2 10097
org.wso2.carbon.social.sql_1.4.4.jar bundle apache2 10096
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.store.jaggery-scxml-executors_1.4.4.jar bundle apache2 10095
org.wso2.carbon.task.services_4.6.9.jar bundle apache2 10847
org.wso2.carbon.task.stub_4.6.9.jar bundle apache2 10952
org.wso2.carbon.task_4.6.9.jar bundle apache2 10846
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.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.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.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.patch_4.7.2.jar bundle apache2 10229
org.wso2.carbon.tomcat_4.4.11.jar bundle apache2 10350
org.wso2.carbon.ui.menu.general_4.4.11.jar bundle apache2 10349
org.wso2.carbon.ui.menu.governance_4.4.7.jar bundle apache2 8504
org.wso2.carbon.ui.menu.registry_4.4.7.jar bundle apache2 8503
org.wso2.carbon.ui_4.4.11.jar bundle apache2 10348
org.wso2.carbon.um.ws.api.stub_5.1.4.jar bundle apache2 10421
org.wso2.carbon.um.ws.api_5.1.4.jar bundle apache2 10420
org.wso2.carbon.um.ws.service_5.1.4.jar bundle apache2 10419
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.7.5.jar bundle apache2 10705
org.wso2.carbon.user.mgt.stub_5.7.5.jar bundle apache2 10704
org.wso2.carbon.user.mgt.ui_5.7.5.jar bundle apache2 10703
org.wso2.carbon.user.mgt.workflow.stub_5.7.5.jar bundle apache2 10702
org.wso2.carbon.user.mgt_5.7.5.jar bundle apache2 10701
org.wso2.carbon.utils_4.4.11.jar bundle apache2 10345
org.wso2.carbon.webapp.authenticator.framework_2.0.10.jar bundle apache2 10951
org.wso2.carbon.webapp.deployer_4.7.2.jar bundle apache2 10227
org.wso2.carbon.webapp.list.ui_4.7.2.jar bundle apache2 10226
org.wso2.carbon.webapp.mgt.stub_4.2.0.jar bundle apache2 2083
org.wso2.carbon.webapp.mgt.stub_4.7.2.jar bundle apache2 10225
org.wso2.carbon.webapp.mgt.ui_4.7.2.jar bundle apache2 10224
org.wso2.carbon.webapp.mgt_4.7.2.jar bundle apache2 10223
org.wso2.ciphertool-1.0.0-wso2v3.jar bundle apache2 4038
org.wso2.iot.core.admin.styles_3.0.0.RC.jar bundle apache2 10950
org.wso2.securevault_1.0.0.wso2v2.jar bundle apache2 768
org.wso2.store.admin.styles_1.4.4.jar bundle apache2 10090
org.wso2.store.sso.common_1.4.4.jar bundle apache2 10089
org.yaml.snakeyaml_1.17.0.jar bundle apache2 2027
patch.jar jarinbundle epl1 1137
pdepublishing-ant.jar jar epl1 524
pdepublishing.jar jar epl1 525
pdfbox_1.8.10.wso2v2.jar bundle apache2 6514
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.wso2v24.jar bundle apache2 10409
rampart-policy_1.6.1.wso2v24.jar bundle apache2 10408
rampart-trust_1.6.1.wso2v24.jar bundle apache2 10407
rome_0.9.0.wso2v1.jar bundle apache2 930
saxon.bps_9.0.0.x-wso2v1.jar bundle mpl11 985
saxon_8.9.0.wso2v2.jar bundle mpl10 2091
scannotation_1.0.3.wso2v1.jar bundle apache2 7869
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
snakeyaml_1.16.0.wso2v1.jar bundle apache2 6274
solr_5.2.1.wso2v1.jar bundle apache2 4384
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
step2-common-1.0.0-wso2v2.jar bundle apache2 2909
step2-consumer-1.0.0-wso2v2.jar bundle apache2 2908
step2_1.0.0.wso2v2.jar bundle apache2 2907
svn-client-adapter_1.10.9.wso2v1.jar bundle apache2 4043
swagger-codegen_2.2.0.wso2v2.jar bundle apache2 10843
synapse-commons_2.1.7.wso2v9.jar bundle apache2 10842
synapse-core_2.1.7.wso2v9.jar bundle apache2 10841
synapse-extensions_2.1.7.wso2v9.jar bundle apache2 10840
synapse-nhttp-transport_2.1.7.wso2v9.jar bundle apache2 10839
synapse-samples_2.1.7.wso2v9.jar bundle apache2 10838
synapse-tasks_2.1.7.wso2v9.jar bundle apache2 10837
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
velocity-1.7.jar bundle apache2 509
velocity_1.7.0.wso2v1.jar bundle apache2 10082
wadl-core_1.1.6.wso2v1.jar bundle apache2 8492
waffle-jna_1.6.0.wso2v5.jar bundle epl1 8207
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.3.jar jar cpl1 276
wsdl4j_1.6.2.wso2v4.jar bundle apache2 745
wso2-uri-templates_1.6.5.jar bundle apache2 1073
wss4j_1.5.11.wso2v16.jar bundle apache2 10406
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
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:
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
cddl1 Common Development and Distribution License
http://www.opensource.org/licenses/cddl1.php
cddl+gpl CDDL + GPLv2
https://glassfish.dev.java.net/public/CDDL+GPL.html
bouncy Bouncy Castle License
http://www.bouncycastle.org/licence.html
bsd Berkeley License
http://www.opensource.org/licenses/bsd-license.php
mit MIT License
http://www.opensource.org/licenses/mit-license.php
lgpl2 Lesser GPL v2.1
http://www.opensource.org/licenses/lgpl-2.1.php
icu ICU License
http://source.icu-project.org/repos/icu/icu/trunk/license.html
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
epl1 Eclipse Public License
http://www.eclipse.org/legal/epl-v10.html

View File

@ -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.

View File

@ -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>

View File

@ -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}$

View File

@ -1,32 +0,0 @@
<processor>
<!-- Remove the scope validator from the identity.xml if it exists. Otherwise running the build several times
causes several scope validator elements to be added-->
<remove>
<name>//s:Server/s:OAuth/s:OAuthScopeValidator</name>
</remove>
<!-- Add the scope validator config element -->
<add>
<after>//s:Server/s:OAuth/s:OAuthCallbackHandlers</after>
<value><![CDATA[<OAuthScopeValidator class="org.wso2.carbon.device.mgt.oauth.extensions.handlers.ScopeValidationHandler"/>]]></value>
</add>
<!-- Add the ntlm grant type validator config element -->
<add>
<after>//s:Server/s:OAuth/s:SupportedGrantTypes/s:SupportedGrantType[s:GrantTypeName='iwa:ntlm']/s:GrantTypeName</after>
<value>
<![CDATA[<GrantTypeValidatorImplClass>org.wso2.carbon.identity.oauth.common.NTLMAuthenticationValidator</GrantTypeValidatorImplClass>]]></value>
</add>
<add>
<after>//s:Server/s:OAuth/s:SupportedGrantTypes/s:SupportedGrantType[s:GrantTypeName='iwa:ntlm']/s:GrantTypeName</after>
<value>
<![CDATA[<GrantTypeValidatorImplClass>org.wso2.carbon.identity.oauth.common.NTLMAuthenticationValidator</GrantTypeValidatorImplClass>]]></value>
</add>
<add>
<after>//s:Server/s:OAuth/s:SupportedGrantTypes/s:SupportedGrantType[s:GrantTypeName='iwa:ntlm']</after>
<value>
<![CDATA[<SupportedGrantType>
<GrantTypeName>urn:ietf:params:oauth:grant-type:jwt-bearer</GrantTypeName>
<GrantTypeHandlerImplClass>org.wso2.carbon.device.mgt.oauth.extensions.handlers.grant.ExtendedJWTGrantHandler</GrantTypeHandlerImplClass>
<GrantTypeValidatorImplClass>org.wso2.carbon.identity.oauth2.grant.jwt.JWTGrantValidator</GrantTypeValidatorImplClass>
</SupportedGrantType>]]></value>
</add>
</processor>

Some files were not shown because too many files have changed in this diff Show More